Skip to content

fix(deps): override patched http-cache-semantics, sharp, smol-toml and source-map-js - #465

Merged
joe-bell merged 1 commit into
mainfrom
claude/project-thread-uzjl5t
Oct 14, 2026
Merged

joe-bell merged 1 commit into
mainfrom
claude/project-thread-uzjl5t

Conversation

@joe-bell

Copy link
Copy Markdown
Owner

Description

Before: pnpm audit reports advisories in four transitive development dependencies: http-cache-semantics 4.2.0 (GHSA-ch52-4w7c-c8xp, via astro), sharp 0.35.4 (GHSA-wq5f-xc86-pv6w), smol-toml 1.8.0 (GHSA-r4xh-jqrq-34v2, via @astrojs/internal-helpers) and source-map-js 1.2.1 (GHSA-68fv-2mgg-jv7q, via magicast).

After: they resolve to http-cache-semantics 4.3.0, sharp 0.35.5, smol-toml 1.9.0 and source-map-js 1.2.2, and those four advisories are gone.

How: scoped name@^major overrides in pnpm-workspace.yaml, each with its GHSA id, matching the existing security overrides (the sharp entry only raises its floor). The lockfile moves only these packages and sharp's @img/* binaries. Every patched release is older than the minimumReleaseAge window.

Additional context

Three advisories remain and are out of scope: braces (GHSA-vfj7-8cjw-p6xm) has no patched release yet; postcss-selector-parser (GHSA-rj75-hqrm-r3gf) is only fixed in a new major that postcss-nested doesn't accept; and @vue/server-renderer (GHSA-g2v6-rqmx-r4w6) is best fixed by bumping vue in the Vue examples separately.

Checks run locally: pnpm install, Prettier, pnpm check, bench:check, syncpack:lint, lint:skills, pnpm test, test:consumer, bundlesize, build:examples and the docs build.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Follow the Style Guide.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

🤖 Generated with Claude Code

https://claude.ai/code/session_01G8Kd268BopJxWoW8pPYq7T


Generated by Claude Code

…d source-map-js

Pin transitive development dependencies to their patched releases:

- http-cache-semantics 4.3.0 (GHSA-ch52-4w7c-c8xp), via astro
- sharp 0.35.5 (GHSA-wq5f-xc86-pv6w), raising the existing override
- smol-toml 1.9.0 (GHSA-r4xh-jqrq-34v2), via @astrojs/internal-helpers
- source-map-js 1.2.2 (GHSA-68fv-2mgg-jv7q), via magicast

Every patched release is older than the minimumReleaseAge window.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G8Kd268BopJxWoW8pPYq7T
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
cva db1e2bb Commit Preview URL

Branch Preview URL
Oct 12 2026, 07:33 AM

@joe-bell
joe-bell marked this pull request as ready for review October 12, 2026 07:34
@joe-bell
joe-bell merged commit 9b789b8 into main Oct 14, 2026
12 checks passed
@joe-bell
joe-bell deleted the claude/project-thread-uzjl5t branch October 14, 2026 12:56
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