Socket
Socket
Sign inDemoInstall

global-prefix

Package Overview
Dependencies
Maintainers
3
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 1.0.1 to 1.0.2

4

index.js

@@ -12,3 +12,3 @@ /*!

var path = require('path');
var resolve = require('resolve-dir');
var expand = require('expand-tilde');
var homedir = require('homedir-polyfill');

@@ -50,3 +50,3 @@ var ini = require('ini');

if (prefix) {
return resolve(prefix);
return expand(prefix);
}

@@ -53,0 +53,0 @@ }

{
"name": "global-prefix",
"description": "Get the npm global path prefix.",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/jonschlinkert/global-prefix",

@@ -33,6 +33,6 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"expand-tilde": "^2.0.2",
"homedir-polyfill": "^1.0.1",
"ini": "^1.3.4",
"is-windows": "^1.0.1",
"resolve-dir": "^1.0.0",
"which": "^1.2.14"

@@ -39,0 +39,0 @@ },

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