Comparing version 0.0.18 to 0.0.19
@@ -85,5 +85,12 @@ // defaults, types, and shorthands. | ||
var uidOrPid = process.getuid ? process.getuid() : process.pid | ||
if (home) process.env.HOME = home | ||
else home = temp | ||
else home = path.resolve(temp, "npm-" + uidOrPid) | ||
var cacheExtra = process.platform === "win32" ? "npm-cache" : ".npm" | ||
var cacheRoot = process.platform === "win32" && process.env.APPDATA || home | ||
var cache = path.resolve(cacheRoot, cacheExtra) | ||
var globalPrefix | ||
@@ -173,5 +180,3 @@ Object.defineProperty(exports, "defaults", {get: function () { | ||
, cache : process.platform === "win32" | ||
? path.resolve(process.env.APPDATA || home || temp, "npm-cache") | ||
: path.resolve( home || temp, ".npm") | ||
, cache : cache | ||
@@ -178,0 +183,0 @@ , "cache-lock-stale": 60000 |
{ | ||
"name": "npmconf", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "The config thing npm uses", | ||
@@ -5,0 +5,0 @@ "main": "npmconf.js", |
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
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
32642
874