@irtio/schema 4.3.0 → 4.5.0
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/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2663,8 +2663,7 @@ function objHandler(node) {
|
|
|
2663
2663
|
assertLive(node.root);
|
|
2664
2664
|
const at = `${node.label}.${f.name}`;
|
|
2665
2665
|
const next = value === void 0 && f.type.opt ? void 0 : normalizeValue(f.type, value, at);
|
|
2666
|
-
if ((
|
|
2667
|
-
return true;
|
|
2666
|
+
if (valueEquals(target[f.name], next)) return true;
|
|
2668
2667
|
target[f.name] = next;
|
|
2669
2668
|
mark(node.root, childPath(node.path, node.whole, f.index));
|
|
2670
2669
|
return true;
|
|
@@ -2731,6 +2730,10 @@ function finishList(node, snap) {
|
|
|
2731
2730
|
if (t[i] !== void 0) t[i] = Math.fround(t[i]);
|
|
2732
2731
|
}
|
|
2733
2732
|
}
|
|
2733
|
+
if (valueEquals(t, snap)) {
|
|
2734
|
+
restoreArray(t, snap);
|
|
2735
|
+
return;
|
|
2736
|
+
}
|
|
2734
2737
|
mark(node.root, node.path);
|
|
2735
2738
|
}
|
|
2736
2739
|
function listMethod(node, name) {
|