j-templates 8.0.25 → 8.0.26

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 (2) hide show
  1. package/Node/vNode.js +1 -1
  2. package/package.json +1 -1
package/Node/vNode.js CHANGED
@@ -212,7 +212,7 @@ function ToArray(result) {
212
212
  function MapNode(vnode) {
213
213
  switch (vnode.type) {
214
214
  case FRAGMENT_NODE:
215
- return vnode.children?.flatMap(MapNode);
215
+ return vnode.children?.flatMap(MapNode) ?? null;
216
216
  default:
217
217
  return vnode.node;
218
218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "8.0.25",
3
+ "version": "8.0.26",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",