@codemirror/lang-javascript
Advanced tools
Comparing version 6.1.2 to 6.1.3
@@ -0,1 +1,7 @@ | ||
## 6.1.3 (2023-02-02) | ||
### Bug fixes | ||
Fix auto-closing of JSX fragments. | ||
## 6.1.2 (2022-12-07) | ||
@@ -2,0 +8,0 @@ |
@@ -372,3 +372,3 @@ import { parser } from '@lezer/javascript'; | ||
if (text == ">" && around.name == "JSXFragmentTag") { | ||
return { range: EditorSelection.cursor(head + 1), changes: { from: head, insert: `><>` } }; | ||
return { range: EditorSelection.cursor(head + 1), changes: { from: head, insert: `></>` } }; | ||
} | ||
@@ -375,0 +375,0 @@ else if (text == "/" && around.name == "JSXFragmentTag") { |
{ | ||
"name": "@codemirror/lang-javascript", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"description": "JavaScript language support for the CodeMirror code editor", | ||
@@ -15,3 +15,3 @@ "scripts": { | ||
"name": "Marijn Haverbeke", | ||
"email": "marijnh@gmail.com", | ||
"email": "marijn@haverbeke.berlin", | ||
"url": "http://marijnhaverbeke.nl" | ||
@@ -18,0 +18,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
52980