Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

all-module-paths

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-module-paths - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json

@@ -35,3 +35,3 @@ {

"typings": "src/index.d.ts",
"version": "0.3.0",
"version": "0.3.1",
"repository": "tunnckoCoreLabs/all-module-paths",

@@ -38,0 +38,0 @@ "homepage": "https://github.com/tunnckoCoreLabs/all-module-paths",

@@ -10,11 +10,2 @@ import os from 'os';

.reduce((acc, manager) => acc.concat(dirs[manager].packages), [])
.map((x) => {
const start = path.join(HOMEDIR, '.nvm', 'versions', 'node');
const end = path.join('lib', 'node_modules');
if (x.startsWith(start) && x.endsWith(end)) {
return path.join(path.dirname(path.dirname(x)));
}
return x;
})
.concat(mod.globalPaths.slice(0, -1));

@@ -21,0 +12,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