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

fix: update loader-utils to ^2.0.2 #936

Closed
wants to merge 5 commits into from

Conversation

alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Mar 21, 2022

Older versions of loader-utils depend on json5 package which itself uses the "minimist" package with a CVE on it (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44906).

Fixes #937

Older versions of `loader-utils` depend on `json5` package which itself uses the "minimist" package with a CVE on it (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44906).
Copy link
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

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

Thanks!

@JLHwung
Copy link
Contributor

JLHwung commented Mar 22, 2022

I have pushed some commits to this branch:

The loader-utils is downgraded to 2.0.2 because babel-loader still supports query-like parameters parsing, which was removed in loader-utils 3.0: https://github.com/webpack/loader-utils/releases/tag/v3.0.0

Yarn is upgraded to v3 because of BigInt related building errors in Node 17.

@JLHwung JLHwung changed the title fix: update loader-utils to ^3.2.0 fix: update loader-utils to ^2.0.2 Mar 22, 2022
@JLHwung
Copy link
Contributor

JLHwung commented Mar 22, 2022

Closing this PR in favor of #931

@JLHwung JLHwung closed this Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVE-2021-44906
2 participants