@erickmerchant/framework
Advanced tools
Comparing version 40.1.1 to 40.2.0
20
main.js
@@ -129,3 +129,3 @@ const svgNamespace = 'http://www.w3.org/2000/svg' | ||
morphRoot(currentChild, next, listeners) | ||
} else { | ||
} else if (!isSameView || next.dynamic) { | ||
morph(currentChild, next, variables, isSameView, {}, listeners) | ||
@@ -151,6 +151,2 @@ } | ||
const morph = (target, next, variables, isSameView, meta, listeners) => { | ||
if (isSameView && !next.dynamic) { | ||
return | ||
} | ||
const attributesLength = next.attributes.length | ||
@@ -195,6 +191,2 @@ | ||
if (child == null) { | ||
continue | ||
} | ||
if (!deopt && !child.dynamic && !child.variable) { | ||
@@ -246,3 +238,3 @@ childNode = getNextSibling(childNode) | ||
lengthDifference = (child.length || 0) - (prevKeys.length || 0) | ||
lengthDifference = child.length - prevKeys.length | ||
} | ||
@@ -330,3 +322,5 @@ | ||
morph(target, next, next.variables, isSameView, meta, listeners) | ||
if (!isSameView || next.dynamic) { | ||
morph(target, next, next.variables, isSameView, meta, listeners) | ||
} | ||
} | ||
@@ -530,4 +524,2 @@ | ||
} | ||
i++ | ||
} | ||
@@ -568,3 +560,3 @@ | ||
} else if (token.type === 'key') { | ||
const next = tokens.next()?.value ?? true | ||
const next = tokens.next()?.value | ||
@@ -571,0 +563,0 @@ if (next.type === 'value') { |
{ | ||
"name": "@erickmerchant/framework", | ||
"version": "40.1.1", | ||
"version": "40.2.0", | ||
"description": "A front-end framework.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/erickmerchant/framework#readme", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18689
617