🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

global-prefix

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

global-prefix - npm Package Compare versions

Comparing version

to
1.0.1

6

index.js

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

3

package.json
{
"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 @@ },