@willbooster/tree-sitter-c-sharp 1.0.3 → 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
@@ -76,9 +76,10 @@ parser.setLanguage(await Language.load(cSharp));
76
76
 
77
77
  The package also ships the node types in `src/node-types.json`.
78
78
 
79
- In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp) and the
80
- [runtime](https://crates.io/crates/willbooster-tree-sitter), whose fixes keep incremental reparses consistent with
81
- fresh parses:
79
+ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp) and on
80
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
81
+ fuzzed with, whose fixes keep incremental reparses consistent with fresh parses (the grammar also loads in the upstream
82
+ `tree-sitter` crate 0.27, whose error recovery never ends on some malformed input):
82
83
 
83
84
  ```toml
84
85
  [dependencies]
@@ -122,7 +123,8 @@ cargo test
122
123
  `cargo test` also replays edits that `tree-sitter fuzz` found to break incremental parsing, with the
123
124
  willbooster-tree-sitter runtime that fixes them; `tree-sitter fuzz` itself runs the runtime built into tree-sitter-cli.
124
125
 
125
- CI also runs these tests on Linux arm64 and macOS, where the Rust binding compiles the parser natively, and fuzzes the parser with libFuzzer and sanitizers
126
+ CI also runs these tests on Linux arm64 and macOS, where the Rust binding compiles the parser natively, and fuzzes the
127
+ parser with libFuzzer and sanitizers on the willbooster-tree-sitter runtime locked in `Cargo.lock`
126
128
  (`.github/workflows/robustness.yml`).
127
129
 
128
130
  ### References
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c-sharp",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "C# grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -28,7 +28,7 @@
28
28
  "lint": "bun wb lint",
29
29
  "lint-fix": "bun wb lint --fix",
30
30
  "prepare": "(bun lefthook install || true) && (test ! -f .lefthook/normalize-bun-lockfile.sh || bash .lefthook/normalize-bun-lockfile.sh)",
31
- "release": "wb release",
31
+ "release": "node script/release.mjs",
32
32
  "prestart": "bun run build-wasm",
33
33
  "start": "tree-sitter playground",
34
34
  "test": "bun wb test",
@@ -46,7 +46,7 @@
46
46
  "@willbooster/oxfmt-config": "1.2.2",
47
47
  "@willbooster/oxlint-config": "1.4.8",
48
48
  "@willbooster/wb": "22.11.5",
49
- "@willbooster/web-tree-sitter": "1.0.0",
49
+ "@willbooster/web-tree-sitter": "1.0.7",
50
50
  "conventional-changelog-conventionalcommits": "10.4.0",
51
51
  "lefthook": "2.1.14",
52
52
  "oxfmt": "0.70.0",
Binary file
package/tree-sitter.json CHANGED
@@ -19,7 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "metadata": {
22
- "version": "1.0.3",
22
+ "version": "1.0.5",
23
23
  "license": "MIT",
24
24
  "description": "C# grammar for tree-sitter",
25
25
  "authors": [