@bbn/bbn 1.0.182 → 1.0.184

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 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,6 +9350,10 @@ var mutateArray = function (a1, a2) {
9348
9350
  while (a1.length > a2.length) {
9349
9351
  a1.pop();
9350
9352
  }
9353
+ if (!(0,_type_isSame_js__WEBPACK_IMPORTED_MODULE_2__.isSame)(a1, a2)) {
9354
+ bbn.fn.log(a1, a2);
9355
+ throw new Error('mutateArray failed');
9356
+ }
9351
9357
  return a1;
9352
9358
  };
9353
9359