Skip to content

fix: override five dev-tree advisories with no upgrade path - #243

Merged
unional merged 1 commit into
mainfrom
chore/override-dev-advisories
Sep 1, 2026
Merged

fix: override five dev-tree advisories with no upgrade path#243
unional merged 1 commit into
mainfrom
chore/override-dev-advisories

Conversation

@unional

@unional unional commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Closes the five open Dependabot advisories on main: nanoid, js-yaml, fast-uri, postcss, brace-expansion.

All five are transitive. Every parent — vite/vitest, ajv, commitlint, depcheck, glob — is already on its latest release, so bumping a direct dependency reaches none of them. A pnpm override is the only route.

Nothing here ships to consumers. path-equal declares no runtime dependencies at all, so the published tarball is unaffected — Dependabot's scope: runtime describes the dependency's role inside its own parent, not inside this package. That is also why this carries no changeset: the change is repo-internal.

Each override carries its advisory ID and the condition for removing it, so none of them silently outlives its purpose.

One non-obvious detail

Removing the stale js-yaml@>=3.0.0 <3.15.0 entry was load-bearing rather than tidying. With it present, the new js-yaml override did not take effect and js-yaml@4.3.0 stayed in the tree; removing it dropped the tree to a single js-yaml@4.3.2. No js-yaml 3.x has been in this tree for some time, so the old entry was matching nothing while blocking the new one.

Verified

pnpm install then pnpm why <pkg> -r for each: nanoid@3.3.163.3.18, js-yaml@4.3.0 → gone, fast-uri@3.1.43.1.6, postcss@8.5.20 → gone, brace-expansion@2.1.22.1.4. pnpm verify green on a cold turbo cache.

Every parent is already on its latest release, so bumping a direct dependency reaches
none of them. `path-equal` declares no runtime dependencies, so none of this ships to
consumers — Dependabot's `runtime` scope describes the dependency's role inside its own
parent, not inside the published tarball. Each override carries its advisory ID and the
condition for deleting it.

Removing the stale `js-yaml@>=3.0.0 <3.15.0` entry was load-bearing, not tidying: with it
present the new `js-yaml` override did not take effect and 4.3.0 stayed in the tree. No
js-yaml 3.x has been in this tree for some time.
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 80185f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@unional
unional enabled auto-merge September 1, 2026 08:17
@unional
unional added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit d03f173 Sep 1, 2026
5 checks passed
@unional
unional deleted the chore/override-dev-advisories branch September 1, 2026 08:20
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.

1 participant