@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.js CHANGED
@@ -363,6 +363,10 @@ function associateReactiveObserverWithVM(reactiveObserver, vm) {
363
363
  */
364
364
  function trackTargetForMutationLogging(key, target) {
365
365
  assertNotProd();
366
+ if (targetsToPropertyKeys.has(target)) {
367
+ // Guard against recursive objects - don't traverse forever
368
+ return;
369
+ }
366
370
  if (isObject(target) && !isNull(target)) {
367
371
  // only track non-primitives; others are invalid as WeakMap keys
368
372
  targetsToPropertyKeys.set(target, key);
@@ -8343,5 +8347,5 @@ function readonly(obj) {
8343
8347
  }
8344
8348
 
8345
8349
  export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, setHooks, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
8346
- /** version: 8.1.0-alpha.2 */
8350
+ /** version: 8.1.0-alpha.3 */
8347
8351
  //# sourceMappingURL=index.js.map