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

@lwc/shared

Package Overview
Dependencies
Maintainers
0
Versions
614
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/shared - npm Package Compare versions

Comparing version 8.12.2 to 8.12.3

1

dist/api-version.d.ts

@@ -79,1 +79,2 @@ export declare const enum APIVersion {

export declare function isAPIFeatureEnabled(apiVersionFeature: APIFeature, apiVersion: APIVersion): boolean;
//# sourceMappingURL=api-version.d.ts.map

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

export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };
//# sourceMappingURL=aria.d.ts.map

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

export declare function fail(msg: string): never;
//# sourceMappingURL=assert.d.ts.map

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

export declare function generateCustomElementTagName(namespace?: string, name?: string): string;
//# sourceMappingURL=custom-element.d.ts.map

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

export declare function kebabCaseToCamelCase(attrName: string): string;
//# sourceMappingURL=html-attributes.d.ts.map

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

export declare function htmlEscape(str: string, attrMode?: boolean): string;
//# sourceMappingURL=html-escape.d.ts.map

6

dist/index.cjs.js
/**
* Copyright (c) 2024 Salesforce, Inc.
* Copyright (c) 2025 Salesforce, Inc.
*/

@@ -718,3 +718,3 @@ 'use strict';

// Increment whenever the LWC template compiler changes
const LWC_VERSION = "8.12.2";
const LWC_VERSION = "8.12.3";
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;

@@ -1011,3 +1011,3 @@ const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;

exports.toString = toString;
/** version: 8.12.2 */
/** version: 8.12.3 */
//# sourceMappingURL=index.cjs.js.map

@@ -19,1 +19,2 @@ import * as assert from './assert';

export { assert };
//# sourceMappingURL=index.d.ts.map
/**
* Copyright (c) 2024 Salesforce, Inc.
* Copyright (c) 2025 Salesforce, Inc.
*/

@@ -714,3 +714,3 @@ /*

// Increment whenever the LWC template compiler changes
const LWC_VERSION = "8.12.2";
const LWC_VERSION = "8.12.3";
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;

@@ -897,3 +897,3 @@ const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;

export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayEvery, ArrayFill, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFrom, ArrayIncludes, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, DEFAULT_SSR_MODE, HIGHEST_API_VERSION, HTML_NAMESPACE, ID_REFERENCING_ATTRIBUTES_SET, IMPORTANT_FLAG, KEY__LEGACY_SHADOW_TOKEN, KEY__LEGACY_SHADOW_TOKEN_PRIVATE, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_ONLY_CSS, KEY__NATIVE_QUERY_SELECTOR_ALL, KEY__SCOPED_CSS, KEY__SHADOW_RESOLVER, KEY__SHADOW_RESOLVER_PRIVATE, KEY__SHADOW_STATIC, KEY__SHADOW_STATIC_PRIVATE, KEY__SHADOW_TOKEN, KEY__SHADOW_TOKEN_PRIVATE, KEY__SYNTHETIC_MODE, LOWEST_API_VERSION, LWC_VERSION, LWC_VERSION_COMMENT, LWC_VERSION_COMMENT_REGEX, MATHML_NAMESPACE, REFLECTIVE_GLOBAL_PROPERTY_SET, SPECIAL_PROPERTY_ATTRIBUTE_MAPPING, SVG_NAMESPACE, StringCharAt, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringTrim, XLINK_NAMESPACE, XML_NAMESPACE, addTrustedSignal, arrayEvery, assert, assign, create, defineProperties, defineProperty, entries, flattenStylesheets, forEach, freeze, fromEntries, generateCustomElementTagName, getAPIVersionFromNumber, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPropertyDescriptor, getPrototypeOf, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAPIFeatureEnabled, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isTrustedSignal, isUndefined, isVoidElement, kebabCaseToCamelCase, keys, noop, normalizeClass, normalizeStyleAttributeValue, parseStyleText, sanitizeHtmlContent, seal, setHooks, setPrototypeOf, setTrustedSignalSet, toString };
/** version: 8.12.2 */
/** version: 8.12.3 */
//# sourceMappingURL=index.js.map

@@ -14,1 +14,2 @@ export declare const KEY__SHADOW_RESOLVER = "$shadowResolver$";

export declare const KEY__NATIVE_QUERY_SELECTOR_ALL = "$nativeQuerySelectorAll$";
//# sourceMappingURL=keys.d.ts.map

@@ -303,1 +303,2 @@ declare const

export declare function getPropertyDescriptor(o: unknown, p: PropertyKey): PropertyDescriptor | undefined;
//# sourceMappingURL=language.d.ts.map
export declare const LWC_VERSION: string;
export declare const LWC_VERSION_COMMENT: string;
export declare const LWC_VERSION_COMMENT_REGEX: RegExp;
//# sourceMappingURL=meta.d.ts.map

@@ -6,1 +6,2 @@ export declare const HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";

export declare const XLINK_NAMESPACE = "http://www.w3.org/1999/xlink";
//# sourceMappingURL=namespaces.d.ts.map

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

export declare function normalizeClass(value: unknown): string | undefined;
//# sourceMappingURL=normalize-class.d.ts.map

@@ -16,1 +16,2 @@ export interface SanitizeHtmlContentHook {

export {};
//# sourceMappingURL=overridable-hooks.d.ts.map
export declare function setTrustedSignalSet(signals: WeakSet<object>): void;
export declare function addTrustedSignal(signal: object): void;
export declare function isTrustedSignal(target: object): boolean;
//# sourceMappingURL=signals.d.ts.map
export type CompilationMode = 'asyncYield' | 'async' | 'sync';
export declare const DEFAULT_SSR_MODE: CompilationMode;
//# sourceMappingURL=ssr.d.ts.map

@@ -7,1 +7,2 @@ export declare const enum STATIC_PART_TOKEN_ID {

}
//# sourceMappingURL=static-part-tokens.d.ts.map

@@ -33,1 +33,2 @@ import type { KEY__NATIVE_ONLY_CSS, KEY__SCOPED_CSS } from './keys';

export declare function flattenStylesheets(stylesheets: Stylesheets): Stylesheet[];
//# sourceMappingURL=style.d.ts.map

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

export declare function isVoidElement(name: string, namespace: string): boolean;
//# sourceMappingURL=void-elements.d.ts.map

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

"name": "@lwc/shared",
"version": "8.12.2",
"version": "8.12.3",
"description": "Utilities and methods that are shared across packages",

@@ -33,3 +33,4 @@ "keywords": [

"files": [
"dist"
"dist/**/*.js",
"dist/**/*.d.ts"
],

@@ -36,0 +37,0 @@ "scripts": {

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