Comparing version 2.1.12 to 2.1.13
@@ -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
4648311
117677