@lezer/html
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -0,1 +1,7 @@ | ||
## 1.3.3 (2023-02-21) | ||
### Bug fixes | ||
Make sure build output is strictly ES6 again. | ||
## 1.3.2 (2023-02-16) | ||
@@ -2,0 +8,0 @@ |
@@ -344,3 +344,3 @@ import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr'; | ||
let from = value.from + 1; | ||
let to = value.to - (value.lastChild?.isError ? 0 : 1); | ||
let last = value.lastChild, to = value.to - (last && last.isError ? 0 : 1); | ||
if (to > from) return {parser: attr.parser, overlay: [{from, to}]} | ||
@@ -347,0 +347,0 @@ } else if (value.type.id == UnquotedAttributeValue) { |
{ | ||
"name": "@lezer/html", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "lezer-based HTML grammar", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -75,3 +75,3 @@ import {ScriptText, StyleText, TextareaText, | ||
let from = value.from + 1 | ||
let to = value.to - (value.lastChild?.isError ? 0 : 1) | ||
let last = value.lastChild, to = value.to - (last && last.isError ? 0 : 1) | ||
if (to > from) return {parser: attr.parser, overlay: [{from, to}]} | ||
@@ -78,0 +78,0 @@ } else if (value.type.id == UnquotedAttributeValue) { |
Sorry, the diff of this file is not supported yet
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
98463
20