enhanced-resolve
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -56,2 +56,6 @@ /* | ||
Storage.prototype.provide = function(name, provider, callback) { | ||
if(typeof name !== "string") { | ||
callback(new TypeError("path must be a string")); | ||
return; | ||
} | ||
var running = this.running.get(name); | ||
@@ -79,2 +83,5 @@ if(running) { | ||
Storage.prototype.provideSync = function(name, provider) { | ||
if(typeof name !== "string") { | ||
throw new TypeError("path must be a string"); | ||
} | ||
if(this.duration > 0) { | ||
@@ -81,0 +88,0 @@ this.checkTicks(); |
{ | ||
"name": "enhanced-resolve", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"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
80891
2233