@lwc/engine-core 8.12.2 → 8.12.4

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.
Files changed (72) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/framework/api.d.ts +1 -0
  3. package/dist/framework/base-bridge-element.d.ts +1 -0
  4. package/dist/framework/base-lightning-element.d.ts +1 -0
  5. package/dist/framework/check-version-mismatch.d.ts +1 -0
  6. package/dist/framework/component.d.ts +1 -0
  7. package/dist/framework/decorators/api.d.ts +1 -0
  8. package/dist/framework/decorators/register.d.ts +1 -0
  9. package/dist/framework/decorators/track.d.ts +1 -0
  10. package/dist/framework/decorators/wire.d.ts +1 -0
  11. package/dist/framework/def.d.ts +1 -0
  12. package/dist/framework/fragment-cache.d.ts +1 -0
  13. package/dist/framework/freeze-template.d.ts +1 -0
  14. package/dist/framework/get-component-constructor.d.ts +1 -0
  15. package/dist/framework/hot-swaps.d.ts +1 -0
  16. package/dist/framework/html-element.d.ts +1 -0
  17. package/dist/framework/html-properties.d.ts +1 -0
  18. package/dist/framework/hydration.d.ts +1 -0
  19. package/dist/framework/invoker.d.ts +1 -0
  20. package/dist/framework/main.d.ts +1 -0
  21. package/dist/framework/membrane.d.ts +1 -0
  22. package/dist/framework/modules/attrs.d.ts +1 -0
  23. package/dist/framework/modules/computed-class-attr.d.ts +1 -0
  24. package/dist/framework/modules/computed-style-attr.d.ts +1 -0
  25. package/dist/framework/modules/events.d.ts +1 -0
  26. package/dist/framework/modules/props.d.ts +1 -0
  27. package/dist/framework/modules/refs.d.ts +1 -0
  28. package/dist/framework/modules/static-class-attr.d.ts +1 -0
  29. package/dist/framework/modules/static-parts.d.ts +1 -0
  30. package/dist/framework/modules/static-style-attr.d.ts +1 -0
  31. package/dist/framework/modules/text.d.ts +1 -0
  32. package/dist/framework/mutation-logger.d.ts +1 -0
  33. package/dist/framework/mutation-tracker.d.ts +1 -0
  34. package/dist/framework/observed-fields.d.ts +1 -0
  35. package/dist/framework/profiler.d.ts +1 -0
  36. package/dist/framework/readonly.d.ts +1 -0
  37. package/dist/framework/renderer.d.ts +1 -0
  38. package/dist/framework/rendering.d.ts +1 -0
  39. package/dist/framework/reporting.d.ts +1 -0
  40. package/dist/framework/restrictions.d.ts +1 -0
  41. package/dist/framework/runtime-instrumentation.d.ts +1 -0
  42. package/dist/framework/sanitized-html-content.d.ts +1 -0
  43. package/dist/framework/secure-template.d.ts +1 -0
  44. package/dist/framework/shadow-migration-mode.d.ts +1 -0
  45. package/dist/framework/stylesheet.d.ts +1 -0
  46. package/dist/framework/template.d.ts +1 -0
  47. package/dist/framework/update-component-value.d.ts +1 -0
  48. package/dist/framework/utils.d.ts +2 -0
  49. package/dist/framework/vm.d.ts +1 -0
  50. package/dist/framework/vnodes.d.ts +1 -0
  51. package/dist/framework/weak-multimap.d.ts +1 -0
  52. package/dist/framework/wiring/context.d.ts +1 -0
  53. package/dist/framework/wiring/index.d.ts +1 -0
  54. package/dist/framework/wiring/types.d.ts +1 -0
  55. package/dist/framework/wiring/wiring.d.ts +1 -0
  56. package/dist/index.cjs.js +15 -5
  57. package/dist/index.d.ts +1 -0
  58. package/dist/index.js +15 -5
  59. package/dist/libs/mutation-tracker/index.d.ts +1 -0
  60. package/dist/libs/reflection/aria-reflection.d.ts +1 -0
  61. package/dist/libs/reflection/attr-reflection.d.ts +1 -0
  62. package/dist/libs/reflection/index.d.ts +1 -0
  63. package/dist/libs/signal-tracker/index.d.ts +1 -0
  64. package/dist/patches/detect-non-standard-aria.d.ts +1 -0
  65. package/dist/patches/detect-synthetic-cross-root-aria.d.ts +1 -0
  66. package/dist/shared/circular-module-dependencies.d.ts +1 -0
  67. package/dist/shared/error.d.ts +1 -0
  68. package/dist/shared/format.d.ts +1 -0
  69. package/dist/shared/logger.d.ts +1 -0
  70. package/package.json +6 -5
  71. package/dist/index.cjs.js.map +0 -1
  72. package/dist/index.js.map +0 -1
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  MIT LICENSE
4
4
 
