enhanced-resolve
Advanced tools
Comparing version 5.0.0-beta.0 to 5.0.0-beta.1
@@ -33,2 +33,9 @@ /* | ||
const resolveWithAlias = (alias, callback) => { | ||
if (alias === false) { | ||
const ignoreObj = { | ||
...request, | ||
path: false | ||
}; | ||
return callback(null, ignoreObj); | ||
} | ||
if ( | ||
@@ -35,0 +42,0 @@ innerRequest !== alias && |
@@ -143,3 +143,3 @@ /* | ||
} | ||
if (typeof obj === "string" || Array.isArray(obj)) { | ||
if (typeof obj === "string" || Array.isArray(obj) || obj === false) { | ||
obj = { | ||
@@ -146,0 +146,0 @@ alias: obj |
{ | ||
"name": "enhanced-resolve", | ||
"version": "5.0.0-beta.0", | ||
"version": "5.0.0-beta.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
77654
2501
0