@vue/compiler-core
Advanced tools
Comparing version
@@ -0,3 +1,9 @@ | ||
import { BlockStatement as BlockStatement_2 } from '@babel/types'; | ||
import { Function as Function_2 } from '@babel/types'; | ||
import { generateCodeFrame } from '@vue/shared'; | ||
import { Identifier } from '@babel/types'; | ||
import { Node as Node_3 } from '@babel/types'; | ||
import { ObjectProperty } from '@babel/types'; | ||
import { ParserPlugin } from '@babel/parser'; | ||
import { Program } from '@babel/types'; | ||
import { RawSourceMap } from 'source-map'; | ||
@@ -441,2 +447,4 @@ import { SourceMapGenerator } from 'source-map'; | ||
export declare function extractIdentifiers(param: Node_3, nodes?: Identifier[]): Identifier[]; | ||
export declare function findDir(node: ElementNode, name: string | RegExp, allowEmpty?: boolean): DirectiveNode | undefined; | ||
@@ -579,2 +587,6 @@ | ||
export declare const isFunctionType: (node: Node_3) => node is Function_2; | ||
export declare function isInDestructureAssignment(parent: Node_3, parentStack: Node_3[]): boolean; | ||
/** | ||
@@ -588,2 +600,4 @@ * Simple lexer to check if an expression is a member expression. This is | ||
export declare function isReferencedIdentifier(id: Identifier, parent: Node_3 | null, parentStack: Node_3[]): boolean; | ||
export declare const isSimpleIdentifier: (name: string) => boolean; | ||
@@ -595,2 +609,6 @@ | ||
export declare const isStaticProperty: (node: Node_3) => node is ObjectProperty; | ||
export declare const isStaticPropertyKey: (node: Node_3, parent: Node_3) => boolean; | ||
export declare function isTemplateNode(node: RootNode | TemplateChildNode): node is TemplateNode; | ||
@@ -1145,2 +1163,8 @@ | ||
export declare function walkBlockDeclarations(block: BlockStatement_2 | Program, onIdent: (node: Identifier) => void): void; | ||
export declare function walkFunctionParams(node: Function_2, onIdent: (id: Identifier) => void): void; | ||
export declare function walkIdentifiers(root: Node_3, onIdentifier: (node: Identifier, parent: Node_3, parentStack: Node_3[], isReference: boolean, isLocal: boolean) => void, includeAll?: boolean, parentStack?: Node_3[], knownIds?: Record<string, number>): void; | ||
export declare function warnDeprecation(key: CompilerDeprecationTypes, context: ParserContext | TransformContext, loc: SourceLocation | null, ...args: any[]): void; | ||
@@ -1147,0 +1171,0 @@ |
{ | ||
"name": "@vue/compiler-core", | ||
"version": "3.2.4", | ||
"version": "3.2.5", | ||
"description": "@vue/compiler-core", | ||
@@ -35,8 +35,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.2.4", | ||
"@babel/parser": "^7.12.0", | ||
"@babel/types": "^7.12.0", | ||
"estree-walker": "^2.0.1", | ||
"@vue/shared": "3.2.5", | ||
"@babel/parser": "^7.15.0", | ||
"@babel/types": "^7.15.0", | ||
"estree-walker": "^2.0.2", | ||
"source-map": "^0.6.1" | ||
} | ||
} |
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
677323
1.87%16862
2.1%+ Added
- Removed
Updated
Updated
Updated
Updated