5
- Copyright (c) 2024, Salesforce, Inc.
5
+ Copyright (c) 2025, Salesforce, Inc.
6
6
  All rights reserved.
7
7
 
8
8
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -67,3 +67,4 @@ declare const api: Readonly<{
67
67
  }>;
68
68
  export default api;
69
69
  export type RenderAPI = typeof api;
70
+ //# sourceMappingURL=api.d.ts.map
@@ -5,3 +5,4 @@ export interface HTMLElementConstructor {
5
5
  }
6
6
  export declare function HTMLBridgeElementFactory(SuperClass: HTMLElementConstructor, publicProperties: string[], methods: string[], observedFields: string[], proto: LightningElement | null, hasCustomSuperClass: boolean): HTMLElementConstructor;
7
7
  export declare const BaseBridgeElement: HTMLElementConstructor;
8
+ //# sourceMappingURL=base-bridge-element.d.ts.map
@@ -47,3 +47,4 @@ export interface LightningElement extends HTMLElementTheGoodParts, AccessibleEle
47
47
  export declare const LightningElement: LightningElementConstructor;
48
48
  export declare const lightningBasedDescriptors: PropertyDescriptorMap;
49
49
  export {};
50
+ //# sourceMappingURL=base-lightning-element.d.ts.map
@@ -11,3 +11,4 @@ import type { Stylesheet } from '@lwc/shared';
11
11
  export declare function checkVersionMismatch(func: Template, type: 'template'): void;
12
12
  export declare function checkVersionMismatch(func: Stylesheet, type: 'stylesheet'): void;
13
13
  export declare function checkVersionMismatch(func: LightningElementConstructor, type: 'component'): void;
14
+ //# sourceMappingURL=check-version-mismatch.d.ts.map
@@ -25,3 +25,4 @@ export declare function renderComponent(vm: VM): VNodes;
25
25
  export declare function markComponentAsDirty(vm: VM): void;
26
26
  export declare function getWrappedComponentsListener(vm: VM, listener: EventListener): EventListener;
27
27
  export {};
28
+ //# sourceMappingURL=component.d.ts.map
@@ -6,3 +6,4 @@
6
6
  export default function api(value: unknown, context: ClassMemberDecoratorContext): void;
7
7
  export declare function createPublicPropertyDescriptor(key: string): PropertyDescriptor;
8
8
  export declare function createPublicAccessorDescriptor(key: PropertyKey, descriptor: PropertyDescriptor): PropertyDescriptor;
9
+ //# sourceMappingURL=api.d.ts.map
@@ -44,3 +44,4 @@ interface DecoratorMeta {
44
44
  }
45
45
  export declare function getDecoratorsMeta(Ctor: LightningElementConstructor): DecoratorMeta;
46
46
  export {};
47
+ //# sourceMappingURL=register.d.ts.map
@@ -6,3 +6,4 @@
6
6
  export default function track(target: undefined, context: ClassFieldDecoratorContext): void;
7
7
  export default function track<T>(target: T, context?: never): T;
8
8
  export declare function internalTrackDecorator(key: string): PropertyDescriptor;
