@lezer/css
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -0,1 +1,7 @@ | ||
## 1.1.8 (2024-02-19) | ||
### Bug fixes | ||
Follow the standard, allowing digits in unit identifiers. | ||
## 1.1.7 (2024-01-08) | ||
@@ -2,0 +8,0 @@ |
@@ -57,3 +57,3 @@ import { ExternalTokenizer, LRParser, LocalTokenGroup } from '@lezer/lr'; | ||
if (isAlpha(next)) { | ||
do { input.advance(); } while (isAlpha(input.next)) | ||
do { input.advance(); } while (isAlpha(input.next) || isDigit(input.next)) | ||
input.acceptToken(Unit); | ||
@@ -60,0 +60,0 @@ } |
{ | ||
"name": "@lezer/css", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "lezer-based CSS grammar", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -13,2 +13,3 @@ // This file was generated by lezer-generator. You probably shouldn't edit it. | ||
NestingSelector = 9, | ||
PseudoClassName = 16, | ||
ColorLiteral = 22, | ||
@@ -20,2 +21,3 @@ NumberLiteral = 23, | ||
CallLiteral = 29, | ||
CallTag = 30, | ||
ParenthesizedContent = 31, | ||
@@ -30,11 +32,19 @@ MatchOp = 44, | ||
AtKeyword = 58, | ||
_import = 59, | ||
LogicOp = 64, | ||
UnaryQueryOp = 66, | ||
selector = 69, | ||
MediaStatement = 70, | ||
media = 71, | ||
CharsetStatement = 72, | ||
charset = 73, | ||
NamespaceStatement = 74, | ||
namespace = 75, | ||
KeyframesStatement = 77, | ||
keyframes = 78, | ||
KeyframeList = 80, | ||
KeyframeSelector = 81, | ||
SupportsStatement = 83, | ||
supports = 84, | ||
AtRule = 85, | ||
Styles = 86 |
@@ -50,3 +50,3 @@ /* Hand-written tokenizers for CSS tokens that can't be | ||
if (isAlpha(next)) { | ||
do { input.advance() } while (isAlpha(input.next)) | ||
do { input.advance() } while (isAlpha(input.next) || isDigit(input.next)) | ||
input.acceptToken(Unit) | ||
@@ -53,0 +53,0 @@ } |
Sorry, the diff of this file is not supported yet
67442
19
515