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

@lwc/engine-dom

Package Overview
Dependencies
Maintainers
15
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/engine-dom - npm Package Compare versions

Comparing version 8.12.7-alpha.0 to 8.12.7

1

dist/apis/build-custom-element-constructor.d.ts

@@ -27,1 +27,2 @@ import type { LightningElement } from '@lwc/engine-core';

export {};
//# sourceMappingURL=build-custom-element-constructor.d.ts.map

@@ -55,1 +55,2 @@ import type { LightningElement } from '@lwc/engine-core';

export {};
//# sourceMappingURL=create-element.d.ts.map

@@ -17,1 +17,2 @@ import type { LightningElement } from '@lwc/engine-core';

}): void;
//# sourceMappingURL=hydrate-component.d.ts.map

@@ -10,1 +10,2 @@ /**

export { isNodeShadowed as isNodeFromTemplate };
//# sourceMappingURL=is-node-from-template.d.ts.map
import { LightningElement } from '@lwc/engine-core';
export { LightningElement };
//# sourceMappingURL=lightning-element.d.ts.map
import type { LifecycleCallback } from '@lwc/engine-core';
export declare function getUpgradableConstructor(tagName: string, isFormAssociated: boolean): CustomElementConstructor;
export declare const createCustomElement: (tagName: string, upgradeCallback: LifecycleCallback, useNativeLifecycle: boolean, isFormAssociated: boolean) => HTMLElement;
//# sourceMappingURL=create-custom-element.d.ts.map

@@ -6,1 +6,2 @@ export declare const LightningElementFormatter: {

};
//# sourceMappingURL=component.d.ts.map
export {};
//# sourceMappingURL=index.d.ts.map

@@ -14,1 +14,2 @@ import '@lwc/features';

export type { LightningHTMLElement } from './apis/create-element';
//# sourceMappingURL=index.d.ts.map

94

dist/language.d.ts

@@ -9,3 +9,5 @@ export declare const ElementDescriptors: {

readonly clientWidth: TypedPropertyDescriptor<number>;
readonly currentCSSZoom: TypedPropertyDescriptor<number>;
id: TypedPropertyDescriptor<string>;
innerHTML: TypedPropertyDescriptor<string>;
readonly localName: TypedPropertyDescriptor<string>;

@@ -27,7 +29,7 @@ readonly namespaceURI: TypedPropertyDescriptor<string | null>;

attachShadow: TypedPropertyDescriptor<(init: ShadowRootInit) => ShadowRoot>;
checkVisibility: TypedPropertyDescriptor<(options?: CheckVisibilityOptions | undefined) => boolean>;
checkVisibility: TypedPropertyDescriptor<(options?: CheckVisibilityOptions) => boolean>;
closest: TypedPropertyDescriptor<{
<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
<K_1 extends keyof SVGElementTagNameMap>(selector: K_1): SVGElementTagNameMap[K_1] | null;
<K_2 extends keyof MathMLElementTagNameMap>(selector: K_2): MathMLElementTagNameMap[K_2] | null;
<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
<E extends Element = Element>(selectors: string): E | null;

@@ -45,6 +47,6 @@ }>;

getElementsByTagName: TypedPropertyDescriptor<{
<K_3 extends keyof HTMLElementTagNameMap>(qualifiedName: K_3): HTMLCollectionOf<HTMLElementTagNameMap[K_3]>;
<K_4 extends keyof SVGElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<SVGElementTagNameMap[K_4]>;
<K_5 extends keyof MathMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<MathMLElementTagNameMap[K_5]>;
<K_6 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_6]>;
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
(qualifiedName: string): HTMLCollectionOf<Element>;

@@ -58,2 +60,3 @@ }>;

}>;
getHTML: TypedPropertyDescriptor<(options?: GetHTMLOptions) => string>;
hasAttribute: TypedPropertyDescriptor<(qualifiedName: string) => boolean>;

@@ -64,3 +67,3 @@ hasAttributeNS: TypedPropertyDescriptor<(namespace: string | null, localName: string) => boolean>;

insertAdjacentElement: TypedPropertyDescriptor<(where: InsertPosition, element: Element) => Element | null>;
insertAdjacentHTML: TypedPropertyDescriptor<(position: InsertPosition, text: string) => void>;
insertAdjacentHTML: TypedPropertyDescriptor<(position: InsertPosition, string: string) => void>;
insertAdjacentText: TypedPropertyDescriptor<(where: InsertPosition, data: string) => void>;

@@ -72,15 +75,15 @@ matches: TypedPropertyDescriptor<(selectors: string) => boolean>;

removeAttributeNode: TypedPropertyDescriptor<(attr: Attr) => Attr>;
requestFullscreen: TypedPropertyDescriptor<(options?: FullscreenOptions | undefined) => Promise<void>>;
requestPointerLock: TypedPropertyDescriptor<() => void>;
requestFullscreen: TypedPropertyDescriptor<(options?: FullscreenOptions) => Promise<void>>;
requestPointerLock: TypedPropertyDescriptor<(options?: PointerLockOptions) => Promise<void>>;
scroll: TypedPropertyDescriptor<{
(options?: ScrollToOptions | undefined): void;
(options?: ScrollToOptions): void;
(x: number, y: number): void;
}>;
scrollBy: TypedPropertyDescriptor<{
(options?: ScrollToOptions | undefined): void;
(options?: ScrollToOptions): void;
(x: number, y: number): void;
}>;
scrollIntoView: TypedPropertyDescriptor<(arg?: boolean | ScrollIntoViewOptions | undefined) => void>;
scrollIntoView: TypedPropertyDescriptor<(arg?: boolean | ScrollIntoViewOptions) => void>;
scrollTo: TypedPropertyDescriptor<{
(options?: ScrollToOptions | undefined): void;
(options?: ScrollToOptions): void;
(x: number, y: number): void;

@@ -92,12 +95,13 @@ }>;

setAttributeNodeNS: TypedPropertyDescriptor<(attr: Attr) => Attr | null>;
setHTMLUnsafe: TypedPropertyDescriptor<(html: string) => void>;
setPointerCapture: TypedPropertyDescriptor<(pointerId: number) => void>;
toggleAttribute: TypedPropertyDescriptor<(qualifiedName: string, force?: boolean | undefined) => boolean>;
toggleAttribute: TypedPropertyDescriptor<(qualifiedName: string, force?: boolean) => boolean>;
webkitMatchesSelector: TypedPropertyDescriptor<(selectors: string) => boolean>;
addEventListener: TypedPropertyDescriptor<{
<K_7 extends keyof ElementEventMap>(type: K_7, listener: (this: Element, ev: ElementEventMap[K_7]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
}>;
removeEventListener: TypedPropertyDescriptor<{
<K_8 extends keyof ElementEventMap>(type: K_8, listener: (this: Element, ev: ElementEventMap[K_8]) => any, options?: boolean | EventListenerOptions | undefined): void;
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}>;

@@ -118,8 +122,8 @@ readonly baseURI: TypedPropertyDescriptor<string>;

appendChild: TypedPropertyDescriptor<(<T extends Node>(node: T) => T)>;
cloneNode: TypedPropertyDescriptor<(deep?: boolean | undefined) => Node>;
cloneNode: TypedPropertyDescriptor<(deep?: boolean) => Node>;
compareDocumentPosition: TypedPropertyDescriptor<(other: Node) => number>;
contains: TypedPropertyDescriptor<(other: Node | null) => boolean>;
getRootNode: TypedPropertyDescriptor<(options?: GetRootNodeOptions | undefined) => Node>;
getRootNode: TypedPropertyDescriptor<(options?: GetRootNodeOptions) => Node>;
hasChildNodes: TypedPropertyDescriptor<() => boolean>;
insertBefore: TypedPropertyDescriptor<(<T_1 extends Node>(node: T_1, child: Node | null) => T_1)>;
insertBefore: TypedPropertyDescriptor<(<T extends Node>(node: T, child: Node | null) => T)>;
isDefaultNamespace: TypedPropertyDescriptor<(namespace: string | null) => boolean>;

@@ -131,4 +135,4 @@ isEqualNode: TypedPropertyDescriptor<(otherNode: Node | null) => boolean>;

normalize: TypedPropertyDescriptor<() => void>;
removeChild: TypedPropertyDescriptor<(<T_2 extends Node>(child: T_2) => T_2)>;
replaceChild: TypedPropertyDescriptor<(<T_3 extends Node>(node: Node, child: T_3) => T_3)>;
removeChild: TypedPropertyDescriptor<(<T extends Node>(child: T) => T)>;
replaceChild: TypedPropertyDescriptor<(<T extends Node>(node: Node, child: T) => T)>;
readonly ELEMENT_NODE: TypedPropertyDescriptor<1>;

@@ -155,2 +159,4 @@ readonly ATTRIBUTE_NODE: TypedPropertyDescriptor<2>;

ariaAutoComplete: TypedPropertyDescriptor<string | null>;
ariaBrailleLabel: TypedPropertyDescriptor<string | null>;
ariaBrailleRoleDescription: TypedPropertyDescriptor<string | null>;
ariaBusy: TypedPropertyDescriptor<string | null>;

@@ -160,2 +166,3 @@ ariaChecked: TypedPropertyDescriptor<string | null>;

ariaColIndex: TypedPropertyDescriptor<string | null>;
ariaColIndexText: TypedPropertyDescriptor<string | null>;
ariaColSpan: TypedPropertyDescriptor<string | null>;

@@ -185,2 +192,3 @@ ariaCurrent: TypedPropertyDescriptor<string | null>;

ariaRowIndex: TypedPropertyDescriptor<string | null>;
ariaRowIndexText: TypedPropertyDescriptor<string | null>;
ariaRowSpan: TypedPropertyDescriptor<string | null>;

@@ -195,9 +203,8 @@ ariaSelected: TypedPropertyDescriptor<string | null>;

role: TypedPropertyDescriptor<string | null>;
animate: TypedPropertyDescriptor<(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation>;
getAnimations: TypedPropertyDescriptor<(options?: GetAnimationsOptions | undefined) => Animation[]>;
after: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
before: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
animate: TypedPropertyDescriptor<(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Animation>;
getAnimations: TypedPropertyDescriptor<(options?: GetAnimationsOptions) => Animation[]>;
after: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
before: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
remove: TypedPropertyDescriptor<() => void>;
replaceWith: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
innerHTML: TypedPropertyDescriptor<string>;
replaceWith: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
readonly nextElementSibling: TypedPropertyDescriptor<Element | null>;

@@ -209,19 +216,19 @@ readonly previousElementSibling: TypedPropertyDescriptor<Element | null>;

readonly lastElementChild: TypedPropertyDescriptor<Element | null>;
append: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
prepend: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
append: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
prepend: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
querySelector: TypedPropertyDescriptor<{
<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
<E_1 extends Element = Element>(selectors: string): E_1 | null;
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
<E extends Element = Element>(selectors: string): E | null;
}>;
querySelectorAll: TypedPropertyDescriptor<{
<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
<E extends Element = Element>(selectors: string): NodeListOf<E>;
}>;
replaceChildren: TypedPropertyDescriptor<(...nodes: (string | Node)[]) => void>;
replaceChildren: TypedPropertyDescriptor<(...nodes: (Node | string)[]) => void>;
readonly assignedSlot: TypedPropertyDescriptor<HTMLSlotElement | null>;

@@ -233,1 +240,2 @@ } & {

export declare const ElementShadowRootGetter: () => ShadowRoot | null;
//# sourceMappingURL=language.d.ts.map

@@ -15,1 +15,2 @@ import type { RendererAPI } from '@lwc/engine-core';

export declare function rendererFactory<T extends RendererAPI | null>(baseRenderer: T): RendererAPIType<T>;
//# sourceMappingURL=renderer-factory.d.ts.map

@@ -7,1 +7,2 @@ import type { RendererAPI } from '@lwc/engine-core';

export declare const renderer: RendererAPI;
//# sourceMappingURL=renderer.d.ts.map

@@ -15,1 +15,2 @@ import type { WireAdapterConstructor, WireContextValue, WireContextSubscriptionPayload, WireContextSubscriptionCallback } from '@lwc/engine-core';

export declare function registerContextProvider(elm: Node, adapterContextToken: string, onContextSubscription: WireContextSubscriptionCallback): void;
//# sourceMappingURL=context.d.ts.map

@@ -42,1 +42,2 @@ declare function cloneNode(node: Node, deep: boolean): Node;

export { insert, remove, cloneNode, createFragment, createElement, createText, createComment, nextSibling, previousSibling, attachShadow, getProperty, setProperty, setText, getAttribute, setAttribute, removeAttribute, addEventListener, removeEventListener, dispatchEvent, getClassList, setCSSStyleProperty, getBoundingClientRect, querySelector, querySelectorAll, getElementsByTagName, getElementsByClassName, getChildren, getChildNodes, getFirstChild, getFirstElementChild, getLastChild, getLastElementChild, getTagName, getStyle, isConnected, assertInstanceOfHTMLElement, ownerDocument, attachInternals, getParentNode, };
//# sourceMappingURL=index.d.ts.map
import type { SandboxableRendererAPI } from '../renderer-factory';
export declare const rendererApi: SandboxableRendererAPI;
//# sourceMappingURL=typecheck.d.ts.map

@@ -8,1 +8,2 @@ /**

export declare function insertStylesheet(content: string, target: ShadowRoot | undefined, signal: AbortSignal | undefined): void;
//# sourceMappingURL=styles.d.ts.map

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

"name": "@lwc/engine-dom",
"version": "8.12.7-alpha.0",
"version": "8.12.7",
"description": "Renders LWC components in a DOM environment.",

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

"devDependencies": {
"@lwc/engine-core": "8.12.7-alpha.0",
"@lwc/shared": "8.12.7-alpha.0",
"@lwc/features": "8.12.7-alpha.0"
"@lwc/engine-core": "8.12.7",
"@lwc/shared": "8.12.7",
"@lwc/features": "8.12.7"
},

@@ -66,2 +66,2 @@ "lwc": {

}
}
}

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