@lezer/javascript
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,7 @@ | ||
## 1.0.2 (2022-07-21) | ||
### Bug fixes | ||
Properly assign a highlighting tag to the `super` keyword. | ||
## 1.0.1 (2022-06-27) | ||
@@ -2,0 +8,0 @@ |
@@ -109,3 +109,3 @@ import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr'; | ||
TemplateString: tags.special(tags.string), | ||
Super: tags.atom, | ||
super: tags.atom, | ||
BooleanLiteral: tags.bool, | ||
@@ -137,3 +137,4 @@ this: tags.self, | ||
Equals: tags.definitionOperator, | ||
"Arrow : Spread": tags.punctuation, | ||
Arrow: tags.function(tags.punctuation), | ||
": Spread": tags.punctuation, | ||
"( )": tags.paren, | ||
@@ -140,0 +141,0 @@ "[ ]": tags.squareBracket, |
{ | ||
"name": "@lezer/javascript", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "lezer-based JavaScript grammar", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -11,3 +11,3 @@ import {styleTags, tags as t} from "@lezer/highlight" | ||
TemplateString: t.special(t.string), | ||
Super: t.atom, | ||
super: t.atom, | ||
BooleanLiteral: t.bool, | ||
@@ -39,3 +39,4 @@ this: t.self, | ||
Equals: t.definitionOperator, | ||
"Arrow : Spread": t.punctuation, | ||
Arrow: t.function(t.punctuation), | ||
": Spread": t.punctuation, | ||
"( )": t.paren, | ||
@@ -42,0 +43,0 @@ "[ ]": t.squareBracket, |
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
250087
20
1266