npm-registry-client
Advanced tools
Comparing version 8.3.0 to 8.4.0
@@ -282,3 +282,9 @@ module.exports = regRequest | ||
w = w.split('/') | ||
name = decodeURIComponent(w[w.indexOf('_rewrite') + 1]) | ||
var index = w.indexOf('_rewrite') | ||
if (index === -1) { | ||
index = w.length - 1 | ||
} else { | ||
index++ | ||
} | ||
name = decodeURIComponent(w[index]) | ||
} | ||
@@ -285,0 +291,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Client for the npm registry", | ||
"version": "8.3.0", | ||
"version": "8.4.0", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "https://github.com/npm/npm-registry-client.git" |
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
68915
1558
9