@codemirror/lang-html
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -0,1 +1,7 @@ | ||
## 6.3.1 (2022-11-29) | ||
### Bug fixes | ||
Remove incorrect pure annotation that broke the code after tree-shaking. | ||
## 6.3.0 (2022-11-28) | ||
@@ -2,0 +8,0 @@ |
@@ -515,8 +515,9 @@ import { parser, configureNesting } from '@lezer/html'; | ||
]; | ||
const defaultAttrs = [ | ||
const defaultAttrs = /*@__PURE__*/[ | ||
{ name: "style", | ||
parser: /*@__PURE__*/cssLanguage.parser.configure({ top: "Styles" }) } | ||
]; | ||
for (let event of /*@__PURE__*/"copy cut paste focus blur change click mousedown mouseup keydown keyup scroll".split(" ")) | ||
/*@__PURE__*/defaultAttrs.push({ name: "on" + event, parser: javascriptLanguage.parser }); | ||
].concat(/*@__PURE__*/("beforeunload copy cut dragstart dragover dragleave dragenter dragend " + | ||
"drag paste focus blur change click load mousedown mouseenter mouseleave " + | ||
"mouseup keydown keyup resize scroll unload").split(" ") | ||
.map(event => ({ name: "on" + event, parser: javascriptLanguage.parser }))); | ||
/** | ||
@@ -523,0 +524,0 @@ A language provider based on the [Lezer HTML |
{ | ||
"name": "@codemirror/lang-html", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "HTML language support for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
69120
1371