Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@nx/webpack > sass-loader version too old #26935

Open
vergilfromadyen opened this issue Jul 15, 2024 · 0 comments
Open

@nx/webpack > sass-loader version too old #26935

vergilfromadyen opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
scope: bundlers Issues related to webpack, rollup type: bug

Comments

@vergilfromadyen
Copy link
Contributor

vergilfromadyen commented Jul 15, 2024

@nx/webpack uses sass-loader@^12.2.0 which is 3 years old. It includes node-sass as a peerDependency and since some npm 7+ installs peerDependencies by default, this leads to some pretty old software with several vulnerabilities getting auto-installed.

node-sass has the following vulnerabilities reported:

The fix would be to update sass-loader to a recent version (14.2.1), and while the breaking changes are pretty small, I'm not sure how NX wants to handle them which is why I haven't opened a PR. That said, here is a cumulative list of breaking changes between v12 and v14:

@FrozenPandaz FrozenPandaz added the scope: bundlers Issues related to webpack, rollup label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: bundlers Issues related to webpack, rollup type: bug
Projects
None yet
Development

No branches or pull requests

3 participants