j-templates 7.0.88 → 7.0.89

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.
@@ -176,7 +176,7 @@ exports.DOMNodeConfig = {
176
176
  removed = false;
177
177
  }
178
178
  }
179
- while (target.lastChild !== children[x - 1])
179
+ while (target.lastChild && target.lastChild !== children[x - 1])
180
180
  target.removeChild(target.lastChild);
181
181
  for (; x < children.length; x++) {
182
182
  const child = getHTMLNode(children[x]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "7.0.88",
3
+ "version": "7.0.89",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",