@vue/compiler-core 3.4.0-rc.2 → 3.4.0-rc.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.
@@ -3323,7 +3323,6 @@ function createRootCodegen(root, context) {
3323
3323
  true,
3324
3324
  void 0,
3325
3325
  false
3326
- /* isComponent */
3327
3326
  );
3328
3327
  } else ;
3329
3328
  }
@@ -3514,7 +3513,7 @@ function createCodegenContext(ast, {
3514
3513
  generatedLine: context.line,
3515
3514
  generatedColumn: context.column - 1,
3516
3515
  source: filename,
3517
- // @ts-ignore it is possible to be null
3516
+ // @ts-expect-error it is possible to be null
3518
3517
  name
3519
3518
  });
3520
3519
  }
@@ -4718,7 +4717,6 @@ const transformFor = createStructuralDirectiveTransform(
4718
4717
  true,
4719
4718
  void 0,
4720
4719
  false
4721
- /* isComponent */
4722
4720
  );
4723
4721
  } else {
4724
4722
  childBlock = children[0].codegenNode;
@@ -4775,7 +4773,6 @@ const transformFor = createStructuralDirectiveTransform(
4775
4773
  createForLoopParams(forNode.parseResult),
4776
4774
  childBlock,
4777
4775
  true
4778
- /* force newline */
4779
4776
  )
4780
4777
  );
4781
4778
  }
@@ -5033,13 +5030,15 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
5033
5030
  createForLoopParams(parseResult),
5034
5031
  buildDynamicSlot(slotName, slotFunction),
5035
5032
  true
5036
- /* force newline */
5037
5033
  )
5038
5034
  ])
5039
5035
  );
5040
5036
  } else {
5041
5037
  context.onError(
5042
- createCompilerError(32, vFor.loc)
5038
+ createCompilerError(
5039
+ 32,
5040
+ vFor.loc
5041
+ )
5043
5042
  );
5044
5043
  }
5045
5044
  } else {
@@ -3264,7 +3264,6 @@ function createRootCodegen(root, context) {
3264
3264
  true,
3265
3265
  void 0,
3266
3266
  false
3267
- /* isComponent */
3268
3267
  );
3269
3268
  } else ;
3270
3269
  }
@@ -3455,7 +3454,7 @@ function createCodegenContext(ast, {
3455
3454
  generatedLine: context.line,
3456
3455
  generatedColumn: context.column - 1,
3457
3456
  source: filename,
3458
- // @ts-ignore it is possible to be null
3457
+ // @ts-expect-error it is possible to be null
3459
3458
  name
3460
3459
  });
3461
3460
  }
@@ -4637,7 +4636,6 @@ const transformFor = createStructuralDirectiveTransform(
4637
4636
  true,
4638
4637
  void 0,
4639
4638
  false
4640
- /* isComponent */
4641
4639
  );
4642
4640
  } else {
4643
4641
  childBlock = children[0].codegenNode;
@@ -4694,7 +4692,6 @@ const transformFor = createStructuralDirectiveTransform(
4694
4692
  createForLoopParams(forNode.parseResult),
4695
4693
  childBlock,
4696
4694
  true
4697
- /* force newline */
4698
4695
  )
4699
4696
  );
4700
4697
  }
@@ -4952,13 +4949,15 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
4952
4949
  createForLoopParams(parseResult),
4953
4950
  buildDynamicSlot(slotName, slotFunction),
4954
4951
  true
4955
- /* force newline */
4956
4952
  )
4957
4953
  ])
4958
4954
  );
4959
4955
  } else {
4960
4956
  context.onError(
4961
- createCompilerError(32, vFor.loc)
4957
+ createCompilerError(
4958
+ 32,
4959
+ vFor.loc
4960
+ )
4962
4961
  );
4963
4962
  }
4964
4963
  } else {
@@ -116,7 +116,7 @@ export interface TransformContext extends Required<Omit<TransformOptions, keyof
116
116
  constantCache: WeakMap<TemplateChildNode, ConstantTypes>;
117
117
  filters?: Set<string>;
118
118
  }
119
- export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, hmr, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig }: TransformOptions): TransformContext;
119
+ export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, hmr, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig, }: TransformOptions): TransformContext;
120
120
  export declare function transform(root: RootNode, options: TransformOptions): void;
121
121
  export declare function traverseNode(node: RootNode | TemplateChildNode, context: TransformContext): void;
122
122
  export declare function createStructuralDirectiveTransform(name: string | RegExp, fn: StructuralDirectiveTransform): NodeTransform;
@@ -3039,7 +3039,6 @@ function createRootCodegen(root, context) {
3039
3039
  true,
3040
3040
  void 0,
3041
3041
  false
3042
- /* isComponent */
3043
3042
  );
3044
3043
  } else ;
3045
3044
  }
@@ -4059,7 +4058,6 @@ const transformFor = createStructuralDirectiveTransform(
4059
4058
  true,
4060
4059
  void 0,
4061
4060
  false
4062
- /* isComponent */
4063
4061
  );
4064
4062
  } else {
4065
4063
  childBlock = children[0].codegenNode;
@@ -4116,7 +4114,6 @@ const transformFor = createStructuralDirectiveTransform(
4116
4114
  createForLoopParams(forNode.parseResult),
4117
4115
  childBlock,
4118
4116
  true
4119
- /* force newline */
4120
4117
  )
4121
4118
  );
4122
4119
  }
@@ -4352,13 +4349,15 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
4352
4349
  createForLoopParams(parseResult),
4353
4350
  buildDynamicSlot(slotName, slotFunction),
4354
4351
  true
4355
- /* force newline */
4356
4352
  )
4357
4353
  ])
4358
4354
  );
4359
4355
  } else {
4360
4356
  context.onError(
4361
- createCompilerError(32, vFor.loc)
4357
+ createCompilerError(
4358
+ 32,
4359
+ vFor.loc
4360
+ )
4362
4361
  );
4363
4362
  }
4364
4363
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.4.0-rc.2",
3
+ "version": "3.4.0-rc.3",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -36,7 +36,7 @@
36
36
  "entities": "^4.5.0",
37
37
  "estree-walker": "^2.0.2",
38
38
  "source-map-js": "^1.0.2",
39
- "@vue/shared": "3.4.0-rc.2"
39
+ "@vue/shared": "3.4.0-rc.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/types": "^7.23.6"