htmljs-parser 5.1.4 → 5.1.5

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/README.md CHANGED
@@ -163,7 +163,7 @@ const parser = createParser({
163
163
  * 1╭─ <div>Hi</div>
164
164
  * ╰─ ╰─ openTagStart
165
165
  */
166
- onOpenTagStart(range) {}
166
+ onOpenTagStart(range) {},
167
167
 
168
168
  /**
169
169
  * Called when a tag name, which can include placeholders, has been parsed.
package/dist/index.js CHANGED
@@ -1540,6 +1540,7 @@ var EXPRESSION = {
1540
1540
  default: {
1541
1541
  if (canFollowDivision(this.getPreviousNonWhitespaceCharCode())) {
1542
1542
  this.pos++;
1543
+ this.forward = 0;
1543
1544
  this.consumeWhitespace();
1544
1545
  } else {
1545
1546
  this.enterState(states_exports.REGULAR_EXPRESSION);
package/dist/index.mjs CHANGED
@@ -1515,6 +1515,7 @@ var EXPRESSION = {
1515
1515
  default: {
1516
1516
  if (canFollowDivision(this.getPreviousNonWhitespaceCharCode())) {
1517
1517
  this.pos++;
1518
+ this.forward = 0;
1518
1519
  this.consumeWhitespace();
1519
1520
  } else {
1520
1521
  this.enterState(states_exports.REGULAR_EXPRESSION);
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.1.4",
4
+ "version": "5.1.5",
5
5
  "devDependencies": {
6
6
  "@changesets/changelog-github": "^0.4.6",
7
7
  "@changesets/cli": "^2.24.1",