@willbooster/tree-sitter-c-sharp 14.1.4 → 15.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 +4 -4
- 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
|
|
44
|
+
browsers, and Cloudflare Workers. The parser uses WillBooster ABI 9 and loads only with that runtime. Use version 13.0.0 or later within major version 13; 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,12 +89,12 @@ 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 13.0.0 or later within major version 13:
|
|
93
93
|
|
|
94
94
|
```toml
|
|
95
95
|
[dependencies]
|
|
96
|
-
tree-sitter = { package = "willbooster-tree-sitter", version = "
|
|
97
|
-
tree-sitter-c-sharp = { package = "willbooster-tree-sitter-c-sharp", version = "
|
|
96
|
+
tree-sitter = { package = "willbooster-tree-sitter", version = "13.0.0" }
|
|
97
|
+
tree-sitter-c-sharp = { package = "willbooster-tree-sitter-c-sharp", version = "15" }
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
```rust
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-c-sharp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.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": "13.0.0",
|
|
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": "^13.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-c_sharp.wasm
CHANGED
|
Binary file
|