@vue/compiler-core
Advanced tools
Comparing version 3.0.0-beta.12 to 3.0.0-beta.13
@@ -172,2 +172,6 @@ import { generateCodeFrame } from '@vue/shared'; | ||
children: (SimpleExpressionNode | CompoundExpressionNode | InterpolationNode | TextNode | string | symbol)[]; | ||
/** | ||
* an expression parsed as the params of a function will track | ||
* the identifiers declared inside the function body. | ||
*/ | ||
identifiers?: string[]; | ||
@@ -265,2 +269,5 @@ } | ||
modifiers: string[]; | ||
/** | ||
* optional property to cache the expression parse result for v-for | ||
*/ | ||
parseResult?: ForParseResult; | ||
@@ -404,2 +411,6 @@ } | ||
newline: boolean; | ||
/** | ||
* This flag is for codegen to determine whether it needs to generate the | ||
* withScopeId() wrapper | ||
*/ | ||
isSlot: boolean; | ||
@@ -421,3 +432,3 @@ } | ||
export declare type HoistTransform = (node: PlainElementNode, context: TransformContext) => JSChildNode; | ||
export declare type HoistTransform = (children: TemplateChildNode[], context: TransformContext) => void; | ||
@@ -658,3 +669,3 @@ export declare interface IfBranchNode extends Node_2 { | ||
directives: string[]; | ||
hoists: JSChildNode[]; | ||
hoists: (JSChildNode | null)[]; | ||
imports: ImportItem[]; | ||
@@ -679,3 +690,16 @@ cached: number; | ||
isConstant: boolean; | ||
/** | ||
* Indicates this is an identifier for a hoist vnode call and points to the | ||
* hoisted node. | ||
*/ | ||
hoisted?: JSChildNode; | ||
/** | ||
* an expression parsed as the params of a function will track | ||
* the identifiers declared inside the function body. | ||
*/ | ||
identifiers?: string[]; | ||
/** | ||
* some expressions (e.g. transformAssetUrls import identifiers) are constant, | ||
* but cannot be stringified because they must be first evaluated at runtime. | ||
*/ | ||
isRuntimeConstant?: boolean; | ||
@@ -777,3 +801,3 @@ } | ||
directives: Set<string>; | ||
hoists: JSChildNode[]; | ||
hoists: (JSChildNode | null)[]; | ||
imports: Set<ImportItem>; | ||
@@ -780,0 +804,0 @@ temps: number; |
{ | ||
"name": "@vue/compiler-core", | ||
"version": "3.0.0-beta.12", | ||
"version": "3.0.0-beta.13", | ||
"description": "@vue/compiler-core", | ||
@@ -33,3 +33,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-beta.12", | ||
"@vue/shared": "3.0.0-beta.13", | ||
"@babel/parser": "^7.8.6", | ||
@@ -36,0 +36,0 @@ "@babel/types": "^7.8.6", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
480220
12217
+ Added@vue/shared@3.0.0-beta.13(transitive)
- Removed@vue/shared@3.0.0-beta.12(transitive)
Updated@vue/shared@3.0.0-beta.13