Skip to content

chore(deps-dev): bump postcss-modules from 6.0.1 to 9.0.0 - #9346

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/postcss-modules-9.0.0
Open

chore(deps-dev): bump postcss-modules from 6.0.1 to 9.0.0#9346
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/postcss-modules-9.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 12, 2026

Copy link
Copy Markdown
Contributor

Bumps postcss-modules from 6.0.1 to 9.0.0.

Changelog

Sourced from postcss-modules's changelog.

9.0.0

Breaking

  • Minimum Node.js bumped from 20 to 20.6, the release that stabilized module.register.

Added

  • New postcss-modules/loader subpath — an opt-in Node module-customization hook. Run with node --import postcss-modules/loader app.mjs and JavaScript files can do import styles from "./button.css" to receive the class-name token map as the default export, mirroring css-loader's modules workflow. Options live in postcss-modules.config.{js,cjs,mjs} in cwd, the POSTCSS_MODULES_CONFIG env var, or a "postcss-modules" key in package.json, and accept the same shape as the PostCSS plugin. Aimed at non-bundler use cases (SSR, Node scripts, Jest/Vitest in node mode); bundler users keep using their existing integrations. #80

8.3.1

Fixed

  • hashPrefix is now applied when no custom generateScopedName is set. Previously the option was only honoured by generic-names, so the built-in default generator silently ignored it. #160
  • Empty rules left behind after :global { ... } unwrapping (e.g. a Sass block containing only a multi-line comment) are now removed instead of emitted as orphaned { ... } blocks. #136

8.3.0

Added

  • New localsConvention value 'all' — emit the original class name plus the camelCase and dashes-camelCase variants in one pass.
  • New localsConvention value 'none' — emit only the original class name, with no additional aliases.
  • The function form of localsConvention may now return an array of strings. Every entry in the array is added to the locals map and resolves to the same value, which makes it easy to expose a single CSS class under multiple JS-friendly aliases.

Adapted from the unmerged work in #154 by @​CarbonORM.

8.1.0

Internal

  • Replaced Babel with swc across the entire toolchain: @swc/cli compiles src/ to build/, @swc/jest transforms test files, and ESLint now uses its default espree parser. Removed five @babel/* devDependencies and the unused @babel/register runtime hook. The published build/*.js keeps the same module.exports = (opts) => ...; module.exports.postcss = true shape, so existing CommonJS consumers are unaffected.
  • Pinned transitive file-type to v22 via overrides to silence @swc/cli's vulnerable dependency chain.

8.0.0

Breaking

  • Dropped support for Node.js 18. The minimum supported Node.js version is now 20.

Updated

  • All devDependencies bumped to latest: @babel/* 7 → 8, eslint 7 → 9 (now uses flat eslint.config.mjs), eslint-plugin-jest 23 → 29, prettier 2 → 3, husky 4 → 9, lint-staged 10 → 17, autoprefixer to 10.5, postcss to 8.5
  • Bumped postcss-modules-local-by-default to 4.2 and postcss-modules-scope to 3.2.1
  • Pinned transitive glob to v12 via overrides

Internal

  • Reformatted source with Prettier 3 (whitespace only)
  • Bumped Babel compile target from Node 10 to Node 18

... (truncated)

Commits
  • 5340e86 9.0.0
  • 0f324b2 Prep 9.0.0: changelog entry and CI matrix update
  • a9ef03c Run Makefile targets in Docker
  • 5745f42 Expand JS-import loader docs
  • e520857 Add Node ESM loader hook for import styles from './x.css'
  • 7d21d5a 8.3.1
  • 6bc2b1f 8.3.2
  • 8014eff Make node_modules target track package-lock.json mtime
  • b716901 8.3.1
  • 4d07ac4 Make targets bootstrap node_modules and use local binaries
  • Additional commits viewable in compare view
Install script changes

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


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 [postcss-modules](https://github.com/css-modules/postcss-modules) from 6.0.1 to 9.0.0.
- [Changelog](https://github.com/madyankin/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](madyankin/postcss-modules@v6.0.1...v9.0.0)

---
updated-dependencies:
- dependency-name: postcss-modules
  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 javascript Pull requests that update javascript code labels Jul 12, 2026
@github-actions
github-actions Bot enabled auto-merge (rebase) July 12, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants