@kdujs/compiler-core-canary
Advanced tools
Comparing version 3.20240108.0 to 3.20240115.0-minor.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
509216
16430
2
+ Added@kdujs/shared-canary@3.20240115.0-minor.0(transitive)
- Removed@kdujs/shared-canary@3.20240108.0(transitive)
Updated@babel/parser@^7.23.0
Updated@kdujs/shared@npm:@kdujs/shared-canary@3.20240115.0-minor.0