@willbooster/tree-sitter-javascript 1.0.4 → 1.0.5

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/README.md CHANGED
@@ -59,11 +59,14 @@ parser.setLanguage(await Language.load(javascript));
59
59
  The package also ships the node types in `src/node-types.json`, and `grammar.js` and the queries in `queries/` for
60
60
  grammars that extend this one (e.g. `require('@willbooster/tree-sitter-javascript/grammar')`).
61
61
 
62
- In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-javascript):
62
+ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-javascript) and on
63
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
64
+ fuzzed with (the grammar also loads in the upstream `tree-sitter` crate 0.27, whose error recovery never ends on some
65
+ malformed input):
63
66
 
64
67
  ```toml
65
68
  [dependencies]
66
- tree-sitter = "0.27"
69
+ tree-sitter = { package = "willbooster-tree-sitter", version = "1" }
67
70
  tree-sitter-javascript = { package = "willbooster-tree-sitter-javascript", version = "1" }
68
71
  ```
69
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-javascript",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "JavaScript grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -47,7 +47,7 @@
47
47
  "@willbooster/oxfmt-config": "1.2.2",
48
48
  "@willbooster/oxlint-config": "1.4.8",
49
49
  "@willbooster/wb": "22.11.5",
50
- "@willbooster/web-tree-sitter": "1.0.0",
50
+ "@willbooster/web-tree-sitter": "1.0.5",
51
51
  "conventional-changelog-conventionalcommits": "10.4.0",
52
52
  "lefthook": "2.1.14",
53
53
  "oxfmt": "0.70.0",
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "1.0.4",
19
+ "version": "1.0.5",
20
20
  "license": "MIT",
21
21
  "description": "JavaScript grammar for tree-sitter",
22
22
  "authors": [