lwc 2.4.0 → 2.5.0

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 (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +117 -64
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +117 -64
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +116 -63
  5. package/dist/engine-dom/iife/es5/engine-dom.js +133 -86
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +130 -83
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +117 -64
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +116 -63
  11. package/dist/engine-dom/umd/es5/engine-dom.js +133 -86
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +130 -83
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +117 -64
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +117 -64
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +8 -8
@@ -292,6 +292,7 @@ var LWC = (function (exports) {
292
292
  var KEY__SHADOW_RESOLVER = '$shadowResolver$';
293
293
  var KEY__SHADOW_TOKEN = '$shadowToken$';
294
294
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
295
+ var KEY__SCOPED_CSS = '$scoped$';
295
296
  /**
296
297
  * Map composed of properties to attributes not following the HTML property to attribute mapping
297
298
  * convention.
@@ -340,7 +341,7 @@ var LWC = (function (exports) {
340
341
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
341
342
  return attributeName;
342
343
  }
343
- /** version: 2.4.0 */
344
+ /** version: 2.5.0 */
344
345
 
345
346
  /*
346
347
  * Copyright (c) 2018, salesforce.com, inc.
@@ -511,7 +512,7 @@ var LWC = (function (exports) {
511
512
 
512
513
  function setFeatureFlagForTest(name, value) {
513
514
  }
514
- /** version: 2.4.0 */
515
+ /** version: 2.5.0 */
515
516
 
516
517
  /* proxy-compat-disable */
517
518
 
@@ -3295,6 +3296,17 @@ var LWC = (function (exports) {
3295
3296
 
3296
3297
  function setElementShadowToken(elm, token) {
3297
3298
  elm.$shadowToken$ = token;
3299
+ } // Set the scope token class for *.scoped.css styles
3300
+
3301
+
3302
+ function setScopeTokenClassIfNecessary(elm, owner) {
3303
+ var cmpTemplate = owner.cmpTemplate,
3304
+ context = owner.context;
3305
+ var token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
3306
+
3307
+ if (!isUndefined$1(token) && context.hasScopedStyles) {
3308
+ owner.renderer.getClassList(elm).add(token);
3309
+ }
3298
3310
  }
3299
3311
 
3300
3312
  function updateNodeHook(oldVnode, vnode) {
@@ -3335,12 +3347,13 @@ var LWC = (function (exports) {
3335
3347
 
3336
3348
  function fallbackElmHook(elm, vnode) {
3337
3349
  var owner = vnode.owner;
3350
+ setScopeTokenClassIfNecessary(elm, owner);
3338
3351
 
3339
3352
  if (owner.shadowMode === 1
3340
3353
  /* Synthetic */
3341
3354
  ) {
3342
3355
  var context = vnode.data.context;
3343
- var shadowAttribute = owner.context.shadowAttribute;
3356
+ var stylesheetToken = owner.context.stylesheetToken;
3344
3357
 
3345
3358
  if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
3346
3359
  /* manual */
@@ -3351,7 +3364,7 @@ var LWC = (function (exports) {
3351
3364
  // into each element from the template, so they can be styled accordingly.
3352
3365
 
3353
3366
 
3354
- setElementShadowToken(elm, shadowAttribute);
3367
+ setElementShadowToken(elm, stylesheetToken);
3355
3368
  }
3356
3369
  }
3357
3370
 
@@ -3416,14 +3429,15 @@ var LWC = (function (exports) {
3416
3429
  mode = vnode.mode,
3417
3430
  ctor = vnode.ctor,
3418
3431
  owner = vnode.owner;
3432
+ setScopeTokenClassIfNecessary(elm, owner);
3419
3433
 
3420
3434
  if (owner.shadowMode === 1
3421
3435
  /* Synthetic */
3422
3436
  ) {
3423
- var shadowAttribute = owner.context.shadowAttribute; // when running in synthetic shadow mode, we need to set the shadowToken value
3437
+ var stylesheetToken = owner.context.stylesheetToken; // when running in synthetic shadow mode, we need to set the shadowToken value
3424
3438
  // into each element from the template, so they can be styled accordingly.
3425
3439
 
3426
- setElementShadowToken(elm, shadowAttribute);
3440
+ setElementShadowToken(elm, stylesheetToken);
3427
3441
  }
3428
3442
 
3429
3443
  var def = getComponentInternalDef(ctor);
@@ -4063,6 +4077,10 @@ var LWC = (function (exports) {
4063
4077
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4064
4078
  */
4065
4079
 
4080
+ function makeHostToken(token) {
4081
+ return "".concat(token, "-host");
4082
+ }
4083
+
4066
4084
  function createInlineStyleVNode(content) {
4067
4085
  return h('style', {
4068
4086
  key: 'style',
@@ -4072,49 +4090,86 @@ var LWC = (function (exports) {
4072
4090
  }, [t(content)]);
4073
4091
  }
4074
4092
 
4075
- function updateSyntheticShadowAttributes(vm, template) {
4093
+ function updateStylesheetToken(vm, template) {
4076
4094
  var elm = vm.elm,
4077
4095
  context = vm.context,
4078
4096
  renderer = vm.renderer,
4079
- renderMode = vm.renderMode;
4097
+ renderMode = vm.renderMode,
4098
+ shadowMode = vm.shadowMode;
4080
4099
  var newStylesheets = template.stylesheets,
4081
- newStylesheetTokens = template.stylesheetTokens;
4082
- var newTokens; // Reset the styling token applied to the host element.
4100
+ newStylesheetToken = template.stylesheetToken;
4101
+ var isSyntheticShadow = renderMode === 1
4102
+ /* Shadow */
4103
+ && shadowMode === 1
4104
+ /* Synthetic */
4105
+ ;
4106
+ var hasScopedStyles = context.hasScopedStyles;
4107
+ var newToken;
4108
+ var newHasTokenInClass;
4109
+ var newHasTokenInAttribute; // Reset the styling token applied to the host element.
4083
4110
 
4084
- var oldHostAttribute = context.hostAttribute;
4111
+ var oldToken = context.stylesheetToken,
4112
+ oldHasTokenInClass = context.hasTokenInClass,
4113
+ oldHasTokenInAttribute = context.hasTokenInAttribute;
4085
4114
 
4086
- if (!isUndefined$1(oldHostAttribute)) {
4087
- renderer.removeAttribute(elm, oldHostAttribute);
4115
+ if (oldHasTokenInClass) {
4116
+ renderer.getClassList(elm).remove(makeHostToken(oldToken));
4117
+ }
4118
+
4119
+ if (oldHasTokenInAttribute) {
4120
+ renderer.removeAttribute(elm, makeHostToken(oldToken));
4088
4121
  } // Apply the new template styling token to the host element, if the new template has any
4089
- // associated stylesheets.
4122
+ // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
4090
4123
 
4091
4124
 
4092
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0 && renderMode === 1
4093
- /* Shadow */
4094
- ) {
4095
- newTokens = newStylesheetTokens;
4096
- }
4125
+ if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
4126
+ newToken = newStylesheetToken;
4127
+ } // Set the new styling token on the host element
4128
+
4097
4129
 
4098
- if (!isUndefined$1(newTokens)) {
4099
- renderer.setAttribute(elm, newTokens.hostAttribute, '');
4130
+ if (!isUndefined$1(newToken)) {
4131
+ if (hasScopedStyles) {
4132
+ renderer.getClassList(elm).add(makeHostToken(newToken));
4133
+ newHasTokenInClass = true;
4134
+ }
4135
+
4136
+ if (isSyntheticShadow) {
4137
+ renderer.setAttribute(elm, makeHostToken(newToken), '');
4138
+ newHasTokenInAttribute = true;
4139
+ }
4100
4140
  } // Update the styling tokens present on the context object.
4101
4141
 
4102
4142
 
4103
- context.hostAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.hostAttribute;
4104
- context.shadowAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.shadowAttribute;
4143
+ context.stylesheetToken = newToken;
4144
+ context.hasTokenInClass = newHasTokenInClass;
4145
+ context.hasTokenInAttribute = newHasTokenInAttribute;
4105
4146
  }
4106
4147
 
4107
- function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, nativeShadow) {
4148
+ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
4108
4149
  var content = [];
4109
4150
 
4110
4151
  for (var _i12 = 0; _i12 < stylesheets.length; _i12++) {
4111
4152
  var stylesheet = stylesheets[_i12];
4112
4153
 
4113
4154
  if (isArray$1(stylesheet)) {
4114
- ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, hostSelector, shadowSelector, nativeShadow));
4155
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
4115
4156
  } else {
4157
+ // native shadow DOM. Synthetic shadow DOM never uses `:host`.
4158
+
4159
+
4160
+ var isScopedCss = stylesheet[KEY__SCOPED_CSS];
4161
+ var useActualHostSelector = vm.renderMode === 0
4162
+ /* Light */
4163
+ ? !isScopedCss : vm.shadowMode === 0
4164
+ /* Native */
4165
+ ; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
4116
4166
 
4117
- ArrayPush$1.call(content, stylesheet(hostSelector, shadowSelector, nativeShadow));
4167
+ var scopeToken = isScopedCss || vm.shadowMode === 1
4168
+ /* Synthetic */
4169
+ && vm.renderMode === 1
4170
+ /* Shadow */
4171
+ ? stylesheetToken : undefined;
4172
+ ArrayPush$1.call(content, stylesheet(useActualHostSelector, scopeToken));
4118
4173
  }
4119
4174
  }
4120
4175
 
@@ -4123,31 +4178,11 @@ var LWC = (function (exports) {
4123
4178
 
4124
4179
  function getStylesheetsContent(vm, template) {
4125
4180
  var stylesheets = template.stylesheets,
4126
- stylesheetTokens = template.stylesheetTokens;
4127
- var renderMode = vm.renderMode,
4128
- shadowMode = vm.shadowMode;
4181
+ stylesheetToken = template.stylesheetToken;
4129
4182
  var content = [];
4130
4183
 
4131
4184
  if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
4132
- var hostSelector;
4133
- var shadowSelector; // Scoping with the tokens is only necessary for synthetic shadow. For both
4134
- // light DOM elements and native shadow, we just render the CSS as-is.
4135
-
4136
- if (renderMode === 1
4137
- /* Shadow */
4138
- && shadowMode === 1
4139
- /* Synthetic */
4140
- && !isUndefined$1(stylesheetTokens)) {
4141
- hostSelector = "[".concat(stylesheetTokens.hostAttribute, "]");
4142
- shadowSelector = "[".concat(stylesheetTokens.shadowAttribute, "]");
4143
- } else {
4144
- hostSelector = '';
4145
- shadowSelector = '';
4146
- }
4147
-
4148
- content = evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, shadowMode === 0
4149
- /* Native */
4150
- );
4185
+ content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
4151
4186
  }
4152
4187
 
4153
4188
  return content;
@@ -4323,8 +4358,7 @@ var LWC = (function (exports) {
4323
4358
  context = vm.context,
4324
4359
  cmpSlots = vm.cmpSlots,
4325
4360
  cmpTemplate = vm.cmpTemplate,
4326
- tro = vm.tro,
4327
- shadowMode = vm.shadowMode;
4361
+ tro = vm.tro;
4328
4362
  tro.observe(function () {
4329
4363
  // Reset the cache memoizer for template when needed.
4330
4364
  if (html !== cmpTemplate) {
@@ -4346,15 +4380,12 @@ var LWC = (function (exports) {
4346
4380
 
4347
4381
  vm.cmpTemplate = html; // Create a brand new template cache for the swapped templated.
4348
4382
 
4349
- context.tplCache = create(null); // Update the synthetic shadow attributes on the host element if necessary.
4383
+ context.tplCache = create(null); // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
4350
4384
 
4351
- if (shadowMode === 1
4352
- /* Synthetic */
4353
- ) {
4354
- updateSyntheticShadowAttributes(vm, html);
4355
- } // Evaluate, create stylesheet and cache the produced VNode for future
4356
- // re-rendering.
4385
+ context.hasScopedStyles = computeHasScopedStyles(html); // Update the scoping token on the host element.
4357
4386
 
4387
+ updateStylesheetToken(vm, html); // Evaluate, create stylesheet and cache the produced VNode for future
4388
+ // re-rendering.
4358
4389
 
4359
4390
  var stylesheetsContent = getStylesheetsContent(vm, html);
4360
4391
  context.styleVNode = stylesheetsContent.length === 0 ? null : createStylesheet(vm, stylesheetsContent);
@@ -4385,6 +4416,20 @@ var LWC = (function (exports) {
4385
4416
 
4386
4417
  return vnodes;
4387
4418
  }
4419
+
4420
+ function computeHasScopedStyles(template) {
4421
+ var stylesheets = template.stylesheets;
4422
+
4423
+ if (!isUndefined$1(stylesheets)) {
4424
+ for (var _i15 = 0; _i15 < stylesheets.length; _i15++) {
4425
+ if (isTrue(stylesheets[_i15][KEY__SCOPED_CSS])) {
4426
+ return true;
4427
+ }
4428
+ }
4429
+ }
4430
+
4431
+ return false;
4432
+ }
4388
4433
  /*
4389
4434
  * Copyright (c) 2018, salesforce.com, inc.
4390
4435
  * All rights reserved.
@@ -4578,8 +4623,8 @@ var LWC = (function (exports) {
4578
4623
 
4579
4624
  function register(service) {
4580
4625
 
4581
- for (var _i15 = 0; _i15 < hooks.length; ++_i15) {
4582
- var hookName = hooks[_i15];
4626
+ for (var _i16 = 0; _i16 < hooks.length; ++_i16) {
4627
+ var hookName = hooks[_i16];
4583
4628
 
4584
4629
  if (hookName in service) {
4585
4630
  var l = Services[hookName];
@@ -4599,8 +4644,8 @@ var LWC = (function (exports) {
4599
4644
  def = vm.def,
4600
4645
  context = vm.context;
4601
4646
 
4602
- for (var _i16 = 0, _len6 = cbs.length; _i16 < _len6; ++_i16) {
4603
- cbs[_i16].call(undefined, component, {}, def, context);
4647
+ for (var _i17 = 0, _len6 = cbs.length; _i17 < _len6; ++_i17) {
4648
+ cbs[_i17].call(undefined, component, {}, def, context);
4604
4649
  }
4605
4650
  }
4606
4651
  /*
@@ -4734,8 +4779,10 @@ var LWC = (function (exports) {
4734
4779
  renderMode: def.renderMode,
4735
4780
  shadowMode: null,
4736
4781
  context: {
4737
- hostAttribute: undefined,
4738
- shadowAttribute: undefined,
4782
+ stylesheetToken: undefined,
4783
+ hasTokenInClass: undefined,
4784
+ hasTokenInAttribute: undefined,
4785
+ hasScopedStyles: undefined,
4739
4786
  styleVNode: null,
4740
4787
  tplCache: EmptyObject,
4741
4788
  wiredConnecting: EmptyArray,
@@ -4918,19 +4965,19 @@ var LWC = (function (exports) {
4918
4965
  });
4919
4966
  rehydrateQueue = []; // reset to a new queue
4920
4967
 
4921
- for (var _i17 = 0, _len7 = vms.length; _i17 < _len7; _i17 += 1) {
4922
- var vm = vms[_i17];
4968
+ for (var _i18 = 0, _len7 = vms.length; _i18 < _len7; _i18 += 1) {
4969
+ var vm = vms[_i18];
4923
4970
 
4924
4971
  try {
4925
4972
  rehydrate(vm);
4926
4973
  } catch (error) {
4927
- if (_i17 + 1 < _len7) {
4974
+ if (_i18 + 1 < _len7) {
4928
4975
  // pieces of the queue are still pending to be rehydrated, those should have priority
4929
4976
  if (rehydrateQueue.length === 0) {
4930
4977
  addCallbackToNextTick(flushRehydrationQueue);
4931
4978
  }
4932
4979
 
4933
- ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i17 + 1));
4980
+ ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i18 + 1));
4934
4981
  } // we need to end the measure before throwing.
4935
4982
 
4936
4983
 
@@ -5029,8 +5076,8 @@ var LWC = (function (exports) {
5029
5076
  var vCustomElementCollection = vm.velements; // Reporting disconnection for every child in inverse order since they are
5030
5077
  // inserted in reserved order.
5031
5078
 
5032
- for (var _i18 = vCustomElementCollection.length - 1; _i18 >= 0; _i18 -= 1) {
5033
- var elm = vCustomElementCollection[_i18].elm; // There are two cases where the element could be undefined:
5079
+ for (var _i19 = vCustomElementCollection.length - 1; _i19 >= 0; _i19 -= 1) {
5080
+ var elm = vCustomElementCollection[_i19].elm; // There are two cases where the element could be undefined:
5034
5081
  // * when there is an error during the construction phase, and an error
5035
5082
  // boundary picks it, there is a possibility that the VCustomElement
5036
5083
  // is not properly initialized, and therefore is should be ignored.
@@ -5064,8 +5111,8 @@ var LWC = (function (exports) {
5064
5111
 
5065
5112
 
5066
5113
  function recursivelyDisconnectChildren(vnodes) {
5067
- for (var _i19 = 0, _len8 = vnodes.length; _i19 < _len8; _i19 += 1) {
5068
- var vnode = vnodes[_i19];
5114
+ for (var _i20 = 0, _len8 = vnodes.length; _i20 < _len8; _i20 += 1) {
5115
+ var vnode = vnodes[_i20];
5069
5116
 
5070
5117
  if (!isNull(vnode) && isArray$1(vnode.children) && !isUndefined$1(vnode.elm)) {
5071
5118
  // vnode is a VElement with children
@@ -5089,8 +5136,8 @@ var LWC = (function (exports) {
5089
5136
  renderer = vm.renderer;
5090
5137
  var rootNode = getRenderRoot(vm);
5091
5138
 
5092
- for (var _i20 = 0, _len9 = children.length; _i20 < _len9; _i20++) {
5093
- var child = children[_i20];
5139
+ for (var _i21 = 0, _len9 = children.length; _i21 < _len9; _i21++) {
5140
+ var child = children[_i21];
5094
5141
 
5095
5142
  if (!isNull(child) && !isUndefined$1(child.elm)) {
5096
5143
  renderer.remove(child.elm, rootNode);
@@ -5135,8 +5182,8 @@ var LWC = (function (exports) {
5135
5182
  var oldSlots = vm.cmpSlots;
5136
5183
  var cmpSlots = vm.cmpSlots = create(null);
5137
5184
 
5138
- for (var _i21 = 0, _len10 = children.length; _i21 < _len10; _i21 += 1) {
5139
- var vnode = children[_i21];
5185
+ for (var _i22 = 0, _len10 = children.length; _i22 < _len10; _i22 += 1) {
5186
+ var vnode = children[_i22];
5140
5187
 
5141
5188
  if (isNull(vnode)) {
5142
5189
  continue;
@@ -5166,8 +5213,8 @@ var LWC = (function (exports) {
5166
5213
  return;
5167
5214
  }
5168
5215
 
5169
- for (var _i22 = 0, _len11 = oldKeys.length; _i22 < _len11; _i22 += 1) {
5170
- var key = oldKeys[_i22];
5216
+ for (var _i23 = 0, _len11 = oldKeys.length; _i23 < _len11; _i23 += 1) {
5217
+ var key = oldKeys[_i23];
5171
5218
 
5172
5219
  if (isUndefined$1(cmpSlots[key]) || oldSlots[key].length !== cmpSlots[key].length) {
5173
5220
  markComponentAsDirty(vm);
@@ -5506,8 +5553,8 @@ var LWC = (function (exports) {
5506
5553
  function connectWireAdapters(vm) {
5507
5554
  var wiredConnecting = vm.context.wiredConnecting;
5508
5555
 
5509
- for (var _i23 = 0, _len12 = wiredConnecting.length; _i23 < _len12; _i23 += 1) {
5510
- wiredConnecting[_i23]();
5556
+ for (var _i24 = 0, _len12 = wiredConnecting.length; _i24 < _len12; _i24 += 1) {
5557
+ wiredConnecting[_i24]();
5511
5558
  }
5512
5559
  }
5513
5560
 
@@ -5515,8 +5562,8 @@ var LWC = (function (exports) {
5515
5562
  var wiredDisconnecting = vm.context.wiredDisconnecting;
5516
5563
  runWithBoundaryProtection(vm, vm, noop, function () {
5517
5564
  // job
5518
- for (var _i24 = 0, _len13 = wiredDisconnecting.length; _i24 < _len13; _i24 += 1) {
5519
- wiredDisconnecting[_i24]();
5565
+ for (var _i25 = 0, _len13 = wiredDisconnecting.length; _i25 < _len13; _i25 += 1) {
5566
+ wiredDisconnecting[_i25]();
5520
5567
  }
5521
5568
  }, noop);
5522
5569
  }
@@ -5585,7 +5632,7 @@ var LWC = (function (exports) {
5585
5632
 
5586
5633
  return reactiveMembrane.getReadOnlyProxy(obj);
5587
5634
  }
5588
- /* version: 2.4.0 */
5635
+ /* version: 2.5.0 */
5589
5636
 
5590
5637
  /*
5591
5638
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6115,7 +6162,7 @@ var LWC = (function (exports) {
6115
6162
  });
6116
6163
  freeze(LightningElement);
6117
6164
  seal(LightningElement.prototype);
6118
- /* version: 2.4.0 */
6165
+ /* version: 2.5.0 */
6119
6166
 
6120
6167
  exports.LightningElement = LightningElement;
6121
6168
  exports.__unstable__ProfilerControl = profilerControl;