Socket
Socket
Sign inDemoInstall

@vue/compiler-core

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/compiler-core - npm Package Compare versions

Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8

21

dist/compiler-core.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc