Repository navigation
Update postcss in the example app - #88
Merged
Merged
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
carlosmiceli
marked this pull request as ready for review
December 1, 2026 16:13
expensify-chore-bot
Bot
requested review from
tylerkaraszewski
and removed request for
a team
December 1, 2026 16:14
Contributor
|
conflicts. |
tylerkaraszewski
previously approved these changes
Dec 1, 2026
Contributor
Author
|
@MelvinBot fix conflicts |
…-postcss # Conflicts: # example/package.json
Contributor
Author
|
@tylerkaraszewski sorry bout that, ready again |
tylerkaraszewski
approved these changes
Dec 1, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The example app has two vulnerable copies of PostCSS: 8.4.19, and 7.0.39 under
resolve-url-loader@4. No 7.x release has a fix, so a lockfile-only update can't clear all five alerts.postcssto^8.5.23inexample/package.json. It resolves to 8.5.34.resolve-url-loaderto^5.0.0. v5 uses PostCSS 8, which removes PostCSS 7 from the tree. The example app has no Sass or CSS files, so this loader never runs.example/package-lock.json. Only PostCSS andresolve-url-loaderchange, plus PostCSS's own dependencies (picocolors,source-map-js).https://github.com/Expensify/Expensify/issues/707752
Tests
Ran with Node 24.22.1 from
.nvmrc.rm -rf node_modules && npm ci) and checked the resolved versions:npm ls postcss resolve-url-loader --alllists onlypostcss@8.5.34(97 entries) andresolve-url-loader@5.0.0.CI=false DISABLE_ESLINT_PLUGIN=true npx craco build. The ESLint plugin is disabled becausemainalready fails the build with an unrelatedPlugin "react" was conflictederror. Before and after this change the build produced the same bundle:npx jest) before and after: