@lwc/engine-core 2.45.3 → 2.45.5
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 +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* proxy-compat-disable */
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (C) 2023 salesforce.com, inc.
|
|
3
4
|
*/
|
|
@@ -4496,7 +4497,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4496
4497
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4497
4498
|
setVMBeingRendered(slotset.owner);
|
|
4498
4499
|
try {
|
|
4499
|
-
|
|
4500
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4501
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4502
|
+
const { tro } = slotset.owner;
|
|
4503
|
+
tro.observe(() => {
|
|
4504
|
+
shared.ArrayPush.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4505
|
+
});
|
|
4500
4506
|
}
|
|
4501
4507
|
finally {
|
|
4502
4508
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -6938,5 +6944,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
6938
6944
|
exports.track = track;
|
|
6939
6945
|
exports.unwrap = unwrap;
|
|
6940
6946
|
exports.wire = wire;
|
|
6941
|
-
/** version: 2.45.
|
|
6947
|
+
/** version: 2.45.5 */
|
|
6942
6948
|
//# sourceMappingURL=index.cjs.js.map
|