Skip to content

Bump postcss-selector-parser and @fullhuman/postcss-purgecss in /site - #560

Closed
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/site/multi-43732dc5fc
Closed

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/site/multi-43732dc5fc

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor

Bumps postcss-selector-parser to 7.1.6 and updates ancestor dependency @fullhuman/postcss-purgecss. These dependencies need to be updated together.

Updates postcss-selector-parser from 6.1.4 to 7.1.6

Release notes

Sourced from postcss-selector-parser's releases.

7.1.6

  • fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability (GHSA-rj75-hqrm-r3gf, reported by Wayde Shi)

7.1.5

  • fix: don't treat a non-prefix token before | as a namespace (#324 by @​spokodev)
  • fix: preserve whitespace before a * namespace in attribute selectors (#325 by @​spokodev)
  • fix: TypeError on unclosed [, ( and trailing | (#330 by @​theRizwan)

7.1.4

  • fix: tolerate non-node children when serializing selectors

7.1.3

  • Improve fix CVE-2026-9358 (NVD) / SNYK-JS-POSTCSSSELECTORPARSER-16873882 (clone/walk)

7.1.2

v7.1.1

7.1.1

  • perf: replace startsWith with strict equality (#308)
  • fix(types): add walkUniversal declaration (#311)

v7.1.0

7.1.0

  • feat: insert(Before|After) support multiple new node

v7.0.0

7.0.0

  • Feat: make insertions during iteration safe (major)

6.1.5

The 6.x line is now in security-only maintenance

This release exists because the advisory above covers every published 6.x version, and until now the only remediation on offer was an upgrade to 7.x. 6.1.5 is the patched version for the 6.x line.

The line is kept alive for the installed base that cannot move to 7 yet, Tailwind CSS 3 in particular, which depends on ^6.1.2. From here on it receives security fixes only: no features, no other bug fixes, no type changes. Everything else goes to 7.x, where this package is actively developed. Tailwind CSS 4 no longer depends on this package at all, so this line is expected to retire on its own.

6.1.5 is published under the legacy-v6 npm dist-tag, so npm install postcss-selector-parser keeps resolving to 7.x. Existing ^6

... (truncated)

Changelog

Sourced from postcss-selector-parser's changelog.

7.1.6 - 2026-09-03

  • fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability (GHSA-rj75-hqrm-r3gf, reported by Wayde Shi)

7.1.5 - 2026-08-07

  • fix: don't treat a non-prefix token before | as a namespace (#324 by @​spokodev)
  • fix: preserve whitespace before a * namespace in attribute selectors (#325 by @​spokodev)
  • fix: TypeError on unclosed [, ( and trailing | (#330 by @​theRizwan)

7.1.4 - 2026-06-11

  • fix: tolerate non-node children when serializing selectors

7.1.3 - 2026-06-11

  • Improve fix CVE-2026-9358 (NVD) / SNYK-JS-POSTCSSSELECTORPARSER-16873882 (clone/walk)

7.1.2 - 2026-06-09

7.1.1

  • perf: replace startsWith with strict equality (#308)
  • fix(types): add walkUniversal declaration (#311)

7.1.0

  • feat: insert(Before|After) support multiple new node

7.0.0

  • Feat: make insertions during iteration safe (major)

6.1.2

  • Fixed: erroneous trailing combinators in pseudos

6.1.1

  • Fixed: improve typings of constructor helpers (#292)

6.1.0

  • Feature: add sourceIndex to Selector nodes (#290)

6.0.16

... (truncated)

Commits
  • 4eb3468 7.1.6
  • 62b1917 fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability
  • e33e9bc 7.1.5
  • 6f4e6c1 fix: TypeError on unclosed [, ( and trailing | (#330)
  • 4d8437f fix: preserve whitespace before a * namespace in attribute selectors (#325)
  • e2f9029 fix: don't treat a non-prefix token before | as a namespace (#324)
  • dd50ee1 chore(deps-dev): bump postcss from 8.5.18 to 8.5.23 (#331)
  • 7e3abb2 chore(deps-dev): bump postcss from 8.5.15 to 8.5.18 (#328)
  • See full diff in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Updates @fullhuman/postcss-purgecss from 7.0.2 to 8.0.0

Release notes

Sourced from @​fullhuman/postcss-purgecss's releases.

v8.0.0

BREAKING CHANGES

  • Revert the changes from v7.0.2 that modified the import of the PostCSS plugin. This was causing issues (see #1295). The PostCSS plugin should now be imported via a default import:
import purgeCSSPlugin from '@fullhuman/postcss-purgecss';

Features

  • feat: add --preserve-paths option to CLI for maintaining folder hierarchy (aa5ac9d), closes #377

Bug fixes

  • fix: for code scanning alert no. 5: Incomplete multi-character sanitization (#1403) (3f39411), closes #1403
  • fix: enhance setOptions to support both ES modules and CommonJS config exports (4ad48c4), closes #1340
  • fix: fix glob expression illegal operations on directories (#1308) (b27293f), closes #1308 #1266
  • fix: update import statements for purgeCSSPlugin in documentation and source files (e5cbce2), closes #1295
  • fix(#995): preserve relative paths in source maps (4f6c4d9), closes #995
  • fix: enhance keyframes handling to preserve animations referenced via CSS variables (076c027), closes #478

New Contributors

Full Changelog: FullHuman/purgecss@v7.0.2...v8.0.0

Changelog

Sourced from @​fullhuman/postcss-purgecss's changelog.

8.0.0

BREAKING CHANGES

  • Revert the changes from v7.0.2 that modified the import of the PostCSS plugin. This was causing issues (see #1295. The PostCSS plugin should now be imported via a default import:
import purgeCSSPlugin from '@fullhuman/postcss-purgecss';

Features

  • feat: add --preserve-paths option to CLI for maintaining folder hierarchy (aa5ac9d), closes #377

Bug fixes

  • fix: for code scanning alert no. 5: Incomplete multi-character sanitization (#1403) (3f39411), closes #1403
  • fix: enhance setOptions to support both ES modules and CommonJS config exports (4ad48c4), closes #1340
  • fix: fix glob expression illegal operations on directories (#1308) (b27293f), closes #1308 #1266
  • fix: update import statements for purgeCSSPlugin in documentation and source files (e5cbce2), closes #1295
  • fix(#995): preserve relative paths in source maps (4f6c4d9), closes #995
  • fix: enhance keyframes handling to preserve animations referenced via CSS variables (076c027), closes #478
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​fullhuman/postcss-purgecss since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) to 7.1.6 and updates ancestor dependency [@fullhuman/postcss-purgecss](https://github.com/FullHuman/purgecss). These dependencies need to be updated together.


Updates `postcss-selector-parser` from 6.1.4 to 7.1.6
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss-selector-parser@6.1.4...7.1.6)

Updates `@fullhuman/postcss-purgecss` from 7.0.2 to 8.0.0
- [Release notes](https://github.com/FullHuman/purgecss/releases)
- [Changelog](https://github.com/FullHuman/purgecss/blob/main/CHANGELOG.md)
- [Commits](FullHuman/purgecss@v7.0.2...v8.0.0)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.6
  dependency-type: indirect
- dependency-name: "@fullhuman/postcss-purgecss"
  dependency-version: 8.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 19, 2026
Copilot AI balanced review requested due to automatic review settings October 30, 2026 17:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues are recorded for the CSS-processing dependency update.

No open issues 🎉

1 file not reviewed
  • site/package-lock.json: Generated file
What changed in this PR

Updates the site’s CSS-processing dependencies to adopt the patched selector parser and PurgeCSS 8.

Changes:

  • Bumps @fullhuman/postcss-purgecss from 7.0.2 to 8.0.0.
  • Updates postcss-selector-parser from 6.1.4 to 7.1.6, which addresses a CPU-exhaustion vulnerability.
  • Refreshes transitive dependencies, replacing PurgeCSS’s glob dependency with fast-glob.
File Description
site/​package.json Raises the PurgeCSS PostCSS plugin requirement to ^8.0.0.
site/​package-lock.json Locks the updated plugin, selector parser, and transitive dependencies.

Review effort: Balanced

@alexander-yevsyukov

Copy link
Copy Markdown
Contributor

Closing in favour of #564, which brings in this update together with the Dart Sass theme.

@dependabot @github

dependabot Bot commented on behalf of github Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/site/multi-43732dc5fc branch October 30, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants