chore(security): bump postcss-selector-parser in datasheetsChat (closes #78) - #11
Open
benfrank241 wants to merge 1 commit into
Open
benfrank241 wants to merge 1 commit into
benfrank241 wants to merge 1 commit into
Conversation
…Chat Closes Dependabot alert #78 (GHSA-w9m9-85wc-3x92, low). postcss-selector-parser is transitive here, so the fix is an npm `overrides` entry. The override is scoped under the two parents whose requested ranges actually resolve into the vulnerable range (postcss-nested ^6.1.1 and tailwindcss ^6.0.11); a global override was avoided because @tailwindcss/typography pins 6.0.10 exactly, which is below the vulnerable range and therefore not affected. Lockfile regenerated with `npm install --package-lock-only`; the only resolved change is postcss-selector-parser 6.1.2 -> 6.1.4.
This was referenced Sep 2, 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.
Daily security sweep —
datasheetsChat(npm), 2026-09-02.Alerts closed
GHSA-w9m9-85wc-3x92postcss-selector-parser6.1.2→6.1.4Vulnerable range
>= 6.1.0, < 6.1.3. (GitHub reportsfirst_patched_version: nullfor this advisory, but6.1.3and later are outside the declared range; the override resolves to6.1.4.)Fix method
postcss-selector-parseris transitive, not a direct dependency, so the fix is an npmoverridesentry rather than a manifest bump.The override is scoped under the two affected parents rather than applied globally:
postcss-nested^6.1.1tailwindcss^6.0.11@tailwindcss/typography6.0.10(exact pin)A global
"postcss-selector-parser": "^6.1.3"override would also have rewritten@tailwindcss/typography's exact6.0.10pin, changing a copy that was never vulnerable. Scoping keeps the change limited to what the advisory actually requires.Lockfile regenerated with
npm install --package-lock-only. No--force, no--legacy-peer-deps. The resulting lockfile diff is a single package:Verification — differential, per the standing note in #10
npm cisucceeds and the Next.js build compiles successfully. The build then fails in the type-check phase — but this failure is pre-existing onmainand unrelated to this change, as documented in issue #10 item 2 (ai@^5paired with v1-line@ai-sdk/*providers against v4-era call sites insrc/app/api/chat/route.ts).Verified differentially against a clean, unmodified
origin/mainworktree at the same commit:main(control)npm cinext build— compilenext build— type-checktsc --noEmitdiffof the twotsc --noEmitoutputs is empty — this change introduces no new errors. All 8 are the pre-existing errors catalogued in #10.npm run lintwas not runnable: no ESLint config is committed, sonext lintdrops into an interactive configuration prompt and never completes non-interactively. Same onmain— see #10 item 3.Not included
@ai-sdk/provider-utils,GHSA-866g-f22w-33x8) is deliberately not addressed here and not dismissed — no upstream fix exists (every published version is inside the vulnerable range and every parent pins it exactly). It remains tracked in Daily security sweep — backlog #10 and requires the AI SDK major migration.Please review and merge at your discretion — this sweep does not merge its own PRs.