saxen
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -0,1 +1,10 @@ | ||
# 1.1.0 | ||
* `FEAT`: handle non-xml input | ||
# 1.0.4 | ||
* `DOCS`: better `@type` annotations | ||
* `CHORE`: save a few bytes in decoding logic | ||
# 1.0.3 | ||
@@ -2,0 +11,0 @@ |
@@ -16,3 +16,3 @@ { | ||
], | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"main": "./parser.js", | ||
@@ -19,0 +19,0 @@ "bugs": { |
@@ -299,3 +299,3 @@ 'use strict'; | ||
tagEnd = false, | ||
j = 0, i = 0, | ||
i = 0, j = 0, | ||
x, y, q, w, | ||
@@ -602,3 +602,4 @@ xmlns, | ||
if (i === -1) { // конец разбора | ||
// parse end | ||
if (i === -1) { | ||
if (nodeStack.length) { | ||
@@ -608,2 +609,6 @@ return handleError('unexpected end of file'); | ||
if (j === 0) { | ||
return handleError('missing start tag'); | ||
} | ||
return; | ||
@@ -610,0 +615,0 @@ } |
23629
684