@codemirror/lang-javascript
Advanced tools
Comparing version 0.19.1 to 0.19.2
@@ -0,1 +1,7 @@ | ||
## 0.19.2 (2021-09-23) | ||
### New features | ||
Use more specific highlighting tags for JSX attribute names and values. | ||
## 0.19.1 (2021-08-11) | ||
@@ -2,0 +8,0 @@ |
@@ -58,3 +58,3 @@ import { parser } from '@lezer/javascript'; | ||
IfStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|else\b)/ }), | ||
TryStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|catch|finally)\b/ }), | ||
TryStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|catch\b|finally\b)/ }), | ||
LabeledStatement: flatIndent, | ||
@@ -126,9 +126,9 @@ SwitchBody: context => { | ||
"type enum interface implements namespace module declare": tags.definitionKeyword, | ||
"abstract global privacy readonly": tags.modifier, | ||
"abstract global privacy readonly override": tags.modifier, | ||
"is keyof unique infer": tags.operatorKeyword, | ||
JSXAttributeValue: tags.string, | ||
JSXAttributeValue: tags.attributeValue, | ||
JSXText: tags.content, | ||
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": tags.angleBracket, | ||
"JSXIdentifier JSXNameSpacedName": tags.tagName, | ||
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.propertyName | ||
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.attributeName | ||
}) | ||
@@ -135,0 +135,0 @@ ] |
{ | ||
"name": "@codemirror/lang-javascript", | ||
"version": "0.19.1", | ||
"version": "0.19.2", | ||
"description": "JavaScript language support for the CodeMirror code editor", | ||
@@ -30,3 +30,3 @@ "scripts": { | ||
"@codemirror/autocomplete": "^0.19.0", | ||
"@codemirror/highlight": "^0.19.0", | ||
"@codemirror/highlight": "^0.19.6", | ||
"@codemirror/language": "^0.19.0", | ||
@@ -33,0 +33,0 @@ "@codemirror/lint": "^0.19.0", |
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
31348