Socket
Socket
Sign inDemoInstall

global-prefix

Package Overview
Dependencies
9
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 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 @@ },

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc