@lwc/engine-core 8.10.2 → 8.10.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 CHANGED
@@ -607,8 +607,12 @@ function componentValueObserved(vm, key, target = {}) {
607
607
  if (lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
608
608
  shared.isObject(target) &&
609
609
  !shared.isNull(target) &&
610
- safeHasProp(target, 'value') &&
611
- safeHasProp(target, 'subscribe') &&
610
+ (lwcRuntimeFlags.DISABLE_TRY_CATCH_FOR_SIGNALS_CHECK
611
+ ? 'value' in target
612
+ : safeHasProp(target, 'value')) &&
613
+ (lwcRuntimeFlags.DISABLE_TRY_CATCH_FOR_SIGNALS_CHECK
614
+ ? 'subscribe' in target
615
+ : safeHasProp(target, 'subscribe')) &&
612
616
  shared.isFunction(target.subscribe) &&
613
617
  shared.isTrustedSignal(target) &&
614
618
  // Only subscribe if a template is being rendered by the engine
@@ -8608,5 +8612,5 @@ exports.swapTemplate = swapTemplate;
8608
8612
  exports.track = track;
8609
8613
  exports.unwrap = unwrap;
8610
8614
  exports.wire = wire;
8611
- /** version: 8.10.2 */
8615
+ /** version: 8.10.3 */
8612
8616
  //# sourceMappingURL=index.cjs.js.map