hops-bootstrap
Advanced tools
Comparing version 13.4.2 to 13.4.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [13.4.3](https://github.com/xing/hops/compare/v13.4.2...v13.4.3) (2021-06-14) | ||
**Note:** Version bump only for package hops-bootstrap | ||
## [13.4.2](https://github.com/xing/hops/compare/v13.4.1...v13.4.2) (2021-04-20) | ||
@@ -8,0 +16,0 @@ |
@@ -67,24 +67,26 @@ 'use strict'; | ||
exports.merge = (enableLegacyMixinSortOrder = false) => (...args) => { | ||
return merge({}, ...args, (objValue, srcValue, key) => { | ||
if (Array.isArray(objValue)) { | ||
if ('mixins' === key) { | ||
// #542: remove this in untool v3 if no potential side-effects have been | ||
// discovered | ||
if (enableLegacyMixinSortOrder) { | ||
return [...objValue, ...srcValue].filter( | ||
(curr, index, self) => self.indexOf(curr) === index | ||
); | ||
exports.merge = | ||
(enableLegacyMixinSortOrder = false) => | ||
(...args) => { | ||
return merge({}, ...args, (objValue, srcValue, key) => { | ||
if (Array.isArray(objValue)) { | ||
if ('mixins' === key) { | ||
// #542: remove this in untool v3 if no potential side-effects have been | ||
// discovered | ||
if (enableLegacyMixinSortOrder) { | ||
return [...objValue, ...srcValue].filter( | ||
(curr, index, self) => self.indexOf(curr) === index | ||
); | ||
} | ||
return [ | ||
...objValue.filter((curr) => !srcValue.includes(curr)), | ||
...srcValue, | ||
]; | ||
} | ||
return [ | ||
...objValue.filter((curr) => !srcValue.includes(curr)), | ||
...srcValue, | ||
]; | ||
return srcValue; | ||
} | ||
return srcValue; | ||
} | ||
return srcValue; | ||
}); | ||
}; | ||
}); | ||
}; | ||
@@ -91,0 +93,0 @@ exports.placeholdify = (config) => { |
{ | ||
"name": "hops-bootstrap", | ||
"version": "13.4.2", | ||
"version": "13.4.3", | ||
"description": "Hops bootstrap", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"flat": "^5.0.0", | ||
"hops-debug": "^13.4.2", | ||
"hops-debug": "^13.4.3", | ||
"is-plain-obj": "^3.0.0", | ||
@@ -33,3 +33,3 @@ "mixinable": "^5.0.1", | ||
}, | ||
"gitHead": "e4c799feb860140388556ce0c8e48ed38b3121c5" | ||
"gitHead": "56c858c32fdf44c3ed6c937418221f0b4f5af065" | ||
} |
40294
786
Updatedhops-debug@^13.4.3