@lwc/synthetic-shadow 8.12.7 → 8.13.0-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +7 -27
- package/dist/index.js +7 -27
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
@@ -77,41 +77,21 @@ create,
|
|
77
77
|
defineProperties,
|
78
78
|
/** Detached {@linkcode Object.defineProperty}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty MDN Reference}. */
|
79
79
|
defineProperty,
|
80
|
-
/** Detached {@linkcode Object.entries}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries MDN Reference}. */
|
81
|
-
entries,
|
82
|
-
/** Detached {@linkcode Object.freeze}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze MDN Reference}. */
|
83
|
-
freeze,
|
84
|
-
/** Detached {@linkcode Object.fromEntries}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries MDN Reference}. */
|
85
|
-
fromEntries,
|
86
80
|
/** Detached {@linkcode Object.getOwnPropertyDescriptor}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor MDN Reference}. */
|
87
81
|
getOwnPropertyDescriptor,
|
88
|
-
/** Detached {@linkcode Object.getOwnPropertyDescriptors}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptors MDN Reference}. */
|
89
|
-
getOwnPropertyDescriptors,
|
90
|
-
/** Detached {@linkcode Object.getOwnPropertyNames}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames MDN Reference}. */
|
91
|
-
getOwnPropertyNames,
|
92
|
-
/** Detached {@linkcode Object.getOwnPropertySymbols}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols MDN Reference}. */
|
93
|
-
getOwnPropertySymbols,
|
94
82
|
/** Detached {@linkcode Object.getPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf MDN Reference}. */
|
95
83
|
getPrototypeOf,
|
96
84
|
/** Detached {@linkcode Object.hasOwnProperty}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty MDN Reference}. */
|
97
85
|
hasOwnProperty,
|
98
|
-
/** Detached {@linkcode Object.isFrozen}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isFrozen MDN Reference}. */
|
99
|
-
isFrozen,
|
100
|
-
/** Detached {@linkcode Object.keys}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys MDN Reference}. */
|
101
|
-
keys,
|
102
|
-
/** Detached {@linkcode Object.seal}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal MDN Reference}. */
|
103
|
-
seal,
|
104
86
|
/** Detached {@linkcode Object.setPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf MDN Reference}. */
|
105
87
|
setPrototypeOf, } = Object;
|
106
88
|
const {
|
107
89
|
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
|
108
|
-
isArray
|
109
|
-
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */
|
110
|
-
from: ArrayFrom, } = Array;
|
90
|
+
isArray} = Array;
|
111
91
|
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even
|
112
92
|
// though it works fine for one, e.g. isArray), so comments for these are added to the export
|
113
93
|
// statement, rather than this declaration.
|
114
|
-
const {
|
94
|
+
const { filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, forEach, // Weird anomaly!
|
115
95
|
} = Array.prototype;
|
116
96
|
/**
|
117
97
|
* Determines whether the argument is `undefined`.
|
@@ -217,7 +197,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
|
|
217
197
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
218
198
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
219
199
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
220
|
-
/** version: 8.
|
200
|
+
/** version: 8.13.0 */
|
221
201
|
|
222
202
|
/**
|
223
203
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -225,7 +205,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
225
205
|
if (!globalThis.lwcRuntimeFlags) {
|
226
206
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
227
207
|
}
|
228
|
-
/** version: 8.
|
208
|
+
/** version: 8.13.0 */
|
229
209
|
|
230
210
|
/*
|
231
211
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -237,7 +217,7 @@ if (!globalThis.lwcRuntimeFlags) {
|
|
237
217
|
// eslint-disable-next-line @lwc/lwc-internal/no-global-node
|
238
218
|
const _Node = Node;
|
239
219
|
const nodePrototype = _Node.prototype;
|
240
|
-
const { DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, ELEMENT_NODE, TEXT_NODE, CDATA_SECTION_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE
|
220
|
+
const { DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, ELEMENT_NODE, TEXT_NODE, CDATA_SECTION_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE} = _Node;
|
241
221
|
const { appendChild, cloneNode, compareDocumentPosition, insertBefore, removeChild, replaceChild, hasChildNodes, } = nodePrototype;
|
242
222
|
const { contains } = HTMLElement.prototype;
|
243
223
|
const firstChildGetter = getOwnPropertyDescriptor(nodePrototype, 'firstChild').get;
|
@@ -361,7 +341,7 @@ const { getElementsByName } = HTMLDocument.prototype;
|
|
361
341
|
* SPDX-License-Identifier: MIT
|
362
342
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
363
343
|
*/
|
364
|
-
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener
|
344
|
+
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener} = window;
|
365
345
|
|
366
346
|
/*
|
367
347
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -4383,6 +4363,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4383
4363
|
},
|
4384
4364
|
configurable: true,
|
4385
4365
|
});
|
4386
|
-
/** version: 8.
|
4366
|
+
/** version: 8.13.0 */
|
4387
4367
|
}
|
4388
4368
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
@@ -75,41 +75,21 @@ create,
|
|
75
75
|
defineProperties,
|
76
76
|
/** Detached {@linkcode Object.defineProperty}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty MDN Reference}. */
|
77
77
|
defineProperty,
|
78
|
-
/** Detached {@linkcode Object.entries}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries MDN Reference}. */
|
79
|
-
entries,
|
80
|
-
/** Detached {@linkcode Object.freeze}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze MDN Reference}. */
|
81
|
-
freeze,
|
82
|
-
/** Detached {@linkcode Object.fromEntries}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries MDN Reference}. */
|
83
|
-
fromEntries,
|
84
78
|
/** Detached {@linkcode Object.getOwnPropertyDescriptor}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor MDN Reference}. */
|
85
79
|
getOwnPropertyDescriptor,
|
86
|
-
/** Detached {@linkcode Object.getOwnPropertyDescriptors}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptors MDN Reference}. */
|
87
|
-
getOwnPropertyDescriptors,
|
88
|
-
/** Detached {@linkcode Object.getOwnPropertyNames}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames MDN Reference}. */
|
89
|
-
getOwnPropertyNames,
|
90
|
-
/** Detached {@linkcode Object.getOwnPropertySymbols}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols MDN Reference}. */
|
91
|
-
getOwnPropertySymbols,
|
92
80
|
/** Detached {@linkcode Object.getPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf MDN Reference}. */
|
93
81
|
getPrototypeOf,
|
94
82
|
/** Detached {@linkcode Object.hasOwnProperty}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty MDN Reference}. */
|
95
83
|
hasOwnProperty,
|
96
|
-
/** Detached {@linkcode Object.isFrozen}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isFrozen MDN Reference}. */
|
97
|
-
isFrozen,
|
98
|
-
/** Detached {@linkcode Object.keys}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys MDN Reference}. */
|
99
|
-
keys,
|
100
|
-
/** Detached {@linkcode Object.seal}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal MDN Reference}. */
|
101
|
-
seal,
|
102
84
|
/** Detached {@linkcode Object.setPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf MDN Reference}. */
|
103
85
|
setPrototypeOf, } = Object;
|
104
86
|
const {
|
105
87
|
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
|
106
|
-
isArray
|
107
|
-
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */
|
108
|
-
from: ArrayFrom, } = Array;
|
88
|
+
isArray} = Array;
|
109
89
|
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even
|
110
90
|
// though it works fine for one, e.g. isArray), so comments for these are added to the export
|
111
91
|
// statement, rather than this declaration.
|
112
|
-
const {
|
92
|
+
const { filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, forEach, // Weird anomaly!
|
113
93
|
} = Array.prototype;
|
114
94
|
/**
|
115
95
|
* Determines whether the argument is `undefined`.
|
@@ -215,7 +195,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
|
|
215
195
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
216
196
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
217
197
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
218
|
-
/** version: 8.
|
198
|
+
/** version: 8.13.0 */
|
219
199
|
|
220
200
|
/**
|
221
201
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -223,7 +203,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
223
203
|
if (!globalThis.lwcRuntimeFlags) {
|
224
204
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
225
205
|
}
|
226
|
-
/** version: 8.
|
206
|
+
/** version: 8.13.0 */
|
227
207
|
|
228
208
|
/*
|
229
209
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -235,7 +215,7 @@ if (!globalThis.lwcRuntimeFlags) {
|
|
235
215
|
// eslint-disable-next-line @lwc/lwc-internal/no-global-node
|
236
216
|
const _Node = Node;
|
237
217
|
const nodePrototype = _Node.prototype;
|
238
|
-
const { DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, ELEMENT_NODE, TEXT_NODE, CDATA_SECTION_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE
|
218
|
+
const { DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, ELEMENT_NODE, TEXT_NODE, CDATA_SECTION_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE} = _Node;
|
239
219
|
const { appendChild, cloneNode, compareDocumentPosition, insertBefore, removeChild, replaceChild, hasChildNodes, } = nodePrototype;
|
240
220
|
const { contains } = HTMLElement.prototype;
|
241
221
|
const firstChildGetter = getOwnPropertyDescriptor(nodePrototype, 'firstChild').get;
|
@@ -359,7 +339,7 @@ const { getElementsByName } = HTMLDocument.prototype;
|
|
359
339
|
* SPDX-License-Identifier: MIT
|
360
340
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
361
341
|
*/
|
362
|
-
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener
|
342
|
+
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener} = window;
|
363
343
|
|
364
344
|
/*
|
365
345
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -4381,6 +4361,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4381
4361
|
},
|
4382
4362
|
configurable: true,
|
4383
4363
|
});
|
4384
|
-
/** version: 8.
|
4364
|
+
/** version: 8.13.0 */
|
4385
4365
|
}
|
4386
4366
|
//# 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": "8.
|
7
|
+
"version": "8.13.0-alpha.0",
|
8
8
|
"description": "Synthetic Shadow Root for LWC",
|
9
9
|
"keywords": [
|
10
10
|
"lwc"
|
@@ -46,8 +46,8 @@
|
|
46
46
|
}
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@lwc/features": "8.
|
50
|
-
"@lwc/shared": "8.
|
49
|
+
"@lwc/features": "8.13.0-alpha.0",
|
50
|
+
"@lwc/shared": "8.13.0-alpha.0"
|
51
51
|
},
|
52
52
|
"lwc": {
|
53
53
|
"modules": [
|
@@ -60,4 +60,4 @@
|
|
60
60
|
"@lwc/synthetic-shadow"
|
61
61
|
]
|
62
62
|
}
|
63
|
-
}
|
63
|
+
}
|