@lwc/engine-core 3.3.0 → 3.3.2
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/framework/vnodes.d.ts +0 -1
- package/dist/index.cjs.js +4 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -12
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -3375,28 +3375,20 @@ function isLiveBindingProp(sel, key) {
|
|
|
3375
3375
|
return sel === 'input' && (key === 'value' || key === 'checked');
|
|
3376
3376
|
}
|
|
3377
3377
|
function patchProps(oldVnode, vnode, renderer) {
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
if (isUndefined$1(props) && isUndefined$1(spread)) {
|
|
3378
|
+
const { props } = vnode.data;
|
|
3379
|
+
if (isUndefined$1(props)) {
|
|
3381
3380
|
return;
|
|
3382
3381
|
}
|
|
3383
3382
|
let oldProps;
|
|
3384
3383
|
if (!isNull(oldVnode)) {
|
|
3385
3384
|
oldProps = oldVnode.data.props;
|
|
3386
|
-
const oldSpread = oldVnode.data.spread;
|
|
3387
3385
|
// Props may be the same due to the static content optimization, so we can skip diffing
|
|
3388
|
-
if (oldProps === props
|
|
3386
|
+
if (oldProps === props) {
|
|
3389
3387
|
return;
|
|
3390
3388
|
}
|
|
3391
3389
|
if (isUndefined$1(oldProps)) {
|
|
3392
3390
|
oldProps = EmptyObject;
|
|
3393
3391
|
}
|
|
3394
|
-
if (!isUndefined$1(oldSpread)) {
|
|
3395
|
-
oldProps = assign({}, oldProps, oldSpread);
|
|
3396
|
-
}
|
|
3397
|
-
}
|
|
3398
|
-
if (!isUndefined$1(spread)) {
|
|
3399
|
-
props = assign({}, props, spread);
|
|
3400
3392
|
}
|
|
3401
3393
|
const isFirstPatch = isNull(oldVnode);
|
|
3402
3394
|
const { elm, sel } = vnode;
|
|
@@ -6864,5 +6856,5 @@ function readonly(obj) {
|
|
|
6864
6856
|
}
|
|
6865
6857
|
|
|
6866
6858
|
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, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
6867
|
-
/** version: 3.3.
|
|
6859
|
+
/** version: 3.3.2 */
|
|
6868
6860
|
//# sourceMappingURL=index.js.map
|