lwc 2.45.2 → 2.45.3

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 (68) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +45 -52
  2. package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
  3. package/dist/engine-dom/iife/es2017/engine-dom.js +45 -52
  4. package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
  5. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  6. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +51 -50
  7. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
  8. package/dist/engine-dom/iife/es5/engine-dom.js +51 -56
  9. package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
  10. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  11. package/dist/engine-dom/iife/es5/engine-dom_debug.js +57 -54
  12. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
  13. package/dist/engine-dom/umd/es2017/engine-dom.js +45 -52
  14. package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
  15. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  16. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +51 -50
  17. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
  18. package/dist/engine-dom/umd/es5/engine-dom.js +51 -56
  19. package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
  20. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  21. package/dist/engine-dom/umd/es5/engine-dom_debug.js +57 -54
  22. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
  23. package/dist/engine-server/commonjs/es2017/engine-server.js +7795 -91
  24. package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
  25. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  26. package/dist/engine-server/esm/es2017/engine-server.js +7794 -71
  27. package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
  28. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +71 -12
  29. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
  30. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +71 -12
  31. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
  32. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +39 -1
  33. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +55 -5
  34. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
  35. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +71 -12
  36. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
  37. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +39 -1
  38. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +43 -4
  39. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
  40. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +71 -12
  41. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
  42. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +39 -1
  43. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +55 -5
  44. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
  45. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +71 -12
  46. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
  47. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +39 -1
  48. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +43 -4
  49. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
  50. package/dist/wire-service/esm/es2017/wire-service.js +10 -4
  51. package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
  52. package/dist/wire-service/iife/es2017/wire-service.js +10 -4
  53. package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
  54. package/dist/wire-service/iife/es2017/wire-service_debug.js +10 -4
  55. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
  56. package/dist/wire-service/iife/es5/wire-service.js +10 -4
  57. package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
  58. package/dist/wire-service/iife/es5/wire-service_debug.js +10 -4
  59. package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
  60. package/dist/wire-service/umd/es2017/wire-service.js +10 -4
  61. package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
  62. package/dist/wire-service/umd/es2017/wire-service_debug.js +10 -4
  63. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
  64. package/dist/wire-service/umd/es5/wire-service.js +10 -4
  65. package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
  66. package/dist/wire-service/umd/es5/wire-service_debug.js +10 -4
  67. package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
  68. package/package.json +7 -7
@@ -11,9 +11,11 @@
11
11
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
14
- /* proxy-compat-disable */
15
14
  /**
16
- * Copyright (C) 2018 salesforce.com, inc.
15
+ * Copyright (C) 2023 salesforce.com, inc.
16
+ */
17
+ /**
18
+ * Copyright (C) 2023 salesforce.com, inc.
17
19
  */
18
20
  /*
19
21
  * Copyright (c) 2018, salesforce.com, inc.
@@ -153,10 +155,10 @@
153
155
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
154
156
  return Symbol('x').toString() === 'Symbol(x)';
155
157
  }();
156
- /** version: 2.45.2 */
158
+ /** version: 2.45.3 */
157
159
 
158
160
  /**
159
- * Copyright (C) 2018 salesforce.com, inc.
161
+ * Copyright (C) 2023 salesforce.com, inc.
160
162
  */
161
163
  // eslint-disable-next-line no-restricted-properties
162
164
  if (!_globalThis.lwcRuntimeFlags) {
@@ -164,7 +166,7 @@
164
166
  value: create(null)
165
167
  });
166
168
  }
167
- /** version: 2.45.2 */
169
+ /** version: 2.45.3 */
168
170
 
