Skip to content

chore(deps): transitively update postcss - #31436

Open
OS-jacobbell wants to merge 4 commits into
mainfrom
FW-7722
Open

chore(deps): transitively update postcss#31436
OS-jacobbell wants to merge 4 commits into
mainfrom
FW-7722

Conversation

@OS-jacobbell

@OS-jacobbell OS-jacobbell commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

Several dependencies throughout the repo have postcss as a dependency. While it doesn't affect users, a vulnerability in postcss causes dependabot to log high severity alerts.

What is the new behavior?

  • Bumped dependencies in vue and vue-router that were on the old postcss.
  • Added overrides for ng18, ng19, and ng20 test apps, which are stuck on older versions.
  • Ran npm update for all other packages that inherited postcss.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Core uses old versions of stylelint and stylelint-order that cannot be easily updated, and these use an old postcss with the vulnerability.

@OS-jacobbell
OS-jacobbell requested a review from a team as a code owner September 8, 2026 19:11
@OS-jacobbell
OS-jacobbell requested a review from thetaPC September 8, 2026 19:11
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Sep 9, 2026 1:28pm UTC

Request Review

@github-actions github-actions Bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Sep 8, 2026

@thetaPC thetaPC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

packages/angular-server looks missed. It's still on postcss 8.5.15, under the 8.5.23 bar that GHSA-fxqj-rqcc-2cmp sets, so its alerts stay open. Should be a plain npm update postcss case.

"webpack": "^5.61.0",
"webpack-cli": "^4.9.2"
},
"overrides": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good call on the override. I'd scoped ng18/ng19/ng20 as unfixable, since @angular-devkit/build-angular pins postcss exactly and the newest devkit in each major is still vulnerable (18 gives 8.4.41, 19 gives 8.5.12). Forcing ^8.5.23 clears all three, which takes three dismissals off FW-7722.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Worth a line in the PR description: the v2 to v3 lockfile migration is most of this file's diff.

Also might be worth mentioning in the description, react-router goes 5.3.4 to 6.30.6. That's a stale lockfile catching up rather than a new bump, since package.json already declared ^6.0.0. Reads alarming in a postcss PR otherwise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same v2 to v3 migration here, which accounts for the diff size.

"webpack-cli": "^4.9.2"
},
"overrides": {
"postcss": "^8.5.23"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not blocking, just flagging debt: this app can't take a general npm update. It aborts with ERESOLVE over @angular/compiler@20.1.8, which is presumably why the override was needed rather than a version bump. npm install is fine and reproduces the lockfile exactly, so postcss is genuinely fixed here.

Worth its own card, since the next transitive advisory in this app will hit the same wall and need the same override workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants