global-prefix
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -12,2 +12,3 @@ /*! | ||
var path = require('path'); | ||
var resolve = require('resolve-dir'); | ||
var homedir = require('homedir-polyfill'); | ||
@@ -47,3 +48,6 @@ var ini = require('ini'); | ||
} | ||
return prefix; | ||
if (prefix) { | ||
return resolve(prefix); | ||
} | ||
} | ||
@@ -50,0 +54,0 @@ |
{ | ||
"name": "global-prefix", | ||
"description": "Get the npm global path prefix.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/jonschlinkert/global-prefix", | ||
@@ -36,2 +36,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"is-windows": "^1.0.1", | ||
"resolve-dir": "^1.0.0", | ||
"which": "^1.2.14" | ||
@@ -38,0 +39,0 @@ }, |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
8589
83
5
13
+ Addedresolve-dir@^1.0.0
+ Addedexpand-tilde@2.0.2(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedresolve-dir@1.0.1(transitive)