@pnpm/config
Advanced tools
Comparing version 3.3.3 to 3.3.4
@@ -9,2 +9,3 @@ "use strict"; | ||
const whichcb = require("which"); | ||
const findBestGlobalPrefixOnWindows_1 = require("./findBestGlobalPrefixOnWindows"); | ||
const getScopeRegistries_1 = require("./getScopeRegistries"); | ||
@@ -132,5 +133,5 @@ const npmDefaults = loadNpmConf.defaults; | ||
const npmGlobalPrefix = pnpmConfig.rawNpmConfig['pnpm-prefix'] || | ||
(process.platform === 'win32' && process.env.APPDATA | ||
? path.join(process.env.APPDATA, 'npm') | ||
: npmConfig.globalPrefix); | ||
(process.platform !== 'win32' | ||
? npmConfig.globalPrefix | ||
: findBestGlobalPrefixOnWindows_1.default(npmConfig.globalPrefix, process.env)); | ||
pnpmConfig.globalBin = process.platform === 'win32' | ||
@@ -137,0 +138,0 @@ ? npmGlobalPrefix |
{ | ||
"name": "@pnpm/config", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "Gets configs for pnpm", | ||
@@ -37,2 +37,3 @@ "main": "lib/index.js", | ||
"find-up": "4.0.0", | ||
"is-subdir": "1.0.3", | ||
"which": "1.3.1" | ||
@@ -39,0 +40,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
28723
15
366
2
6
+ Addedis-subdir@1.0.3
+ Addedbetter-path-resolve@1.0.0(transitive)
+ Addedis-subdir@1.0.3(transitive)
+ Addedis-windows@1.0.2(transitive)