mjml-parser-xml
Advanced tools
Comparing version 4.0.0-beta.1 to 4.0.0-beta.2
@@ -146,3 +146,2 @@ 'use strict'; | ||
}; | ||
cur.children.push(newNode); | ||
@@ -178,3 +177,6 @@ cur = newNode; | ||
if (body) { | ||
cur.children = [].concat((0, _toConsumableArray3.default)(cur.children), (0, _toConsumableArray3.default)(bindToTree(body.children))); | ||
var boundChildren = bindToTree(body.children); | ||
cur.children = [].concat((0, _toConsumableArray3.default)(cur.children), (0, _toConsumableArray3.default)(boundChildren)); | ||
cur = boundChildren[boundChildren.length - 1]; | ||
} | ||
@@ -197,3 +199,6 @@ | ||
curHead.children = [].concat((0, _toConsumableArray3.default)(curHead.children), (0, _toConsumableArray3.default)(bindToTree(head.children, curHead))); | ||
var _boundChildren = bindToTree(head.children, curHead); | ||
curHead.children = [].concat((0, _toConsumableArray3.default)(curHead.children), (0, _toConsumableArray3.default)(_boundChildren)); | ||
cur = _boundChildren[_boundChildren.length - 1]; | ||
} | ||
@@ -200,0 +205,0 @@ }; |
{ | ||
"name": "mjml-parser-xml", | ||
"description": "mjml-parser-xml", | ||
"version": "4.0.0-beta.1", | ||
"version": "4.0.0-beta.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16301
326