Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/compiler-core-canary

Package Overview
Dependencies
Maintainers
0
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/compiler-core-canary - npm Package Compare versions

Comparing version 3.20240624.0 to 3.20240624.1-minor.0

30

dist/compiler-core.d.ts

@@ -37,3 +37,10 @@ import { Node as Node$1, Identifier, Function, BlockStatement as BlockStatement$1, Program, ObjectProperty } from '@babel/types';

export declare const SET_BLOCK_TRACKING: unique symbol;
/**
* @deprecated no longer needed in 3.5+ because we no longer hoist element nodes
* but kept for backwards compat
*/
export declare const PUSH_SCOPE_ID: unique symbol;
/**
* @deprecated kept for backwards compat
*/
export declare const POP_SCOPE_ID: unique symbol;

@@ -92,3 +99,3 @@ export declare const WITH_CTX: unique symbol;

temps: number;
cached: number;
cached: (CacheExpression | null)[];
identifiers: {

@@ -117,3 +124,3 @@ [name: string]: number | undefined;

hoist(exp: string | JSChildNode | ArrayExpression): SimpleExpressionNode;
cache<T extends JSChildNode>(exp: T, isVNode?: boolean): CacheExpression | T;
cache(exp: JSChildNode, isVNode?: boolean): CacheExpression;
constantCache: WeakMap<TemplateChildNode, ConstantTypes>;

@@ -206,3 +213,3 @@ filters?: Set<string>;

imports: ImportItem[];
cached: number;
cached: (CacheExpression | null)[];
temps: number;

@@ -285,3 +292,3 @@ ssrHelpers?: symbol[];

CAN_SKIP_PATCH = 1,
CAN_HOIST = 2,
CAN_CACHE = 2,
CAN_STRINGIFY = 3

@@ -371,3 +378,3 @@ }

props: PropsExpression | undefined;
children: TemplateChildNode[] | TemplateTextChildNode | SlotsExpression | ForRenderListExpression | SimpleExpressionNode | undefined;
children: TemplateChildNode[] | TemplateTextChildNode | SlotsExpression | ForRenderListExpression | SimpleExpressionNode | CacheExpression | undefined;
patchFlag: string | undefined;

@@ -427,3 +434,4 @@ dynamicProps: string | SimpleExpressionNode | undefined;

value: JSChildNode;
isVNode: boolean;
needPauseTracking: boolean;
needArraySpread: boolean;
}

@@ -488,3 +496,3 @@ export interface MemoExpression extends CallExpression {

export interface SlotFunctionExpression extends FunctionExpression {
returns: TemplateChildNode[];
returns: TemplateChildNode[] | CacheExpression;
}

@@ -548,3 +556,3 @@ export interface DynamicSlotsExpression extends CallExpression {

export declare function createConditionalExpression(test: ConditionalExpression['test'], consequent: ConditionalExpression['consequent'], alternate: ConditionalExpression['alternate'], newline?: boolean): ConditionalExpression;
export declare function createCacheExpression(index: number, value: JSChildNode, isVNode?: boolean): CacheExpression;
export declare function createCacheExpression(index: number, value: JSChildNode, needPauseTracking?: boolean): CacheExpression;
export declare function createBlockStatement(body: BlockStatement['body']): BlockStatement;

@@ -846,3 +854,3 @@ export declare function createTemplateLiteral(elements: TemplateLiteral['elements']): TemplateLiteral;

/**
* Hoist static VNodes and props objects to `_hoisted_x` constants
* Cache static VNodes and props objects to `_hoisted_x` constants
* @default false

@@ -1031,3 +1039,3 @@ */

export declare function toValidAssetId(name: string, type: 'component' | 'directive' | 'filter'): string;
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | undefined, ids: TransformContext['identifiers']): boolean;
export declare function hasScopeRef(node: TemplateChildNode | IfBranchNode | ExpressionNode | CacheExpression | undefined, ids: TransformContext['identifiers']): boolean;
export declare function getMemoedVNodeCall(node: BlockCodegenNode | MemoExpression): VNodeCall | RenderSlotCall;

@@ -1083,3 +1091,3 @@ export declare const forAliasRE: RegExp;

export declare function getConstantType(node: TemplateChildNode | SimpleExpressionNode, context: TransformContext): ConstantTypes;
export declare function getConstantType(node: TemplateChildNode | SimpleExpressionNode | CacheExpression, context: TransformContext): ConstantTypes;
{
"name": "@vue/compiler-core-canary",
"version": "3.20240624.0",
"version": "3.20240624.1-minor.0",
"description": "@vue/compiler-core",

@@ -50,3 +50,3 @@ "main": "index.js",

"@babel/parser": "^7.24.7",
"@vue/shared": "npm:@vue/shared-canary@3.20240624.0",
"@vue/shared": "npm:@vue/shared-canary@3.20240624.1-minor.0",
"entities": "^4.5.0",

@@ -53,0 +53,0 @@ "estree-walker": "^2.0.2",

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