@willbooster/tree-sitter-cpp 16.0.0 → 18.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 +5 -5
- package/package.json +5 -5
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/WillBooster/tree-sitter-cpp/actions/workflows/test.yml)
|
|
6
6
|
[](https://github.com/WillBooster/tree-sitter-cpp/actions/workflows/test-rust.yml)
|
|
7
7
|
[](https://github.com/semantic-release/semantic-release)
|
|
8
|
-
[](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
|
|
9
9
|
[](https://crates.io/crates/willbooster-tree-sitter-cpp)
|
|
10
10
|
|
|
11
11
|
C++ grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
|
|
@@ -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 13.0.0 or later within major version 13. The parser uses the
|
|
46
|
+
WillBooster/tree-sitter ABI `0x57420009`; 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
|
|
@@ -91,10 +91,10 @@ grammar's in `queries/` and, in `queries/c/`, the highlights of the C grammar it
|
|
|
91
91
|
|
|
92
92
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
|
|
93
93
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
94
|
-
fuzzed with. Use runtime version
|
|
94
|
+
fuzzed with. Use runtime version 13.0.0 or later within major version 13:
|
|
95
95
|
|
|
96
96
|
```sh
|
|
97
|
-
cargo add --rename tree-sitter willbooster-tree-sitter@
|
|
97
|
+
cargo add --rename tree-sitter willbooster-tree-sitter@13.0.0
|
|
98
98
|
cargo add --rename tree-sitter-cpp willbooster-tree-sitter-cpp
|
|
99
99
|
```
|
|
100
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@willbooster/oxfmt-config": "1.2.2",
|
|
47
47
|
"@willbooster/oxlint-config": "1.4.8",
|
|
48
48
|
"@willbooster/tree-sitter-c": "9.0.1",
|
|
49
|
-
"@willbooster/wb": "22.26.
|
|
50
|
-
"@willbooster/web-tree-sitter": "
|
|
49
|
+
"@willbooster/wb": "22.26.3",
|
|
50
|
+
"@willbooster/web-tree-sitter": "13.0.0",
|
|
51
51
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
52
52
|
"lefthook": "2.2.2",
|
|
53
53
|
"oxfmt": "0.73.0",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"oxlint-tsgolint": "7.0.2004",
|
|
56
56
|
"playwright": "1.64.0",
|
|
57
57
|
"semantic-release": "25.0.9",
|
|
58
|
-
"sort-package-json": "4.
|
|
58
|
+
"sort-package-json": "4.1.0",
|
|
59
59
|
"vite": "8.3.4",
|
|
60
60
|
"vitest": "5.0.3",
|
|
61
61
|
"wrangler": "4.149.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@willbooster/web-tree-sitter": "^
|
|
64
|
+
"@willbooster/web-tree-sitter": "^13.0.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|