webpack-merge
Advanced tools
Comparing version 5.1.2 to 5.1.3
# Changelog | ||
## 5.1.3 / 2020-08-30 | ||
- Fix - Allow merging a `RegExp` to itself #145 | ||
## 5.1.2 / 2020-08-18 | ||
@@ -4,0 +8,0 @@ |
@@ -46,2 +46,5 @@ "use strict"; | ||
} | ||
if (isRegex(b)) { | ||
return b; | ||
} | ||
if (isPlainObject(a) && isPlainObject(b)) { | ||
@@ -66,2 +69,5 @@ var customResult = customizeObject && customizeObject(a, b, newKey); | ||
exports["default"] = joinArrays; | ||
function isRegex(o) { | ||
return o instanceof RegExp; | ||
} | ||
// https://stackoverflow.com/a/7356528/228885 | ||
@@ -68,0 +74,0 @@ function isFunction(functionToCheck) { |
@@ -5,3 +5,3 @@ { | ||
"author": "Juho Vepsalainen <bebraw@gmail.com>", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"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
39272
298