@willbooster/tree-sitter-html 18.0.0 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammar.js CHANGED
@@ -35,6 +35,7 @@ module.exports = grammar({
35
35
  $._discarded_start_tag,
36
36
  $._missing_start_tag_end,
37
37
  $._void_start_tag_name,
38
+ $.entity,
38
39
  ],
39
40
 
40
41
  rules: {
@@ -163,8 +164,6 @@ module.exports = grammar({
163
164
  )),
164
165
  ),
165
166
 
166
- entity: _ => token(/&(#([xX][0-9a-fA-F]+|[0-9]+)|[A-Za-z][A-Za-z0-9]*);?/),
167
-
168
167
  singlequoted_attribute_value: $ => seq('\'', optional(alias(repeat1(choice(
169
168
  alias($._attribute_entity, $.entity),
170
169
  token.immediate(/[^'&]+/),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-html",
3
- "version": "18.0.0",
3
+ "version": "19.0.0",
4
4
  "description": "HTML grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "html",
@@ -67,5 +67,8 @@
67
67
  "@willbooster/web-tree-sitter": {
68
68
  "optional": true
69
69
  }
70
+ },
71
+ "overrides": {
72
+ "cross-spawn": "7.1.0"
70
73
  }
71
74
  }
Binary file
package/tree-sitter.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "path": ".",
9
9
  "external-files": [
10
10
  "src/tag.h",
11
- "src/attributeEntity.h",
11
+ "src/characterReference.h",
12
12
  "src/entities.h"
13
13
  ],
14
14
  "file-types": [
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "metadata": {
21
- "version": "18.0.0",
21
+ "version": "19.0.0",
22
22
  "license": "MIT",
23
23
  "description": "HTML grammar for tree-sitter",
24
24
  "authors": [