9
+ //# sourceMappingURL=track.d.ts.map
@@ -27,3 +27,4 @@ interface WireDecorator<Value, Class> {
27
27
  export default function wire<ReactiveConfig extends ConfigValue = ConfigValue, Value = any, Context extends ContextValue = ContextValue, Class = LightningElement>(adapter: WireAdapterConstructor<ReplaceReactiveValues<ReactiveConfig, Class>, Value, Context>, config?: ReactiveConfig): WireDecorator<Value, Class>;
28
28
  export declare function internalWireFieldDecorator(key: string): PropertyDescriptor;
29
29
  export {};
30
+ //# sourceMappingURL=wire.d.ts.map
@@ -62,3 +62,4 @@ interface PublicComponentDef {
62
62
  */
63
63
  export declare function getComponentDef(Ctor: any): PublicComponentDef;
64
64
  export {};
65
+ //# sourceMappingURL=def.d.ts.map
@@ -4,3 +4,4 @@ export declare const enum FragmentCacheKey {
4
4
  }
5
5
  export declare function getFromFragmentCache(cacheKey: number, strings: string[]): Element | undefined;
6
6
  export declare function setInFragmentCache(cacheKey: number, strings: string[], element: Element): void;
7
+ //# sourceMappingURL=fragment-cache.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Template } from './template';
2
2
  export declare function freezeTemplate(tmpl: Template): void;
3
+ //# sourceMappingURL=freeze-template.d.ts.map
@@ -5,3 +5,4 @@ import type { LightningElement } from './base-lightning-element';
5
5
  * @param elm
6
6
  */
7
7
  export declare function getComponentConstructor(elm: HTMLElement): typeof LightningElement | null;
8
+ //# sourceMappingURL=get-component-constructor.d.ts.map
@@ -9,3 +9,4 @@ export declare function setActiveVM(vm: VM): void;
9
9
  export declare function swapTemplate(oldTpl: Template, newTpl: Template): boolean;
10
10
  export declare function swapComponent(oldComponent: LightningElementConstructor, newComponent: LightningElementConstructor): boolean;
11
11
  export declare function swapStyle(oldStyle: Stylesheet, newStyle: Stylesheet): boolean;
12
+ //# sourceMappingURL=hot-swaps.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare const HTMLElementConstructor: typeof HTMLElement;
2
2
  export declare const HTMLElementPrototype: HTMLElement;
3
+ //# sourceMappingURL=html-element.d.ts.map
@@ -5,3 +5,4 @@
5
5
  * Base Lightning Element should support.
6
6
  */
7
7
  export declare const HTMLElementOriginalDescriptors: PropertyDescriptorMap;
8
+ //# sourceMappingURL=html-properties.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { VM } from './vm';
2
2
  export declare function hydrateRoot(vm: VM): void;
3
+ //# sourceMappingURL=hydration.d.ts.map
@@ -8,3 +8,4 @@ export declare function invokeComponentCallback(vm: VM, fn: (...args: any[]) =>
8
8
  export declare function invokeComponentConstructor(vm: VM, Ctor: LightningElementConstructor): void;
9
9
  export declare function invokeComponentRenderMethod(vm: VM): VNodes;
10
10
  export declare function invokeEventListener(vm: VM, fn: EventListener, thisValue: LightningElement | undefined, event: Event): void;
11
+ //# sourceMappingURL=invoker.d.ts.map
@@ -30,3 +30,4 @@ export { readonly } from './readonly';
30
30
  export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features';
31
31
  export { setTrustedSignalSet } from '@lwc/shared';
32
32
  export type { Stylesheet, Stylesheets } from '@lwc/shared';
33
+ //# sourceMappingURL=main.d.ts.map
@@ -8,3 +8,4 @@ export declare function unwrap(value: any): any;
8
8
  export declare function getReadOnlyProxy(value: any): any;
9
9
  export declare function getReactiveProxy(value: any): any;
10
10
  export declare function markLockerLiveObject(obj: any): void;
11
+ //# sourceMappingURL=membrane.d.ts.map
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement, VStatic, VStaticPartElement } from '../vnodes';
3
3
  export declare function patchAttributes(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI): void;
4
4
  export declare function patchSlotAssignment(oldVnode: VBaseElement | VStatic | null, vnode: VBaseElement | VStatic, renderer: RendererAPI): void;
5
+ //# sourceMappingURL=attrs.d.ts.map
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement, VStaticPartElement } from '../vnodes';
3
3
  export declare function getMapFromClassName(className: string | undefined): Record<string, boolean>;
4
4
  export declare function patchClassAttribute(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI): void;
5
+ //# sourceMappingURL=computed-class-attr.d.ts.map
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement, VStaticPartElement } from '../vnodes';
3
3
  import type { VM } from '../vm';
