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

@lwc/engine-core

Package Overview
Dependencies
Maintainers
13
Versions
394
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 2.3.0 to 2.3.1

8

package.json
{
"name": "@lwc/engine-core",
"version": "2.3.0",
"version": "2.3.1",
"description": "Core LWC engine APIs.",

@@ -27,4 +27,4 @@ "homepage": "https://lwc.dev/",

"dependencies": {
"@lwc/features": "2.3.0",
"@lwc/shared": "2.3.0"
"@lwc/features": "2.3.1",
"@lwc/shared": "2.3.1"
},

@@ -37,3 +37,3 @@ "devDependencies": {

},
"gitHead": "25fefb69efb0c891446de591dac1c2ce7f0f9bb1"
"gitHead": "a2327d4bbaddb86c4311528f68beef99863d9043"
}

@@ -10,3 +10,3 @@ /**

import { VM } from '../../framework/vm';
export declare type VNodeStyle = Record<string, string>;
export declare type VNodeStyleDecls = Array<[string, string, boolean]>;
export interface On {

@@ -63,3 +63,3 @@ [event: string]: EventListener;

classMap?: Classes;
styleMap?: VNodeStyle;
styleDecls?: VNodeStyleDecls;
context?: CustomElementContext;

@@ -66,0 +66,0 @@ on?: On;

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

declare type PropCompilerMeta = Record<string, PropCompilerDef>;
export declare enum PropType {
export declare const enum PropType {
Field = 0,

@@ -10,0 +10,0 @@ Set = 1,

@@ -12,7 +12,4 @@ /**

import { PropType } from './decorators/register';
import { RenderMode } from '../framework/vm';
import { HTMLElementConstructor } from './base-bridge-element';
export declare enum RenderMode {
Light = 0,
Shadow = 1
}
export interface ComponentDef {

@@ -41,3 +38,3 @@ name: string;

export declare function getComponentInternalDef(Ctor: unknown): ComponentDef;
declare enum PropDefType {
declare const enum PropDefType {
any = "any"

@@ -44,0 +41,0 @@ }

import { VM } from './vm';
declare function noop(_opId: number, _phase: number, _cmpName: string, _vm_idx: number): void;
export declare enum OperationId {
declare type MeasurementPhase = 'constructor' | 'render' | 'patch' | 'connectedCallback' | 'disconnectedCallback' | 'renderedCallback' | 'errorCallback';
export declare const enum GlobalMeasurementPhase {
REHYDRATE = "lwc-rehydrate",
HYDRATE = "lwc-hydrate"
}
export declare const enum OperationId {
constructor = 0,

@@ -10,4 +14,15 @@ render = 1,

disconnectedCallback = 5,
errorCallback = 6
errorCallback = 6,
globalHydrate = 7,
globalRehydrate = 8
}
declare const enum Phase {
Start = 0,
Stop = 1
}
declare type LogDispatcher = (opId: OperationId, phase: Phase, cmpName?: string, vmIndex?: number) => void;
export declare const startMeasure: (phase: MeasurementPhase, vm: VM) => void;
export declare const endMeasure: (phase: MeasurementPhase, vm: VM) => void;
export declare const startGlobalMeasure: (phase: GlobalMeasurementPhase, vm?: VM<any, any> | undefined) => void;
export declare const endGlobalMeasure: (phase: GlobalMeasurementPhase, vm?: VM<any, any> | undefined) => void;
declare function trackProfilerState(callback: (arg0: boolean) => void): void;

@@ -18,4 +33,4 @@ declare function logOperationStart(opId: OperationId, vm: VM): void;

declare function disableProfiler(): void;
declare function attachDispatcher(dispatcher: (_opId: number, _phase: number, _cmpName: string, _vm_idx: number) => void): void;
declare function detachDispatcher(): typeof noop;
declare function attachDispatcher(dispatcher: LogDispatcher): void;
declare function detachDispatcher(): LogDispatcher;
declare const profilerControl: {

@@ -27,2 +42,4 @@ enableProfiler: typeof enableProfiler;

};
export { logOperationStart, logOperationEnd, trackProfilerState, profilerControl };
declare function logGlobalOperationStart(phase: GlobalMeasurementPhase, vm?: VM): void;
declare function logGlobalOperationEnd(phase: GlobalMeasurementPhase, vm?: VM): void;
export { logOperationStart, logOperationEnd, trackProfilerState, profilerControl, logGlobalOperationStart, logGlobalOperationEnd, };

@@ -23,3 +23,3 @@ export declare type HostNode = any;

getClassList(element: E): DOMTokenList;
setCSSStyleProperty(element: E, name: string, value: string): void;
setCSSStyleProperty(element: E, name: string, value: string, important: boolean): void;
getBoundingClientRect(element: E): ClientRect;

@@ -26,0 +26,0 @@ querySelector(element: E, selectors: string): E | null;

@@ -15,3 +15,3 @@ import { Template } from './template';

}
export declare enum VMState {
export declare const enum VMState {
created = 0,

@@ -21,7 +21,7 @@ connected = 1,

}
export declare enum RenderMode {
export declare const enum RenderMode {
Light = 0,
Shadow = 1
}
export declare enum ShadowMode {
export declare const enum ShadowMode {
Native = 0,

@@ -28,0 +28,0 @@ Synthetic = 1

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

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

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