Skip to content

chore(deps): bump transitive fast-uri to 3.1.4 (Dependabot alerts #20, #21) - #148

Merged
AdamXweb merged 1 commit into
mainfrom
fix/fast-uri-dependabot-20-21
Aug 1, 2026
Merged

chore(deps): bump transitive fast-uri to 3.1.4 (Dependabot alerts #20, #21)#148
AdamXweb merged 1 commit into
mainfrom
fix/fast-uri-dependabot-20-21

Conversation

@adamXbot

Copy link
Copy Markdown
Collaborator

Fixes the two open high-severity Dependabot alerts:

What changed: pnpm-lock.yaml only — the single fast-uri@3.1.2 instance floats to 3.1.4 within ajv@8.20.0's existing ^3.0.1 range. fast-uri lives entirely in the storybook/webpack devDependency chain (ajv → ajv-formats/schema-utils → webpack → @storybook/nextjs), so there's no production runtime exposure; this clears the alerts and the build toolchain.

Why hand-edited: pnpm update fast-uri (with and without --depth Infinity) won't re-resolve a transitive-only dep, so the three lockfile entries were edited directly with the registry integrity hash, then validated: pnpm install --frozen-lockfile passes ("✓ Lockfile passes supply-chain policies, 920 entries") and node_modules/.pnpm/ajv@8.20.0/node_modules/fast-uri links 3.1.4.

Why not 3.1.5: it was published today (2026-07-31T09:16Z) and pnpm's minimumReleaseAge quarantine correctly rejects it (ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION). 3.1.4 (published 2026-07-19) is the first version patched for both advisories; the next lock-file-maintenance run will float to 3.1.5+ once it ages out.

Local verification (macOS, Node 26, pnpm 11.17.0): frozen install ✅ · pnpm typecheck ✅ · pnpm test 445 tests, 441 pass / 4 skip / 0 fail ✅ · pnpm build ✅ · pnpm build-storybook (the chain that actually consumes fast-uri) ✅

Out of scope, deliberately: #132 (TypeScript v7) stays untouched — Next doesn't support it yet.

🤖 Generated with Claude Code

…20+21

fast-uri 3.1.2 (sole instance, via ajv@8.20.0 in the storybook/webpack
devDependency chain) is vulnerable to GHSA-4c8g-83qw-93j6 and
GHSA-v2hh-gcrm-f6hx (host-confusion, both high). 3.1.4 is the first
version patched for both.

Lockfile-only: ajv's ^3.0.1 range already admits 3.1.4, and
`pnpm update fast-uri` (incl. --depth Infinity) won't re-resolve a
transitive dep, so the three lockfile entries are edited directly with
the registry integrity hash and validated via `pnpm install
--frozen-lockfile` ("Lockfile passes supply-chain policies").

Not 3.1.5: published today, so pnpm's minimumReleaseAge quarantine
rejects it (ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION); a future
lock-file-maintenance run will float to it once it ages out.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@adamXbot
adamXbot requested a review from AdamXweb as a code owner July 31, 2026 14:54
@AdamXweb
AdamXweb merged commit a883210 into main Aug 1, 2026
16 checks passed
@AdamXweb
AdamXweb deleted the fix/fast-uri-dependabot-20-21 branch August 1, 2026 08:00
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.

2 participants