chore: fix open Dependabot security alerts - #470
Merged
Conversation
Bumps the vulnerable transitive dependencies flagged by Dependabot via pnpm overrides, and the direct nanoid dependency in the examples. - nanoid >= 4 -> ^5.1.16 (GHSA infinite loop on negative/zero size) - brace-expansion >= 4 -> ^5.0.9 (DoS via unbounded intermediate arrays) - dompurify -> ^3.4.13 (XSS via detached subtree after IN_PLACE hook removal) - fast-uri -> ^3.1.5 (host confusion via backslash authority introducer) - js-yaml 3 -> ^3.15.1, js-yaml 4 -> ^4.3.1 (quadratic CPU in !!omap) - mermaid -> ^11.16.1 (DoS, prototype pollution, CSS injection) - postcss -> ^8.5.23 (arbitrary .map file read via sourceMappingURL) - @sveltejs/kit -> ^2.70.2 (ReDoS in Accept header content negotiation) image-size (alerts #979, #980) has no patched release yet, so it is left as-is. It is only used at build time by the docs site. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
dferber90
enabled auto-merge (squash)
August 11, 2026 18:13
AndyBitz
approved these changes
Aug 11, 2026
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 18 of the 20 open Dependabot alerts.
All of the affected packages are transitive dev/build dependencies (docs site, examples, tooling) except
nanoid, which is a direct dependency of two examples. Fixed withpnpm.overridesin the rootpackage.jsonplus direct bumps inexamples/shirt-shopandexamples/snippets.nanoid(>= 4)brace-expansion(>= 4)dompurifyfast-urijs-yaml(3.x / 4.x)mermaidpostcss@sveltejs/kitjs-yamlandbrace-expansionuse range-scoped overrides so the still-supported older major lines aren't force-upgraded across a breaking boundary.Left unaddressed
image-size(#979, #980, both high) — no patched version exists yet (<= 2.0.2is the vulnerable range and 2.0.2 is latest). Both are DoS-via-malformed-image issues in the ICNS/JXL/HEIF parsers; it is only reached at build time by the docs site, which parses images we control.Incidental
The lockfile refresh also re-resolved the root
react: "canary"devDependency (thecanarytag moved andminimumReleaseAgefilters out the newest builds). Unrelated to the security fixes, but unavoidable when re-resolving.Verification
pnpm build(24/24 tasks) andpnpm test(17/17 tasks) both pass.🤖 Generated with Claude Code