lwc 2.20.6 → 2.20.7

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.
Files changed (34) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +5 -5
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +5 -5
  3. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +3 -3
  4. package/dist/engine-dom/iife/es5/engine-dom.js +5 -5
  5. package/dist/engine-dom/iife/es5/engine-dom_debug.js +3 -3
  6. package/dist/engine-dom/umd/es2017/engine-dom.js +5 -5
  7. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +3 -3
  8. package/dist/engine-dom/umd/es5/engine-dom.js +5 -5
  9. package/dist/engine-dom/umd/es5/engine-dom_debug.js +3 -3
  10. package/dist/engine-server/commonjs/es2017/engine-server.js +5 -5
  11. package/dist/engine-server/esm/es2017/engine-server.js +5 -5
  12. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +7 -4
  13. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +7 -4
  14. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  15. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +7 -4
  16. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +7 -4
  17. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  18. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -4
  19. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +7 -4
  20. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  21. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +7 -4
  22. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +7 -4
  23. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -4
  25. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  26. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  28. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  30. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  32. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  34. package/package.json +7 -7
@@ -299,9 +299,9 @@ function htmlPropertyToAttribute(propName) {
299
299
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
300
300
  */
301
301
  // Increment whenever the LWC template compiler changes
302
- const LWC_VERSION = "2.20.6";
302
+ const LWC_VERSION = "2.20.7";
303
303
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
304
- /** version: 2.20.6 */
304
+ /** version: 2.20.7 */
305
305
 
306
306
  /*
307
307
  * Copyright (c) 2018, salesforce.com, inc.
@@ -455,7 +455,7 @@ function setFeatureFlagForTest(name, value) {
455
455
  setFeatureFlag(name, value);
456
456
  }
457
457
  }
458
- /** version: 2.20.6 */
458
+ /** version: 2.20.7 */
459
459
 
460
460
  /*
461
461
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6835,7 +6835,7 @@ function getComponentConstructor(elm) {
6835
6835
  }
6836
6836
  return ctor;
6837
6837
  }
6838
- /* version: 2.20.6 */
6838
+ /* version: 2.20.7 */
6839
6839
 
6840
6840
  /*
6841
6841
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7523,6 +7523,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
7523
7523
  });
7524
7524
  freeze(LightningElement);
7525
7525
  seal(LightningElement.prototype);
7526
- /* version: 2.20.6 */
7526
+ /* version: 2.20.7 */
7527
7527
 
7528
7528
  export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, freezeTemplate, getComponentConstructor, getComponentDef, hydrateComponent, isComponentConstructor, isNodeShadowed as isNodeFromTemplate, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
@@ -302,9 +302,9 @@ var LWC = (function (exports) {
302
302
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
303
303
  */
304
304
  // Increment whenever the LWC template compiler changes
305
- const LWC_VERSION = "2.20.6";
305
+ const LWC_VERSION = "2.20.7";
306
306
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
307
- /** version: 2.20.6 */
307
+ /** version: 2.20.7 */
308
308
 
309
309
  /*
310
310
  * Copyright (c) 2018, salesforce.com, inc.
@@ -458,7 +458,7 @@ var LWC = (function (exports) {
458
458
  setFeatureFlag(name, value);
459
459
  }
460
460
  }
461
- /** version: 2.20.6 */
461
+ /** version: 2.20.7 */
462
462
 
463
463
  /*
464
464
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6838,7 +6838,7 @@ var LWC = (function (exports) {
6838
6838
  }
6839
6839
  return ctor;
6840
6840
  }
6841
- /* version: 2.20.6 */
6841
+ /* version: 2.20.7 */
6842
6842
 
6843
6843
  /*
6844
6844
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7526,7 +7526,7 @@ var LWC = (function (exports) {
7526
7526
  });
7527
7527
  freeze(LightningElement);
7528
7528
  seal(LightningElement.prototype);
7529
- /* version: 2.20.6 */
7529
+ /* version: 2.20.7 */
7530
7530
 
7531
7531
  exports.LightningElement = LightningElement;
7532
7532
  exports.__unstable__ProfilerControl = profilerControl;
@@ -291,7 +291,7 @@ var LWC = (function (exports) {
291
291
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
292
292
  return attributeName;
293
293
  }
294
- /** version: 2.20.6 */
294
+ /** version: 2.20.7 */
295
295
 
296
296
  /*
297
297
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5234,7 +5234,7 @@ var LWC = (function (exports) {
5234
5234
  }
5235
5235
  return ctor;
5236
5236
  }
5237
- /* version: 2.20.6 */
5237
+ /* version: 2.20.7 */
5238
5238
 
5239
5239
  /*
5240
5240
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5899,7 +5899,7 @@ var LWC = (function (exports) {
5899
5899
  });
5900
5900
  freeze(LightningElement);
5901
5901
  seal(LightningElement.prototype);
5902
- /* version: 2.20.6 */
5902
+ /* version: 2.20.7 */
5903
5903
 
5904
5904
  exports.LightningElement = LightningElement;
5905
5905
  exports.__unstable__ProfilerControl = profilerControl;
@@ -365,9 +365,9 @@ var LWC = (function (exports) {
365
365
  // Increment whenever the LWC template compiler changes
366
366
 
367
367
 
368
- var LWC_VERSION = "2.20.6";
368
+ var LWC_VERSION = "2.20.7";
369
369
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
370
- /** version: 2.20.6 */
370
+ /** version: 2.20.7 */
371
371
 
372
372
  /*
373
373
  * Copyright (c) 2018, salesforce.com, inc.
@@ -546,7 +546,7 @@ var LWC = (function (exports) {
546
546
  setFeatureFlag(name, value);
547
547
  }
548
548
  }
549
- /** version: 2.20.6 */
549
+ /** version: 2.20.7 */
550
550
 
551
551
  /*
552
552
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8294,7 +8294,7 @@ var LWC = (function (exports) {
8294
8294
 
8295
8295
  return ctor;
8296
8296
  }
8297
- /* version: 2.20.6 */
8297
+ /* version: 2.20.7 */
8298
8298
 
8299
8299
  /*
8300
8300
  * Copyright (c) 2018, salesforce.com, inc.
@@ -9123,7 +9123,7 @@ var LWC = (function (exports) {
9123
9123
  });
9124
9124
  freeze(LightningElement);
9125
9125
  seal(LightningElement.prototype);
9126
- /* version: 2.20.6 */
9126
+ /* version: 2.20.7 */
9127
9127
 
9128
9128
  exports.LightningElement = LightningElement;
9129
9129
  exports.__unstable__ProfilerControl = profilerControl;
@@ -346,7 +346,7 @@ var LWC = (function (exports) {
346
346
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
347
347
  return attributeName;
348
348
  }
349
- /** version: 2.20.6 */
349
+ /** version: 2.20.7 */
350
350
 
351
351
  /*
352
352
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6482,7 +6482,7 @@ var LWC = (function (exports) {
6482
6482
 
6483
6483
  return ctor;
6484
6484
  }
6485
- /* version: 2.20.6 */
6485
+ /* version: 2.20.7 */
6486
6486
 
6487
6487
  /*
6488
6488
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7289,7 +7289,7 @@ var LWC = (function (exports) {
7289
7289
  });
7290
7290
  freeze(LightningElement);
7291
7291
  seal(LightningElement.prototype);
7292
- /* version: 2.20.6 */
7292
+ /* version: 2.20.7 */
7293
7293
 
7294
7294
  exports.LightningElement = LightningElement;
7295
7295
  exports.__unstable__ProfilerControl = profilerControl;
@@ -305,9 +305,9 @@
305
305
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
306
306
  */
307
307
  // Increment whenever the LWC template compiler changes
308
- const LWC_VERSION = "2.20.6";
308
+ const LWC_VERSION = "2.20.7";
309
309
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
310
- /** version: 2.20.6 */
310
+ /** version: 2.20.7 */
311
311
 
312
312
  /*
313
313
  * Copyright (c) 2018, salesforce.com, inc.
@@ -461,7 +461,7 @@
461
461
  setFeatureFlag(name, value);
462
462
  }
463
463
  }
464
- /** version: 2.20.6 */
464
+ /** version: 2.20.7 */
465
465
 
466
466
  /*
467
467
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6841,7 +6841,7 @@
6841
6841
  }
6842
6842
  return ctor;
6843
6843
  }
6844
- /* version: 2.20.6 */
6844
+ /* version: 2.20.7 */
6845
6845
 
6846
6846
  /*
6847
6847
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7529,7 +7529,7 @@
7529
7529
  });
7530
7530
  freeze(LightningElement);
7531
7531
  seal(LightningElement.prototype);
7532
- /* version: 2.20.6 */
7532
+ /* version: 2.20.7 */
7533
7533
 
7534
7534
  exports.LightningElement = LightningElement;
7535
7535
  exports.__unstable__ProfilerControl = profilerControl;
@@ -294,7 +294,7 @@
294
294
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
295
295
  return attributeName;
296
296
  }
297
- /** version: 2.20.6 */
297
+ /** version: 2.20.7 */
298
298
 
299
299
  /*
300
300
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5237,7 +5237,7 @@
5237
5237
  }
5238
5238
  return ctor;
5239
5239
  }
5240
- /* version: 2.20.6 */
5240
+ /* version: 2.20.7 */
5241
5241
 
5242
5242
  /*
5243
5243
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5902,7 +5902,7 @@
5902
5902
  });
5903
5903
  freeze(LightningElement);
5904
5904
  seal(LightningElement.prototype);
5905
- /* version: 2.20.6 */
5905
+ /* version: 2.20.7 */
5906
5906
 
5907
5907
  exports.LightningElement = LightningElement;
5908
5908
  exports.__unstable__ProfilerControl = profilerControl;
@@ -368,9 +368,9 @@
368
368
  // Increment whenever the LWC template compiler changes
369
369
 
370
370
 
371
- var LWC_VERSION = "2.20.6";
371
+ var LWC_VERSION = "2.20.7";
372
372
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
373
- /** version: 2.20.6 */
373
+ /** version: 2.20.7 */
374
374
 
375
375
  /*
376
376
  * Copyright (c) 2018, salesforce.com, inc.
@@ -549,7 +549,7 @@
549
549
  setFeatureFlag(name, value);
550
550
  }
551
551
  }
552
- /** version: 2.20.6 */
552
+ /** version: 2.20.7 */
553
553
 
554
554
  /*
555
555
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8297,7 +8297,7 @@
8297
8297
 
8298
8298
  return ctor;
8299
8299
  }
8300
- /* version: 2.20.6 */
8300
+ /* version: 2.20.7 */
8301
8301
 
8302
8302
  /*
8303
8303
  * Copyright (c) 2018, salesforce.com, inc.
@@ -9126,7 +9126,7 @@
9126
9126
  });
9127
9127
  freeze(LightningElement);
9128
9128
  seal(LightningElement.prototype);
9129
- /* version: 2.20.6 */
9129
+ /* version: 2.20.7 */
9130
9130
 
9131
9131
  exports.LightningElement = LightningElement;
9132
9132
  exports.__unstable__ProfilerControl = profilerControl;
@@ -349,7 +349,7 @@
349
349
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
350
350
  return attributeName;
351
351
  }
352
- /** version: 2.20.6 */
352
+ /** version: 2.20.7 */
353
353
 
354
354
  /*
355
355
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6485,7 +6485,7 @@
6485
6485
 
6486
6486
  return ctor;
6487
6487
  }
6488
- /* version: 2.20.6 */
6488
+ /* version: 2.20.7 */
6489
6489
 
6490
6490
  /*
6491
6491
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7292,7 +7292,7 @@
7292
7292
  });
7293
7293
  freeze(LightningElement);
7294
7294
  seal(LightningElement.prototype);
7295
- /* version: 2.20.6 */
7295
+ /* version: 2.20.7 */
7296
7296
 
7297
7297
  exports.LightningElement = LightningElement;
7298
7298
  exports.__unstable__ProfilerControl = profilerControl;
@@ -424,9 +424,9 @@ function htmlEscape(str, attrMode = false) {
424
424
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
425
425
  */
426
426
  // Increment whenever the LWC template compiler changes
427
- const LWC_VERSION = "2.20.6";
427
+ const LWC_VERSION = "2.20.7";
428
428
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
429
- /** version: 2.20.6 */
429
+ /** version: 2.20.7 */
430
430
 
431
431
  /*
432
432
  * Copyright (c) 2020, salesforce.com, inc.
@@ -535,7 +535,7 @@ function setFeatureFlagForTest(name, value) {
535
535
  setFeatureFlag(name, value);
536
536
  }
537
537
  }
538
- /** version: 2.20.6 */
538
+ /** version: 2.20.7 */
539
539
 
540
540
  /* proxy-compat-disable */
541
541
 
@@ -6286,7 +6286,7 @@ function freezeTemplate(tmpl) {
6286
6286
  });
6287
6287
  }
6288
6288
  }
6289
- /* version: 2.20.6 */
6289
+ /* version: 2.20.7 */
6290
6290
 
6291
6291
  /*
6292
6292
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6762,7 +6762,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6762
6762
  */
6763
6763
  freeze(LightningElement);
6764
6764
  seal(LightningElement.prototype);
6765
- /* version: 2.20.6 */
6765
+ /* version: 2.20.7 */
6766
6766
 
6767
6767
  exports.LightningElement = LightningElement;
6768
6768
  exports.api = api$1;
@@ -420,9 +420,9 @@ function htmlEscape(str, attrMode = false) {
420
420
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
421
421
  */
422
422
  // Increment whenever the LWC template compiler changes
423
- const LWC_VERSION = "2.20.6";
423
+ const LWC_VERSION = "2.20.7";
424
424
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
425
- /** version: 2.20.6 */
425
+ /** version: 2.20.7 */
426
426
 
427
427
  /*
428
428
  * Copyright (c) 2020, salesforce.com, inc.
@@ -531,7 +531,7 @@ function setFeatureFlagForTest(name, value) {
531
531
  setFeatureFlag(name, value);
532
532
  }
533
533
  }
534
- /** version: 2.20.6 */
534
+ /** version: 2.20.7 */
535
535
 
536
536
  /* proxy-compat-disable */
537
537
 
@@ -6282,7 +6282,7 @@ function freezeTemplate(tmpl) {
6282
6282
  });
6283
6283
  }
6284
6284
  }
6285
- /* version: 2.20.6 */
6285
+ /* version: 2.20.7 */
6286
6286
 
6287
6287
  /*
6288
6288
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6758,6 +6758,6 @@ function renderComponent(tagName, Ctor, props = {}) {
6758
6758
  */
6759
6759
  freeze(LightningElement);
6760
6760
  seal(LightningElement.prototype);
6761
- /* version: 2.20.6 */
6761
+ /* version: 2.20.7 */
6762
6762
 
6763
6763
  export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
148
148
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
149
149
  // we can't use typeof since it will fail when transpiling.
150
150
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
151
- /** version: 2.20.6 */
151
+ /** version: 2.20.7 */
152
152
 
153
153
  /*
154
154
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1124,7 +1124,7 @@ if (!_globalThis.lwcRuntimeFlags) {
1124
1124
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1125
1125
  }
1126
1126
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1127
- /** version: 2.20.6 */
1127
+ /** version: 2.20.7 */
1128
1128
 
1129
1129
  /*
1130
1130
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2883,7 +2883,10 @@ if (typeof ClipboardEvent !== 'undefined') {
2883
2883
  */
2884
2884
  function detect$1() {
2885
2885
  // Note: when using this in mobile apps, we might have a DOM that does not support iframes.
2886
- return typeof HTMLIFrameElement !== 'undefined';
2886
+ const hasIframe = typeof HTMLIFrameElement !== 'undefined';
2887
+ // This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
2888
+ const isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
2889
+ return hasIframe && isCompat;
2887
2890
  }
2888
2891
 
2889
2892
  /*
@@ -5111,4 +5114,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
5111
5114
  }));
5112
5115
  });
5113
5116
  }
5114
- /** version: 2.20.6 */
5117
+ /** version: 2.20.7 */
@@ -151,7 +151,7 @@
151
151
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
152
152
  // we can't use typeof since it will fail when transpiling.
153
153
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
154
- /** version: 2.20.6 */
154
+ /** version: 2.20.7 */
155
155
 
156
156
  /*
157
157
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1127,7 +1127,7 @@
1127
1127
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1128
1128
  }
1129
1129
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1130
- /** version: 2.20.6 */
1130
+ /** version: 2.20.7 */
1131
1131
 
1132
1132
  /*
1133
1133
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2886,7 +2886,10 @@
2886
2886
  */
2887
2887
  function detect$1() {
2888
2888
  // Note: when using this in mobile apps, we might have a DOM that does not support iframes.
2889
- return typeof HTMLIFrameElement !== 'undefined';
2889
+ const hasIframe = typeof HTMLIFrameElement !== 'undefined';
2890
+ // This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
2891
+ const isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
2892
+ return hasIframe && isCompat;
2890
2893
  }
2891
2894
 
2892
2895
  /*
@@ -5114,6 +5117,6 @@
5114
5117
  }));
5115
5118
  });
5116
5119
  }
5117
- /** version: 2.20.6 */
5120
+ /** version: 2.20.7 */
5118
5121
 
5119
5122
  })();