lwc 2.13.1 → 2.13.4

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 (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +376 -170
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +376 -169
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +222 -164
  5. package/dist/engine-dom/iife/es5/engine-dom.js +7562 -5758
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +5947 -4586
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +376 -169
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +222 -164
  11. package/dist/engine-dom/umd/es5/engine-dom.js +7562 -5758
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +5947 -4586
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +190 -72
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +190 -73
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +10 -13
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4601 -3603
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +10 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4424 -3481
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +10 -13
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4601 -3603
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +10 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4424 -3481
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +243 -258
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +243 -258
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +243 -258
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +243 -258
  43. package/package.json +7 -7
@@ -47,7 +47,7 @@ var assert = /*#__PURE__*/Object.freeze({
47
47
  */
48
48
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
49
49
  const { isArray: isArray$1 } = Array;
50
- const { filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
50
+ const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
51
51
  const { fromCharCode: StringFromCharCode } = String;
52
52
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
53
53
  function isUndefined$1(obj) {
@@ -421,9 +421,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
421
421
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
422
422
  */
423
423
  // Increment whenever the LWC template compiler changes
424
- const LWC_VERSION = "2.13.1";
424
+ const LWC_VERSION = "2.13.4";
425
425
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
426
- /** version: 2.13.1 */
426
+ /** version: 2.13.4 */
427
427
 
428
428
  /*
429
429
  * Copyright (c) 2020, salesforce.com, inc.
@@ -468,6 +468,7 @@ if (typeof CustomEvent !== 'function') {
468
468
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
469
469
  */
470
470
  const features = {
471
+ DUMMY_TEST_FLAG: null,
471
472
  ENABLE_ELEMENT_PATCH: null,
472
473
  ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: null,
473
474
  ENABLE_HMR: null,
@@ -531,10 +532,35 @@ function setFeatureFlagForTest(name, value) {
531
532
  setFeatureFlag(name, value);
532
533
  }
533
534
  }
534
- /** version: 2.13.1 */
535
+ /** version: 2.13.4 */
535
536
 
536
537
  /* proxy-compat-disable */
537
538
 
539
+ /*
540
+ * Copyright (c) 2018, salesforce.com, inc.
541
+ * All rights reserved.
542
+ * SPDX-License-Identifier: MIT
543
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
544
+ */
545
+ // @ts-ignore
546
+
547
+ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
548
+ window.addEventListener('test-dummy-flag', () => {
549
+ let hasFlag = false;
550
+
551
+ if (runtimeFlags.DUMMY_TEST_FLAG) {
552
+ hasFlag = true;
553
+ }
554
+
555
+ window.dispatchEvent(new CustomEvent('has-dummy-flag', {
556
+ detail: {
557
+ package: '@lwc/engine-core',
558
+ hasFlag
559
+ }
560
+ }));
561
+ });
562
+ }
563
+
538
564
  /*
539
565
  * Copyright (c) 2018, salesforce.com, inc.
540
566
  * All rights reserved.
@@ -608,10 +634,6 @@ let HTMLElementExported$1;
608
634
  function setHTMLElement(HTMLElementImpl) {
609
635
  HTMLElementExported$1 = HTMLElementImpl;
610
636
  }
611
- let isHydrating$1;
612
- function setIsHydrating(isHydratingImpl) {
613
- isHydrating$1 = isHydratingImpl;
614
- }
615
637
  let insert$1;
616
638
  function setInsert(insertImpl) {
617
639
  insert$1 = insertImpl;
@@ -732,10 +754,6 @@ let isConnected$1;
732
754
  function setIsConnected(isConnectedImpl) {
733
755
  isConnected$1 = isConnectedImpl;
734
756
  }
735
- let insertGlobalStylesheet$1;
736
- function setInsertGlobalStylesheet(insertGlobalStylesheetImpl) {
737
- insertGlobalStylesheet$1 = insertGlobalStylesheetImpl;
738
- }
739
757
  let insertStylesheet$1;
740
758
  function setInsertStylesheet(insertStylesheetImpl) {
741
759
  insertStylesheet$1 = insertStylesheetImpl;
@@ -2820,6 +2838,12 @@ function checkVersionMismatch(func, type) {
2820
2838
  }
2821
2839
  }
2822
2840
 
2841
+ /*
2842
+ * Copyright (c) 2018, salesforce.com, inc.
2843
+ * All rights reserved.
2844
+ * SPDX-License-Identifier: MIT
2845
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2846
+ */
2823
2847
  const signedTemplateSet = new Set();
2824
2848
  function defaultEmptyTemplate() {
2825
2849
  return [];
@@ -2837,6 +2861,32 @@ function registerTemplate(tpl) {
2837
2861
  checkVersionMismatch(tpl, 'template');
2838
2862
  }
2839
2863
  signedTemplateSet.add(tpl);
2864
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2865
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2866
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2867
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2868
+ defineProperty(tpl, 'stylesheetTokens', {
2869
+ enumerable: true,
2870
+ configurable: true,
2871
+ get() {
2872
+ const { stylesheetToken } = this;
2873
+ if (isUndefined$1(stylesheetToken)) {
2874
+ return stylesheetToken;
2875
+ }
2876
+ // Shim for the old `stylesheetTokens` property
2877
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2878
+ return {
2879
+ hostAttribute: `${stylesheetToken}-host`,
2880
+ shadowAttribute: stylesheetToken,
2881
+ };
2882
+ },
2883
+ set(value) {
2884
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2885
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2886
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2887
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2888
+ },
2889
+ });
2840
2890
  // chaining this method as a way to wrap existing
2841
2891
  // assignment of templates easily, without too much transformation
2842
2892
  return tpl;
@@ -3780,15 +3830,16 @@ function mountVNodes(vnodes, parent, anchor, start = 0, end = vnodes.length) {
3780
3830
  }
3781
3831
  }
3782
3832
  function unmount(vnode, parent, doRemove = false) {
3783
- const { type, elm } = vnode;
3833
+ const { type, elm, sel } = vnode;
3784
3834
  // When unmounting a VNode subtree not all the elements have to removed from the DOM. The
3785
3835
  // subtree root, is the only element worth unmounting from the subtree.
3786
3836
  if (doRemove) {
3787
3837
  removeNode(elm, parent);
3788
3838
  }
3839
+ const removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
3789
3840
  switch (type) {
3790
3841
  case 2 /* Element */:
3791
- unmountVNodes(vnode.children, elm);
3842
+ unmountVNodes(vnode.children, elm, removeChildren);
3792
3843
  break;
3793
3844
  case 3 /* CustomElement */: {
3794
3845
  const { vm } = vnode;
@@ -4706,10 +4757,10 @@ function createStylesheet(vm, stylesheets) {
4706
4757
  const { renderMode, shadowMode } = vm;
4707
4758
  if (renderMode === 1 /* Shadow */ && shadowMode === 1 /* Synthetic */) {
4708
4759
  for (let i = 0; i < stylesheets.length; i++) {
4709
- insertGlobalStylesheet$1(stylesheets[i]);
4760
+ insertStylesheet$1(stylesheets[i]);
4710
4761
  }
4711
4762
  }
4712
- else if (ssr$1 || isHydrating$1()) {
4763
+ else if (ssr$1 || vm.hydrated) {
4713
4764
  // Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
4714
4765
  // This works in the client, because the stylesheets are created, and cached in the VM
4715
4766
  // the first time the VM renders.
@@ -4720,15 +4771,10 @@ function createStylesheet(vm, stylesheets) {
4720
4771
  else {
4721
4772
  // native shadow or light DOM, DOM renderer
4722
4773
  const root = getNearestNativeShadowComponent(vm);
4723
- const isGlobal = isNull(root);
4774
+ // null root means a global style
4775
+ const target = isNull(root) ? undefined : root.shadowRoot;
4724
4776
  for (let i = 0; i < stylesheets.length; i++) {
4725
- if (isGlobal) {
4726
- insertGlobalStylesheet$1(stylesheets[i]);
4727
- }
4728
- else {
4729
- // local level
4730
- insertStylesheet$1(stylesheets[i], root.shadowRoot);
4731
- }
4777
+ insertStylesheet$1(stylesheets[i], target);
4732
4778
  }
4733
4779
  }
4734
4780
  return null;
@@ -5236,24 +5282,14 @@ function removeVM(vm) {
5236
5282
 
5237
5283
  resetComponentStateWhenRemoved(vm);
5238
5284
  }
5239
-
5240
- function getNearestShadowAncestor(vm) {
5241
- let ancestor = vm.owner;
5242
-
5243
- while (!isNull(ancestor) && ancestor.renderMode === 0
5244
- /* Light */
5245
- ) {
5246
- ancestor = ancestor.owner;
5247
- }
5248
-
5249
- return ancestor;
5250
- }
5251
-
5252
5285
  function createVM(elm, ctor, options) {
5286
+ var _a;
5287
+
5253
5288
  const {
5254
5289
  mode,
5255
5290
  owner,
5256
- tagName
5291
+ tagName,
5292
+ hydrated
5257
5293
  } = options;
5258
5294
  const def = getComponentInternalDef(ctor);
5259
5295
  const vm = {
@@ -5276,7 +5312,10 @@ function createVM(elm, ctor, options) {
5276
5312
  cmpSlots: create(null),
5277
5313
  oar: create(null),
5278
5314
  cmpTemplate: null,
5315
+ hydrated: Boolean(hydrated),
5279
5316
  renderMode: def.renderMode,
5317
+ shadowMode: computeShadowMode(def, owner),
5318
+ nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
5280
5319
  context: {
5281
5320
  stylesheetToken: undefined,
5282
5321
  hasTokenInClass: undefined,
@@ -5289,7 +5328,6 @@ function createVM(elm, ctor, options) {
5289
5328
  },
5290
5329
  // Properties set right after VM creation.
5291
5330
  tro: null,
5292
- shadowMode: null,
5293
5331
  // Properties set by the LightningElement constructor.
5294
5332
  component: null,
5295
5333
  shadowRoot: null,
@@ -5298,7 +5336,6 @@ function createVM(elm, ctor, options) {
5298
5336
  setHook,
5299
5337
  getHook
5300
5338
  };
5301
- vm.shadowMode = computeShadowMode(vm);
5302
5339
  vm.tro = getTemplateReactiveObserver(vm);
5303
5340
 
5304
5341
  if (process.env.NODE_ENV !== 'production') {
@@ -5323,10 +5360,9 @@ function createVM(elm, ctor, options) {
5323
5360
  return vm;
5324
5361
  }
5325
5362
 
5326
- function computeShadowMode(vm) {
5327
- const {
5328
- def
5329
- } = vm;
5363
+ function computeShadowMode(def, owner) {
5364
+ var _a;
5365
+
5330
5366
  let shadowMode;
5331
5367
 
5332
5368
  if (isSyntheticShadowDefined$1) {
@@ -5349,23 +5385,13 @@ function computeShadowMode(vm) {
5349
5385
  /* Native */
5350
5386
  ;
5351
5387
  } else {
5352
- const shadowAncestor = getNearestShadowAncestor(vm);
5353
-
5354
- if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
5355
- /* Native */
5356
- ) {
5357
- // Transitive support for native Shadow DOM. A component in native mode
5358
- // transitively opts all of its descendants into native.
5359
- shadowMode = 0
5360
- /* Native */
5361
- ;
5362
- } else {
5363
- // Synthetic if neither this component nor any of its ancestors are configured
5364
- // to be native.
5365
- shadowMode = 1
5366
- /* Synthetic */
5367
- ;
5368
- }
5388
+ // Transitive support for native Shadow DOM. A component in native mode
5389
+ // transitively opts all of its descendants into native.
5390
+ // Synthetic if neither this component nor any of its ancestors are configured
5391
+ // to be native.
5392
+ shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
5393
+ /* Synthetic */
5394
+ ;
5369
5395
  }
5370
5396
  } else {
5371
5397
  shadowMode = 1
@@ -6145,7 +6171,106 @@ function setHooks(hooks) {
6145
6171
  hooksAreSet = true;
6146
6172
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6147
6173
  }
6148
- /* version: 2.13.1 */
6174
+
6175
+ /*
6176
+ * Copyright (c) 2018, salesforce.com, inc.
6177
+ * All rights reserved.
6178
+ * SPDX-License-Identifier: MIT
6179
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6180
+ */
6181
+ // See @lwc/engine-core/src/framework/template.ts
6182
+ const TEMPLATE_PROPS = ['slots', 'stylesheetToken', 'stylesheets', 'renderMode'];
6183
+ // Via https://www.npmjs.com/package/object-observer
6184
+ const ARRAY_MUTATION_METHODS = [
6185
+ 'pop',
6186
+ 'push',
6187
+ 'shift',
6188
+ 'unshift',
6189
+ 'reverse',
6190
+ 'sort',
6191
+ 'fill',
6192
+ 'splice',
6193
+ 'copyWithin',
6194
+ ];
6195
+ function getOriginalArrayMethod(prop) {
6196
+ switch (prop) {
6197
+ case 'pop':
6198
+ return ArrayPop;
6199
+ case 'push':
6200
+ return ArrayPush$1;
6201
+ case 'shift':
6202
+ return ArrayShift;
6203
+ case 'unshift':
6204
+ return ArrayUnshift;
6205
+ case 'reverse':
6206
+ return ArrayReverse;
6207
+ case 'sort':
6208
+ return ArraySort;
6209
+ case 'fill':
6210
+ return ArrayFill;
6211
+ case 'splice':
6212
+ return ArraySplice;
6213
+ case 'copyWithin':
6214
+ return ArrayCopyWithin;
6215
+ }
6216
+ }
6217
+ let mutationWarningsSilenced = false;
6218
+ // Warn if the user tries to mutate tmpl.stylesheets, e.g.:
6219
+ // `tmpl.stylesheets.push(someStylesheetFunction)`
6220
+ function warnOnArrayMutation(stylesheets) {
6221
+ // We can't handle users calling Array.prototype.slice.call(tmpl.stylesheets), but
6222
+ // we can at least warn when they use the most common mutation methods.
6223
+ for (const prop of ARRAY_MUTATION_METHODS) {
6224
+ const originalArrayMethod = getOriginalArrayMethod(prop);
6225
+ stylesheets[prop] = function arrayMutationWarningWrapper() {
6226
+ logError(`Mutating the "stylesheets" array on a template function ` +
6227
+ `is deprecated and may be removed in a future version of LWC.`);
6228
+ // @ts-ignore
6229
+ return originalArrayMethod.apply(this, arguments);
6230
+ };
6231
+ }
6232
+ }
6233
+ // TODO [#2782]: eventually freezeTemplate() will _actually_ freeze the tmpl object. Today it
6234
+ // just warns on mutation.
6235
+ function freezeTemplate(tmpl) {
6236
+ if (process.env.NODE_ENV !== 'production') {
6237
+ if (!isUndefined$1(tmpl.stylesheets)) {
6238
+ warnOnArrayMutation(tmpl.stylesheets);
6239
+ }
6240
+ for (const prop of TEMPLATE_PROPS) {
6241
+ let value = tmpl[prop];
6242
+ defineProperty(tmpl, prop, {
6243
+ enumerable: true,
6244
+ configurable: true,
6245
+ get() {
6246
+ return value;
6247
+ },
6248
+ set(newValue) {
6249
+ if (!mutationWarningsSilenced) {
6250
+ logError(`Dynamically setting the "${prop}" property on a template function ` +
6251
+ `is deprecated and may be removed in a future version of LWC.`);
6252
+ }
6253
+ value = newValue;
6254
+ },
6255
+ });
6256
+ }
6257
+ const originalDescriptor = getOwnPropertyDescriptor$1(tmpl, 'stylesheetTokens');
6258
+ defineProperty(tmpl, 'stylesheetTokens', {
6259
+ enumerable: true,
6260
+ configurable: true,
6261
+ get: originalDescriptor.get,
6262
+ set(value) {
6263
+ logError(`Dynamically setting the "stylesheetTokens" property on a template function ` +
6264
+ `is deprecated and may be removed in a future version of LWC.`);
6265
+ // Avoid logging twice (for both stylesheetToken and stylesheetTokens)
6266
+ mutationWarningsSilenced = true;
6267
+ originalDescriptor.set.call(this, value);
6268
+ mutationWarningsSilenced = false;
6269
+ },
6270
+ });
6271
+ }
6272
+ }
6273
+ /* version: 2.13.4 */
6149
6274
 
6150
6275
  /*
6151
6276
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6218,9 +6343,6 @@ class HTMLElementImpl {
6218
6343
  }
6219
6344
  }
6220
6345
  const ssr = true;
6221
- function isHydrating() {
6222
- return false;
6223
- }
6224
6346
  const isNativeShadowDefined = false;
6225
6347
  const isSyntheticShadowDefined = false;
6226
6348
  function insert(node, parent, anchor) {
@@ -6421,9 +6543,6 @@ function isConnected(node) {
6421
6543
  }
6422
6544
  // Noop on SSR (for now). This need to be reevaluated whenever we will implement support for
6423
6545
  // synthetic shadow.
6424
- const insertGlobalStylesheet = noop;
6425
- // Noop on SSR (for now). This need to be reevaluated whenever we will implement support for
6426
- // synthetic shadow.
6427
6546
  const insertStylesheet = noop;
6428
6547
  // Noop on SSR.
6429
6548
  const addEventListener = noop;
@@ -6479,10 +6598,7 @@ setGetLastElementChild(getLastElementChild);
6479
6598
  setGetProperty(getProperty);
6480
6599
  setHTMLElement(HTMLElementExported);
6481
6600
  setInsert(insert);
6482
- setInsertGlobalStylesheet(insertGlobalStylesheet);
6483
- setInsertStylesheet(insertStylesheet);
6484
6601
  setIsConnected(isConnected);
6485
- setIsHydrating(isHydrating);
6486
6602
  setIsNativeShadowDefined(isNativeShadowDefined);
6487
6603
  setIsSyntheticShadowDefined(isSyntheticShadowDefined);
6488
6604
  setNextSibling(nextSibling);
@@ -6497,6 +6613,7 @@ setSetProperty(setProperty);
6497
6613
  setSetText(setText);
6498
6614
  setSsr(ssr);
6499
6615
  setAddEventListener(addEventListener);
6616
+ setInsertStylesheet(insertStylesheet);
6500
6617
 
6501
6618
  /*
6502
6619
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6612,11 +6729,12 @@ function renderComponent(tagName, Ctor, props = {}) {
6612
6729
  */
6613
6730
  freeze(LightningElement);
6614
6731
  seal(LightningElement.prototype);
6615
- /* version: 2.13.1 */
6732
+ /* version: 2.13.4 */
6616
6733
 
6617
6734
  exports.LightningElement = LightningElement;
6618
6735
  exports.api = api$1;
6619
6736
  exports.createContextProvider = createContextProvider;
6737
+ exports.freezeTemplate = freezeTemplate;
6620
6738
  exports.getComponentDef = getComponentDef;
6621
6739
  exports.isComponentConstructor = isComponentConstructor;
6622
6740
  exports.readonly = readonly;