Skip to content

fix: run npm audit fix#1258

Merged
rzhao271 merged 1 commit intomainfrom
copilot/run-npm-audit-fix
Apr 6, 2026
Merged

fix: run npm audit fix#1258
rzhao271 merged 1 commit intomainfrom
copilot/run-npm-audit-fix

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 6, 2026

Runs npm audit fix (no --force, no overrides) to update package-lock.json.

Also fixes resolved URLs in package-lock.json that pointed to registry.npmmirror.com (unreachable in this environment) — replaced with registry.npmjs.org.

Remaining vulnerabilities (cannot fix without --force)

These 3 vulnerabilities are in dev dependencies only and require breaking major-version bumps that npm audit fix refuses without --force:

Package Vulnerability Via
diff 6.0.0–8.0.2 DoS in parsePatch/applyPatch (GHSA-73rr-hh4g-fpgx) mocha
serialize-javascript ≤7.0.4 RCE via RegExp.flags (GHSA-5c6j-r48x-rmvq) mocha
serialize-javascript ≤7.0.4 CPU exhaustion DoS (GHSA-qj8w-gfj5-8c6v) mocha

Fixing these requires updating mocha to a version that bundles fixed transitive deps, which is a semver-major change.

@rzhao271 rzhao271 marked this pull request as ready for review April 6, 2026 18:25
@rzhao271 rzhao271 enabled auto-merge (squash) April 6, 2026 18:25
@rzhao271 rzhao271 added this to the 1.116.0 milestone Apr 6, 2026
@rzhao271 rzhao271 merged commit cbdd401 into main Apr 6, 2026
5 checks passed
@rzhao271 rzhao271 deleted the copilot/run-npm-audit-fix branch April 6, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants