@lwc/shared 2.9.0 → 2.10.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 +16 -1
- package/dist/index.js +14 -2
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/types/meta.d.ts +3 -0
package/dist/index.cjs.js
CHANGED
|
@@ -289,6 +289,7 @@ const VOID_ELEMENTS = [
|
|
|
289
289
|
'menuitem',
|
|
290
290
|
'meta',
|
|
291
291
|
'param',
|
|
292
|
+
'path',
|
|
292
293
|
'rect',
|
|
293
294
|
'source',
|
|
294
295
|
'track',
|
|
@@ -442,6 +443,17 @@ const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
|
442
443
|
const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
|
443
444
|
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
444
445
|
|
|
446
|
+
/*
|
|
447
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
448
|
+
* All rights reserved.
|
|
449
|
+
* SPDX-License-Identifier: MIT
|
|
450
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
451
|
+
*/
|
|
452
|
+
// Increment whenever the LWC template compiler changes
|
|
453
|
+
const LWC_VERSION = "2.10.0";
|
|
454
|
+
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
|
|
455
|
+
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
456
|
+
|
|
445
457
|
exports.AriaAttrNameToPropNameMap = AriaAttrNameToPropNameMap;
|
|
446
458
|
exports.AriaPropNameToAttrNameMap = AriaPropNameToAttrNameMap;
|
|
447
459
|
exports.ArrayFilter = ArrayFilter;
|
|
@@ -463,6 +475,9 @@ exports.KEY__SHADOW_RESOLVER_PRIVATE = KEY__SHADOW_RESOLVER_PRIVATE;
|
|
|
463
475
|
exports.KEY__SHADOW_TOKEN = KEY__SHADOW_TOKEN;
|
|
464
476
|
exports.KEY__SHADOW_TOKEN_PRIVATE = KEY__SHADOW_TOKEN_PRIVATE;
|
|
465
477
|
exports.KEY__SYNTHETIC_MODE = KEY__SYNTHETIC_MODE;
|
|
478
|
+
exports.LWC_VERSION = LWC_VERSION;
|
|
479
|
+
exports.LWC_VERSION_COMMENT = LWC_VERSION_COMMENT;
|
|
480
|
+
exports.LWC_VERSION_COMMENT_REGEX = LWC_VERSION_COMMENT_REGEX;
|
|
466
481
|
exports.MATHML_NAMESPACE = MATHML_NAMESPACE;
|
|
467
482
|
exports.SVG_NAMESPACE = SVG_NAMESPACE;
|
|
468
483
|
exports.StringCharCodeAt = StringCharCodeAt;
|
|
@@ -508,4 +523,4 @@ exports.noop = noop;
|
|
|
508
523
|
exports.seal = seal;
|
|
509
524
|
exports.setPrototypeOf = setPrototypeOf;
|
|
510
525
|
exports.toString = toString;
|
|
511
|
-
/** version: 2.
|
|
526
|
+
/** version: 2.10.0 */
|
package/dist/index.js
CHANGED
|
@@ -285,6 +285,7 @@ const VOID_ELEMENTS = [
|
|
|
285
285
|
'menuitem',
|
|
286
286
|
'meta',
|
|
287
287
|
'param',
|
|
288
|
+
'path',
|
|
288
289
|
'rect',
|
|
289
290
|
'source',
|
|
290
291
|
'track',
|
|
@@ -438,5 +439,16 @@ const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
|
438
439
|
const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
|
439
440
|
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
440
441
|
|
|
441
|
-
|
|
442
|
-
|
|
442
|
+
/*
|
|
443
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
444
|
+
* All rights reserved.
|
|
445
|
+
* SPDX-License-Identifier: MIT
|
|
446
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
447
|
+
*/
|
|
448
|
+
// Increment whenever the LWC template compiler changes
|
|
449
|
+
const LWC_VERSION = "2.10.0";
|
|
450
|
+
const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
|
|
451
|
+
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
452
|
+
|
|
453
|
+
export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayFilter, ArrayFind, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPush, ArrayReduce, ArrayReverse, ArraySlice, ArraySplice, ArrayUnshift, HTML_NAMESPACE, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, KEY__SCOPED_CSS, KEY__SHADOW_RESOLVER, KEY__SHADOW_RESOLVER_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, htmlPropertyToAttribute, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, keys, noop, seal, setPrototypeOf, toString };
|
|
454
|
+
/** version: 2.10.0 */
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
package/types/meta.d.ts
ADDED