-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Update minimatch in deps #42075
Comments
This should be posted to the npm issue tracker instead. |
@mscdex npm itself has a relaxed dependency on minimatch:
Therefore I thought the problem is with the vendoring of the npm dependency into the nodejs repo. Somehow it did not update minimatch to the latest allowed version. Do you happen to know where the script that populates |
The process is described in https://github.com/nodejs/node/blob/45b5ca810a16074e639157825c1aa2e90d60e9f6/doc/contributing/maintaining-npm.md but I'm not sure how up to date it is because we don't do it manually anymore. There is a bot that does it and it is all handled by the @nodejs/npm team. |
@gjasny npm itself checks in a lot of its own dependencies, including |
we can't update minimatch till we patch a fix for the thing that was a breaking change, namely the handling of backslashes for globs. You can see an example in one of the cli deps that have already been updated here. |
@wraithgar is this fixed version of minimatch available in nodeJS 16.14.1? |
This is fixed in |
Version
HEAD
Platform
any
Subsystem
No response
What steps will reproduce the bug?
Right now the
minimatch
dependency that is vendored into thedeps
directory is at version3.0.4
:Unfortunately that version is reported as vulnerable to a redos attack:
The last npm update PR in #42039 did not (automatically) raise the minimatch dependency.
Could you please update
minimatch
in v17 and v16 and release new versions?How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
Minimatch is updated to at least version
3.0.5
.What do you see instead?
Minimatch is at
3.0.4
.Additional information
No response
The text was updated successfully, but these errors were encountered: