dependency-path
Advanced tools
Comparing version 1.2.1 to 1.2.3
@@ -30,3 +30,3 @@ "use strict"; | ||
const registryName = encodeRegistry(standardRegistry); | ||
if (absoluteResolutionLoc.startsWith(`${registryName}/`)) { | ||
if (absoluteResolutionLoc.startsWith(`${registryName}/`) && absoluteResolutionLoc.indexOf('/-/') === -1) { | ||
return absoluteResolutionLoc.substr(absoluteResolutionLoc.indexOf('/')); | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "dependency-path", | ||
"version": "1.2.1", | ||
"version": "1.2.3", | ||
"description": "Utilities for working with symlinked node_modules", | ||
@@ -49,4 +49,4 @@ "main": "lib/index.js", | ||
"tape": "^4.8.0", | ||
"ts-node": "^5.0.1", | ||
"typescript": "^2.5.3" | ||
"ts-node": "^7.0.0", | ||
"typescript": "^3.0.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "mos": { |
Sorry, the diff of this file is not supported yet
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
9406