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.12 to 3.0.0-beta.13

30

dist/compiler-core.d.ts

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

4

package.json
{
"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

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