@lwc/engine-core 8.1.0-alpha.2 → 8.1.0-alpha.3
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 +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -367,6 +367,10 @@ function associateReactiveObserverWithVM(reactiveObserver, vm) {
|
|
|
367
367
|
*/
|
|
368
368
|
function trackTargetForMutationLogging(key, target) {
|
|
369
369
|
assertNotProd();
|
|
370
|
+
if (targetsToPropertyKeys.has(target)) {
|
|
371
|
+
// Guard against recursive objects - don't traverse forever
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
370
374
|
if (shared.isObject(target) && !shared.isNull(target)) {
|
|
371
375
|
// only track non-primitives; others are invalid as WeakMap keys
|
|
372
376
|
targetsToPropertyKeys.set(target, key);
|
|
@@ -8390,5 +8394,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
8390
8394
|
exports.track = track;
|
|
8391
8395
|
exports.unwrap = unwrap;
|
|
8392
8396
|
exports.wire = wire;
|
|
8393
|
-
/** version: 8.1.0-alpha.
|
|
8397
|
+
/** version: 8.1.0-alpha.3 */
|
|
8394
8398
|
//# sourceMappingURL=index.cjs.js.map
|