169
171
  /*
170
172
  * Copyright (c) 2018, salesforce.com, inc.
@@ -551,9 +553,18 @@
551
553
  }
552
554
  function isNodeSlotted(host, node) {
553
555
  if (process.env.NODE_ENV !== 'production') {
554
- assert.invariant(host instanceof HTMLElement, "isNodeSlotted() should be called with a host as the first argument instead of ".concat(host));
555
- assert.invariant(node instanceof _Node, "isNodeSlotted() should be called with a node as the second argument instead of ".concat(node));
556
- assert.invariant(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS, "isNodeSlotted() should never be called with a node that is not a child node of ".concat(host));
556
+ if (!(host instanceof HTMLElement)) {
557
+ // eslint-disable-next-line no-console
558
+ console.error("isNodeSlotted() should be called with a host as the first argument");
559
+ }
560
+ if (!(node instanceof _Node)) {
561
+ // eslint-disable-next-line no-console
562
+ console.error("isNodeSlotted() should be called with a node as the second argument");
563
+ }
564
+ if (!(compareDocumentPosition.call(node, host) & DOCUMENT_POSITION_CONTAINS)) {
565
+ // eslint-disable-next-line no-console
566
+ console.error("isNodeSlotted() should never be called with a node that is not a child node of the given host");
567
+ }
557
568
  }
558
569
  var hostKey = getNodeKey(host);
559
570
  // this routine assumes that the node is coming from a different shadow (it is not owned by the host)
@@ -634,9 +645,18 @@
634
645
  }
635
646
  function isNodeOwnedBy(owner, node) {
636
647
  if (process.env.NODE_ENV !== 'production') {
637
- assert.invariant(owner instanceof HTMLElement, "isNodeOwnedBy() should be called with an element as the first argument instead of ".concat(owner));
638
- assert.invariant(node instanceof _Node, "isNodeOwnedBy() should be called with a node as the second argument instead of ".concat(node));
639
- assert.invariant(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS, "isNodeOwnedBy() should never be called with a node that is not a child node of ".concat(owner));
648
+ if (!(owner instanceof HTMLElement)) {
649
+ // eslint-disable-next-line no-console
650
+ console.error("isNodeOwnedBy() should be called with an element as the first argument");
651
+ }
652
+ if (!(node instanceof _Node)) {
653
+ // eslint-disable-next-line no-console
654
+ console.error("isNodeOwnedBy() should be called with a node as the second argument");
655
+ }
656
+ if (!(compareDocumentPosition.call(node, owner) & DOCUMENT_POSITION_CONTAINS)) {
657
+ // eslint-disable-next-line no-console
658
+ console.error("isNodeOwnedBy() should never be called with a node that is not a child node of of the given owner");
659
+ }
640
660
  }
641
661
  var ownerKey = getNodeNearestOwnerKey(node);
642
662
  if (isUndefined(ownerKey)) {
@@ -749,6 +769,16 @@
749
769
  * SPDX-License-Identifier: MIT
750
770
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
751
771
  */
772
+ /**
773
+ @license
774
+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
775
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
776
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
777
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
778
+ Code distributed by Google as part of the polymer project is also
779
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
780
+ */
781
+ // This code is inspired by Polymer ShadyDOM Polyfill
752
782
  function getInnerHTML(node) {
753
783
  var s = '';
754
784
  var childNodes = getFilteredChildNodes(node);
@@ -764,6 +794,16 @@
764
794
  * SPDX-License-Identifier: MIT
765
795
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
766
796
  */
797
+ /**
798
+ @license
799
+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
800
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
801
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
802
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
803
+ Code distributed by Google as part of the polymer project is also
804
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
805
+ */
806
+ // This code is inspired by Polymer ShadyDOM Polyfill
767
807
  // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
768
808
  var escapeAttrRegExp = /[&\u00A0"]/g;
769
809
  var escapeDataRegExp = /[&\u00A0<>]/g;
@@ -848,6 +888,16 @@
848
888
  * SPDX-License-Identifier: MIT
849
889
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
850
890
  */
891
+ /**
892
+ @license
893
+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
894
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
895
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
896
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
897
+ Code distributed by Google as part of the polymer project is also
898
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
899
+ */
900
+ // This code is inspired by Polymer ShadyDOM Polyfill
851
901
  function getTextContent(node) {
852
902
  switch (node.nodeType) {
853
903
  case ELEMENT_NODE:
@@ -2333,6 +2383,15 @@
2333
2383
  * SPDX-License-Identifier: MIT
2334
2384
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2335
2385
  */
2386
+ /**
2387
+ @license
2388
+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
2389
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2390
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2391
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2392
+ Code distributed by Google as part of the polymer project is also
2393
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2394
+ */
2336
2395
  function pathComposer(startNode, composed) {
2337
2396
  var composedPath = [];
2338
2397
  var startRoot;
@@ -4671,7 +4730,7 @@
4671
4730
  },
4672
4731
  configurable: true
4673
4732
  });
4674
- /** version: 2.45.2 */
4733
+ /** version: 2.45.3 */
4675
4734
 
4676
4735
  }));
4677
4736
  //# sourceMappingURL=synthetic-shadow.js.map