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

@kdujs/compiler-core-canary

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.20240108.0 to 3.20240115.0-minor.0

13

dist/compiler-core.d.ts

@@ -93,6 +93,6 @@ import { ParserPlugin } from '@babel/parser';

cache<T extends JSChildNode>(exp: T, isKNode?: boolean): CacheExpression | T;
constantCache: WeakMap<TemplateChildNode, ConstantTypes>;
constantCache: Map<TemplateChildNode, ConstantTypes>;
filters?: Set<string>;
}
export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, hmr, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig }: TransformOptions): TransformContext;
export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig }: TransformOptions): TransformContext;
export declare function transform(root: RootNode, options: TransformOptions): void;

@@ -844,8 +844,2 @@ export declare function traverseNode(node: RootNode | TemplateChildNode, context: TransformContext): void;

ssrCssVars?: string;
/**
* Whether to compile the template assuming it needs to handle HMR.
* Some edge cases may need to generate different code for HMR to work
* correctly.
*/
hmr?: boolean;
}

@@ -959,3 +953,2 @@ export interface CodegenOptions extends SharedTransformCodegenOptions {

export declare function getMemoedKNodeCall(node: BlockCodegenNode | MemoExpression): KNodeCall | RenderSlotCall;
export declare const forAliasRE: RegExp;

@@ -989,3 +982,3 @@ export declare function walkIdentifiers(root: Node$1, onIdentifier: (node: Identifier, parent: Node$1, parentStack: Node$1[], isReference: boolean, isLocal: boolean) => void, includeAll?: boolean, parentStack?: Node$1[], knownIds?: Record<string, number>): void;

export declare const trackKForSlotScopes: NodeTransform;
export type SlotFnBuilder = (slotProps: ExpressionNode | undefined, kForExp: ExpressionNode | undefined, slotChildren: TemplateChildNode[], loc: SourceLocation) => FunctionExpression;
export type SlotFnBuilder = (slotProps: ExpressionNode | undefined, slotChildren: TemplateChildNode[], loc: SourceLocation) => FunctionExpression;
export declare function buildSlots(node: ElementNode, context: TransformContext, buildSlotFn?: SlotFnBuilder): {

@@ -992,0 +985,0 @@ slots: SlotsExpression;

{
"name": "@kdujs/compiler-core-canary",
"version": "3.20240108.0",
"version": "3.20240115.0-minor.0",
"description": "@kdujs/compiler-core",

@@ -35,4 +35,4 @@ "main": "index.js",

"dependencies": {
"@babel/parser": "^7.23.3",
"@kdujs/shared": "npm:@kdujs/shared-canary@3.20240108.0",
"@babel/parser": "^7.23.0",
"@kdujs/shared": "npm:@kdujs/shared-canary@3.20240115.0-minor.0",
"estree-walker": "^2.0.2",

@@ -42,4 +42,4 @@ "source-map-js": "^1.0.2"

"devDependencies": {
"@babel/types": "^7.23.3"
"@babel/types": "^7.23.0"
}
}

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