@lwc/ssr-compiler
Advanced tools
Comparing version 8.12.7-alpha.0 to 8.12.7
@@ -9,1 +9,2 @@ import type { NodePath } from 'estree-toolkit'; | ||
export declare function catalogTmplImport(path: NodePath<ImportDeclaration>, state: ComponentMetaState): void; | ||
//# sourceMappingURL=catalog-tmpls.d.ts.map |
import { type LWCErrorInfo } from '@lwc/errors'; | ||
import type { Node } from 'estree'; | ||
type ExtractArguments<T extends string, Numbers extends number = never, Args extends string[] = []> = T extends `${string}{${infer N extends number}}${infer R}` ? N extends Numbers ? ExtractArguments<R, Numbers, Args> : ExtractArguments<R, N | Numbers, [string, ...Args]> : Args; | ||
export declare function generateError<const T extends LWCErrorInfo>(error: T, ...args: ExtractArguments<T['message']>): Error; | ||
export declare function generateError<const T extends LWCErrorInfo>(node: Node, error: T, ...messageArgs: ExtractArguments<T['message']>): import("@lwc/errors").CompilerError; | ||
export {}; | ||
//# sourceMappingURL=errors.d.ts.map |
@@ -16,1 +16,2 @@ import type { Program } from 'estree'; | ||
export declare function addGenerateMarkupFunction(program: Program, state: ComponentMetaState, tagName: string, filename: string): void; | ||
//# sourceMappingURL=generate-markup.d.ts.map |
@@ -6,1 +6,2 @@ import type { ComponentTransformOptions } from '../shared'; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,1 +19,2 @@ import type { ImportDeclaration, ExportNamedDeclaration, ExportAllDeclaration } from 'estree'; | ||
export declare function replaceAllLwcExport(path: NodePath<ExportAllDeclaration>): void; | ||
//# sourceMappingURL=lwc-import.d.ts.map |
import type { ImportDeclaration } from 'estree'; | ||
import type { NodePath } from 'estree-toolkit'; | ||
export declare function removeDecoratorImport(path: NodePath<ImportDeclaration>): void; | ||
//# sourceMappingURL=remove-decorator-import.d.ts.map |
import type { Program } from 'estree'; | ||
export declare function addScopeTokenDeclarations(program: Program, filename: string, namespace: string | undefined, componentName: string | undefined): void; | ||
//# sourceMappingURL=stylesheet-scope-token.d.ts.map |
@@ -10,1 +10,2 @@ import type { NodePath } from 'estree-toolkit'; | ||
export declare function catalogStaticStylesheets(ids: string[], state: ComponentMetaState): void; | ||
//# sourceMappingURL=stylesheets.d.ts.map |
@@ -23,4 +23,4 @@ import type { ImportManager } from '../imports'; | ||
staticStylesheetIds: Set<string> | null; | ||
publicFields: Array<string>; | ||
privateFields: Array<string>; | ||
publicProperties: Array<string>; | ||
privateProperties: Array<string>; | ||
wireAdapters: WireAdapter[]; | ||
@@ -30,1 +30,2 @@ experimentalDynamicComponent: ComponentTransformOptions['experimentalDynamicComponent']; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -6,1 +6,2 @@ import type { NodePath } from 'estree-toolkit'; | ||
export declare function bWireAdaptersPlumbing(adapters: WireAdapter[]): BlockStatement[]; | ||
//# sourceMappingURL=wire.d.ts.map |
@@ -1,4 +0,5 @@ | ||
import type { IfStatement as EsIfStatement } from 'estree'; | ||
import type { ExpressionStatement as EsExpressionStatement } from 'estree'; | ||
import type { TransformerContext } from './types'; | ||
export declare const isLastConcatenatedNode: (cxt: TransformerContext) => boolean; | ||
export declare const bYieldTextContent: () => EsIfStatement; | ||
export declare function generateConcatenatedTextNodesExpressions(cxt: TransformerContext): EsExpressionStatement[]; | ||
//# sourceMappingURL=adjacent-text-nodes.d.ts.map |
@@ -7,1 +7,2 @@ import type { ImportDeclaration as EsImportDeclaration } from 'estree'; | ||
}; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -5,1 +5,2 @@ import type { ComplexExpression as IrComplexExpression, Expression as IrExpression } from '@lwc/template-compiler'; | ||
export declare function expressionIrToEs(node: IrExpression | IrComplexExpression, cxt: TransformerContext): EsExpression; | ||
//# sourceMappingURL=expression.d.ts.map |
@@ -6,1 +6,2 @@ import { type Config as TemplateCompilerConfig } from '@lwc/template-compiler'; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,5 +7,6 @@ import type { ChildNode as IrChildNode, Node as IrNode } from '@lwc/template-compiler'; | ||
export declare function templateIrToEsTree(node: IrNode, contextOpts: TemplateOpts): { | ||
addImport: (imports: string | string[] | Record<string, string | undefined>, source?: string | undefined) => void; | ||
addImport: (imports: string | string[] | Record<string, string | undefined>, source?: string) => void; | ||
getImports: () => import("estree").ImportDeclaration[]; | ||
statements: EsStatement[]; | ||
}; | ||
//# sourceMappingURL=ir-to-es.d.ts.map |
@@ -23,1 +23,2 @@ import type { TransformerContext } from './types'; | ||
export declare function isLiteral(node: IrLiteral | IrExpression | IrComplexExpression): node is IrLiteral; | ||
//# sourceMappingURL=shared.d.ts.map |
import type { Comment as IrComment } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const Comment: Transformer<IrComment>; | ||
//# sourceMappingURL=comment.d.ts.map |
import type { Component as IrComponent } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../../types'; | ||
export declare const Component: Transformer<IrComponent>; | ||
//# sourceMappingURL=component.d.ts.map |
export * from './component'; | ||
export * from './lwc-component'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { Transformer } from '../../types'; | ||
import type { LwcComponent as IrLwcComponent } from '@lwc/template-compiler'; | ||
export declare const LwcComponent: Transformer<IrLwcComponent>; | ||
//# sourceMappingURL=lwc-component.d.ts.map |
@@ -5,1 +5,2 @@ import type { Statement as EsStatement } from 'estree'; | ||
export declare function getSlottedContent(node: IrLwcComponent | IrComponent, cxt: TransformerContext): EsStatement[]; | ||
//# sourceMappingURL=slotted-content.d.ts.map |
@@ -5,1 +5,2 @@ import { type Element as IrElement } from '@lwc/template-compiler'; | ||
export declare const Element: Transformer<IrElement | IrExternalComponent | IrSlot>; | ||
//# sourceMappingURL=element.d.ts.map |
import type { ForEach as IrForEach } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const ForEach: Transformer<IrForEach>; | ||
//# sourceMappingURL=for-each.d.ts.map |
import type { ForOf as IrForOf } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const ForOf: Transformer<IrForOf>; | ||
//# sourceMappingURL=for-of.d.ts.map |
import type { If as IrIf } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const LegacyIf: Transformer<IrIf>; | ||
//# sourceMappingURL=legacyIf.d.ts.map |
import type { ElseifBlock as IrElseifBlock, IfBlock as IrIfBlock } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const IfBlock: Transformer<IrIfBlock | IrElseifBlock>; | ||
//# sourceMappingURL=lwcIf.d.ts.map |
import type { Slot as IrSlot } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const Slot: Transformer<IrSlot>; | ||
//# sourceMappingURL=slot.d.ts.map |
import type { Text as IrText } from '@lwc/template-compiler'; | ||
import type { Transformer } from '../types'; | ||
export declare const Text: Transformer<IrText>; | ||
//# sourceMappingURL=text.d.ts.map |
@@ -9,4 +9,4 @@ import type { Node as IrNode } from '@lwc/template-compiler'; | ||
templateOptions: TemplateOpts; | ||
prevSibling?: IrNode; | ||
nextSibling?: IrNode; | ||
siblings: IrNode[] | undefined; | ||
currentNodeIndex: number | undefined; | ||
isSlotted?: boolean; | ||
@@ -19,1 +19,2 @@ import: (imports: string | string[] | Record<string, string | undefined>, source?: string) => void; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -44,1 +44,2 @@ import type { Node as EsNode } from 'estree'; | ||
export {}; | ||
//# sourceMappingURL=estemplate.d.ts.map |
@@ -8,1 +8,2 @@ import type { ImportDeclaration } from 'estree'; | ||
export declare const bImportDeclaration: (imports: string | string[] | Record<string, string | undefined>, source?: string) => ImportDeclaration; | ||
//# sourceMappingURL=builders.d.ts.map |
@@ -11,1 +11,2 @@ import type { Checker } from 'estree-toolkit/dist/generated/is-type'; | ||
export {}; | ||
//# sourceMappingURL=validators.d.ts.map |
@@ -9,1 +9,2 @@ import type { ImportDeclaration } from 'estree'; | ||
} | ||
//# sourceMappingURL=imports.d.ts.map |
@@ -9,1 +9,2 @@ import { type CompilationMode } from '@lwc/shared'; | ||
export declare function compileTemplateForSSR(src: string, filename: string, options: TemplateTransformOptions, mode?: CompilationMode): CompilationResult; | ||
//# sourceMappingURL=index.d.ts.map |
import type { Instruction } from './shared'; | ||
export declare function optimize(instructions: Generator<Instruction>): Generator<Instruction>; | ||
//# sourceMappingURL=optimizer.d.ts.map |
@@ -38,1 +38,2 @@ import type { LwcBabelPluginOptions } from '@lwc/babel-plugin-component'; | ||
}; | ||
//# sourceMappingURL=shared.d.ts.map |
@@ -51,1 +51,2 @@ import { traverse } from 'estree-toolkit'; | ||
export {}; | ||
//# sourceMappingURL=transmogrify.d.ts.map |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/ssr-compiler", | ||
"version": "8.12.7-alpha.0", | ||
"version": "8.12.7", | ||
"description": "Compile component for use during server-side rendering", | ||
@@ -53,5 +53,5 @@ "keywords": [ | ||
"@babel/types": "7.26.7", | ||
"@lwc/shared": "8.12.7-alpha.0", | ||
"@lwc/errors": "8.12.7-alpha.0", | ||
"@lwc/template-compiler": "8.12.7-alpha.0", | ||
"@lwc/shared": "8.12.7", | ||
"@lwc/errors": "8.12.7", | ||
"@lwc/template-compiler": "8.12.7", | ||
"acorn": "8.14.0", | ||
@@ -64,5 +64,5 @@ "astring": "^1.9.0", | ||
"devDependencies": { | ||
"@lwc/babel-plugin-component": "8.12.7-alpha.0", | ||
"@lwc/babel-plugin-component": "8.12.7", | ||
"@types/estree": "^1.0.6" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
242238
5070
0
42
+ Added@lwc/errors@8.12.7(transitive)
+ Added@lwc/shared@8.12.7(transitive)
+ Added@lwc/template-compiler@8.12.7(transitive)
- Removed@lwc/errors@8.12.7-alpha.0(transitive)
- Removed@lwc/shared@8.12.7-alpha.0(transitive)
- Removed@lwc/template-compiler@8.12.7-alpha.0(transitive)
Updated@lwc/errors@8.12.7
Updated@lwc/shared@8.12.7