j-templates 7.0.54 → 7.0.55

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 +3 -1
  2. package/package.json +1 -1
package/Node/vNode.js CHANGED
@@ -285,7 +285,9 @@ function AssignChildren(vnode, childrenScope) {
285
285
  function UpdateChildren(vnode, init = false, skipInit = false) {
286
286
  if (!vnode.children)
287
287
  return;
288
- if (vnode.children.length === 1 && vnode.children[0].type === "text") {
288
+ if (vnode.children.length === 1 &&
289
+ vnode.children[0].type === "text" &&
290
+ vnode.children[0].node) {
289
291
  nodeConfig_1.NodeConfig.reconcileChildren(vnode.node, [vnode.children[0].node]);
290
292
  return;
291
293
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "7.0.54",
3
+ "version": "7.0.55",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",