Skip to content

chore(deps-dev): bump @fullhuman/postcss-purgecss from 8.0.0 to 9.0.0 - #252

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/fullhuman/postcss-purgecss-9.0.0
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/fullhuman/postcss-purgecss-9.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @fullhuman/postcss-purgecss from 8.0.0 to 9.0.0.

Release notes

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

v9.0.0

BREAKING CHANGES

  • Node.js 22.12 or later is required by every package, and the purgecss command line is built on commander 15, which has the same requirement.
  • purgecss-webpack-plugin: webpack is a peer dependency (^5.0.0) instead of a dependency, so it must be installed in your project. The only option is compared with the chunk names, as documented, instead of with the asset paths: list the chunk names (for an entrypoint, its key in entry) rather than file names or folders.
  • gulp-purgecss: through2 v5 is an ES module, so the CommonJS build needs a Node.js version that supports require() of ES modules (included in the requirement above). A file that fails to purge now ends the stream with a plugin error instead of leaving the stream waiting.
  • rollup-plugin-purgecss: rollup is a peer dependency, and only the lib folder is published.
  • @​fullhuman/postcss-purgecss and purgecss-webpack-plugin: a purgecss.config.js that exists but fails to load now fails the build instead of being silently ignored, and in the PostCSS plugin the safelist of the config file and of the plugin options are combined instead of the plugin option replacing it.

Highlights

  • Regular expressions can be written as strings between slashes, such as "/^btn-/", in safelist, blocklist and dynamicAttributes, so JSON configurations like postcss.config.json can use patterns. safelist.deep and safelist.greedy accept strings as well.
  • dynamicAttributes accepts regular expressions.
  • Root-level selectors made only of pseudo-classes, such as :where(.used):hover or :host, are kept when what they depend on is used.
  • The variables option scales linearly with the number of custom properties, keeps variables used across CSS files or only inside @keyframes, and removes the @property rules of unused variables.
  • Keyframes, font faces and variables defined in one CSS file and used in another are kept regardless of the order of the css option.
  • The CLI reports errors with their message and exits with code 1.
  • The JSX and TSX extractors find class names in template literals, conditional expressions, nested JSX and clsx-style object keys.
  • Fixes for rejected and rejectedCss (ancestors of nested rules, per-file results, trimmed selectors), source maps in gulp-purgecss, config loading on Windows, options forwarding in the rollup and webpack plugins, and the Vue CLI plugin's installed version.

Upgrading

  • Use Node.js 22.12 or later.
  • purgecss-webpack-plugin: run npm i -D webpack if webpack is not already a direct dependency, and make sure only lists chunk names.
  • rollup-plugin-purgecss: rollup must be installed in your project.
  • Check that purgecss.config.js loads without error: a broken config file now fails the build instead of being ignored.

Full details per package: purgecss, @​fullhuman/postcss-purgecss, purgecss-webpack-plugin, gulp-purgecss, grunt-purgecss, rollup-plugin-purgecss, @​fullhuman/purgecss-from-jsx, @​fullhuman/purgecss-from-tsx, purgecss-from-html, purgecss-from-pug, @​fullhuman/vue-cli-plugin-purgecss, purgecss-with-wordpress.

Changelog

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

9.0.0

From this release, each package has its own changelog, generated from the changesets: see packages/<name>/CHANGELOG.md, for example purgecss, @​fullhuman/postcss-purgecss and purgecss-webpack-plugin. All packages are released together with the same version.

BREAKING CHANGES

  • Node.js 22.12 or later is required by every package, and the purgecss command line is built on commander 15, which has the same requirement.
  • purgecss-webpack-plugin: webpack is a peer dependency (^5.0.0) instead of a dependency, so it must be installed in your project. The only option is compared with the chunk names, as documented, instead of with the asset paths: list the chunk names (for an entrypoint, its key in entry) rather than file names or folders.
  • gulp-purgecss: through2 v5 is an ES module, so the CommonJS build needs a Node.js version that supports require() of ES modules (included in the requirement above). A file that fails to purge now ends the stream with a plugin error instead of leaving the stream waiting.
  • rollup-plugin-purgecss: rollup is a peer dependency, and only the lib folder is published.
  • @​fullhuman/postcss-purgecss and purgecss-webpack-plugin: a purgecss.config.js that exists but fails to load now fails the build instead of being silently ignored, and in the PostCSS plugin the safelist of the config file and of the plugin options are combined instead of the plugin option replacing it.

Highlights

  • Regular expressions can be written as strings between slashes, such as "/^btn-/", in safelist, blocklist and dynamicAttributes, so JSON configurations like postcss.config.json can use patterns. safelist.deep and safelist.greedy accept strings as well.
  • dynamicAttributes accepts regular expressions.
  • Root-level selectors made only of pseudo-classes, such as :where(.used):hover or :host, are kept when what they depend on is used.
  • The variables option scales linearly with the number of custom properties, keeps variables used across CSS files or only inside @keyframes, and removes the @property rules of unused variables.
  • Keyframes, font faces and variables defined in one CSS file and used in another are kept regardless of the order of the css option.
  • The CLI reports errors with their message and exits with code 1.
  • The JSX and TSX extractors find class names in template literals, conditional expressions, nested JSX and clsx-style object keys.
  • Fixes for rejected and rejectedCss (ancestors of nested rules, per-file results, trimmed selectors), source maps in gulp-purgecss, config loading on Windows, options forwarding in the rollup and webpack plugins, and the Vue CLI plugin's installed version.
Commits

Dependabot compatibility score

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)

Bumps [@fullhuman/postcss-purgecss](https://github.com/FullHuman/purgecss) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/FullHuman/purgecss/releases)
- [Changelog](https://github.com/FullHuman/purgecss/blob/main/CHANGELOG.md)
- [Commits](FullHuman/purgecss@v8.0.0...v9.0.0)

---
updated-dependencies:
- dependency-name: "@fullhuman/postcss-purgecss"
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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 Nov 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Looks like @fullhuman/postcss-purgecss is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 16, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dev/fullhuman/postcss-purgecss-9.0.0 branch November 16, 2026 12:13
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.

0 participants