@lwc/synthetic-shadow 8.8.0 → 8.10.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 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 { 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!
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.8.0 */
200
+ /** version: 8.10.0-alpha.0 */
221
201
 
222
202
  /**
223
203
  * Copyright (c) 2024 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.8.0 */
208
+ /** version: 8.10.0-alpha.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, DOCUMENT_FRAGMENT_NODE, } = _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, getComputedStyle: windowGetComputedStyle, getSelection: windowGetSelection, } = window;
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.8.0 */
4366
+ /** version: 8.10.0-alpha.0 */
4387
4367
  }
4388
4368
  //# sourceMappingURL=index.cjs.js.map