Fix npm audit vulnerabilities#254
Open
Ravian18 wants to merge 1 commit into
Open
Conversation
…downlint-cli2 and transitive deps)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves all 12 vulnerabilities reported by
npm audit(1 critical, 3 high, 7 moderate, 1 low).npm auditnow reports 0 vulnerabilities.Changes
npm audit fixto patch transitive and direct dependencies within their existing semver ranges (no manifest changes needed for these):shell-quote(critical),ws(high),linkify-it(high),@babel/*(high + low),tar,brace-expansion,ip-address,js-yaml,markdown-it,smol-toml.markdownlint-cli2devDependency^0.22.0→^0.23.0, the minimum release that clears the remainingmarkdown-it/js-yaml/smol-tomladvisories.The only runtime-path package among these is
ws(viamqtt), bumped8.20.0→8.21.0, which still satisfiesmqtt's^8.18.3requirement. Everything else is build/lint/dev tooling.Verification
npm audit→ 0 vulnerabilitiesnpm run build→ succeedsnpm run lint→ 0 errors (eslint + markdownlint; markdownlint-cli2 0.23.0 lints all docs cleanly under the existing.markdownlint.json)npm testwas not run locally: the suite importshci-socket, a Linux-only native BLE dependency that cannot install on macOS (EBADPLATFORM). CI runs the full suite onubuntu-latestwith BlueZ installed.