@thi.ng/hdom
Advanced tools
Comparing version 9.4.33 to 9.4.34
# Change Log | ||
- **Last updated**: 2024-04-23T07:02:18Z | ||
- **Last updated**: 2024-05-08T18:24:32Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
@@ -82,4 +82,3 @@ import { SEMAPHORE } from "@thi.ng/api/api"; | ||
status = edits[ii]; | ||
if (!status) | ||
continue; | ||
if (!status) continue; | ||
if (status === -1) { | ||
@@ -86,0 +85,0 @@ diffDeleted( |
@@ -113,4 +113,3 @@ import { implementsFunction } from "@thi.ng/checks/implements-function"; | ||
implementsFunction(val, "deref") && (val = val.deref()); | ||
if (id.startsWith("__")) | ||
return; | ||
if (id.startsWith("__")) return; | ||
const isListener = id[0] === "o" && id[1] === "n"; | ||
@@ -126,6 +125,4 @@ if (isListener) { | ||
} | ||
if (typeof val === "function") | ||
val = val(attribs); | ||
if (isArray(val)) | ||
val = val.join(ATTRIB_JOIN_DELIMS[id] || " "); | ||
if (typeof val === "function") val = val(attribs); | ||
if (isArray(val)) val = val.join(ATTRIB_JOIN_DELIMS[id] || " "); | ||
switch (id) { | ||
@@ -132,0 +129,0 @@ case "style": |
{ | ||
"name": "@thi.ng/hdom", | ||
"version": "9.4.33", | ||
"version": "9.4.34", | ||
"description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors", | ||
@@ -42,17 +42,17 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.11.1", | ||
"@thi.ng/checks": "^3.6.3", | ||
"@thi.ng/diff": "^5.1.68", | ||
"@thi.ng/equiv": "^2.1.57", | ||
"@thi.ng/errors": "^2.5.6", | ||
"@thi.ng/hiccup": "^5.2.0", | ||
"@thi.ng/logger": "^3.0.11", | ||
"@thi.ng/prefixes": "^2.3.18" | ||
"@thi.ng/api": "^8.11.2", | ||
"@thi.ng/checks": "^3.6.4", | ||
"@thi.ng/diff": "^5.1.69", | ||
"@thi.ng/equiv": "^2.1.58", | ||
"@thi.ng/errors": "^2.5.7", | ||
"@thi.ng/hiccup": "^5.2.1", | ||
"@thi.ng/logger": "^3.0.12", | ||
"@thi.ng/prefixes": "^2.3.19" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.43.0", | ||
"@thi.ng/atom": "^5.2.45", | ||
"esbuild": "^0.20.2", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.3" | ||
"@microsoft/api-extractor": "^7.43.2", | ||
"@thi.ng/atom": "^5.3.0", | ||
"esbuild": "^0.21.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -135,3 +135,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "aed3421c21044c005fbcb7cc37965ccf85a870d2\n" | ||
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n" | ||
} |
@@ -9,4 +9,3 @@ import { derefContext } from "@thi.ng/hiccup/deref"; | ||
tree = impl.normalizeTree(opts, tree); | ||
if (!tree) | ||
return; | ||
if (!tree) return; | ||
opts.hydrate ? impl.hydrateTree(opts, root, tree) : impl.createTree(opts, root, tree); | ||
@@ -13,0 +12,0 @@ }; |
151388
1374
- Removed@thi.ng/hex@2.3.46(transitive)
- Removed@thi.ng/hiccup@5.2.0(transitive)
- Removed@thi.ng/memoize@3.3.4(transitive)
- Removed@thi.ng/strings@3.7.33(transitive)
Updated@thi.ng/api@^8.11.2
Updated@thi.ng/checks@^3.6.4
Updated@thi.ng/diff@^5.1.69
Updated@thi.ng/equiv@^2.1.58
Updated@thi.ng/errors@^2.5.7
Updated@thi.ng/hiccup@^5.2.1
Updated@thi.ng/logger@^3.0.12
Updated@thi.ng/prefixes@^2.3.19