enhanced-resolve
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -67,3 +67,3 @@ /* | ||
} | ||
if(isDir(current[path[i]])) { | ||
if(_path === "/" || isDir(current[path[i]])) { | ||
return { | ||
@@ -110,2 +110,3 @@ isFile: falseFn, | ||
MemoryInputFileSystem.prototype.readdirSync = function(_path) { | ||
if(_path === "/") return Object.keys(this.data).filter(Boolean); | ||
var path = pathToArray(_path); | ||
@@ -112,0 +113,0 @@ var current = this.data; |
{ | ||
"name": "enhanced-resolve", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.", |
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
61012
1643