@lwc/synthetic-shadow 9.5.1 → 9.5.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.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -195,7 +195,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
195
195
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
196
196
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
197
197
|
const KEY__SANITIZE_HTML_CONTENT = '$sanitizeHtmlContent$';
|
|
198
|
-
/** version: 9.5.
|
|
198
|
+
/** version: 9.5.2 */
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -203,7 +203,7 @@ const KEY__SANITIZE_HTML_CONTENT = '$sanitizeHtmlContent$';
|
|
|
203
203
|
if (!globalThis.lwcRuntimeFlags) {
|
|
204
204
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
205
205
|
}
|
|
206
|
-
/** version: 9.5.
|
|
206
|
+
/** version: 9.5.2 */
|
|
207
207
|
|
|
208
208
|
/*
|
|
209
209
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3415,7 +3415,7 @@ function attachShadowPatched(options) {
|
|
|
3415
3415
|
// attachShadow would still succeed and attach a second (native) shadow tree,
|
|
3416
3416
|
// which violates the one-shadow-per-element model this polyfill assumes and
|
|
3417
3417
|
// leaves that subtree on a different patching path than synthetic shadow.
|
|
3418
|
-
if (
|
|
3418
|
+
if (hasInternalSlot(this)) {
|
|
3419
3419
|
throw new Error(nativeAttachShadowErrorMessage);
|
|
3420
3420
|
}
|
|
3421
3421
|
return attachShadow$1.call(this, options);
|
|
@@ -4407,6 +4407,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
|
4407
4407
|
},
|
|
4408
4408
|
configurable: true,
|
|
4409
4409
|
});
|
|
4410
|
-
/** version: 9.5.
|
|
4410
|
+
/** version: 9.5.2 */
|
|
4411
4411
|
}
|
|
4412
4412
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -193,7 +193,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
193
193
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
194
194
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
195
195
|
const KEY__SANITIZE_HTML_CONTENT = '$sanitizeHtmlContent$';
|
|
196
|
-
/** version: 9.5.
|
|
196
|
+
/** version: 9.5.2 */
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -201,7 +201,7 @@ const KEY__SANITIZE_HTML_CONTENT = '$sanitizeHtmlContent$';
|
|
|
201
201
|
if (!globalThis.lwcRuntimeFlags) {
|
|
202
202
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
203
203
|
}
|
|
204
|
-
/** version: 9.5.
|
|
204
|
+
/** version: 9.5.2 */
|
|
205
205
|
|
|
206
206
|
/*
|
|
207
207
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3413,7 +3413,7 @@ function attachShadowPatched(options) {
|
|
|
3413
3413
|
// attachShadow would still succeed and attach a second (native) shadow tree,
|
|
3414
3414
|
// which violates the one-shadow-per-element model this polyfill assumes and
|
|
3415
3415
|
// leaves that subtree on a different patching path than synthetic shadow.
|
|
3416
|
-
if (
|
|
3416
|
+
if (hasInternalSlot(this)) {
|
|
3417
3417
|
throw new Error(nativeAttachShadowErrorMessage);
|
|
3418
3418
|
}
|
|
3419
3419
|
return attachShadow$1.call(this, options);
|
|
@@ -4405,6 +4405,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
|
4405
4405
|
},
|
|
4406
4406
|
configurable: true,
|
|
4407
4407
|
});
|
|
4408
|
-
/** version: 9.5.
|
|
4408
|
+
/** version: 9.5.2 */
|
|
4409
4409
|
}
|
|
4410
4410
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
|
5
5
|
],
|
|
6
6
|
"name": "@lwc/synthetic-shadow",
|
|
7
|
-
"version": "9.5.
|
|
7
|
+
"version": "9.5.2",
|
|
8
8
|
"description": "Synthetic Shadow Root for LWC",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc"
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@lwc/features": "9.5.
|
|
55
|
-
"@lwc/shared": "9.5.
|
|
54
|
+
"@lwc/features": "9.5.2",
|
|
55
|
+
"@lwc/shared": "9.5.2"
|
|
56
56
|
},
|
|
57
57
|
"lwc": {
|
|
58
58
|
"modules": [
|