@bbn/bbn 1.0.183 → 1.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bbn.js +3 -1
- package/dist/bbn.js.map +1 -1
- package/dist/fn/object/mutateArray.js +2 -1
- package/package.json +1 -1
package/dist/bbn.js
CHANGED
|
@@ -9301,6 +9301,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9301
9301
|
/* harmony export */ });
|
|
9302
9302
|
/* harmony import */ var _type_isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../type/isArray.js */ "./dist/fn/type/isArray.js");
|
|
9303
9303
|
/* harmony import */ var _string_hash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../string/hash.js */ "./dist/fn/string/hash.js");
|
|
9304
|
+
/* harmony import */ var _type_isSame_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../type/isSame.js */ "./dist/fn/type/isSame.js");
|
|
9305
|
+
|
|
9304
9306
|
|
|
9305
9307
|
|
|
9306
9308
|
var mutateArray = function (a1, a2) {
|
|
@@ -9348,7 +9350,7 @@ var mutateArray = function (a1, a2) {
|
|
|
9348
9350
|
while (a1.length > a2.length) {
|
|
9349
9351
|
a1.pop();
|
|
9350
9352
|
}
|
|
9351
|
-
if (
|
|
9353
|
+
if (!(0,_type_isSame_js__WEBPACK_IMPORTED_MODULE_2__.isSame)(a1, a2)) {
|
|
9352
9354
|
bbn.fn.log(a1, a2);
|
|
9353
9355
|
throw new Error('mutateArray failed');
|
|
9354
9356
|
}
|