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-beta.20 to 3.0.0-beta.21

25

dist/compiler-core.d.ts

@@ -47,2 +47,6 @@ import { generateCodeFrame } from '@vue/shared';

export declare interface BindingMetadata {
[key: string]: 'data' | 'props' | 'setup' | 'options';
}
export declare type BlockCodegenNode = VNodeCall | RenderSlotCall;

@@ -82,3 +86,5 @@

export declare interface CodegenContext extends Required<CodegenOptions> {
export declare const CAPITALIZE: unique symbol;
export declare interface CodegenContext extends Omit<Required<CodegenOptions>, 'bindingMetadata'> {
source: string;

@@ -131,3 +137,3 @@ code: string;

*/
optimizeBindings?: boolean;
optimizeImports?: boolean;
/**

@@ -145,2 +151,3 @@ * Customize where to import runtime helpers from.

prefixIdentifiers?: boolean;
bindingMetadata?: BindingMetadata;
ssr?: boolean;

@@ -254,3 +261,3 @@ }

export declare function createTransformContext(root: RootNode, { prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, expressionPlugins, scopeId, ssr, onError }: TransformOptions): TransformContext;
export declare function createTransformContext(root: RootNode, { prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, expressionPlugins, scopeId, ssr, ssrCssVars, bindingMetadata, onError }: TransformOptions): TransformContext;

@@ -486,2 +493,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'], disableTracking?: VNodeCall['disableTracking'], loc?: SourceLocation): VNodeCall;

export declare const isStaticExp: (p: JSChildNode) => p is SimpleExpressionNode;
export declare function isTemplateNode(node: RootNode | TemplateChildNode): node is TemplateNode;

@@ -901,2 +910,12 @@

ssr?: boolean;
/**
* SFC <style vars> injection string
* needed to render inline CSS variables on component root
*/
ssrCssVars?: string;
/**
* Optional binding metadata analyzed from script - used to optimize
* binding access when `prefixIdentifiers` is enabled.
*/
bindingMetadata?: BindingMetadata;
onError?: (error: CompilerError) => void;

@@ -903,0 +922,0 @@ }

10

package.json
{
"name": "@vue/compiler-core",
"version": "3.0.0-beta.20",
"version": "3.0.0-beta.21",
"description": "@vue/compiler-core",

@@ -33,8 +33,8 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.0.0-beta.20",
"@babel/parser": "^7.8.6",
"@babel/types": "^7.8.6",
"estree-walker": "^0.8.1",
"@vue/shared": "3.0.0-beta.21",
"@babel/parser": "^7.10.4",
"@babel/types": "^7.10.4",
"estree-walker": "^2.0.1",
"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