@lwc/engine-core 7.1.2 → 7.1.3
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 +2 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -11
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -5255,16 +5255,7 @@ function s(slotName, data, children, slotset) {
|
|
|
5255
5255
|
// to the vnode because the current way the diffing algo works, it will replace the original reference
|
|
5256
5256
|
// to the host element with a new one. This means the new element will be mounted and immediately unmounted.
|
|
5257
5257
|
// Creating a copy of the vnode to preserve a reference to the previous host element.
|
|
5258
|
-
|
|
5259
|
-
// vnode.elm is undefined during initial render.
|
|
5260
|
-
// We don't need to clone at this point because it doesn't need to be unmounted.
|
|
5261
|
-
vnode.slotAssignment = data.slotAssignment;
|
|
5262
|
-
}
|
|
5263
|
-
else {
|
|
5264
|
-
// Clone when the vnode.elm is defined to ensure we don't lose reference to the previous element.
|
|
5265
|
-
// This is specifically for slot forwarding.
|
|
5266
|
-
clonedVNode = { ...vnode, slotAssignment: data.slotAssignment };
|
|
5267
|
-
}
|
|
5258
|
+
clonedVNode = { ...vnode, slotAssignment: data.slotAssignment };
|
|
5268
5259
|
}
|
|
5269
5260
|
// If the slot content is standard type, the content is static, no additional
|
|
5270
5261
|
// processing needed on the vnode
|
|
@@ -8044,5 +8035,5 @@ function readonly(obj) {
|
|
|
8044
8035
|
}
|
|
8045
8036
|
|
|
8046
8037
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, setHooks, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8047
|
-
/** version: 7.1.
|
|
8038
|
+
/** version: 7.1.3 */
|
|
8048
8039
|
//# sourceMappingURL=index.js.map
|