@thi.ng/rdom 1.7.11 → 1.7.13

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dom.js +5 -1
  3. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-10-05T12:12:32Z
3
+ - **Last updated**: 2024-11-24T18:15:48Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [1.7.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.7.13) (2024-11-24)
13
+
14
+ #### ⏱ Performance improvements
15
+
16
+ - minor update `$el()`, avoid object spread for null attribs ([a970b79](https://github.com/thi-ng/umbrella/commit/a970b79))
17
+
12
18
  ### [1.7.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.7.5) (2024-10-03)
13
19
 
14
20
  #### ⏱ Performance improvements
package/dom.js CHANGED
@@ -56,7 +56,11 @@ const $treeIter = (tree, parent) => {
56
56
  const $el = (tag, attribs, body, parent, idx = -1) => {
57
57
  const match = RE_TAG.exec(tag);
58
58
  if (match) {
59
- attribs = mergeEmmetAttribs({ ...attribs }, match[2], match[3]);
59
+ attribs = mergeEmmetAttribs(
60
+ attribs ? { ...attribs } : {},
61
+ match[2],
62
+ match[3]
63
+ );
60
64
  tag = match[1];
61
65
  }
62
66
  let el;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom",
3
- "version": "1.7.11",
3
+ "version": "1.7.13",
4
4
  "description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,7 +28,7 @@
28
28
  "build:decl": "tsc --declaration --emitDeclarationOnly",
29
29
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
30
30
  "clean": "bun ../../tools/src/clean-package.ts",
31
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
31
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
32
32
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
33
33
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
34
34
  "pub": "yarn npm publish --access public",
@@ -37,20 +37,20 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.11.11",
41
- "@thi.ng/checks": "^3.6.13",
42
- "@thi.ng/errors": "^2.5.17",
43
- "@thi.ng/hiccup": "^5.2.17",
44
- "@thi.ng/paths": "^5.1.91",
45
- "@thi.ng/prefixes": "^2.3.28",
46
- "@thi.ng/rstream": "^9.0.7",
47
- "@thi.ng/strings": "^3.8.9"
40
+ "@thi.ng/api": "^8.11.13",
41
+ "@thi.ng/checks": "^3.6.15",
42
+ "@thi.ng/errors": "^2.5.19",
43
+ "@thi.ng/hiccup": "^5.2.19",
44
+ "@thi.ng/paths": "^5.1.93",
45
+ "@thi.ng/prefixes": "^2.3.30",
46
+ "@thi.ng/rstream": "^9.0.9",
47
+ "@thi.ng/strings": "^3.8.11"
48
48
  },
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.47.9",
50
+ "@microsoft/api-extractor": "^7.48.0",
51
51
  "esbuild": "^0.24.0",
52
- "typedoc": "^0.26.7",
53
- "typescript": "^5.6.2"
52
+ "typedoc": "^0.26.11",
53
+ "typescript": "^5.7.2"
54
54
  },
55
55
  "keywords": [
56
56
  "async",
@@ -146,5 +146,5 @@
146
146
  ],
147
147
  "year": 2020
148
148
  },
149
- "gitHead": "c2c371069911fdae138149fdcf937c4ad7a8c71e\n"
149
+ "gitHead": "85e2f0935b58bde5d165fbe754fafec5da0b731e\n"
150
150
  }