Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@lwc/engine-core

Package Overview
Dependencies
Maintainers
14
Versions
457
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/engine-core - npm Package Compare versions

Comparing version
9.1.1-alpha.0
to
9.1.1
+1
-1
dist/framework/invoker.d.ts

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

import { LightningElement } from './base-lightning-element';
import { type LightningElement } from './base-lightning-element';
import type { VM } from './vm';

@@ -3,0 +3,0 @@ import type { LightningElementConstructor } from './base-lightning-element';

@@ -21,3 +21,2 @@ export { getComponentHtmlPrototype } from './def';

export { getComponentConstructor } from './get-component-constructor';
export type { MIR, MIRNode, MIRAction, MIRAttributes, MosaicAction, MosaicActionParams, } from './mosaic';
export type { RendererAPI, LifecycleCallback } from './renderer';

@@ -28,3 +27,2 @@ export type { Template } from './template';

export { LightningElement } from './base-lightning-element';
export { Mosaic } from './mosaic';
export { default as api } from './decorators/api';

@@ -31,0 +29,0 @@ export { default as track } from './decorators/track';

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

"name": "@lwc/engine-core",
"version": "9.1.1-alpha.0",
"version": "9.1.1",
"description": "Core LWC engine APIs.",

@@ -55,5 +55,5 @@ "keywords": [

"dependencies": {
"@lwc/features": "9.1.1-alpha.0",
"@lwc/shared": "9.1.1-alpha.0",
"@lwc/signals": "9.1.1-alpha.0"
"@lwc/features": "9.1.1",
"@lwc/shared": "9.1.1",
"@lwc/signals": "9.1.1"
},

@@ -60,0 +60,0 @@ "devDependencies": {

/**
* Mosaic Intermediate Representation (MIR) and JSON serialization types
*/
type JSONPrimitive = string | number | boolean | null | undefined;
type JSONValue = JSONPrimitive | JSONObject | JSONArray;
type JSONObject = {
[key: string]: JSONValue;
};
type JSONArray = JSONValue[];
export interface MIRAction extends JSONObject {
name: string;
params?: JSONObject;
}
export interface MIRAttributes {
action?: MIRAction;
[key: string]: JSONValue;
}
export interface MIR {
definition: string;
children?: MIRNode[];
}
export interface MIRNode extends MIR {
attributes?: MIRAttributes;
}
/**
* Mosaic class definition and types
*/
type TargetHint = 'modal' | 'panel' | 'toast' | 'pip';
export interface MosaicActionParams {
action: {
value?: JSONObject;
};
client: {
views: {
update(args: {
componentRef?: string;
props?: JSONObject;
}): void;
push(args: {
componentRef: string;
props?: JSONObject;
target?: TargetHint;
}): void;
};
};
}
export type MosaicAction = (params: MosaicActionParams) => void;
export declare abstract class Mosaic {
abstract render(): MIR;
}
export {};
//# sourceMappingURL=mosaic.d.ts.map

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

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