chore(deps): bump postcss and css-loader#2971
Conversation
Bumps [postcss](https://github.com/postcss/postcss) to 8.5.12 and updates ancestor dependency [css-loader](https://github.com/webpack/css-loader). These dependencies need to be updated together. Updates `postcss` from 8.5.4 to 8.5.12 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.4...8.5.12) Updates `css-loader` from 3.6.0 to 7.1.4 - [Release notes](https://github.com/webpack/css-loader/releases) - [Changelog](https://github.com/webpack/css-loader/blob/main/CHANGELOG.md) - [Commits](webpack/css-loader@v3.6.0...v7.1.4) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.12 dependency-type: indirect - dependency-name: css-loader dependency-version: 7.1.4 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cd0d851. Configure here.
| "core-js": "^3.45.0", | ||
| "core-js-compat": "^3.45.0", | ||
| "css-loader": "^3.1.0", | ||
| "css-loader": "^7.1.4", |
There was a problem hiding this comment.
css-loader v7 incompatible with style-loader v0.23
High Severity
Upgrading css-loader from v3 to v7 without upgrading style-loader (still at v0.23.1) breaks CSS in development mode. Starting with css-loader v4, the esModule option defaults to true, producing ES module output. style-loader v0.23.1 expects CommonJS output and cannot properly process the new format, causing styles to silently fail to apply. Production builds using MiniCssExtractPlugin.loader are unaffected. style-loader needs to be upgraded to at least v2+ for compatibility.
Reviewed by Cursor Bugbot for commit cd0d851. Configure here.


Bumps postcss to 8.5.12 and updates ancestor dependency css-loader. These dependencies need to be updated together.
Updates
postcssfrom 8.5.4 to 8.5.12Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
9bc81c4Release 8.5.12 version85c4d7dAnother try to fix coverage94484caTry to fix coveragec64b748Load only .map source mapsaaec7b7Avoid throwing JSON parsing errors for non-JSON source maps233fb26Mention original author of the solution2502f75Release 8.5.11 version5ca1901Speed up parsing many nested brackets42b5337Update dependencies7e36e15Cache node.raws locally in Stringifier hot methodsUpdates
css-loaderfrom 3.6.0 to 7.1.4Release notes
Sourced from css-loader's releases.
... (truncated)
Changelog
Sourced from css-loader's changelog.
... (truncated)
Commits
5b795afchore(release): 7.1.4aeddefefix: update peer dependency for@rspack/corev2 (#1652)b2b2de7chore(release): 7.1.301869bcfix: allow to usemoduleclass name (#1649)7dd15ecchore(deps): bump js-yaml (#1648)db26202chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#1647)7daf1b8Update CONTRIBUTING link to point to GitHub pagede1e633chore: correct link path (#1645)563ad63chore: migrate from contrib and swap branches (#1644)e68bf7echore: update github actions/checkout from v4 to v5 (#1642)Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Note
Medium Risk
Upgrades the CSS build pipeline with a major
css-loaderjump (v3→v7) and related PostCSS ecosystem bumps, which can subtly change CSS Modules output and webpack build behavior despite being dev-time only.Overview
Updates frontend build dependencies by bumping
css-loaderfrom^3.1.0to^7.1.4andpostcssfrom8.5.4to8.5.12.package-lock.jsonis refreshed accordingly, pulling newerpostcss-modules*/icss-utilsversions and updatingcss-loaderrequirements/peer deps (now expects Node>=18.12.0and newer webpack peer ranges).Reviewed by Cursor Bugbot for commit cd0d851. Bugbot is set up for automated code reviews on this repo. Configure here.