Details
As stated here the _auth config in npmrc file is changed: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#auth
Now we need to include the full artifactory URL / scoped URL as part of the auth string. like so: //registery.address/api/npm/npmjs/:_auth=...
Question: If I fix this issue, will it still work on older NPM versions (below npm v9)?
So is this a backwards compatible change?
I ask this for a production environment setup. Thanks!
Node.js version
v18 (LTS)
Example code
always-auth=true
registry=https://registery.address/api/npm/npmjs/
//registery.address/api/npm/npmjs/:_auth=<base_64_user:password>
Operating system
Linux
Scope
runtime
Module and version
Not applicable.
Details
As stated here the
_authconfig in npmrc file is changed: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#authNow we need to include the full artifactory URL / scoped URL as part of the
authstring. like so://registery.address/api/npm/npmjs/:_auth=...Question: If I fix this issue, will it still work on older NPM versions (below npm v9)?
So is this a backwards compatible change?
I ask this for a production environment setup. Thanks!
Node.js version
v18 (LTS)
Example code
Operating system
Linux
Scope
runtime
Module and version
Not applicable.