@lwc/synthetic-shadow 6.3.0 → 6.3.2

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
@@ -208,7 +208,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
208
208
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
209
209
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
210
210
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
211
- /** version: 6.3.0 */
211
+ /** version: 6.3.2 */
212
212
 
213
213
  /**
214
214
  * Copyright (c) 2024 Salesforce, Inc.
@@ -216,7 +216,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
216
216
  if (!globalThis.lwcRuntimeFlags) {
217
217
  Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
218
218
  }
219
- /** version: 6.3.0 */
219
+ /** version: 6.3.2 */
220
220
 
221
221
  /*
222
222
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2392,7 +2392,7 @@ function retarget(refNode, path) {
2392
2392
  rootIdx = refNodePath.indexOf(root);
2393
2393
  lastRoot = root;
2394
2394
  }
2395
- if (!isUndefined(rootIdx) && rootIdx > -1) {
2395
+ if (!isSyntheticShadowRoot(root) || (!isUndefined(rootIdx) && rootIdx > -1)) {
2396
2396
  return ancestor;
2397
2397
  }
2398
2398
  }
@@ -4354,6 +4354,6 @@ defineProperty(Element.prototype, '$domManual$', {
4354
4354
  },
4355
4355
  configurable: true,
4356
4356
  });
4357
- /** version: 6.3.0 */
4357
+ /** version: 6.3.2 */
4358
4358
  }
4359
4359
  //# sourceMappingURL=index.js.map