lwc 2.35.0 → 2.35.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/engine-dom/esm/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/iife/es5/engine-dom.js +48 -119
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +89 -60
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/umd/es5/engine-dom.js +48 -119
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +89 -60
- package/dist/engine-server/commonjs/es2017/engine-server.js +45 -134
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +45 -134
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +8 -36
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +8 -36
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -205,41 +205,11 @@ var LWC = (function (exports) {
|
|
|
205
205
|
* SPDX-License-Identifier: MIT
|
|
206
206
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
207
207
|
*/
|
|
208
|
-
//
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
let _globalThis;
|
|
215
|
-
try {
|
|
216
|
-
// eslint-disable-next-line no-extend-native
|
|
217
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
218
|
-
get: function () {
|
|
219
|
-
return this;
|
|
220
|
-
},
|
|
221
|
-
configurable: true,
|
|
222
|
-
});
|
|
223
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
224
|
-
// @ts-ignore
|
|
225
|
-
// eslint-disable-next-line no-undef
|
|
226
|
-
_globalThis = __magic__;
|
|
227
|
-
// @ts-ignore
|
|
228
|
-
delete Object.prototype.__magic__;
|
|
229
|
-
}
|
|
230
|
-
catch (ex) {
|
|
231
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
232
|
-
}
|
|
233
|
-
finally {
|
|
234
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
235
|
-
// Assume `window` exists in this case.
|
|
236
|
-
if (typeof _globalThis === 'undefined') {
|
|
237
|
-
// @ts-ignore
|
|
238
|
-
_globalThis = window;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
return _globalThis;
|
|
242
|
-
})();
|
|
208
|
+
// See browser support for globalThis:
|
|
209
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
210
|
+
/* istanbul ignore next */
|
|
211
|
+
// @ts-ignore
|
|
212
|
+
const _globalThis = typeof globalThis === 'object' ? globalThis : window;
|
|
243
213
|
|
|
244
214
|
/*
|
|
245
215
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -362,9 +332,9 @@ var LWC = (function (exports) {
|
|
|
362
332
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
363
333
|
*/
|
|
364
334
|
// Increment whenever the LWC template compiler changes
|
|
365
|
-
const LWC_VERSION = "2.35.
|
|
335
|
+
const LWC_VERSION = "2.35.1";
|
|
366
336
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
367
|
-
/** version: 2.35.
|
|
337
|
+
/** version: 2.35.1 */
|
|
368
338
|
|
|
369
339
|
/**
|
|
370
340
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -417,7 +387,8 @@ var LWC = (function (exports) {
|
|
|
417
387
|
console.warn(`Failed to set the value "${value}" for the runtime feature flag "${name}" because it is undefined. Available flags: ${availableFlags}.`);
|
|
418
388
|
return;
|
|
419
389
|
}
|
|
420
|
-
|
|
390
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
|
|
391
|
+
if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
|
|
421
392
|
// Allow the same flag to be set more than once outside of production to enable testing
|
|
422
393
|
lwcRuntimeFlags[name] = value;
|
|
423
394
|
}
|
|
@@ -437,11 +408,12 @@ var LWC = (function (exports) {
|
|
|
437
408
|
* purposes. It is a no-op when invoked in production mode.
|
|
438
409
|
*/
|
|
439
410
|
function setFeatureFlagForTest(name, value) {
|
|
440
|
-
|
|
411
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
|
|
412
|
+
if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
|
|
441
413
|
setFeatureFlag(name, value);
|
|
442
414
|
}
|
|
443
415
|
}
|
|
444
|
-
/** version: 2.35.
|
|
416
|
+
/** version: 2.35.1 */
|
|
445
417
|
|
|
446
418
|
/**
|
|
447
419
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -505,7 +477,7 @@ var LWC = (function (exports) {
|
|
|
505
477
|
}
|
|
506
478
|
}
|
|
507
479
|
}
|
|
508
|
-
/** version: 2.35.
|
|
480
|
+
/** version: 2.35.1 */
|
|
509
481
|
|
|
510
482
|
/*
|
|
511
483
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -526,8 +498,7 @@ var LWC = (function (exports) {
|
|
|
526
498
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
527
499
|
*/
|
|
528
500
|
// Only used in LWC's Karma tests
|
|
529
|
-
|
|
530
|
-
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
501
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
531
502
|
window.addEventListener('test-dummy-flag', () => {
|
|
532
503
|
let hasFlag = false;
|
|
533
504
|
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
@@ -551,8 +522,7 @@ var LWC = (function (exports) {
|
|
|
551
522
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
552
523
|
*/
|
|
553
524
|
// Only used in LWC's Karma tests
|
|
554
|
-
|
|
555
|
-
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
525
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
556
526
|
window.addEventListener('test-dummy-flag', () => {
|
|
557
527
|
let hasFlag = false;
|
|
558
528
|
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
@@ -693,8 +663,8 @@ var LWC = (function (exports) {
|
|
|
693
663
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
694
664
|
*/
|
|
695
665
|
const alreadyLoggedMessages = new Set();
|
|
696
|
-
//
|
|
697
|
-
if (process.env.NODE_ENV
|
|
666
|
+
// Only used in LWC's Karma tests
|
|
667
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
698
668
|
// @ts-ignore
|
|
699
669
|
window.__lwcResetAlreadyLoggedMessages = () => {
|
|
700
670
|
alreadyLoggedMessages.clear();
|
|
@@ -943,6 +913,14 @@ var LWC = (function (exports) {
|
|
|
943
913
|
refVNodes[ref] = vnode;
|
|
944
914
|
}
|
|
945
915
|
}
|
|
916
|
+
// Throw an error if we're running in prod mode. Ensures code is truly removed from prod mode.
|
|
917
|
+
function assertNotProd() {
|
|
918
|
+
/* istanbul ignore if */
|
|
919
|
+
if (process.env.NODE_ENV === 'production') {
|
|
920
|
+
// this method should never leak to prod
|
|
921
|
+
throw new ReferenceError();
|
|
922
|
+
}
|
|
923
|
+
}
|
|
946
924
|
|
|
947
925
|
/*
|
|
948
926
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -1148,27 +1126,18 @@ var LWC = (function (exports) {
|
|
|
1148
1126
|
}
|
|
1149
1127
|
let isDomMutationAllowed = false;
|
|
1150
1128
|
function unlockDomMutation() {
|
|
1151
|
-
|
|
1152
|
-
// this method should never leak to prod
|
|
1153
|
-
throw new ReferenceError();
|
|
1154
|
-
}
|
|
1129
|
+
assertNotProd(); // this method should never leak to prod
|
|
1155
1130
|
isDomMutationAllowed = true;
|
|
1156
1131
|
}
|
|
1157
1132
|
function lockDomMutation() {
|
|
1158
|
-
|
|
1159
|
-
// this method should never leak to prod
|
|
1160
|
-
throw new ReferenceError();
|
|
1161
|
-
}
|
|
1133
|
+
assertNotProd(); // this method should never leak to prod
|
|
1162
1134
|
isDomMutationAllowed = false;
|
|
1163
1135
|
}
|
|
1164
1136
|
function logMissingPortalError(name, type) {
|
|
1165
1137
|
return logError(`The \`${name}\` ${type} is available only on elements that use the \`lwc:dom="manual"\` directive.`);
|
|
1166
1138
|
}
|
|
1167
1139
|
function patchElementWithRestrictions(elm, options) {
|
|
1168
|
-
|
|
1169
|
-
// this method should never leak to prod
|
|
1170
|
-
throw new ReferenceError();
|
|
1171
|
-
}
|
|
1140
|
+
assertNotProd(); // this method should never leak to prod
|
|
1172
1141
|
const originalOuterHTMLDescriptor = getPropertyDescriptor(elm, 'outerHTML');
|
|
1173
1142
|
const descriptors = {
|
|
1174
1143
|
outerHTML: generateAccessorDescriptor({
|
|
@@ -1249,10 +1218,7 @@ var LWC = (function (exports) {
|
|
|
1249
1218
|
defineProperties(elm, descriptors);
|
|
1250
1219
|
}
|
|
1251
1220
|
function getShadowRootRestrictionsDescriptors(sr) {
|
|
1252
|
-
|
|
1253
|
-
// this method should never leak to prod
|
|
1254
|
-
throw new ReferenceError();
|
|
1255
|
-
}
|
|
1221
|
+
assertNotProd(); // this method should never leak to prod
|
|
1256
1222
|
// Disallowing properties in dev mode only to avoid people doing the wrong
|
|
1257
1223
|
// thing when using the real shadow root, because if that's the case,
|
|
1258
1224
|
// the component will not work when running with synthetic shadow.
|
|
@@ -1293,10 +1259,7 @@ var LWC = (function (exports) {
|
|
|
1293
1259
|
// Custom Elements Restrictions:
|
|
1294
1260
|
// -----------------------------
|
|
1295
1261
|
function getCustomElementRestrictionsDescriptors(elm) {
|
|
1296
|
-
|
|
1297
|
-
// this method should never leak to prod
|
|
1298
|
-
throw new ReferenceError();
|
|
1299
|
-
}
|
|
1262
|
+
assertNotProd(); // this method should never leak to prod
|
|
1300
1263
|
const originalAddEventListener = elm.addEventListener;
|
|
1301
1264
|
const originalInnerHTMLDescriptor = getPropertyDescriptor(elm, 'innerHTML');
|
|
1302
1265
|
const originalOuterHTMLDescriptor = getPropertyDescriptor(elm, 'outerHTML');
|
|
@@ -1341,10 +1304,7 @@ var LWC = (function (exports) {
|
|
|
1341
1304
|
};
|
|
1342
1305
|
}
|
|
1343
1306
|
function getComponentRestrictionsDescriptors() {
|
|
1344
|
-
|
|
1345
|
-
// this method should never leak to prod
|
|
1346
|
-
throw new ReferenceError();
|
|
1347
|
-
}
|
|
1307
|
+
assertNotProd(); // this method should never leak to prod
|
|
1348
1308
|
return {
|
|
1349
1309
|
tagName: generateAccessorDescriptor({
|
|
1350
1310
|
get() {
|
|
@@ -1358,10 +1318,7 @@ var LWC = (function (exports) {
|
|
|
1358
1318
|
};
|
|
1359
1319
|
}
|
|
1360
1320
|
function getLightningElementPrototypeRestrictionsDescriptors(proto) {
|
|
1361
|
-
|
|
1362
|
-
// this method should never leak to prod
|
|
1363
|
-
throw new ReferenceError();
|
|
1364
|
-
}
|
|
1321
|
+
assertNotProd(); // this method should never leak to prod
|
|
1365
1322
|
const originalDispatchEvent = proto.dispatchEvent;
|
|
1366
1323
|
const descriptors = {
|
|
1367
1324
|
dispatchEvent: generateDataDescriptor({
|
|
@@ -2075,7 +2032,6 @@ var LWC = (function (exports) {
|
|
|
2075
2032
|
}
|
|
2076
2033
|
};
|
|
2077
2034
|
}
|
|
2078
|
-
const EMPTY_REFS = freeze(create(null));
|
|
2079
2035
|
const refsCache = new WeakMap();
|
|
2080
2036
|
/**
|
|
2081
2037
|
* This class is the base class for any LWC element.
|
|
@@ -2363,7 +2319,6 @@ var LWC = (function (exports) {
|
|
|
2363
2319
|
}
|
|
2364
2320
|
const {
|
|
2365
2321
|
refVNodes,
|
|
2366
|
-
hasRefVNodes,
|
|
2367
2322
|
cmpTemplate
|
|
2368
2323
|
} = vm;
|
|
2369
2324
|
// If the `cmpTemplate` is null, that means that the template has not been rendered yet. Most likely this occurs
|
|
@@ -2377,15 +2332,9 @@ var LWC = (function (exports) {
|
|
|
2377
2332
|
// were introduced, we return undefined if the template has no refs defined
|
|
2378
2333
|
// anywhere. This fixes components that may want to add an expando called `refs`
|
|
2379
2334
|
// and are checking if it exists with `if (this.refs)` before adding it.
|
|
2380
|
-
// Note
|
|
2381
|
-
// because a template may have `lwc:ref` defined within a falsy `if:true` block.
|
|
2382
|
-
if (!hasRefVNodes) {
|
|
2383
|
-
return;
|
|
2384
|
-
}
|
|
2385
|
-
// For templates that are using `lwc:ref`, if there are no refs currently available
|
|
2386
|
-
// (e.g. refs inside of a falsy `if:true` block), we return an empty object.
|
|
2335
|
+
// Note we use a null refVNodes to indicate that the template has no refs defined.
|
|
2387
2336
|
if (isNull(refVNodes)) {
|
|
2388
|
-
return
|
|
2337
|
+
return;
|
|
2389
2338
|
}
|
|
2390
2339
|
// The refNodes can be cached based on the refVNodes, since the refVNodes
|
|
2391
2340
|
// are recreated from scratch every time the template is rendered.
|
|
@@ -3200,8 +3149,8 @@ var LWC = (function (exports) {
|
|
|
3200
3149
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3201
3150
|
*/
|
|
3202
3151
|
let warned = false;
|
|
3203
|
-
//
|
|
3204
|
-
if (process.env.NODE_ENV
|
|
3152
|
+
// Only used in LWC's Karma tests
|
|
3153
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
3205
3154
|
// @ts-ignore
|
|
3206
3155
|
window.__lwcResetWarnedOnVersionMismatch = () => {
|
|
3207
3156
|
warned = false;
|
|
@@ -3497,10 +3446,7 @@ var LWC = (function (exports) {
|
|
|
3497
3446
|
return canRefreshAllInstances;
|
|
3498
3447
|
}
|
|
3499
3448
|
function getTemplateOrSwappedTemplate(tpl) {
|
|
3500
|
-
|
|
3501
|
-
// this method should never leak to prod
|
|
3502
|
-
throw new ReferenceError();
|
|
3503
|
-
}
|
|
3449
|
+
assertNotProd(); // this method should never leak to prod
|
|
3504
3450
|
const visited = new Set();
|
|
3505
3451
|
while (swappedTemplateMap.has(tpl) && !visited.has(tpl)) {
|
|
3506
3452
|
visited.add(tpl);
|
|
@@ -3509,10 +3455,7 @@ var LWC = (function (exports) {
|
|
|
3509
3455
|
return tpl;
|
|
3510
3456
|
}
|
|
3511
3457
|
function getComponentOrSwappedComponent(Ctor) {
|
|
3512
|
-
|
|
3513
|
-
// this method should never leak to prod
|
|
3514
|
-
throw new ReferenceError();
|
|
3515
|
-
}
|
|
3458
|
+
assertNotProd(); // this method should never leak to prod
|
|
3516
3459
|
const visited = new Set();
|
|
3517
3460
|
while (swappedComponentMap.has(Ctor) && !visited.has(Ctor)) {
|
|
3518
3461
|
visited.add(Ctor);
|
|
@@ -3521,10 +3464,7 @@ var LWC = (function (exports) {
|
|
|
3521
3464
|
return Ctor;
|
|
3522
3465
|
}
|
|
3523
3466
|
function getStyleOrSwappedStyle(style) {
|
|
3524
|
-
|
|
3525
|
-
// this method should never leak to prod
|
|
3526
|
-
throw new ReferenceError();
|
|
3527
|
-
}
|
|
3467
|
+
assertNotProd(); // this method should never leak to prod
|
|
3528
3468
|
const visited = new Set();
|
|
3529
3469
|
while (swappedStyleMap.has(style) && !visited.has(style)) {
|
|
3530
3470
|
visited.add(style);
|
|
@@ -3533,10 +3473,7 @@ var LWC = (function (exports) {
|
|
|
3533
3473
|
return style;
|
|
3534
3474
|
}
|
|
3535
3475
|
function setActiveVM(vm) {
|
|
3536
|
-
|
|
3537
|
-
// this method should never leak to prod
|
|
3538
|
-
throw new ReferenceError();
|
|
3539
|
-
}
|
|
3476
|
+
assertNotProd(); // this method should never leak to prod
|
|
3540
3477
|
// tracking active component
|
|
3541
3478
|
const Ctor = vm.def.ctor;
|
|
3542
3479
|
let componentVMs = activeComponents.get(Ctor);
|
|
@@ -3579,10 +3516,7 @@ var LWC = (function (exports) {
|
|
|
3579
3516
|
}
|
|
3580
3517
|
}
|
|
3581
3518
|
function removeActiveVM(vm) {
|
|
3582
|
-
|
|
3583
|
-
// this method should never leak to prod
|
|
3584
|
-
throw new ReferenceError();
|
|
3585
|
-
}
|
|
3519
|
+
assertNotProd(); // this method should never leak to prod
|
|
3586
3520
|
// tracking inactive component
|
|
3587
3521
|
const Ctor = vm.def.ctor;
|
|
3588
3522
|
let list = activeComponents.get(Ctor);
|
|
@@ -5755,10 +5689,7 @@ var LWC = (function (exports) {
|
|
|
5755
5689
|
vmBeingRendered = vm;
|
|
5756
5690
|
}
|
|
5757
5691
|
function validateSlots(vm, html) {
|
|
5758
|
-
|
|
5759
|
-
// this method should never leak to prod
|
|
5760
|
-
throw new ReferenceError();
|
|
5761
|
-
}
|
|
5692
|
+
assertNotProd(); // this method should never leak to prod
|
|
5762
5693
|
const { cmpSlots } = vm;
|
|
5763
5694
|
const { slots = EmptyArray } = html;
|
|
5764
5695
|
for (const slotName in cmpSlots.slotAssignments) {
|
|
@@ -5892,9 +5823,7 @@ var LWC = (function (exports) {
|
|
|
5892
5823
|
setActiveVM(vm);
|
|
5893
5824
|
}
|
|
5894
5825
|
// reset the refs; they will be set during the tmpl() instantiation
|
|
5895
|
-
|
|
5896
|
-
vm.hasRefVNodes = hasRefVNodes;
|
|
5897
|
-
vm.refVNodes = hasRefVNodes ? create(null) : null;
|
|
5826
|
+
vm.refVNodes = html.hasRefs ? create(null) : null;
|
|
5898
5827
|
// right before producing the vnodes, we clear up all internal references
|
|
5899
5828
|
// to custom elements from the template.
|
|
5900
5829
|
vm.velements = [];
|
|
@@ -6081,7 +6010,7 @@ var LWC = (function (exports) {
|
|
|
6081
6010
|
const cmpEventListenerMap = new WeakMap();
|
|
6082
6011
|
function getWrappedComponentsListener(vm, listener) {
|
|
6083
6012
|
if (!isFunction$1(listener)) {
|
|
6084
|
-
throw new TypeError(); // avoiding problems with non-valid listeners
|
|
6013
|
+
throw new TypeError('Expected an EventListener but received ' + typeof listener); // avoiding problems with non-valid listeners
|
|
6085
6014
|
}
|
|
6086
6015
|
let wrappedListener = cmpEventListenerMap.get(listener);
|
|
6087
6016
|
if (isUndefined$1(wrappedListener)) {
|
|
@@ -6226,7 +6155,6 @@ var LWC = (function (exports) {
|
|
|
6226
6155
|
mode,
|
|
6227
6156
|
owner,
|
|
6228
6157
|
refVNodes: null,
|
|
6229
|
-
hasRefVNodes: false,
|
|
6230
6158
|
children: EmptyArray,
|
|
6231
6159
|
aChildren: EmptyArray,
|
|
6232
6160
|
velements: EmptyArray,
|
|
@@ -7494,7 +7422,7 @@ var LWC = (function (exports) {
|
|
|
7494
7422
|
}
|
|
7495
7423
|
return ctor;
|
|
7496
7424
|
}
|
|
7497
|
-
/* version: 2.35.
|
|
7425
|
+
/* version: 2.35.1 */
|
|
7498
7426
|
|
|
7499
7427
|
/*
|
|
7500
7428
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7602,8 +7530,7 @@ var LWC = (function (exports) {
|
|
|
7602
7530
|
// Test utilities
|
|
7603
7531
|
//
|
|
7604
7532
|
// Only used in LWC's Karma tests
|
|
7605
|
-
|
|
7606
|
-
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
7533
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
7607
7534
|
// @ts-ignore
|
|
7608
7535
|
window.__lwcResetGlobalStylesheets = () => {
|
|
7609
7536
|
stylesheetCache.clear();
|
|
@@ -8469,7 +8396,7 @@ var LWC = (function (exports) {
|
|
|
8469
8396
|
function isNull(obj) {
|
|
8470
8397
|
return obj === null;
|
|
8471
8398
|
}
|
|
8472
|
-
/** version: 2.35.
|
|
8399
|
+
/** version: 2.35.1 */
|
|
8473
8400
|
|
|
8474
8401
|
/*
|
|
8475
8402
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -9030,7 +8957,7 @@ var LWC = (function (exports) {
|
|
|
9030
8957
|
});
|
|
9031
8958
|
freeze(LightningElement);
|
|
9032
8959
|
seal(LightningElement.prototype);
|
|
9033
|
-
/* version: 2.35.
|
|
8960
|
+
/* version: 2.35.1 */
|
|
9034
8961
|
|
|
9035
8962
|
exports.LightningElement = LightningElement;
|
|
9036
8963
|
exports.__unstable__ProfilerControl = profilerControl;
|