@lwc/shared
Advanced tools
Comparing version 7.2.1 to 7.2.2
@@ -97,4 +97,7 @@ /** | ||
setPrototypeOf, } = Object; | ||
const { | ||
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */ | ||
const { isArray } = Array; | ||
isArray, | ||
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */ | ||
from: ArrayFrom, } = Array; | ||
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even | ||
@@ -749,3 +752,3 @@ // though it works fine for one, e.g. isArray), so comments for these are added to the export | ||
// Increment whenever the LWC template compiler changes | ||
const LWC_VERSION = "7.2.1"; | ||
const LWC_VERSION = "7.2.2"; | ||
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`; | ||
@@ -763,2 +766,3 @@ const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/; | ||
exports.ArrayFindIndex = ArrayFindIndex; | ||
exports.ArrayFrom = ArrayFrom; | ||
exports.ArrayIncludes = ArrayIncludes; | ||
@@ -850,3 +854,3 @@ exports.ArrayIndexOf = ArrayIndexOf; | ||
exports.toString = toString; | ||
/** version: 7.2.1 */ | ||
/** version: 7.2.2 */ | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -93,4 +93,7 @@ /** | ||
setPrototypeOf, } = Object; | ||
const { | ||
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */ | ||
const { isArray } = Array; | ||
isArray, | ||
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */ | ||
from: ArrayFrom, } = Array; | ||
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even | ||
@@ -745,8 +748,8 @@ // though it works fine for one, e.g. isArray), so comments for these are added to the export | ||
// Increment whenever the LWC template compiler changes | ||
const LWC_VERSION = "7.2.1"; | ||
const LWC_VERSION = "7.2.2"; | ||
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, 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.2.1 */ | ||
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, 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.2.2 */ | ||
//# sourceMappingURL=index.js.map |
@@ -56,4 +56,10 @@ declare const | ||
setPrototypeOf: (o: any, proto: object | null) => any; | ||
declare const | ||
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */ | ||
declare const isArray: (arg: any) => arg is any[]; | ||
isArray: (arg: any) => arg is any[], ArrayFrom: { | ||
<T>(arrayLike: ArrayLike<T>): T[]; | ||
<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; | ||
<T>(iterable: Iterable<T> | ArrayLike<T>): T[]; | ||
<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; | ||
}; | ||
/** The most extensible array type. */ | ||
@@ -156,2 +162,4 @@ type BaseArray = readonly unknown[]; | ||
isArray, | ||
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */ | ||
ArrayFrom, | ||
/** Unbound {@linkcode Array.prototype.concat}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat MDN Reference}. */ | ||
@@ -158,0 +166,0 @@ ArrayConcat, |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/shared", | ||
"version": "7.2.1", | ||
"version": "7.2.2", | ||
"description": "Utilities and methods that are shared across packages", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120117
2075