-
Notifications
You must be signed in to change notification settings - Fork 1.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
subdependency regression breaks node-gyp 9 #2848
Comments
legobeat
changed the title
incompatible dependency
subdependency regression breaks node-gyp
May 17, 2023
legobeat
changed the title
subdependency regression breaks node-gyp
subdependency regression breaks node-gyp 9
May 17, 2023
Some relevant conversation in #2796 |
legobeat
added a commit
to legobeat/node-gyp
that referenced
this issue
May 17, 2023
This reverts commit 02480f6, thereby rolling back dependency make-fetch-happen from ^11.0.3 to ^10.0.3. The upgrade is breaking for node-fetch users as it has transitive dependencies with syntax incompatible with supported Node.js versions. Related: - nodejs#2770 - nodejs#2837 - nodejs#2816 - nodejs#2848 - nodejs#2827 - nodejs#2796
This was referenced May 17, 2023
Merged
legobeat
added a commit
to legobeat/node-gyp
that referenced
this issue
Jun 26, 2023
This reverts commit 02480f6, thereby rolling back dependency make-fetch-happen from ^11.0.3 to ^10.0.3. The upgrade is breaking for node-fetch users as it has transitive dependencies with syntax incompatible with supported Node.js versions. Related: - nodejs#2770 - nodejs#2837 - nodejs#2816 - nodejs#2848 - nodejs#2827 - nodejs#2796
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verbose output (from npm or node-gyp):
CI run on current
main
:The incompatible syntax got introduced in
lru-cache
update from 8 to 9:https://npm-diff.app/lru-cache@8.0.5...lru-cache@9.0.3#dist/cjs/index.js-L52
Here we see release history of
path-scurry
, which introduces this dependency:Bumping
lru-cache
from^7.14.1
to^9.0.0
was actually a breaking change. Since thenode-gyp
repo does not utilize a lockfile, this meant that builds started breaking since2023-04-09
.Suggestions:
lru-cache
to unblock addressing unbreaking security fixes fornode-gyp
users on legacy environments.The text was updated successfully, but these errors were encountered: