Commit 79aef7d
authored
chore(deps): update dependency postcss-modules to v9 (UI5#8757)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[postcss-modules](https://redirect.github.com/css-modules/postcss-modules)
| [`6.0.1` →
`9.0.0`](https://renovatebot.com/diffs/npm/postcss-modules/6.0.1/9.0.0)
|

|

|
---
### Release Notes
<details>
<summary>css-modules/postcss-modules (postcss-modules)</summary>
###
[`v9.0.0`](https://redirect.github.com/css-modules/postcss-modules/blob/HEAD/CHANGELOG.md#900)
[Compare
Source](https://redirect.github.com/css-modules/postcss-modules/compare/v8.3.1...v9.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.
[#&UI5#8203;80](https://redirect.github.com/madyankin/postcss-modules/issues/80)
###
[`v8.3.1`](https://redirect.github.com/css-modules/postcss-modules/blob/HEAD/CHANGELOG.md#831)
[Compare
Source](https://redirect.github.com/css-modules/postcss-modules/compare/v8.3.0...v8.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.
[#&UI5#8203;160](https://redirect.github.com/madyankin/postcss-modules/issues/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.
[#&UI5#8203;136](https://redirect.github.com/madyankin/postcss-modules/issues/136)
###
[`v8.3.0`](https://redirect.github.com/css-modules/postcss-modules/blob/HEAD/CHANGELOG.md#830)
[Compare
Source](https://redirect.github.com/css-modules/postcss-modules/compare/v8.1.0...v8.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
[#&UI5#8203;154](https://redirect.github.com/madyankin/postcss-modules/pull/154)
by [@&UI5#8203;CarbonORM](https://redirect.github.com/CarbonORM).
###
[`v8.1.0`](https://redirect.github.com/css-modules/postcss-modules/blob/HEAD/CHANGELOG.md#810)
[Compare
Source](https://redirect.github.com/css-modules/postcss-modules/compare/v7.0.0...v8.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.
###
[`v7.0.0`](https://redirect.github.com/css-modules/postcss-modules/blob/HEAD/CHANGELOG.md#700)
[Compare
Source](https://redirect.github.com/css-modules/postcss-modules/compare/v6.0.1...v7.0.0)
##### Breaking
- Dropped support for Node.js 10, 12, 14, and 15. The minimum supported
Node.js version is now 18.
##### Security
- Patched 14 Dependabot security alerts in transitive dependencies
(`form-data`, `lodash`, `@babel/core`,
`@babel/plugin-transform-modules-systemjs`, `uuid`, `picomatch`,
`flatted`, `minimatch`, `qs`, `js-yaml`, `nanoid`)
- Bumped `jest` from 26 to 30 to drop vulnerable `node-notifier`,
`sane`, and `jsdom` chains
##### Internal
- Regenerated Jest snapshots for the new `pretty-format` serializer
(cosmetic only; emitted CSS and JSON are unchanged)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/UI5/webcomponents-react).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 45dde6d commit 79aef7d
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18629 | 18629 | | |
18630 | 18630 | | |
18631 | 18631 | | |
18632 | | - | |
| 18632 | + | |
18633 | 18633 | | |
18634 | 18634 | | |
18635 | 18635 | | |
| |||
18642 | 18642 | | |
18643 | 18643 | | |
18644 | 18644 | | |
18645 | | - | |
| 18645 | + | |
18646 | 18646 | | |
18647 | 18647 | | |
18648 | 18648 | | |
| |||
18664 | 18664 | | |
18665 | 18665 | | |
18666 | 18666 | | |
18667 | | - | |
18668 | | - | |
18669 | | - | |
| 18667 | + | |
| 18668 | + | |
| 18669 | + | |
18670 | 18670 | | |
18671 | 18671 | | |
18672 | 18672 | | |
18673 | 18673 | | |
18674 | 18674 | | |
18675 | | - | |
18676 | | - | |
| 18675 | + | |
| 18676 | + | |
18677 | 18677 | | |
18678 | 18678 | | |
18679 | 18679 | | |
18680 | 18680 | | |
18681 | | - | |
| 18681 | + | |
18682 | 18682 | | |
18683 | 18683 | | |
18684 | 18684 | | |
| |||
22187 | 22187 | | |
22188 | 22188 | | |
22189 | 22189 | | |
22190 | | - | |
| 22190 | + | |
22191 | 22191 | | |
22192 | 22192 | | |
22193 | 22193 | | |
| |||
0 commit comments