@willbooster/tree-sitter-c-sharp 13.0.0 → 14.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/README.md +3 -3
- package/package.json +3 -3
- package/tree-sitter-c_sharp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ The contextual type names `nint` and `nuint` use `identifier` nodes.
|
|
|
41
41
|
|
|
42
42
|
The npm package ships `tree-sitter-c_sharp.wasm` for
|
|
43
43
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
|
|
44
|
-
browsers, and Cloudflare Workers. The parser uses WillBooster ABI 7 and loads only with that runtime. Use version
|
|
44
|
+
browsers, and Cloudflare Workers. The parser uses WillBooster ABI 7 and loads only with that runtime. Use version 10.0.2 or later within major version 10; upstream's runtime rejects it. Install the runtime alongside the grammar when using
|
|
45
45
|
the Wasm parser; it remains an optional peer for consumers that only use the grammar source or queries.
|
|
46
46
|
|
|
47
47
|
In Node.js and Bun, load it from the package:
|
|
@@ -89,11 +89,11 @@ Their external tokens and serialized scanner state must match.
|
|
|
89
89
|
|
|
90
90
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp) and on
|
|
91
91
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
92
|
-
fuzzed with. Use runtime
|
|
92
|
+
fuzzed with. Use runtime 10.0.2 or later within major version 10:
|
|
93
93
|
|
|
94
94
|
```toml
|
|
95
95
|
[dependencies]
|
|
96
|
-
tree-sitter = { package = "willbooster-tree-sitter", version = "
|
|
96
|
+
tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
|
|
97
97
|
tree-sitter-c-sharp = { package = "willbooster-tree-sitter-c-sharp", version = "11" }
|
|
98
98
|
```
|
|
99
99
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-c-sharp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "C# grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@willbooster/oxfmt-config": "1.2.2",
|
|
49
49
|
"@willbooster/oxlint-config": "1.4.8",
|
|
50
50
|
"@willbooster/wb": "22.26.2",
|
|
51
|
-
"@willbooster/web-tree-sitter": "
|
|
51
|
+
"@willbooster/web-tree-sitter": "10.0.2",
|
|
52
52
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
53
53
|
"lefthook": "2.2.2",
|
|
54
54
|
"oxfmt": "0.73.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"wrangler": "4.149.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@willbooster/web-tree-sitter": "^
|
|
65
|
+
"@willbooster/web-tree-sitter": "^10.0.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-c_sharp.wasm
CHANGED
|
Binary file
|