Repository navigation
Fix critical/high Dependabot vulnerabilities (policy #480) - #489
Merged
Merged
Conversation
Refresh vulnerable transitive dev dependencies within their existing semver ranges (no package.json changes): - shell-quote 1.10.0 -> 1.12.0 (critical, via npm-run-all) - source-map-js 1.2.1 -> 1.2.2 (via postcss, css-tree) - http-cache-semantics 4.1.1 -> 4.3.0 (via hugo-bin > got) - fast-uri 3.1.5 -> 3.1.8 (via stylelint > table > ajv) - js-yaml 4.3.1 -> 4.3.2 (via eslint, stylelint) - browserslist 4.28.4 -> 4.29.3 (via autoprefixer) Addresses the MUST-level findings in #480. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
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.
Addresses the MUST-level finding in #480: open critical/high Dependabot alerts must be zero.
Changes
Lockfile-only. Every vulnerable package is a transitive dev dependency, and each is refreshed within the semver range its parent already declares.
package.jsonis unchanged.npm also bumped a few dependent packages in the browserslist tree (caniuse-lite, electron-to-chromium, node-releases, update-browserslist-db, baseline-browser-mapping). The last one also resolves medium alert #76.
About http-cache-semantics (GHSA-ch52-4w7c-c8xp): the advisory lists no patched version. The upstream maintainer disputes the report, and the CVE is under dispute with MITRE. The advisory's affected range is
<= 4.2.0, so moving to 4.3.0 clears the alert.Out of scope
This PR fixes MUST-level findings only.
npm auditstill reports high findings for braces and brace-expansion through stylelint and postcss-cli. Dependabot has already auto-dismissed these as alerts Bump hugo-bin from 0.81.2 to 0.82.2 #79–82 and RFC: Make this repo public ? #86, so they don't count toward the policy check.Testing
npm cifollowed bynpm test(stylelint, htmlhint and the Hugo build) passes, building 40 pages.🤖 Generated with Claude Code