all-module-paths
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14544
37