fix(web): close current dependency security alerts - #50
Merged
Conversation
Resolve all 10 open GitHub Dependabot alerts on apps/web/package-lock.json: - nanoid 3.3.12 -> 3.3.18 (alerts #16, #17; GHSA-2v37-7h3g-55p8, GHSA-28wg-ghj8-5hjv) - undici 7.28.0 -> 7.29.0 (alerts #5-#9) via wrangler 4.113.0 -> 4.121.0 and @cloudflare/vite-plugin 1.46.0 -> 1.51.3 (miniflare pins undici exactly) - fast-uri 3.1.4 -> 3.1.5 (alert #11; GHSA-7p8r-x3mc-p8w7) - js-yaml 4.3.0 -> 4.3.1 (alert #15; GHSA-5p4m-2wfm-xmqj) - postcss override 8.5.18 -> 8.5.26 (alert #18; GHSA-fxqj-rqcc-2cmp) - brace-expansion refreshed to 1.1.18 / 5.0.9 (npm audit DoS advisories, not yet surfaced as Dependabot alerts) Lockfile regenerated through npm only; clean npm ci verified. Web workspace lint, build, 25 unit tests, and 3 rendered-HTML tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Alerts addressed
All 10 open Dependabot alerts on
apps/web/package-lock.json:Root dependency paths
postcss(^3.3.12); postcss itself pinned by theoverrides.postcssentryoverrides.postcss: 8.5.18(override exists becausenext@16.2.11pins postcss 8.4.31)miniflare(exact pin) ←wrangler/@cloudflare/vite-pluginajv@8←ajv-formats←schema-utils←terser-webpack-plugin←webpack←react-server-dom-webpack(dev)@eslint/eslintrc←eslint(dev)Changes
apps/web/package.json:@cloudflare/vite-plugin1.46.0 → 1.51.3wrangler4.113.0 → 4.121.0overrides.postcss8.5.18 → 8.5.26apps/web/package-lock.json(regenerated via npm, no hand edits):Why safe
overrides.undicineeded. Same major/minor lines (4.x, 1.x).^8.5.17and next's 8.4.31 pin is exactly what the override was created to supersede. postcss 8.5.26 also requires nanoid^3.3.17, structurally guaranteeing the nanoid fix.Verification
npm ci --prefix apps/webfrom wiped node_modules: 483 packages, cleannpm ls nanoid undici fast-uri js-yaml postcss --all: single patched version of each, no vulnerable copiesnpm run lint: cleannpm test(production build + unit + rendered HTML): 25/25 unit tests pass, 3/3 rendered-HTML tests passnode scripts/verify.mjs --section javascript --install: all three JS workspaces install/build/test/lint green (one host-specific Windows-SID tooling test failure unrelated to this change; CI runs ubuntu)Remaining alerts
None from the target set.
npm auditstill reportsimage-size <=2.0.2(dev-only, viavinext@0.2.1): no patched image-size release exists, and the only audit "fix" is a major downgrade of vinext to 0.0.45 — out of scope for this lane and explicitly forbidden. Not a GitHub Dependabot alert.Supersedes Dependabot PRs #49 (nanoid), #44 (js-yaml), #43 (fast-uri).
🤖 Generated with Claude Code