New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/ssr-compiler

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/ssr-compiler - npm Package Compare versions

Comparing version 8.9.0 to 8.10.0-alpha.0

dist/compile-template/transformers/component/component.d.ts

5

dist/compile-js/generate-markup.d.ts

@@ -16,6 +16,1 @@ import type { Program } from 'estree';

export declare function addGenerateMarkupExport(program: Program, state: ComponentMetaState, tagName: string, filename: string): void;
/**
* Attach the `generateMarkup` function to the Component class so that it can be found later
* during `renderComponent`.
*/
export declare function assignGenerateMarkupToComponent(program: Program, state: ComponentMetaState): void;

4

dist/compile-js/remove-decorator-import.d.ts

@@ -1,3 +0,3 @@

import { ImportDeclaration } from 'estree';
import { NodePath } from 'estree-toolkit';
import type { ImportDeclaration } from 'estree';
import type { NodePath } from 'estree-toolkit';
export declare function removeDecoratorImport(path: NodePath<ImportDeclaration>): void;
import type { traverse } from 'estree-toolkit';
import type { Node } from 'estree';
import type { Identifier, MemberExpression, MethodDefinition, Node, ObjectExpression, PropertyDefinition } from 'estree';
export type Visitors = Parameters<typeof traverse<Node, ComponentMetaState>>[1];
export interface WireAdapter {
fieldName: string;
adapterConstructorId: string;
config: Array<{
configKey: string;
referencedField: string;
}>;
fieldType: 'property' | 'method';
adapterId: Identifier | MemberExpression;
config: ObjectExpression;
field: MethodDefinition | PropertyDefinition;
}

@@ -13,0 +9,0 @@ export interface ComponentMetaState {

@@ -1,4 +0,5 @@

import type { PropertyDefinition, Statement, MethodDefinition } from 'estree';
import type { NodePath } from 'estree-toolkit';
import type { PropertyDefinition, MethodDefinition, BlockStatement } from 'estree';
import type { ComponentMetaState, WireAdapter } from './types';
export declare function catalogWireAdapters(state: ComponentMetaState, node: PropertyDefinition | MethodDefinition): void;
export declare function bWireAdaptersPlumbing(adapters: WireAdapter[]): Statement[];
export declare function catalogWireAdapters(path: NodePath<PropertyDefinition | MethodDefinition>, state: ComponentMetaState): void;
export declare function bWireAdaptersPlumbing(adapters: WireAdapter[]): BlockStatement[];

@@ -1,3 +0,3 @@

import { Node as IrNode, Attribute as IrAttribute, Property as IrProperty } from '@lwc/template-compiler';
import { TransformerContext } from './types';
import type { TransformerContext } from './types';
import type { Node as IrNode, Attribute as IrAttribute, Property as IrProperty } from '@lwc/template-compiler';
import type { Statement as EsStatement, Expression as EsExpression, ObjectExpression as EsObjectExpression } from 'estree';

@@ -4,0 +4,0 @@ export declare function optimizeAdjacentYieldStmts(statements: EsStatement[]): EsStatement[];

@@ -1,3 +0,4 @@

import { type Element as IrElement, ExternalComponent as IrExternalComponent, Slot as IrSlot } from '@lwc/template-compiler';
import { type Element as IrElement } from '@lwc/template-compiler';
import type { ExternalComponent as IrExternalComponent, Slot as IrSlot } from '@lwc/template-compiler';
import type { Transformer } from '../types';
export declare const Element: Transformer<IrElement | IrExternalComponent | IrSlot>;

@@ -1,3 +0,3 @@

import { Slot as IrSlot } from '@lwc/template-compiler';
import type { Slot as IrSlot } from '@lwc/template-compiler';
import type { Transformer } from '../types';
export declare const Slot: Transformer<IrSlot>;

@@ -1,2 +0,2 @@

import { Node as IrNode } from '@lwc/template-compiler';
import type { Node as IrNode } from '@lwc/template-compiler';
import type { Statement as EsStatement } from 'estree';

@@ -3,0 +3,0 @@ export type Transformer<T extends IrNode = IrNode> = (node: T, cxt: TransformerContext) => EsStatement[];

@@ -7,3 +7,3 @@ {

"name": "@lwc/ssr-compiler",
"version": "8.9.0",
"version": "8.10.0-alpha.0",
"description": "Compile component for use during server-side rendering",

@@ -48,4 +48,5 @@ "keywords": [

"dependencies": {
"@lwc/shared": "8.9.0",
"@lwc/template-compiler": "8.9.0",
"@lwc/shared": "8.10.0-alpha.0",
"@lwc/errors": "8.10.0-alpha.0",
"@lwc/template-compiler": "8.10.0-alpha.0",
"acorn": "8.14.0",

@@ -60,2 +61,2 @@ "astring": "^1.9.0",

}
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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