@lwc/synthetic-shadow 8.10.0 → 8.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +27 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +27 -7
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
@@ -77,21 +77,41 @@ 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,
|
80
86
|
/** Detached {@linkcode Object.getOwnPropertyDescriptor}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor MDN Reference}. */
|
81
87
|
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,
|
82
94
|
/** Detached {@linkcode Object.getPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf MDN Reference}. */
|
83
95
|
getPrototypeOf,
|
84
96
|
/** Detached {@linkcode Object.hasOwnProperty}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty MDN Reference}. */
|
85
97
|
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,
|
86
104
|
/** Detached {@linkcode Object.setPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf MDN Reference}. */
|
87
105
|
setPrototypeOf, } = Object;
|
88
106
|
const {
|
89
107
|
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
|
90
|
-
isArray
|
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;
|
91
111
|
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even
|
92
112
|
// though it works fine for one, e.g. isArray), so comments for these are added to the export
|
93
113
|
// statement, rather than this declaration.
|
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!
|
114
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, // Weird anomaly!
|
95
115
|
} = Array.prototype;
|
96
116
|
/**
|
97
117
|
* Determines whether the argument is `undefined`.
|
@@ -197,7 +217,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
|
|
197
217
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
198
218
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
199
219
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
200
|
-
/** version: 8.
|
220
|
+
/** version: 8.11.0 */
|
201
221
|
|
202
222
|
/**
|
203
223
|
* Copyright (c) 2024 Salesforce, Inc.
|
@@ -205,7 +225,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
205
225
|
if (!globalThis.lwcRuntimeFlags) {
|
206
226
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
207
227
|
}
|
208
|
-
/** version: 8.
|
228
|
+
/** version: 8.11.0 */
|
209
229
|
|
210
230
|
/*
|
211
231
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -217,7 +237,7 @@ if (!globalThis.lwcRuntimeFlags) {
|
|
217
237
|
// eslint-disable-next-line @lwc/lwc-internal/no-global-node
|
218
238
|
const _Node = Node;
|
219
239
|
const nodePrototype = _Node.prototype;
|
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;
|
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, DOCUMENT_FRAGMENT_NODE, } = _Node;
|
221
241
|
const { appendChild, cloneNode, compareDocumentPosition, insertBefore, removeChild, replaceChild, hasChildNodes, } = nodePrototype;
|
222
242
|
const { contains } = HTMLElement.prototype;
|
223
243
|
const firstChildGetter = getOwnPropertyDescriptor(nodePrototype, 'firstChild').get;
|
@@ -341,7 +361,7 @@ const { getElementsByName } = HTMLDocument.prototype;
|
|
341
361
|
* SPDX-License-Identifier: MIT
|
342
362
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
343
363
|
*/
|
344
|
-
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener} = window;
|
364
|
+
const { addEventListener: windowAddEventListener, removeEventListener: windowRemoveEventListener, getComputedStyle: windowGetComputedStyle, getSelection: windowGetSelection, } = window;
|
345
365
|
|
346
366
|
/*
|
347
367
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -4363,6 +4383,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4363
4383
|
},
|
4364
4384
|
configurable: true,
|
4365
4385
|
});
|
4366
|
-
/** version: 8.
|
4386
|
+
/** version: 8.11.0 */
|
4367
4387
|
}
|
4368
4388
|
//# sourceMappingURL=index.cjs.js.map
|