@vue/compiler-core 3.2.40 → 3.2.42
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/dist/compiler-core.cjs.js +5662 -5648
- package/dist/compiler-core.cjs.prod.js +5536 -5518
- package/dist/compiler-core.d.ts +4 -2
- package/dist/compiler-core.esm-bundler.js +4853 -4830
- package/package.json +2 -2
package/dist/compiler-core.d.ts
CHANGED
|
@@ -548,7 +548,7 @@ export declare function hasDynamicKeyVBind(node: ElementNode): boolean;
|
|
|
548
548
|
|
|
549
549
|
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | undefined, ids: TransformContext['identifiers']): boolean;
|
|
550
550
|
|
|
551
|
-
export declare const helperNameMap:
|
|
551
|
+
export declare const helperNameMap: Record<symbol, string>;
|
|
552
552
|
|
|
553
553
|
export declare type HoistTransform = (children: TemplateChildNode[], context: TransformContext, parent: ParentNode_2) => void;
|
|
554
554
|
|
|
@@ -824,7 +824,7 @@ export declare type PropsExpression = ObjectExpression | CallExpression | Expres
|
|
|
824
824
|
|
|
825
825
|
export declare const PUSH_SCOPE_ID: unique symbol;
|
|
826
826
|
|
|
827
|
-
export declare function registerRuntimeHelpers(helpers:
|
|
827
|
+
export declare function registerRuntimeHelpers(helpers: Record<symbol, string>): void;
|
|
828
828
|
|
|
829
829
|
export declare const RENDER_LIST: unique symbol;
|
|
830
830
|
|
|
@@ -982,6 +982,8 @@ export declare interface SourceLocation {
|
|
|
982
982
|
|
|
983
983
|
export declare type SSRCodegenNode = BlockStatement | TemplateLiteral | IfStatement | AssignmentExpression | ReturnStatement | SequenceExpression;
|
|
984
984
|
|
|
985
|
+
export declare function stringifyExpression(exp: ExpressionNode | string): string;
|
|
986
|
+
|
|
985
987
|
export declare type StructuralDirectiveTransform = (node: ElementNode, dir: DirectiveNode, context: TransformContext) => void | (() => void);
|
|
986
988
|
|
|
987
989
|
export declare const SUSPENSE: unique symbol;
|