@lwc/engine-core 6.6.3 → 6.6.5

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/LICENSE.md CHANGED
@@ -15,7 +15,27 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
15
15
 
16
16
  ## @parse5/tools
17
17
 
18
- MIT license defined in package.json in v0.4.0.
18
+ The MIT License (MIT)
19
+
20
+ Copyright © 2024 James Garbutt
21
+
22
+ Permission is hereby granted, free of charge, to any person obtaining a copy
23
+ of this software and associated documentation files (the “Software”), to deal
24
+ in the Software without restriction, including without limitation the rights
25
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
26
+ copies of the Software, and to permit persons to whom the Software is
27
+ furnished to do so, subject to the following conditions:
28
+
29
+ The above copyright notice and this permission notice shall be included in
30
+ all copies or substantial portions of the Software.
31
+
32
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
38
+ THE SOFTWARE.
19
39
 
20
40
  ## entities
21
41
 
@@ -27,7 +27,7 @@ export interface BaseVParent {
27
27
  export interface BaseVNode {
28
28
  type: VNodeType;
29
29
  elm: Node | undefined;
30
- sel: string | undefined;
30
+ sel: string;
31
31
  key: Key | undefined;
32
32
  owner: VM;
33
33
  }
@@ -35,6 +35,7 @@ export interface VScopedSlotFragment extends BaseVNode {
35
35
  factory: (value: any, key: any) => VFragment;
36
36
  type: VNodeType.ScopedSlotFragment;
37
37
  slotName: unknown;
38
+ sel: '__scoped_slot_fragment__';
38
39
  }
39
40
  export interface VStaticPart {
40
41
  readonly type: VStaticPartType;
@@ -56,7 +57,7 @@ export interface VStaticPartText extends VStaticPart {
56
57
  export type VStaticPartData = Pick<VElementData, 'on' | 'ref' | 'attrs' | 'style' | 'className'>;
57
58
  export interface VStatic extends BaseVNode {
58
59
  readonly type: VNodeType.Static;
59
- readonly sel: undefined;
60
+ readonly sel: '__static__';
60
61
  readonly key: Key;
61
62
  readonly fragment: Element;
62
63
  readonly parts: VStaticPart[] | undefined;
@@ -64,7 +65,7 @@ export interface VStatic extends BaseVNode {
64
65
  slotAssignment: string | undefined;
65
66
  }
66
67
  export interface VFragment extends BaseVNode, BaseVParent {
67
- sel: undefined;
68
+ sel: '__fragment__';
68
69
  type: VNodeType.Fragment;
69
70
  stable: 0 | 1;
70
71
  leading: VText | VComment;
@@ -72,15 +73,15 @@ export interface VFragment extends BaseVNode, BaseVParent {
72
73
  }
73
74
  export interface VText extends BaseVNode {
74
75
  type: VNodeType.Text;
75
- sel: undefined;
76
+ sel: '__text__';
76
77
  text: string;
77
78
  key: undefined;
78
79
  }
79
80
  export interface VComment extends BaseVNode {
80
81
  type: VNodeType.Comment;
81
- sel: undefined;
82
+ sel: '__comment__';
82
83
  text: string;
83
- key: 'c';
84
+ key: undefined;
84
85
  }
85
86
  export interface VBaseElement extends BaseVNode, BaseVParent {
86
87
  sel: string;
package/dist/index.cjs.js CHANGED
@@ -5059,7 +5059,7 @@ function ssf(slotName, factory) {
5059
5059
  factory,
5060
5060
  owner: getVMBeingRendered(),
5061
5061
  elm: undefined,
5062
- sel: undefined,
5062
+ sel: '__scoped_slot_fragment__',
5063
5063
  key: undefined,
5064
5064
  slotName,
5065
5065
  };
@@ -5070,7 +5070,7 @@ function st(fragmentFactory, key, parts) {
5070
5070
  const fragment = fragmentFactory(parts);
5071
5071
  const vnode = {
5072
5072
  type: 4 /* VNodeType.Static */,
5073
- sel: undefined,
5073
+ sel: '__static__',
5074
5074
  key,
5075
5075
  elm: undefined,
5076
5076
  fragment,
@@ -5088,7 +5088,7 @@ function fr(key, children, stable) {
5088
5088
  const trailing = useCommentNodes ? co('') : t('');
5089
5089
  return {
5090
5090
  type: 5 /* VNodeType.Fragment */,
5091
- sel: undefined,
5091
+ sel: '__fragment__',
5092
5092
  key,
5093
5093
  elm: undefined,
5094
5094
  children: [leading, ...children, trailing],
@@ -5373,10 +5373,10 @@ function f(items) {
5373
5373
  }
5374
5374
  // [t]ext node
5375
5375
  function t(text) {
5376
- let sel, key, elm;
5376
+ let key, elm;
5377
5377
  return {
5378
5378
  type: 0 /* VNodeType.Text */,
5379
- sel,
5379
+ sel: '__text__',
5380
5380
  text,
5381
5381
  elm,
5382
5382
  key,
@@ -5385,13 +5385,13 @@ function t(text) {
5385
5385
  }
5386
5386
  // [co]mment node
5387
5387
  function co(text) {
5388
- let sel, elm;
5388
+ let elm, key;
5389
5389
  return {
5390
5390
  type: 1 /* VNodeType.Comment */,
5391
- sel,
5391
+ sel: '__comment__',
5392
5392
  text,
5393
5393
  elm,
5394
- key: 'c',
5394
+ key,
5395
5395
  owner: getVMBeingRendered(),
5396
5396
  };
5397
5397
  }
@@ -7965,5 +7965,5 @@ exports.swapTemplate = swapTemplate;
7965
7965
  exports.track = track;
7966
7966
  exports.unwrap = unwrap;
7967
7967
  exports.wire = wire;
7968
- /** version: 6.6.3 */
7968
+ /** version: 6.6.5 */
7969
7969
  //# sourceMappingURL=index.cjs.js.map