@lwc/ssr-compiler 8.20.1 → 8.20.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ import type { NodePath } from 'estree-toolkit';
2
+ import type { ImportDeclaration } from 'estree';
3
+ import type { ComponentMetaState } from './types';
4
+ /**
5
+ * While traversing the component JS, this takes note of any .html files that are
6
+ * explicitly imported.
7
+ */
8
+ export declare function catalogTmplImport(path: NodePath<ImportDeclaration>, state: ComponentMetaState): void;
9
+ //# sourceMappingURL=catalog-tmpls.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { PropertyDefinition, Statement, MethodDefinition } from 'estree';
2
+ import type { ComponentMetaState, WireAdapter } from './types';
3
+ export declare function catalogWireAdapters(state: ComponentMetaState, node: PropertyDefinition | MethodDefinition): void;
4
+ export declare function bWireAdaptersPlumbing(adapters: WireAdapter[]): Statement[];
@@ -0,0 +1,4 @@
1
+ import type { ElseifBlock as IrElseifBlock, If as IrIf, IfBlock as IrIfBlock } from '@lwc/template-compiler';
2
+ import type { Transformer } from '../types';
3
+ export declare const If: Transformer<IrIf>;
4
+ export declare const IfBlock: Transformer<IrIfBlock | IrElseifBlock>;
package/dist/index.cjs.js CHANGED
@@ -2666,5 +2666,5 @@ function compileTemplateForSSR(src, filename, options, mode = shared.DEFAULT_SSR
2666
2666
 
2667
2667
  exports.compileComponentForSSR = compileComponentForSSR;
2668
2668
  exports.compileTemplateForSSR = compileTemplateForSSR;
2669
- /** version: 8.20.1 */
2669
+ /** version: 8.20.2 */
2670
2670
  //# sourceMappingURL=index.cjs.js.map
package/dist/index.js CHANGED
@@ -2661,5 +2661,5 @@ function compileTemplateForSSR(src, filename, options, mode = DEFAULT_SSR_MODE)
2661
2661
  }
2662
2662
 
2663
2663
  export { compileComponentForSSR, compileTemplateForSSR };
2664
- /** version: 8.20.1 */
2664
+ /** version: 8.20.2 */
2665
2665
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ import type { Instruction } from './shared';
2
+ export declare function optimize(instructions: Generator<Instruction>): Generator<Instruction>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
5
5
  ],
6
6
  "name": "@lwc/ssr-compiler",
7
- "version": "8.20.1",
7
+ "version": "8.20.3-alpha.0",
8
8
  "description": "Compile component for use during server-side rendering",
9
9
  "keywords": [
10
10
  "compiler",
@@ -48,18 +48,18 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@babel/types": "7.27.0",
52
- "@lwc/errors": "8.20.1",
53
- "@lwc/shared": "8.20.1",
54
- "@lwc/template-compiler": "8.20.1",
55
- "acorn": "8.14.1",
51
+ "@babel/types": "7.28.1",
52
+ "@lwc/errors": "8.20.3-alpha.0",
53
+ "@lwc/shared": "8.20.3-alpha.0",
54
+ "@lwc/template-compiler": "8.20.3-alpha.0",
55
+ "acorn": "8.15.0",
56
56
  "astring": "^1.9.0",
57
- "estree-toolkit": "^1.7.12",
57
+ "estree-toolkit": "^1.7.13",
58
58
  "immer": "^10.1.1",
59
59
  "meriyah": "^5.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@lwc/babel-plugin-component": "8.20.1",
62
+ "@lwc/babel-plugin-component": "8.20.3-alpha.0",
63
63
  "@types/estree": "^1.0.8"
64
64
  }
65
- }
65
+ }