@willbooster/tree-sitter-cpp 19.0.0 → 20.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-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -42,8 +42,8 @@ the compiler's interpretation.
|
|
|
42
42
|
|
|
43
43
|
The npm package ships `tree-sitter-cpp.wasm` for
|
|
44
44
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
|
|
45
|
-
browsers, and Cloudflare Workers. Use runtime version
|
|
46
|
-
WillBooster/tree-sitter ABI `
|
|
45
|
+
browsers, and Cloudflare Workers. Use runtime version 15.0.0 or later within major version 15. The parser uses the
|
|
46
|
+
WillBooster/tree-sitter ABI `0x5742000b`; upgrade the grammar and runtime together. Install both:
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
49
|
npm install @willbooster/tree-sitter-cpp @willbooster/web-tree-sitter
|
|
@@ -92,10 +92,10 @@ grammar's in `queries/` and, in `queries/c/`, the highlights of the C grammar it
|
|
|
92
92
|
|
|
93
93
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
|
|
94
94
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
95
|
-
fuzzed with. Use runtime version
|
|
95
|
+
fuzzed with. Use runtime version 15.0.0 or later within major version 15:
|
|
96
96
|
|
|
97
97
|
```sh
|
|
98
|
-
cargo add --rename tree-sitter willbooster-tree-sitter@
|
|
98
|
+
cargo add --rename tree-sitter willbooster-tree-sitter@15.0.0
|
|
99
99
|
cargo add --rename tree-sitter-cpp willbooster-tree-sitter-cpp
|
|
100
100
|
```
|
|
101
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cpp",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@willbooster/oxlint-config": "1.4.9",
|
|
51
51
|
"@willbooster/tree-sitter-c": "9.0.1",
|
|
52
52
|
"@willbooster/wb": "22.29.3",
|
|
53
|
-
"@willbooster/web-tree-sitter": "
|
|
53
|
+
"@willbooster/web-tree-sitter": "15.0.0",
|
|
54
54
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
55
55
|
"lefthook": "2.2.2",
|
|
56
56
|
"oxlint": "1.88.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"wrangler": "4.151.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@willbooster/web-tree-sitter": "^
|
|
65
|
+
"@willbooster/web-tree-sitter": "^15.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|