You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make-fetch-happen dependency needs an update to v11 because @npmcli/move-file (dependency of cacache) is deprecated.
Steps to reproduce
yarn init -y
yarn set version canary
yarn add node-gyp@9.3.0
Output
➤ YN0000: ┌ Resolution step➤ YN0061: │ @npmcli/move-file@npm:2.0.1 is deprecated: This functionality has been moved to @npmcli/fs➤ YN0000: └ Completed➤ YN0000: ┌ Fetch step➤ YN0000: └ Completed➤ YN0000: ┌ Link step➤ YN0000: └ Completed➤ YN0000: Done with warnings
Activity
cclauss commentedon Nov 4, 2022
https://github.com/nodejs/node-gyp/search?q=make-fetch-happen
jonz94 commentedon Nov 10, 2022
One thing to consider is that
make-fetch-happen@^11is only compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0(source: https://github.com/npm/make-fetch-happen/releases/tag/v11.0.0)Updating
make-fetch-happento v11 will introduce breaking change sincenode-gyp@^9still support node12:node-gyp/package.json
Lines 36 to 38 in 2cc72be
rtritto commentedon Nov 10, 2022
Node v12 reached end of support (is not maintained) and is deprecated.
Node v18 can be added.
chore: Update node modules