fix(deps): resolve high-severity npm audit advisories failing CI - #266
Closed
thetechjon wants to merge 1 commit into
Closed
fix(deps): resolve high-severity npm audit advisories failing CI#266thetechjon wants to merge 1 commit into
thetechjon wants to merge 1 commit into
Conversation
npm audit --audit-level=high fails on every branch since new advisories were published, unrelated to the @dnd-kit/sortable bump that triggered the failing run: - sharp <0.35.0 (libvips CVEs, GHSA-f88m-g3jw-g9cj), pulled optionally by next (root) and miniflare/wrangler (collab-server) — fixed with a sharp ^0.35.0 override in both package.json files - js-yaml 4.0.0-4.2.0 (GHSA-52cp-r559-cp3m) — override bumped to ^4.2.1 - brace-expansion (GHSA-3jxr-9vmj-r5cp) — lockfile-only bump Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Superseded — closing. The advisories this PR targets are already fixed on
This PR is also now The red Dependabot runs were not the audit gate. They were two flaky tests ( |
ipapakonstantinou
deleted the
autofix/chore-deps-bump-dnd-kit-sortable-from-8-
branch
July 29, 2026 13:16
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.
Root cause
CI run 29895161376 on the
@dnd-kit/sortable8→9 Dependabot branch failed in the Audit dependencies step (npm audit --audit-level=high) of both jobs. The sortable bump itself is innocent: new advisories were published after main's last green run (July 18), so every fresh CI run now fails the audit gate. Reproduced locally on main.Advisories:
next(root) and byminiflare/wrangler(collab-server), both with stale ranges.Fix
sharp: "^0.35.0"tooverridesin bothpackage.jsonandcollab-server/package.json(same pattern already used foresbuild,js-yaml, etc.).npm audit fix --forcewould instead downgrade next to 14 / wrangler to 4.15 — not acceptable.js-yamloverride to^4.2.1.brace-expansionfixed by lockfile-onlynpm audit fix.Verification
npm audit --audit-level=high: 0 vulnerabilities in root and collab-servernext build✅Merging this into main will unblock the Dependabot PRs (including #238) once they rebase.
This PR was opened by the automated autofix bot and is awaiting human review.
🤖 Generated with Claude Code