diff --git a/node_modules/@npmcli/config/lib/set-envs.js b/node_modules/@npmcli/config/lib/set-envs.js index 089333796163..36d37145466e 100644 --- a/node_modules/@npmcli/config/lib/set-envs.js +++ b/node_modules/@npmcli/config/lib/set-envs.js @@ -53,13 +53,7 @@ const setEnvs = (config) => { list: [cliConf, envConf], } = config - const { DESTDIR } = env - if (platform !== 'win32' && DESTDIR && globalPrefix.indexOf(DESTDIR) === 0) - env.PREFIX = globalPrefix.substr(DESTDIR.length) - else - env.PREFIX = globalPrefix - - env.INIT_CWD = env.INIT_CWD || process.cwd() + env.INIT_CWD = process.cwd() // if the key is the default value, // if the environ is NOT the default value, diff --git a/node_modules/@npmcli/config/package.json b/node_modules/@npmcli/config/package.json index a7050c73a03e..644544a49d86 100644 --- a/node_modules/@npmcli/config/package.json +++ b/node_modules/@npmcli/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "1.2.8", + "version": "1.2.9", "files": [ "lib" ], diff --git a/package-lock.json b/package-lock.json index 2697874fb5e4..dc4f0b2d30fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -360,7 +360,7 @@ "dependencies": { "@npmcli/arborist": "^2.1.1", "@npmcli/ci-detect": "^1.2.0", - "@npmcli/config": "^1.2.8", + "@npmcli/config": "^1.2.9", "@npmcli/run-script": "^1.8.1", "abbrev": "~1.1.1", "ansicolors": "~0.3.2", @@ -727,9 +727,9 @@ "inBundle": true }, "node_modules/@npmcli/config": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.2.8.tgz", - "integrity": "sha512-XFqg1uxUhEiy73hT1Z66xrMojgUOzAaCCYm12bEYBbi3wxmaer8MDRQ8ZViCacHFSZhkLVLqt/osPwKKJPduPw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.2.9.tgz", + "integrity": "sha512-d7mx35ju9HFg0gNHiwMU0HXCJk1esAeRdMktLeD+K2K2awkZyEm1FyX+g8iuZbmWGAaFP/aGiXo7a0lKlmp6Xg==", "inBundle": true, "dependencies": { "ini": "^2.0.0", @@ -9962,9 +9962,9 @@ "integrity": "sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==" }, "@npmcli/config": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.2.8.tgz", - "integrity": "sha512-XFqg1uxUhEiy73hT1Z66xrMojgUOzAaCCYm12bEYBbi3wxmaer8MDRQ8ZViCacHFSZhkLVLqt/osPwKKJPduPw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.2.9.tgz", + "integrity": "sha512-d7mx35ju9HFg0gNHiwMU0HXCJk1esAeRdMktLeD+K2K2awkZyEm1FyX+g8iuZbmWGAaFP/aGiXo7a0lKlmp6Xg==", "requires": { "ini": "^2.0.0", "mkdirp-infer-owner": "^2.0.0", diff --git a/package.json b/package.json index 57b7f48964b8..e7cdc11d0bdf 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "dependencies": { "@npmcli/arborist": "^2.1.1", "@npmcli/ci-detect": "^1.2.0", - "@npmcli/config": "^1.2.8", + "@npmcli/config": "^1.2.9", "@npmcli/run-script": "^1.8.1", "abbrev": "~1.1.1", "ansicolors": "~0.3.2",