4
4
  export declare function patchStyleAttribute(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI, owner: VM): void;
5
+ //# sourceMappingURL=computed-style-attr.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement, VStaticPartElement } from '../vnodes';
3
3
  export declare function applyEventListeners(vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI): void;
4
+ //# sourceMappingURL=events.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement } from '../vnodes';
3
3
  export declare function patchProps(oldVnode: VBaseElement | null, vnode: VBaseElement, renderer: RendererAPI): void;
4
+ //# sourceMappingURL=props.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { VM } from '../vm';
2
2
  import type { VBaseElement, VStaticPartElement } from '../vnodes';
3
3
  export declare function applyRefs(vnode: VBaseElement | VStaticPartElement, owner: VM): void;
4
+ //# sourceMappingURL=refs.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement } from '../vnodes';
3
3
  export declare function applyStaticClassAttribute(vnode: VBaseElement, renderer: RendererAPI): void;
4
+ //# sourceMappingURL=static-class-attr.d.ts.map
@@ -27,3 +27,4 @@ export declare function patchStaticParts(n1: VStatic, n2: VStatic, renderer: Ren
27
27
  * @param renderer the renderer to use
28
28
  */
29
29
  export declare function hydrateStaticParts(vnode: VStatic, renderer: RendererAPI): void;
30
+ //# sourceMappingURL=static-parts.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { RendererAPI } from '../renderer';
2
2
  import type { VBaseElement } from '../vnodes';
3
3
  export declare function applyStaticStyleAttribute(vnode: VBaseElement, renderer: RendererAPI): void;
4
+ //# sourceMappingURL=static-style-attr.d.ts.map
@@ -3,3 +3,4 @@ import type { VComment, VStaticPartText, VText } from '../vnodes';
3
3
  export declare function patchTextVNode(n1: VText, n2: VText, renderer: RendererAPI): void;
4
4
  export declare function patchTextVStaticPart(n1: VStaticPartText | null, n2: VStaticPartText, renderer: RendererAPI): void;
5
5
  export declare function updateTextContent(vnode: VText | VComment | VStaticPartText, renderer: RendererAPI): void;
6
+ //# sourceMappingURL=text.d.ts.map
@@ -32,3 +32,4 @@ export declare function associateReactiveObserverWithVM(reactiveObserver: Reacti
32
32
  * @param target - tracked target object
33
33
  */
34
34
  export declare function trackTargetForMutationLogging(key: PropertyKey, target: any): void;
35
+ //# sourceMappingURL=mutation-logger.d.ts.map
@@ -6,3 +6,4 @@ export declare function componentValueObserved(vm: VM, key: PropertyKey, target?
6
6
  export declare function createReactiveObserver(callback: CallbackFunction): ReactiveObserver;
7
7
  export * from '../libs/mutation-tracker';
8
8
  export * from '../libs/signal-tracker';
9
+ //# sourceMappingURL=mutation-tracker.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function createObservedFieldPropertyDescriptor(key: string): PropertyDescriptor;
2
+ //# sourceMappingURL=observed-fields.d.ts.map
@@ -31,3 +31,4 @@ export declare function logGlobalOperationStartWithVM(opId: GlobalOperationId, v
31
31
  export declare function logGlobalOperationEnd(opId: GlobalOperationId, mutationLogs: MutationLog[] | undefined): void;
32
32
  export declare function logGlobalOperationEndWithVM(opId: GlobalOperationId, vm: VM): void;
33
33
  export {};
34
+ //# sourceMappingURL=profiler.d.ts.map
@@ -5,3 +5,4 @@
5
5
  * @param obj
6
6
  */
7
7
  export declare function readonly(obj: any): any;
8
+ //# sourceMappingURL=readonly.d.ts.map
@@ -53,3 +53,4 @@ export interface RendererAPI {
53
53
  stopTrackingMutations: (elm: E) => void;
54
54
  }
55
55
  export {};
56
+ //# sourceMappingURL=renderer.d.ts.map
@@ -6,3 +6,4 @@ export declare function mount(node: VNode, parent: ParentNode, renderer: Rendere
6
6
  export declare function removeNode(node: Node, parent: ParentNode, renderer: RendererAPI): void;
7
7
  export declare function allocateChildren(vnode: VCustomElement, vm: VM): void;
8
8
  export declare function markAsDynamicChildren(children: VNodes): void;
9
+ //# sourceMappingURL=rendering.d.ts.map
@@ -84,3 +84,4 @@ export declare function report<T extends ReportingEventId>(reportingEventId: T,
84
84
  */
85
85
  export declare function isReportingEnabled(): boolean;
86
86
  export {};
87
+ //# sourceMappingURL=reporting.d.ts.map
@@ -7,3 +7,4 @@ export declare function patchElementWithRestrictions(elm: Element, options: {
7
7
  }): void;
8
8
  export declare function patchShadowRootWithRestrictions(sr: ShadowRoot): void;
9
9
  export declare function patchCustomElementWithRestrictions(elm: HTMLElement): void;
10
+ //# sourceMappingURL=restrictions.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare const instrumentDef: any;
2
2
  export declare const instrumentInstance: any;
3
+ //# sourceMappingURL=runtime-instrumentation.d.ts.map
@@ -27,3 +27,4 @@ export declare function safelySetProperty(setProperty: RendererAPI['setProperty'
27
27
  */
28
28
  export declare function isSanitizedHtmlContentEqual(first: any, second: any): boolean;
29
29
  export {};
30
+ //# sourceMappingURL=sanitized-html-content.d.ts.map
@@ -16,3 +16,4 @@ export declare function registerTemplate(tpl: Template): Template;
16
16
  * @param attrValue
17
17
  */
18
18
  export declare function sanitizeAttribute(tagName: string, namespaceUri: string, attrName: string, attrValue: any): string;
19
+ //# sourceMappingURL=secure-template.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function applyShadowMigrateMode(shadowRoot: ShadowRoot): void;
2
+ //# sourceMappingURL=shadow-migration-mode.d.ts.map
@@ -22,3 +22,4 @@ export declare function getScopeTokenClass(owner: VM, legacy: boolean): string |
22
22
  export declare function getStylesheetTokenHost(vnode: VCustomElement): string | null;
23
23
  export declare function createStylesheet(vm: VM, stylesheets: ReadonlyArray<string>): VNode[] | null;
24
24
  export declare function unrenderStylesheet(stylesheet: Stylesheet): void;
25
+ //# sourceMappingURL=stylesheet.d.ts.map
@@ -25,3 +25,4 @@ export declare const parseSVGFragment: (strings: string[], ...keys: (string | nu
25
25
  export declare function evaluateTemplate(vm: VM, html: Template): VNodes;
26
26
  export declare function computeHasScopedStyles(template: Template, vm: VM | undefined): boolean;
27
27
  export declare function hasStyles(stylesheets: Stylesheets | undefined | null): stylesheets is Stylesheets;
28
+ //# sourceMappingURL=template.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { VM } from './vm';
2
2
  export declare function updateComponentValue(vm: VM, key: string, newValue: any): void;
3
+ //# sourceMappingURL=update-component-value.d.ts.map
@@ -12,4 +12,6 @@ export declare function cloneAndOmitKey(object: {
12
12
  };
13
13
  export declare function assertNotProd(): void;
14
14
  export declare function shouldBeFormAssociated(Ctor: LightningElementConstructor): boolean;
15
+ export declare function safeHasProp<K extends PropertyKey>(obj: unknown, prop: K): obj is Record<K, unknown>;
15
16
  export {};
17
+ //# sourceMappingURL=utils.d.ts.map
@@ -192,3 +192,4 @@ export type FormRestoreReason = 'restore' | 'autocomplete';
192
192
  export declare function runFormStateRestoreCallback(elm: HTMLElement, state: FormRestoreState | null, reason: FormRestoreReason): void;
193
193
  export declare function resetRefVNodes(vm: VM): void;
194
194
  export {};
195
+ //# sourceMappingURL=vm.d.ts.map
@@ -132,3 +132,4 @@ export declare function isVScopedSlotFragment(vnode: VNode): vnode is VScopedSlo
132
132
  export declare function isVStatic(vnode: VNode): vnode is VStatic;
133
133
  export declare function isVStaticPartElement(vnode: VStaticPart): vnode is VStaticPartElement;
134
134
  export declare function isVStaticPartText(vnode: VStaticPart): vnode is VStaticPartText;
135
+ //# sourceMappingURL=vnodes.d.ts.map
@@ -27,3 +27,4 @@ declare class ModernWeakMultiMap<K extends object, V extends object> implements
27
27
  }
28
28
  export declare const WeakMultiMap: typeof LegacyWeakMultiMap | typeof ModernWeakMultiMap;
29
29
  export {};
30
+ //# sourceMappingURL=weak-multimap.d.ts.map
@@ -2,3 +2,4 @@ import type { VM } from '../vm';
2
2
  import type { ContextProvider, ContextValue, RegisterContextProviderFn, WireAdapterConstructor, WireDef } from './types';
3
3
  export declare function createContextProviderWithRegister(adapter: WireAdapterConstructor, registerContextProvider: RegisterContextProviderFn): ContextProvider;
4
4
  export declare function createContextWatcher(vm: VM, wireDef: WireDef, callbackWhenContextIsReady: (newContext: ContextValue) => void): void;
5
+ //# sourceMappingURL=context.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export { createContextProviderWithRegister, createContextWatcher } from './context';
2
2
  export { ConfigCallback, ConfigValue, ContextConsumer, ContextProvider, ContextProviderOptions, ContextValue, DataCallback, ReplaceReactiveValues, WireAdapter, WireAdapterConstructor, WireAdapterSchemaValue, WireContextSubscriptionPayload, WireContextSubscriptionCallback, } from './types';
3
3
  export { connectWireAdapters, disconnectWireAdapters, installWireAdapters, storeWiredFieldMeta, storeWiredMethodMeta, } from './wiring';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -64,3 +64,4 @@ export type ReplaceReactiveValues<Config extends ConfigValue, Component> = {
64
64
  [K in keyof Config]: ResolveValueIfReactive<Config[K], Component>;
65
65
  };
66
66
  export {};
67
+ //# sourceMappingURL=types.d.ts.map
@@ -5,3 +5,4 @@ export declare function storeWiredFieldMeta(descriptor: PropertyDescriptor, adap
5
5
  export declare function installWireAdapters(vm: VM): void;
6
6
  export declare function connectWireAdapters(vm: VM): void;
7
7
  export declare function disconnectWireAdapters(vm: VM): void;
8
+ //# sourceMappingURL=wiring.d.ts.map
package/dist/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2024 Salesforce, Inc.
2
+ * Copyright (c) 2025 Salesforce, Inc.
3
3
  */
4
4
  'use strict';
5
5
 
@@ -251,6 +251,16 @@ function shouldBeFormAssociated(Ctor) {
251
251
  }
252
252
  return ctorFormAssociated && apiFeatureEnabled;
253
253
  }
254
+ // check if a property is in an object, and if the object throws an error merely because we are
255
+ // checking if the property exists, return false
256
+ function safeHasProp(obj, prop) {
257
+ try {
258
+ return prop in obj;
259
+ }
260
+ catch (_err) {
261
+ return false;
262
+ }
263
+ }
254
264
 
255
265
  /*
256
266
  * Copyright (c) 2024, Salesforce, Inc.
@@ -591,14 +601,14 @@ function componentValueObserved(vm, key, target = {}) {
591
601
  valueObserved(component, key);
592
602
  }
593
603
  // The portion of reactivity that's exposed to signals is to subscribe a callback to re-render the VM (templates).
594
- // We check check the following to ensure re-render is subscribed at the correct time.
604
+ // We check the following to ensure re-render is subscribed at the correct time.
595
605
  // 1. The template is currently being rendered (there is a template reactive observer)
596
606
  // 2. There was a call to a getter to access the signal (happens during vnode generation)
597
607
  if (lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
598
608
  shared.isObject(target) &&
599
609
  !shared.isNull(target) &&
600
- 'value' in target &&
601
- 'subscribe' in target &&
610
+ safeHasProp(target, 'value') &&
611
+ safeHasProp(target, 'subscribe') &&
602
612
  shared.isFunction(target.subscribe) &&
603
613
  shared.isTrustedSignal(target) &&
604
614
  // Only subscribe if a template is being rendered by the engine
@@ -8421,5 +8431,5 @@ exports.swapTemplate = swapTemplate;
8421
8431
  exports.track = track;
8422
8432
  exports.unwrap = unwrap;
8423
8433
  exports.wire = wire;
8424
- /** version: 8.12.2 */
8434
+ /** version: 8.12.4 */
8425
8435
  //# sourceMappingURL=index.cjs.js.map
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import './patches/detect-synthetic-cross-root-aria';
2
2
  import './patches/detect-non-standard-aria';
3
3
  export * from './framework/main';
4
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2024 Salesforce, Inc.
2
+ * Copyright (c) 2025 Salesforce, Inc.
3
3
  */
4
4
  import { noop, StringToLowerCase, isNull, ArrayPush as ArrayPush$1, ArrayJoin, isFrozen, isUndefined as isUndefined$1, defineProperty, seal, create, isAPIFeatureEnabled, isFunction as isFunction$1, keys, ArrayFilter, isObject, isArray as isArray$1, getOwnPropertyNames as getOwnPropertyNames$1, getOwnPropertySymbols as getOwnPropertySymbols$1, toString, isString, ArrayIndexOf, ArrayPop, isFalse, isTrustedSignal, hasOwnProperty as hasOwnProperty$1, entries, AriaPropNameToAttrNameMap, getPropertyDescriptor, AriaAttrNameToPropNameMap, forEach, REFLECTIVE_GLOBAL_PROPERTY_SET, defineProperties, getPrototypeOf as getPrototypeOf$1, setPrototypeOf, assign, assert, freeze, KEY__SYNTHETIC_MODE, getOwnPropertyDescriptor as getOwnPropertyDescriptor$1, LWC_VERSION_COMMENT_REGEX, LWC_VERSION, getOwnPropertyDescriptors, htmlPropertyToAttribute, ArraySlice, ArrayMap, isTrue, KEY__SCOPED_CSS, KEY__NATIVE_ONLY_CSS, ArraySplice, flattenStylesheets, kebabCaseToCamelCase, StringCharCodeAt, XML_NAMESPACE, XLINK_NAMESPACE, StringSlice, SVG_NAMESPACE, KEY__SHADOW_STATIC, KEY__SHADOW_RESOLVER, ArraySome, isNumber, StringReplace, sanitizeHtmlContent, normalizeClass, ArraySort, ArrayFrom, htmlEscape, StringCharAt, LOWEST_API_VERSION, ArrayUnshift, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_QUERY_SELECTOR_ALL, ID_REFERENCING_ATTRIBUTES_SET, KEY__SHADOW_TOKEN, StringSplit, parseStyleText, arrayEvery, ArrayCopyWithin, ArrayFill, ArrayReverse, ArrayShift } from '@lwc/shared';
5
5
  export { setHooks, setTrustedSignalSet } from '@lwc/shared';
@@ -248,6 +248,16 @@ function shouldBeFormAssociated(Ctor) {
248
248
  }
249
249
  return ctorFormAssociated && apiFeatureEnabled;
250
250
  }
251
+ // check if a property is in an object, and if the object throws an error merely because we are
252
+ // checking if the property exists, return false
253
+ function safeHasProp(obj, prop) {
254
+ try {
255
+ return prop in obj;
256
+ }
257
+ catch (_err) {
258
+ return false;
259
+ }
260
+ }
251
261
 
252
262
  /*
253
263
  * Copyright (c) 2024, Salesforce, Inc.
@@ -588,14 +598,14 @@ function componentValueObserved(vm, key, target = {}) {
588
598
  valueObserved(component, key);
589
599
  }
590
600
  // The portion of reactivity that's exposed to signals is to subscribe a callback to re-render the VM (templates).
591
- // We check check the following to ensure re-render is subscribed at the correct time.
601
+ // We check the following to ensure re-render is subscribed at the correct time.
592
602
  // 1. The template is currently being rendered (there is a template reactive observer)
593
603
  // 2. There was a call to a getter to access the signal (happens during vnode generation)
594
604
  if (lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
595
605
  isObject(target) &&
596
606
  !isNull(target) &&
597
- 'value' in target &&
598
- 'subscribe' in target &&
607
+ safeHasProp(target, 'value') &&
608
+ safeHasProp(target, 'subscribe') &&
599
609
  isFunction$1(target.subscribe) &&
600
610
  isTrustedSignal(target) &&
601
611
  // Only subscribe if a template is being rendered by the engine
@@ -8367,5 +8377,5 @@ function readonly(obj) {
8367
8377
  }
8368
8378
 
8369
8379
  export { BaseBridgeElement, LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
8370
- /** version: 8.12.2 */
8380
+ /** version: 8.12.4 */
8371
8381
  //# sourceMappingURL=index.js.map
@@ -17,3 +17,4 @@ export declare class ReactiveObserver {
17
17
  link(reactiveObservers: ReactiveObserver[]): void;
18
18
  isObserving(): boolean;
19
19
  }
20
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare const ariaReflectionPolyfillDescriptors: any;
2
+ //# sourceMappingURL=aria-reflection.d.ts.map
@@ -1,2 +1,3 @@
1
1
  declare const descriptors: Record<string, PropertyDescriptor>;
2
2
  export { descriptors as propToAttrReflectionPolyfillDescriptors };
3
+ //# sourceMappingURL=attr-reflection.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export { ariaReflectionPolyfillDescriptors } from './aria-reflection';
2
2
  export { propToAttrReflectionPolyfillDescriptors } from './attr-reflection';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -3,3 +3,4 @@ export declare function subscribeToSignal(target: object, signal: Signal<unknown
3
3
  export declare function unsubscribeFromSignals(target: object): void;
4
4
  type CallbackFunction = () => void;
5
5
  export {};
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=detect-non-standard-aria.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=detect-synthetic-cross-root-aria.d.ts.map
@@ -14,3 +14,4 @@ interface CircularModuleDependency<M extends object> {
14
14
  export declare function resolveCircularModuleDependency<M extends MaybeModule>(fn: CircularModuleDependency<M>): M;
15
15
  export declare function isCircularModuleDependency(obj: unknown): obj is CircularModuleDependency<any>;
16
16
  export {};
17
+ //# sourceMappingURL=circular-module-dependencies.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { VM } from '../framework/vm';
2
2
  export declare function addErrorComponentStack(vm: VM, error: any): void;
3
+ //# sourceMappingURL=error.d.ts.map
@@ -2,3 +2,4 @@ import type { VM } from '../framework/vm';
2
2
  export declare function getComponentTag(vm: VM): string;
3
3
  export declare function getComponentStack(vm: VM): string;
4
4
  export declare function getErrorComponentStack(vm: VM): string;
5
+ //# sourceMappingURL=format.d.ts.map
@@ -2,3 +2,4 @@ import type { VM } from '../framework/vm';
2
2
  export declare function logError(message: string, vm?: VM): void;
3
3
  export declare function logWarn(message: string, vm?: VM): void;
4
4
  export declare function logWarnOnce(message: string, vm?: VM): void;
5
+ //# sourceMappingURL=logger.d.ts.map
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/engine-core",
7
- "version": "8.12.2",
7
+ "version": "8.12.4",
8
8
  "description": "Core LWC engine APIs.",
9
9
  "keywords": [
10
10
  "lwc"
@@ -29,7 +29,8 @@
29
29
  "module": "dist/index.js",
30
30
  "types": "dist/index.d.ts",
31
31
  "files": [
32
- "dist"
32
+ "dist/**/*.js",
33
+ "dist/**/*.d.ts"
33
34
  ],
34
35
  "scripts": {
35
36
  "build": "rollup --config ../../../scripts/rollup/rollup.config.js",
@@ -45,9 +46,9 @@
45
46
  }
46
47
  },
47
48
  "dependencies": {
48
- "@lwc/features": "8.12.2",
49
- "@lwc/shared": "8.12.2",
50
- "@lwc/signals": "8.12.2"
49
+ "@lwc/features": "8.12.4",
50
+ "@lwc/shared": "8.12.4",
51
+ "@lwc/signals": "8.12.4"
51
52
  },
52
53
  "devDependencies": {
53
54
  "observable-membrane": "2.0.0"