@willbooster/tree-sitter-c 1.1.0 → 1.1.2

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
@@ -60,11 +60,14 @@ parser.setLanguage(await Language.load(c));
60
60
  The package also ships `grammar.js`, the queries in `queries/`, and the node types in `src/node-types.json` for grammars
61
61
  extending C (such as C++).
62
62
 
63
- In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c):
63
+ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c) and on
64
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
65
+ fuzzed with (the grammar also loads in the upstream `tree-sitter` crate 0.27, whose error recovery never ends on some
66
+ malformed input):
64
67
 
65
68
  ```toml
66
69
  [dependencies]
67
- tree-sitter = "0.27"
70
+ tree-sitter = { package = "willbooster-tree-sitter", version = "1" }
68
71
  tree-sitter-c = { package = "willbooster-tree-sitter-c", version = "1" }
69
72
  ```
70
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -29,7 +29,7 @@
29
29
  "lint": "bun wb lint",
30
30
  "lint-fix": "bun wb lint --fix",
31
31
  "prepare": "(bun lefthook install || true) && (test ! -f .lefthook/normalize-bun-lockfile.sh || bash .lefthook/normalize-bun-lockfile.sh)",
32
- "release": "wb release",
32
+ "release": "node script/release.mjs",
33
33
  "prestart": "bun run build-wasm",
34
34
  "start": "tree-sitter playground",
35
35
  "test": "bun wb test",
@@ -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.7",
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.1.0",
19
+ "version": "1.1.2",
20
20
  "license": "MIT",
21
21
  "description": "C grammar for tree-sitter",
22
22
  "authors": [