sygnal 2.8.2 → 2.9.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.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/jsx.cjs.js +5150 -4
- package/dist/jsx.esm.js +5150 -4
- package/dist/sygnal.min.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3259,7 +3259,7 @@ class Component {
|
|
|
3259
3259
|
this.stateSourceName = stateSourceName;
|
|
3260
3260
|
this.requestSourceName = requestSourceName;
|
|
3261
3261
|
this.sourceNames = Object.keys(sources);
|
|
3262
|
-
this._debug
|
|
3262
|
+
this._debug = debug;
|
|
3263
3263
|
|
|
3264
3264
|
this.isSubComponent = this.sourceNames.includes('props$');
|
|
3265
3265
|
|
|
@@ -4409,7 +4409,7 @@ function objIsEqual(objA, objB, maxDepth = 5, depth = 0) {
|
|
|
4409
4409
|
return false;
|
|
4410
4410
|
}
|
|
4411
4411
|
for (let i = 0; i < obj1.length; i++) {
|
|
4412
|
-
if (!
|
|
4412
|
+
if (!objIsEqual(obj1[i], obj2[i], maxDepth, depth + 1)) {
|
|
4413
4413
|
return false;
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -3259,7 +3259,7 @@ class Component {
|
|
|
3259
3259
|
this.stateSourceName = stateSourceName;
|
|
3260
3260
|
this.requestSourceName = requestSourceName;
|
|
3261
3261
|
this.sourceNames = Object.keys(sources);
|
|
3262
|
-
this._debug
|
|
3262
|
+
this._debug = debug;
|
|
3263
3263
|
|
|
3264
3264
|
this.isSubComponent = this.sourceNames.includes('props$');
|
|
3265
3265
|
|
|
@@ -4409,7 +4409,7 @@ function objIsEqual(objA, objB, maxDepth = 5, depth = 0) {
|
|
|
4409
4409
|
return false;
|
|
4410
4410
|
}
|
|
4411
4411
|
for (let i = 0; i < obj1.length; i++) {
|
|
4412
|
-
if (!
|
|
4412
|
+
if (!objIsEqual(obj1[i], obj2[i], maxDepth, depth + 1)) {
|
|
4413
4413
|
return false;
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|