@azrico/webobject 1.2.15 → 1.2.16
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.
|
@@ -514,13 +514,13 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
|
|
|
514
514
|
if (Array.isArray(this.__changeables)) {
|
|
515
515
|
//console.log("chk", this.__changeables, "for changes");
|
|
516
516
|
return this.__changeables.find(function (c) {
|
|
517
|
-
return _this2[c]
|
|
517
|
+
return !(0, _object.object_equals)(_this2[c], orig[c]);
|
|
518
518
|
}) != undefined;
|
|
519
519
|
} else {
|
|
520
520
|
/* check all fields */
|
|
521
521
|
for (var key in this) {
|
|
522
522
|
if (key.startsWith("__")) continue;
|
|
523
|
-
if (this[key]
|
|
523
|
+
if (!(0, _object.object_equals)(this[key], orig[key])) return true;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
return false;
|