Comparing version
@@ -39,5 +39,12 @@ "format cjs"; | ||
var nameIsRelative = utils.path.isRelative(name); | ||
var nameIsNpmModule = utils.moduleName.isNpm(name); | ||
var parentIsNpmModule = utils.moduleName.isNpm(parentName); | ||
var identifierEndsWithSlash = utils.path.endsWithSlash(name); | ||
// If this is an npm module name already, we don't need to re-resolve it. | ||
if(nameIsNpmModule && parentModuleName) { | ||
return oldNormalize.call(this, name, parentName, parentAddress, | ||
pluginNormalize); | ||
} | ||
// If this is a relative module name and the parent is not an npm module | ||
@@ -44,0 +51,0 @@ // we can skip all of this logic. |
{ | ||
"name": "steal", | ||
"description": "Gets JavaScript.", | ||
"version": "2.1.12", | ||
"version": "2.1.13", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bitovi", |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
4648311
0.01%117677
0.01%