enhanced-resolve
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -104,5 +104,7 @@ /* | ||
var absoluteRegExp = /^\/|^[A-Z]:[\\\/]/i; | ||
var absoluteWinRegExp = /^[A-Z]:[\\\/]/i; | ||
var absoluteNixRegExp = /^\//i; | ||
Resolver.prototype.join = function join(path, request) { | ||
if(absoluteRegExp.test(request)) return request; | ||
if(absoluteWinRegExp.test(request)) return this.normalize(request.replace(/\//g, "\\")); | ||
if(absoluteNixRegExp.test(request)) return this.normalize(request); | ||
if(path == "/") return this.normalize(path + request); | ||
@@ -109,0 +111,0 @@ if(path.indexOf("/") == 0) return this.normalize(path + "/" + request); |
@@ -0,0 +0,0 @@ /* |
{ | ||
"name": "enhanced-resolve", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.", |
@@ -0,0 +0,0 @@ # enhanced-resolve |
module.exports = function a() { | ||
return "This is a"; | ||
}; |
module.exports = function b() { | ||
return "This is b"; | ||
}; |
@@ -0,0 +0,0 @@ module.exports = function b() { |
@@ -0,0 +0,0 @@ var complex1 = require("./lib/complex1"); |
@@ -0,0 +0,0 @@ var a = require("./a"); |
@@ -0,0 +0,0 @@ var a = require("./a"); |
@@ -0,0 +0,0 @@ var a = require("./a"); |
module.exports = function a() { | ||
return "This is m1/a"; | ||
}; |
module.exports = function a() { | ||
return "This is m1/b"; | ||
}; |
module.exports = function() { | ||
"module.exports = 'This is m2-loader/b';"; | ||
} |
module.exports = "This is m2/b"; |
@@ -0,0 +0,0 @@ function AsyncFileSystem(fs) { |
@@ -0,0 +0,0 @@ var ConstFileSystem = require("./ConstFileSystem"); |
@@ -0,0 +0,0 @@ function CachedFileSystem(fs) { |
@@ -0,0 +0,0 @@ function ConstFileSystem(content) { |
@@ -0,0 +0,0 @@ function DebugFileSystem(fs) { |
@@ -0,0 +0,0 @@ function LoggedFileSystem(fs) { |
@@ -0,0 +0,0 @@ exports.simple = { |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ var resolve = require("../"); |
Sorry, the diff of this file is not supported yet
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
44962
1292