Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Using Node.js 24.0.0 with pnpm v10.10.0
Ran pnpm install in any repo
Describe the Bug
When running pnpm install with Node.js 24.0.0 and pnpm v10.10.0, Node.js prints the following warning:
(node:41588) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
It continues to install, but the usage of the depracation warning may be resolved.
Warning with --trace-deprecation:
(node:42483) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
at Object.urlParse [as parse] (node:url:130:13)
at toNerfDart (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:49806:24)
at getAuthHeadersFromConfig (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:97136:74)
at createGetAuthHeaderByURI (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:97200:83)
at createClient (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:97263:80)
at createNewStoreController (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:100830:85)
at createOrConnectStoreController (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:101128:70)
at async installDeps (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:187069:21)
at async /home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:220728:23
at async main (/home/mrminemeet/.cache/node/corepack/v1/pnpm/10.10.0/dist/pnpm.cjs:220686:34)
Expected Behavior
Run pnpm install and don't receive the deprecation warning
Which Node.js version are you using?
24.0.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Using Node.js 24.0.0 with pnpm v10.10.0
Ran
pnpm installin any repoDescribe the Bug
When running
pnpm installwith Node.js 24.0.0 and pnpm v10.10.0, Node.js prints the following warning:It continues to install, but the usage of the depracation warning may be resolved.
Warning with
--trace-deprecation:Expected Behavior
Run
pnpm installand don't receive the deprecation warningWhich Node.js version are you using?
24.0.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response