@bbn/bbn 1.0.182 → 1.0.183
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 +4 -0
- package/dist/bbn.js.map +1 -1
- package/dist/fn/object/mutateArray.js +4 -0
- package/package.json +1 -1
package/dist/bbn.js
CHANGED
|
@@ -9348,6 +9348,10 @@ var mutateArray = function (a1, a2) {
|
|
|
9348
9348
|
while (a1.length > a2.length) {
|
|
9349
9349
|
a1.pop();
|
|
9350
9350
|
}
|
|
9351
|
+
if (JSON.stringify(a1) !== JSON.stringify(a2)) {
|
|
9352
|
+
bbn.fn.log(a1, a2);
|
|
9353
|
+
throw new Error('mutateArray failed');
|
|
9354
|
+
}
|
|
9351
9355
|
return a1;
|
|
9352
9356
|
};
|
|
9353
9357
|
|