@vue/compiler-core
Advanced tools
Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8
@@ -1,5 +0,7 @@ | ||
import { parse } from 'acorn'; | ||
import { generateCodeFrame } from '@vue/shared'; | ||
import { Node as Node_2 } from '@babel/types'; | ||
import { parse } from '@babel/parser'; | ||
import { ParserPlugin } from '@babel/parser'; | ||
import { RawSourceMap } from 'source-map'; | ||
import { SourceMapGenerator } from 'source-map'; | ||
import { walk } from 'estree-walker'; | ||
@@ -179,3 +181,3 @@ export declare function advancePositionWithClone(pos: Position, source: string, numberOfCharacters?: number): Position; | ||
[code: number]: string; | ||
}): T extends ErrorCodes ? CoreCompilerError : CompilerError; | ||
}, additionalMessage?: string): T extends ErrorCodes ? CoreCompilerError : CompilerError; | ||
@@ -208,3 +210,3 @@ export declare function createCompoundExpression(children: CompoundExpressionNode['children'], loc?: SourceLocation): CompoundExpressionNode; | ||
export declare function createTransformContext(root: RootNode, { prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, scopeId, ssr, onError }: TransformOptions): TransformContext; | ||
export declare function createTransformContext(root: RootNode, { prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, expressionPlugins, scopeId, ssr, onError }: TransformOptions): TransformContext; | ||
@@ -377,5 +379,4 @@ export declare function createVNodeCall(context: TransformContext | null, tag: VNodeCall['tag'], props?: VNodeCall['props'], children?: VNodeCall['children'], patchFlag?: VNodeCall['patchFlag'], dynamicProps?: VNodeCall['dynamicProps'], directives?: VNodeCall['directives'], isBlock?: VNodeCall['isBlock'], isForBlock?: VNodeCall['isForBlock'], loc?: SourceLocation): VNodeCall; | ||
export declare function generate(ast: RootNode, options?: CodegenOptions): CodegenResult; | ||
export { generateCodeFrame } | ||
export declare const generateCodeFrame: (source: string, start?: number | undefined, end?: number | undefined) => string; | ||
export declare function getBaseTransformPreset(prefixIdentifiers?: boolean): TransformPreset; | ||
@@ -751,2 +752,3 @@ | ||
cacheHandlers?: boolean; | ||
expressionPlugins?: ParserPlugin[]; | ||
scopeId?: string | null; | ||
@@ -773,4 +775,9 @@ ssr?: boolean; | ||
export declare const walkJS: typeof walk; | ||
declare interface Walker { | ||
enter?(node: Node_2, parent: Node_2): void; | ||
leave?(node: Node_2): void; | ||
} | ||
export declare const walkJS: (ast: Node_2, walker: Walker) => any; | ||
export declare const WITH_DIRECTIVES: unique symbol; | ||
@@ -777,0 +784,0 @@ |
{ | ||
"name": "@vue/compiler-core", | ||
"version": "3.0.0-alpha.7", | ||
"version": "3.0.0-alpha.8", | ||
"description": "@vue/compiler-core", | ||
@@ -21,3 +21,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/vuejs/vue.git" | ||
"url": "git+https://github.com/vuejs/vue-next.git" | ||
}, | ||
@@ -30,7 +30,9 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/vuejs/vue/issues" | ||
"url": "https://github.com/vuejs/vue-next/issues" | ||
}, | ||
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-core#readme", | ||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", | ||
"dependencies": { | ||
"acorn": "^7.1.0", | ||
"@vue/shared": "3.0.0-alpha.8", | ||
"@babel/parser": "^7.8.6", | ||
"@babel/types": "^7.8.6", | ||
"estree-walker": "^0.8.1", | ||
@@ -37,0 +39,0 @@ "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
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
493513
5
12497
64
+ Added@babel/parser@^7.8.6
+ Added@babel/types@^7.8.6
+ Added@vue/shared@3.0.0-alpha.8
+ Added@babel/helper-string-parser@7.24.8(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/parser@7.25.6(transitive)
+ Added@babel/types@7.25.6(transitive)
+ Added@vue/shared@3.0.0-alpha.8(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
- Removedacorn@^7.1.0
- Removedacorn@7.4.1(transitive)