webpack-merge
Advanced tools
Comparing version 5.0.8 to 5.0.9
# Changelog | ||
## 5.0.9 / 2020-07-09 | ||
- Fix - Don't crash on `merge()` and `merge([])`. Now `{}` is returned in these corner cases. | ||
## 5.0.8 / 2020-07-07 | ||
@@ -4,0 +8,0 @@ |
@@ -47,2 +47,6 @@ "use strict"; | ||
} | ||
// No configuration at all | ||
if (!firstConfiguration) { | ||
return {}; | ||
} | ||
// @ts-ignore | ||
@@ -54,2 +58,6 @@ if (firstConfiguration.then) { | ||
if (Array.isArray(firstConfiguration)) { | ||
// Empty array | ||
if (firstConfiguration.length === 0) { | ||
return {}; | ||
} | ||
// @ts-ignore | ||
@@ -56,0 +64,0 @@ if (firstConfiguration[0].then) { |
@@ -5,3 +5,3 @@ { | ||
"author": "Juho Vepsalainen <bebraw@gmail.com>", | ||
"version": "5.0.8", | ||
"version": "5.0.9", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "build": "tsc", |
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
38327
288