Socket
Socket
Sign inDemoInstall

global-dirs

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -28,4 +28,4 @@ 'use strict';

// Homebrew special case: `$(brew --prefix)/lib/node_modules/npm/npmrc`
if (process.execPath.endsWith('/Cellar/node')) {
const homebrewPrefix = path.dirname(path.dirname(process.execPath));
if (process.execPath.includes('/Cellar/node')) {
const homebrewPrefix = process.execPath.slice(0, process.execPath.indexOf('/Cellar/node'));
return path.join(homebrewPrefix, '/lib/node_modules/npm/npmrc');

@@ -32,0 +32,0 @@ }

{
"name": "global-dirs",
"version": "2.0.0",
"version": "2.0.1",
"description": "Get the directory of globally installed packages and binaries",

@@ -50,7 +50,7 @@ "license": "MIT",

"ava": "^2.4.0",
"execa": "^2.0.4",
"execa": "^3.2.0",
"import-fresh": "^3.1.0",
"tsd": "^0.7.4",
"xo": "^0.24.0"
"tsd": "^0.10.0",
"xo": "^0.25.3"
}
}
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