@lwc/shared 2.7.4 → 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 +2 -2
- package/types/index.d.ts +1 -0
- package/types/meta.d.ts +3 -0
- package/LICENSE +0 -10
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lwc/shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Utilities and methods that are shared across packages",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "94040389ab8fc717b8753e503f659489480a327d"
|
|
31
31
|
}
|
package/types/index.d.ts
CHANGED
package/types/meta.d.ts
ADDED
package/LICENSE
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
MIT LICENSE
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018, Salesforce.com, Inc.
|
|
4
|
-
All rights reserved.
|
|
5
|
-
|
|
6
|
-
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:
|
|
7
|
-
|
|
8
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9
|
-
|
|
10
|
-
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.
|