@lwc/synthetic-shadow 2.13.3 → 2.14.1
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/synthetic-shadow.js +29 -4
- package/package.json +3 -3
package/dist/synthetic-shadow.js
CHANGED
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
|
|
43
43
|
*/
|
44
44
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
45
45
|
const { isArray } = Array;
|
46
|
-
const { filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
46
|
+
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
47
47
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
48
48
|
function isUndefined(obj) {
|
49
49
|
return obj === undefined;
|
@@ -146,7 +146,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
146
146
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
147
147
|
// we can't use typeof since it will fail when transpiling.
|
148
148
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
149
|
-
/** version: 2.
|
149
|
+
/** version: 2.14.1 */
|
150
150
|
|
151
151
|
/*
|
152
152
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -1122,7 +1122,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
1122
1122
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
1123
1123
|
}
|
1124
1124
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
1125
|
-
/** version: 2.
|
1125
|
+
/** version: 2.14.1 */
|
1126
1126
|
|
1127
1127
|
/*
|
1128
1128
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -5066,4 +5066,29 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
5066
5066
|
},
|
5067
5067
|
configurable: true,
|
5068
5068
|
});
|
5069
|
-
|
5069
|
+
|
5070
|
+
/*
|
5071
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
5072
|
+
* All rights reserved.
|
5073
|
+
* SPDX-License-Identifier: MIT
|
5074
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
5075
|
+
*/
|
5076
|
+
// @ts-ignore
|
5077
|
+
|
5078
|
+
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
5079
|
+
window.addEventListener('test-dummy-flag', () => {
|
5080
|
+
let hasFlag = false;
|
5081
|
+
|
5082
|
+
if (runtimeFlags.DUMMY_TEST_FLAG) {
|
5083
|
+
hasFlag = true;
|
5084
|
+
}
|
5085
|
+
|
5086
|
+
window.dispatchEvent(new CustomEvent('has-dummy-flag', {
|
5087
|
+
detail: {
|
5088
|
+
package: '@lwc/synthetic-shadow',
|
5089
|
+
hasFlag
|
5090
|
+
}
|
5091
|
+
}));
|
5092
|
+
});
|
5093
|
+
}
|
5094
|
+
/** version: 2.14.1 */
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lwc/synthetic-shadow",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.14.1",
|
4
4
|
"description": "Synthetic Shadow Root for LWC",
|
5
5
|
"homepage": "https://lwc.dev/",
|
6
6
|
"repository": {
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"access": "public"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@lwc/features": "2.
|
41
|
-
"@lwc/shared": "2.
|
40
|
+
"@lwc/features": "2.14.1",
|
41
|
+
"@lwc/shared": "2.14.1"
|
42
42
|
}
|
43
43
|
}
|