lwc 2.38.0 → 2.38.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 +27 -14
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +27 -14
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +25 -12
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +27 -16
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +25 -14
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +27 -14
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +25 -12
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +27 -16
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +25 -14
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +26 -13
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +26 -13
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -350,9 +350,9 @@ var LWC = (function (exports) {
|
|
|
350
350
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
351
351
|
*/
|
|
352
352
|
// Increment whenever the LWC template compiler changes
|
|
353
|
-
const LWC_VERSION = "2.38.
|
|
353
|
+
const LWC_VERSION = "2.38.1";
|
|
354
354
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
355
|
-
/** version: 2.38.
|
|
355
|
+
/** version: 2.38.1 */
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
358
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -431,7 +431,7 @@ var LWC = (function (exports) {
|
|
|
431
431
|
setFeatureFlag(name, value);
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
/** version: 2.38.
|
|
434
|
+
/** version: 2.38.1 */
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
437
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -495,7 +495,7 @@ var LWC = (function (exports) {
|
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
/** version: 2.38.
|
|
498
|
+
/** version: 2.38.1 */
|
|
499
499
|
|
|
500
500
|
/*
|
|
501
501
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6291,17 +6291,30 @@ var LWC = (function (exports) {
|
|
|
6291
6291
|
// into snabbdom. Especially useful when the reset is a consequence of an error, in which case the
|
|
6292
6292
|
// children VNodes might not be representing the current state of the DOM.
|
|
6293
6293
|
function resetComponentRoot(vm) {
|
|
6294
|
-
|
|
6295
|
-
for (let i = 0, len = children.length; i < len; i++) {
|
|
6296
|
-
const child = children[i];
|
|
6297
|
-
if (!isNull(child) && !isUndefined$1(child.elm)) {
|
|
6298
|
-
remove(child.elm, renderRoot);
|
|
6299
|
-
}
|
|
6300
|
-
}
|
|
6294
|
+
recursivelyRemoveChildren(vm.children, vm);
|
|
6301
6295
|
vm.children = EmptyArray;
|
|
6302
6296
|
runChildNodesDisconnectedCallback(vm);
|
|
6303
6297
|
vm.velements = EmptyArray;
|
|
6304
6298
|
}
|
|
6299
|
+
// Helper function to remove all children of the root node.
|
|
6300
|
+
// If the set of children includes VFragment nodes, we need to remove the children of those nodes too.
|
|
6301
|
+
// Since VFragments can contain other VFragments, we need to traverse the entire of tree of VFragments.
|
|
6302
|
+
// If the set contains no VFragment nodes, no traversal is needed.
|
|
6303
|
+
function recursivelyRemoveChildren(vnodes, vm) {
|
|
6304
|
+
const { renderRoot, renderer: { remove }, } = vm;
|
|
6305
|
+
for (let i = 0, len = vnodes.length; i < len; i += 1) {
|
|
6306
|
+
const vnode = vnodes[i];
|
|
6307
|
+
if (!isNull(vnode)) {
|
|
6308
|
+
// VFragments are special; their .elm property does not point to the root element since they have no single root.
|
|
6309
|
+
if (isVFragment(vnode)) {
|
|
6310
|
+
recursivelyRemoveChildren(vnode.children, vm);
|
|
6311
|
+
}
|
|
6312
|
+
else if (!isUndefined$1(vnode.elm)) {
|
|
6313
|
+
remove(vnode.elm, renderRoot);
|
|
6314
|
+
}
|
|
6315
|
+
}
|
|
6316
|
+
}
|
|
6317
|
+
}
|
|
6305
6318
|
function scheduleRehydration(vm) {
|
|
6306
6319
|
if (isTrue(vm.isScheduled)) {
|
|
6307
6320
|
return;
|
|
@@ -7340,7 +7353,7 @@ var LWC = (function (exports) {
|
|
|
7340
7353
|
}
|
|
7341
7354
|
return getReadOnlyProxy(obj);
|
|
7342
7355
|
}
|
|
7343
|
-
/* version: 2.38.
|
|
7356
|
+
/* version: 2.38.1 */
|
|
7344
7357
|
|
|
7345
7358
|
/*
|
|
7346
7359
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7768,7 +7781,7 @@ var LWC = (function (exports) {
|
|
|
7768
7781
|
function isNull(obj) {
|
|
7769
7782
|
return obj === null;
|
|
7770
7783
|
}
|
|
7771
|
-
/** version: 2.38.
|
|
7784
|
+
/** version: 2.38.1 */
|
|
7772
7785
|
|
|
7773
7786
|
/*
|
|
7774
7787
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -8387,7 +8400,7 @@ var LWC = (function (exports) {
|
|
|
8387
8400
|
});
|
|
8388
8401
|
}));
|
|
8389
8402
|
}
|
|
8390
|
-
/* version: 2.38.
|
|
8403
|
+
/* version: 2.38.1 */
|
|
8391
8404
|
|
|
8392
8405
|
exports.LightningElement = LightningElement;
|
|
8393
8406
|
exports.__unstable__ProfilerControl = profilerControl;
|