@lwc/synthetic-shadow 7.3.0-alpha.3 → 8.0.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 +8 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
package/dist/index.js
CHANGED
@@ -97,8 +97,11 @@ keys,
|
|
97
97
|
seal,
|
98
98
|
/** Detached {@linkcode Object.setPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf MDN Reference}. */
|
99
99
|
setPrototypeOf, } = Object;
|
100
|
+
const {
|
100
101
|
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
|
101
|
-
|
102
|
+
isArray,
|
103
|
+
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */
|
104
|
+
from: ArrayFrom, } = Array;
|
102
105
|
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even
|
103
106
|
// though it works fine for one, e.g. isArray), so comments for these are added to the export
|
104
107
|
// statement, rather than this declaration.
|
@@ -142,7 +145,7 @@ function isFalse(obj) {
|
|
142
145
|
* @returns `true` if the value is a function.
|
143
146
|
*/
|
144
147
|
// Replacing `Function` with a narrower type that works for all our use cases is tricky...
|
145
|
-
// eslint-disable-next-line @typescript-eslint/
|
148
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
146
149
|
function isFunction(obj) {
|
147
150
|
return typeof obj === 'function';
|
148
151
|
}
|
@@ -208,7 +211,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
|
|
208
211
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
209
212
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
210
213
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
211
|
-
/** version: 7.2.
|
214
|
+
/** version: 7.2.4 */
|
212
215
|
|
213
216
|
/**
|
214
217
|
* Copyright (c) 2024 Salesforce, Inc.
|
@@ -216,7 +219,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
216
219
|
if (!globalThis.lwcRuntimeFlags) {
|
217
220
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
218
221
|
}
|
219
|
-
/** version: 7.2.
|
222
|
+
/** version: 7.2.4 */
|
220
223
|
|
221
224
|
/*
|
222
225
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -4374,6 +4377,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4374
4377
|
},
|
4375
4378
|
configurable: true,
|
4376
4379
|
});
|
4377
|
-
/** version: 7.2.
|
4380
|
+
/** version: 7.2.4 */
|
4378
4381
|
}
|
4379
4382
|
//# sourceMappingURL=index.js.map
|