@lwc/synthetic-shadow 6.3.0 → 6.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
@@ -210,7 +210,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
|
|
210
210
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
211
211
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
212
212
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
213
|
-
/** version: 6.3.
|
213
|
+
/** version: 6.3.2 */
|
214
214
|
|
215
215
|
/**
|
216
216
|
* Copyright (c) 2024 Salesforce, Inc.
|
@@ -218,7 +218,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
218
218
|
if (!globalThis.lwcRuntimeFlags) {
|
219
219
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
220
220
|
}
|
221
|
-
/** version: 6.3.
|
221
|
+
/** version: 6.3.2 */
|
222
222
|
|
223
223
|
/*
|
224
224
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -2394,7 +2394,7 @@ function retarget(refNode, path) {
|
|
2394
2394
|
rootIdx = refNodePath.indexOf(root);
|
2395
2395
|
lastRoot = root;
|
2396
2396
|
}
|
2397
|
-
if (!isUndefined(rootIdx) && rootIdx > -1) {
|
2397
|
+
if (!isSyntheticShadowRoot(root) || (!isUndefined(rootIdx) && rootIdx > -1)) {
|
2398
2398
|
return ancestor;
|
2399
2399
|
}
|
2400
2400
|
}
|
@@ -4356,6 +4356,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4356
4356
|
},
|
4357
4357
|
configurable: true,
|
4358
4358
|
});
|
4359
|
-
/** version: 6.3.
|
4359
|
+
/** version: 6.3.2 */
|
4360
4360
|
}
|
4361
4361
|
//# sourceMappingURL=index.cjs.js.map
|