htmljs-parser 5.2.1 → 5.2.2

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.
package/dist/index.js CHANGED
@@ -1842,7 +1842,7 @@ function lookAheadForOperator(data, pos) {
1842
1842
  if (nextPos === max)
1843
1843
  return -1;
1844
1844
  nextCode = data.charCodeAt(nextPos);
1845
- } else if (isWordCode(nextCode)) {
1845
+ } else {
1846
1846
  return -1;
1847
1847
  }
1848
1848
  switch (nextCode) {
package/dist/index.mjs CHANGED
@@ -1817,7 +1817,7 @@ function lookAheadForOperator(data, pos) {
1817
1817
  if (nextPos === max)
1818
1818
  return -1;
1819
1819
  nextCode = data.charCodeAt(nextPos);
1820
- } else if (isWordCode(nextCode)) {
1820
+ } else {
1821
1821
  return -1;
1822
1822
  }
1823
1823
  switch (nextCode) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "htmljs-parser",
3
3
  "description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
4
- "version": "5.2.1",
4
+ "version": "5.2.2",
5
5
  "devDependencies": {
6
6
  "@changesets/changelog-github": "^0.4.7",
7
7
  "@changesets/cli": "^2.25.2",