@lwc/shared 2.11.1 → 2.11.3-238prod.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/LICENSE ADDED
@@ -0,0 +1,10 @@
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.
package/dist/index.cjs.js CHANGED
@@ -450,7 +450,7 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
450
450
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
451
451
  */
452
452
  // Increment whenever the LWC template compiler changes
453
- const LWC_VERSION = "2.11.1";
453
+ const LWC_VERSION = "2.11.3-238prod.0";
454
454
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
455
455
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
456
456
 
@@ -523,4 +523,4 @@ exports.noop = noop;
523
523
  exports.seal = seal;
524
524
  exports.setPrototypeOf = setPrototypeOf;
525
525
  exports.toString = toString;
526
- /** version: 2.11.1 */
526
+ /** version: 2.11.3-238prod.0 */
package/dist/index.js CHANGED
@@ -446,9 +446,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
446
446
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
447
447
  */
448
448
  // Increment whenever the LWC template compiler changes
449
- const LWC_VERSION = "2.11.1";
449
+ const LWC_VERSION = "2.11.3-238prod.0";
450
450
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
451
451
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
452
452
 
453
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.11.1 */
454
+ /** version: 2.11.3-238prod.0 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/shared",
3
- "version": "2.11.1",
3
+ "version": "2.11.3-238prod.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": "94040389ab8fc717b8753e503f659489480a327d"
30
+ "gitHead": "60b8fbcbc31063f87d206edf104f843455a5abd9"
31
31
  }
@@ -0,0 +1,6 @@
1
+ export declare type HiddenField<T> = {
2
+ __type: T;
3
+ };
4
+ export declare function createHiddenField<T = unknown>(key: string, namespace: string): HiddenField<T>;
5
+ export declare function setHiddenField<T>(o: any, field: HiddenField<T>, value: T): void;
6
+ export declare function getHiddenField<T>(o: any, field: HiddenField<T>): T | undefined;