Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lwc/shared

Package Overview
Dependencies
Maintainers
14
Versions
594
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 6.6.3 to 7.0.0-alpha.0

11

dist/api-version.d.ts

@@ -58,3 +58,12 @@ export declare const enum APIVersion {

*/
ENABLE_ELEMENT_INTERNALS_AND_FACE = 8
ENABLE_ELEMENT_INTERNALS_AND_FACE = 8,
/**
* If enabled, add support for complex class expressions in the template.
*/
TEMPLATE_CLASS_NAME_OBJECT_BINDING = 9,
/**
* If enabled, allow `this.style` within a `LightningElement` to return the `CSSStyleDeclaration`
* for that element.
*/
ENABLE_THIS_DOT_STYLE = 10
}

@@ -61,0 +70,0 @@ /**

10

dist/index.cjs.js

@@ -123,3 +123,3 @@ /**

// No JSDocs here - see comment for Array.prototype
const { charAt: StringCharAt, charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
const { charAt: StringCharAt, charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, trim: StringTrim, } = String.prototype;
/**

@@ -319,2 +319,5 @@ * Determines whether the argument is `undefined`.

return apiVersion >= 61 /* APIVersion.V61_250_SUMMER_24 */;
case 9 /* APIFeature.TEMPLATE_CLASS_NAME_OBJECT_BINDING */:
case 10 /* APIFeature.ENABLE_THIS_DOT_STYLE */:
return apiVersion >= 62 /* APIVersion.V62_252_WINTER_25 */;
}

@@ -747,3 +750,3 @@ }

// Increment whenever the LWC template compiler changes
const LWC_VERSION = "6.6.3";
const LWC_VERSION = "7.0.0-alpha.0";
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;

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

exports.StringToLowerCase = StringToLowerCase;
exports.StringTrim = StringTrim;
exports.XLINK_NAMESPACE = XLINK_NAMESPACE;

@@ -847,3 +851,3 @@ exports.XML_NAMESPACE = XML_NAMESPACE;

exports.toString = toString;
/** version: 6.6.3 */
/** version: 7.0.0-alpha.0 */
//# sourceMappingURL=index.cjs.js.map

@@ -119,3 +119,3 @@ /**

// No JSDocs here - see comment for Array.prototype
const { charAt: StringCharAt, charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
const { charAt: StringCharAt, charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, trim: StringTrim, } = String.prototype;
/**

@@ -315,2 +315,5 @@ * Determines whether the argument is `undefined`.

return apiVersion >= 61 /* APIVersion.V61_250_SUMMER_24 */;
case 9 /* APIFeature.TEMPLATE_CLASS_NAME_OBJECT_BINDING */:
case 10 /* APIFeature.ENABLE_THIS_DOT_STYLE */:
return apiVersion >= 62 /* APIVersion.V62_252_WINTER_25 */;
}

@@ -743,8 +746,8 @@ }

// Increment whenever the LWC template compiler changes
const LWC_VERSION = "6.6.3";
const LWC_VERSION = "7.0.0-alpha.0";
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayEvery, ArrayFill, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayIncludes, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, HIGHEST_API_VERSION, HTML_NAMESPACE, ID_REFERENCING_ATTRIBUTES_SET, KEY__LEGACY_SHADOW_TOKEN, KEY__LEGACY_SHADOW_TOKEN_PRIVATE, KEY__NATIVE_GET_ELEMENT_BY_ID, 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, SVG_NAMESPACE, StringCharAt, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringSplit, StringToLowerCase, XLINK_NAMESPACE, XML_NAMESPACE, arrayEvery, assert, assign, create, defineProperties, defineProperty, entries, forEach, freeze, getAPIVersionFromNumber, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAPIFeatureEnabled, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, kebabCaseToCamelCase, keys, noop, reservedKeywords, seal, setPrototypeOf, toString };
/** version: 6.6.3 */
export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayEvery, ArrayFill, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayIncludes, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, HIGHEST_API_VERSION, HTML_NAMESPACE, ID_REFERENCING_ATTRIBUTES_SET, KEY__LEGACY_SHADOW_TOKEN, KEY__LEGACY_SHADOW_TOKEN_PRIVATE, KEY__NATIVE_GET_ELEMENT_BY_ID, 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, SVG_NAMESPACE, StringCharAt, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringTrim, XLINK_NAMESPACE, XML_NAMESPACE, arrayEvery, assert, assign, create, defineProperties, defineProperty, entries, forEach, freeze, getAPIVersionFromNumber, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAPIFeatureEnabled, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, kebabCaseToCamelCase, keys, noop, reservedKeywords, seal, setPrototypeOf, toString };
/** version: 7.0.0-alpha.0 */
//# sourceMappingURL=index.js.map

@@ -151,3 +151,3 @@ declare const

}, limit?: number | undefined): string[];
}, StringSlice: (start?: number | undefined, end?: number | undefined) => string, StringToLowerCase: () => string;
}, StringSlice: (start?: number | undefined, end?: number | undefined) => string, StringToLowerCase: () => string, StringTrim: () => string;
export {

@@ -213,3 +213,5 @@ /** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */

/** Unbound {@linkcode String.prototype.toLowerCase}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase MDN Reference}. */
StringToLowerCase, };
StringToLowerCase,
/** Unbound {@linkcode String.prototype.trim}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trim MDN Reference}. */
StringTrim, };
/**

@@ -216,0 +218,0 @@ * Determines whether the argument is `undefined`.

@@ -18,4 +18,24 @@ # LWC core license

MIT license defined in package.json in v0.4.0.
The MIT License (MIT)
Copyright © 2024 James Garbutt
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:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## entities

@@ -22,0 +42,0 @@

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

"name": "@lwc/shared",
"version": "6.6.3",
"version": "7.0.0-alpha.0",
"description": "Utilities and methods that are shared across packages",

@@ -45,2 +45,2 @@ "keywords": [

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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