-
Notifications
You must be signed in to change notification settings - Fork 253
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
Backport fix for CVE-2022-46175 to v1 #298
Conversation
backport 7774c10 to v1.
@jordanbtucker would appreciate a |
Thanks for this. Technically v2 has slightly more downloads than v1 when you combine all v2 versions, but I agree that it would be good to backport this to v1. |
I'm going to merge this even though the Node v4 build is failing. I've also tested these changes with newer versions of Node and the tests pass. |
Thanks for the quick turnaround, @jordanbtucker! Is it possible for you to tag and pushing |
Need to make a few more changes. The tests are failing on my machine so I can't publish due to the npm scripts. I'll try to get it published tomorrow. |
Thanks for being so responsive even in the holiday season, @jordanbtucker! Wish you a happy new year in advance 🎉 |
Thanks in advance for publishing this backport! It really helps transitive upstream maintainers <3 |
Thanks for backporting! |
@jordanbtucker heads up that if this is failing on node 4, publishing this will be a breaking change for eslint-plugin-import. (However, if it's just rollup breaking in node 4, then it should work fine, and a good fix for CI would be doing the build in one stage on latest node, and the tests in all the nodes on another stage) |
@ljharb Thanks for the info. There should be no breaking changes in the production code, although some of the dev dependencies aren't very happy right now. I'm going to test with Node v4 before publishing to make sure! |
May i know if it is published or not? any ETA. @jordanbtucker @ashkulz |
v1.0.2 has been published 🚀 |
This update attempt was spurred by an alleged json5 vulnerability. It is a dev dependency and therefore should not be included in production code and therefore should not affect deployed instances of the software. This commit includes an update to json5 v1 which should be compatible with eslint plugin and removes the vulnerability. See import-js/eslint-plugin-import#2447 (comment) See json5/json5#298 Issue #190 `npm ci` reports vulnerabilities...
I suggested a change to the GitHub Advisory: |
According to npm,
1.0.1
has more downloads so it makes sense to backport it.