Socket
Socket
Sign inDemoInstall

npmconf

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmconf - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

13

config-defs.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc