@jackens/nnn 2024.2.24 → 2024.2.25

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/nnn.js +1 -1
  2. package/package.json +1 -1
  3. package/readme.md +1 -1
package/nnn.js CHANGED
@@ -16,7 +16,7 @@ var _h = (namespaceURI) => {
16
16
  if (arg instanceof Node) {
17
17
  child = arg;
18
18
  } else if (is(String, arg) || is(Number, arg)) {
19
- child = new Text(arg);
19
+ child = document.createTextNode(arg);
20
20
  } else if (is(Array, arg)) {
21
21
  child = h(...arg);
22
22
  } else if (arg != null) {
package/package.json CHANGED
@@ -42,5 +42,5 @@
42
42
  "types": "nnn.d.ts",
43
43
  "name": "@jackens/nnn",
44
44
  "type": "module",
45
- "version": "2024.2.24"
45
+ "version": "2024.2.25"
46
46
  }
package/readme.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Jackens’ JavaScript helpers.
4
4
 
5
- <sub>Version: <code class="version">2024.2.24</code></sub>
5
+ <sub>Version: <code class="version">2024.2.25</code></sub>
6
6
 
7
7
  ## Installation
8
8