lwc 2.9.0 → 2.11.1
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/engine-dom/esm/es2017/engine-dom.js +4353 -5789
- package/dist/engine-dom/iife/es2017/engine-dom.js +4353 -5789
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +3299 -4566
- package/dist/engine-dom/iife/es5/engine-dom.js +674 -505
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +542 -448
- package/dist/engine-dom/umd/es2017/engine-dom.js +4353 -5789
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +3299 -4566
- package/dist/engine-dom/umd/es5/engine-dom.js +674 -505
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +542 -448
- package/dist/engine-server/commonjs/es2017/engine-server.js +4061 -5290
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +4061 -5290
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +2825 -3532
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +11 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +11 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +2825 -3532
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +11 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +11 -3
- package/dist/wire-service/esm/es2017/wire-service.js +128 -174
- package/dist/wire-service/iife/es2017/wire-service.js +128 -174
- package/dist/wire-service/iife/es2017/wire-service_debug.js +128 -174
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +128 -174
- package/dist/wire-service/umd/es2017/wire-service_debug.js +128 -174
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
198
198
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
199
199
|
}();
|
|
200
|
-
/** version: 2.
|
|
200
|
+
/** version: 2.11.1 */
|
|
201
201
|
|
|
202
202
|
/*
|
|
203
203
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -205,6 +205,7 @@
|
|
|
205
205
|
* SPDX-License-Identifier: MIT
|
|
206
206
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
207
207
|
*/
|
|
208
|
+
// TODO [#2472]: Remove this workaround when appropriate.
|
|
208
209
|
// eslint-disable-next-line lwc-internal/no-global-node
|
|
209
210
|
|
|
210
211
|
|
|
@@ -475,6 +476,7 @@
|
|
|
475
476
|
* SPDX-License-Identifier: MIT
|
|
476
477
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
477
478
|
*/
|
|
479
|
+
// Helpful for tests running with jsdom
|
|
478
480
|
|
|
479
481
|
|
|
480
482
|
function getOwnerDocument(node) {
|
|
@@ -847,6 +849,7 @@
|
|
|
847
849
|
* SPDX-License-Identifier: MIT
|
|
848
850
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
849
851
|
*/
|
|
852
|
+
// Used as a back reference to identify the host element
|
|
850
853
|
|
|
851
854
|
|
|
852
855
|
var HostElementKey = '$$HostElementKey$$';
|
|
@@ -916,6 +919,7 @@
|
|
|
916
919
|
* SPDX-License-Identifier: MIT
|
|
917
920
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
918
921
|
*/
|
|
922
|
+
// when finding a slot in the DOM, we can fold it if it is contained
|
|
919
923
|
// inside another slot.
|
|
920
924
|
|
|
921
925
|
|
|
@@ -1412,6 +1416,7 @@
|
|
|
1412
1416
|
* SPDX-License-Identifier: MIT
|
|
1413
1417
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
1414
1418
|
*/
|
|
1419
|
+
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
1415
1420
|
|
|
1416
1421
|
|
|
1417
1422
|
var escapeAttrRegExp = /[&\u00A0"]/g;
|
|
@@ -1523,7 +1528,7 @@
|
|
|
1523
1528
|
}
|
|
1524
1529
|
|
|
1525
1530
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1526
|
-
/** version: 2.
|
|
1531
|
+
/** version: 2.11.1 */
|
|
1527
1532
|
|
|
1528
1533
|
/*
|
|
1529
1534
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1985,6 +1990,7 @@
|
|
|
1985
1990
|
* SPDX-License-Identifier: MIT
|
|
1986
1991
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
1987
1992
|
*/
|
|
1993
|
+
// Walk up the DOM tree, collecting all shadow roots plus the document root
|
|
1988
1994
|
|
|
1989
1995
|
|
|
1990
1996
|
function getAllRootNodes(node) {
|
|
@@ -3930,6 +3936,7 @@
|
|
|
3930
3936
|
* SPDX-License-Identifier: MIT
|
|
3931
3937
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3932
3938
|
*/
|
|
3939
|
+
// We can use a single observer without having to worry about leaking because
|
|
3933
3940
|
// "Registered observers in a node’s registered observer list have a weak
|
|
3934
3941
|
// reference to the node."
|
|
3935
3942
|
// https://dom.spec.whatwg.org/#garbage-collection
|
|
@@ -4087,6 +4094,7 @@
|
|
|
4087
4094
|
* SPDX-License-Identifier: MIT
|
|
4088
4095
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4089
4096
|
*/
|
|
4097
|
+
// Non-deep-traversing patches: this descriptor map includes all descriptors that
|
|
4090
4098
|
// do not five access to nodes beyond the immediate children.
|
|
4091
4099
|
|
|
4092
4100
|
defineProperties(Text.prototype, {
|
|
@@ -5603,6 +5611,6 @@
|
|
|
5603
5611
|
},
|
|
5604
5612
|
configurable: true
|
|
5605
5613
|
});
|
|
5606
|
-
/** version: 2.
|
|
5614
|
+
/** version: 2.11.1 */
|
|
5607
5615
|
|
|
5608
5616
|
})();
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
122
122
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
123
123
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
124
|
-
/** version: 2.
|
|
124
|
+
/** version: 2.11.1 */
|
|
125
125
|
|
|
126
126
|
/*
|
|
127
127
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
* SPDX-License-Identifier: MIT
|
|
130
130
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
131
131
|
*/
|
|
132
|
+
// TODO [#2472]: Remove this workaround when appropriate.
|
|
132
133
|
// eslint-disable-next-line lwc-internal/no-global-node
|
|
133
134
|
|
|
134
135
|
|
|
@@ -397,6 +398,7 @@
|
|
|
397
398
|
* SPDX-License-Identifier: MIT
|
|
398
399
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
399
400
|
*/
|
|
401
|
+
// Helpful for tests running with jsdom
|
|
400
402
|
|
|
401
403
|
|
|
402
404
|
function getOwnerDocument(node) {
|
|
@@ -755,6 +757,7 @@
|
|
|
755
757
|
* SPDX-License-Identifier: MIT
|
|
756
758
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
757
759
|
*/
|
|
760
|
+
// Used as a back reference to identify the host element
|
|
758
761
|
|
|
759
762
|
|
|
760
763
|
var HostElementKey = '$$HostElementKey$$';
|
|
@@ -821,6 +824,7 @@
|
|
|
821
824
|
* SPDX-License-Identifier: MIT
|
|
822
825
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
823
826
|
*/
|
|
827
|
+
// when finding a slot in the DOM, we can fold it if it is contained
|
|
824
828
|
// inside another slot.
|
|
825
829
|
|
|
826
830
|
|
|
@@ -1307,6 +1311,7 @@
|
|
|
1307
1311
|
* SPDX-License-Identifier: MIT
|
|
1308
1312
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
1309
1313
|
*/
|
|
1314
|
+
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
1310
1315
|
|
|
1311
1316
|
|
|
1312
1317
|
var escapeAttrRegExp = /[&\u00A0"]/g;
|
|
@@ -1418,7 +1423,7 @@
|
|
|
1418
1423
|
}
|
|
1419
1424
|
|
|
1420
1425
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1421
|
-
/** version: 2.
|
|
1426
|
+
/** version: 2.11.1 */
|
|
1422
1427
|
|
|
1423
1428
|
/*
|
|
1424
1429
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1841,6 +1846,7 @@
|
|
|
1841
1846
|
* SPDX-License-Identifier: MIT
|
|
1842
1847
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
1843
1848
|
*/
|
|
1849
|
+
// Walk up the DOM tree, collecting all shadow roots plus the document root
|
|
1844
1850
|
|
|
1845
1851
|
|
|
1846
1852
|
function getAllRootNodes(node) {
|
|
@@ -3747,6 +3753,7 @@
|
|
|
3747
3753
|
* SPDX-License-Identifier: MIT
|
|
3748
3754
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3749
3755
|
*/
|
|
3756
|
+
// We can use a single observer without having to worry about leaking because
|
|
3750
3757
|
// "Registered observers in a node’s registered observer list have a weak
|
|
3751
3758
|
// reference to the node."
|
|
3752
3759
|
// https://dom.spec.whatwg.org/#garbage-collection
|
|
@@ -3901,6 +3908,7 @@
|
|
|
3901
3908
|
* SPDX-License-Identifier: MIT
|
|
3902
3909
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3903
3910
|
*/
|
|
3911
|
+
// Non-deep-traversing patches: this descriptor map includes all descriptors that
|
|
3904
3912
|
// do not five access to nodes beyond the immediate children.
|
|
3905
3913
|
|
|
3906
3914
|
defineProperties(Text.prototype, {
|
|
@@ -5407,6 +5415,6 @@
|
|
|
5407
5415
|
},
|
|
5408
5416
|
configurable: true
|
|
5409
5417
|
});
|
|
5410
|
-
/** version: 2.
|
|
5418
|
+
/** version: 2.11.1 */
|
|
5411
5419
|
|
|
5412
5420
|
})();
|