@lwc/shared 2.18.0 → 2.19.0
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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/types/language.d.ts +7 -4
package/dist/index.cjs.js
CHANGED
|
@@ -470,7 +470,7 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
470
470
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
471
471
|
*/
|
|
472
472
|
// Increment whenever the LWC template compiler changes
|
|
473
|
-
const LWC_VERSION = "2.
|
|
473
|
+
const LWC_VERSION = "2.19.0";
|
|
474
474
|
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
|
|
475
475
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
476
476
|
|
|
@@ -551,4 +551,4 @@ exports.noop = noop;
|
|
|
551
551
|
exports.seal = seal;
|
|
552
552
|
exports.setPrototypeOf = setPrototypeOf;
|
|
553
553
|
exports.toString = toString;
|
|
554
|
-
/** version: 2.
|
|
554
|
+
/** version: 2.19.0 */
|
package/dist/index.js
CHANGED
|
@@ -466,9 +466,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
466
466
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
467
467
|
*/
|
|
468
468
|
// Increment whenever the LWC template compiler changes
|
|
469
|
-
const LWC_VERSION = "2.
|
|
469
|
+
const LWC_VERSION = "2.19.0";
|
|
470
470
|
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
|
|
471
471
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
472
472
|
|
|
473
473
|
export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayCopyWithin, ArrayFill, ArrayFilter, ArrayFind, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySort, ArraySplice, ArrayUnshift, HTML_NAMESPACE, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, 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, LWC_VERSION, LWC_VERSION_COMMENT, LWC_VERSION_COMMENT_REGEX, MATHML_NAMESPACE, SVG_NAMESPACE, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringToLowerCase, VOID_ELEMENTS, XLINK_NAMESPACE, XML_NAMESPACE, assert, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, _globalThis as globalThis, hasNativeSymbolSupport, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, keys, noop, seal, setPrototypeOf, toString };
|
|
474
|
-
/** version: 2.
|
|
474
|
+
/** version: 2.19.0 */
|
package/package.json
CHANGED
package/types/language.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const assign: {
|
|
2
|
-
<T, U>(target: T, source: U): T & U;
|
|
3
|
-
<T_1, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
4
|
-
<T_2, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
2
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
3
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
4
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
5
5
|
(target: object, ...sources: any[]): any;
|
|
6
6
|
}, create: {
|
|
7
7
|
(o: object | null): any;
|
|
@@ -9,7 +9,10 @@ declare const assign: {
|
|
|
9
9
|
}, defineProperties: <T>(o: T, properties: PropertyDescriptorMap & ThisType<any>) => T, defineProperty: <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T, freeze: {
|
|
10
10
|
<T>(a: T[]): readonly T[];
|
|
11
11
|
<T_1 extends Function>(f: T_1): T_1;
|
|
12
|
-
<T_2
|
|
12
|
+
<T_2 extends {
|
|
13
|
+
[idx: string]: object | U | null | undefined;
|
|
14
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_2): Readonly<T_2>;
|
|
15
|
+
<T_3>(o: T_3): Readonly<T_3>;
|
|
13
16
|
}, getOwnPropertyDescriptor: (o: any, p: PropertyKey) => PropertyDescriptor | undefined, getOwnPropertyNames: (o: any) => string[], getPrototypeOf: (o: any) => any, hasOwnProperty: (v: PropertyKey) => boolean, isFrozen: (o: any) => boolean, keys: {
|
|
14
17
|
(o: object): string[];
|
|
15
18
|
(o: {}): string[];
|