Closed aduh95 closed 1 year ago
Hum it seems that 3.9.19 is also affected, so that won't fix the automated report 😒 https://www.npmjs.com/package/vm2 shows that the package is deprecated and won't be fixed, so let's remove it from our dependency tree instead.
It seems it's not possible to affect dependencies using patches, @arcanis is that right? I'd have sworn that was possible at some point.
Metadata are retrieved from the registry, so I think patch won't be able to change them; probably something we should fix in Yarn 🤔
In the meantime we can use a resolutions
field to map vm2
to a portal:./path/to/vm2/mock
; I'm not in front of my computer to test but I think it should do the trick.
vm2 is a transitive dependency that we do not use, and we patched it to be completely harmless. However, it seems the automation is not able to detect that, and is producing annoying warnings, so let's update it.
Refs: https://github.com/nodejs/corepack/pull/283