@thi.ng/hdom-mock 2.1.122 → 2.1.124

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-04T21:07:38Z
3
+ - **Last updated**: 2025-01-14T12:23:33Z
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
+ ### [2.1.123](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.1.123) (2025-01-14)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
17
+
12
18
  ### [2.1.98](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.1.98) (2024-04-20)
13
19
 
14
20
  #### ♻️ Refactoring
package/index.js CHANGED
@@ -120,7 +120,7 @@ class MockHDOM {
120
120
  createTextElement(parent, content) {
121
121
  const el = new HDOMNode(TEXT);
122
122
  el.body = content;
123
- parent && parent.appendChild(el);
123
+ parent?.appendChild(el);
124
124
  return el;
125
125
  }
126
126
  getElementById(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-mock",
3
- "version": "2.1.122",
3
+ "version": "2.1.124",
4
4
  "description": "Mock base implementation for @thi.ng/hdom API",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@thi.ng/api": "^8.11.16",
44
- "@thi.ng/checks": "^3.6.18",
45
- "@thi.ng/hdom": "^9.4.55"
44
+ "@thi.ng/checks": "^3.6.19",
45
+ "@thi.ng/hdom": "^9.4.57"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@microsoft/api-extractor": "^7.48.1",
@@ -74,5 +74,5 @@
74
74
  "status": "alpha",
75
75
  "year": 2018
76
76
  },
77
- "gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n"
77
+ "gitHead": "56e7a1724e7b0cb5c41119f60320b6ff0e8a3c1c\n"
78
78
  }