@willbooster/tree-sitter-cpp 6.1.1 → 7.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 +6 -7
- package/package.json +3 -3
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -19,8 +19,8 @@ This fork fixes parsing bugs and raises conformance with the ISO C++ standard
|
|
|
19
19
|
|
|
20
20
|
The npm package ships `tree-sitter-cpp.wasm` for
|
|
21
21
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
|
|
22
|
-
browsers, and Cloudflare Workers.
|
|
23
|
-
|
|
22
|
+
browsers, and Cloudflare Workers. Use runtime version 7.0.10 or later within major version 7. The parser carries the
|
|
23
|
+
ABI number of the WillBooster/tree-sitter fork; upstream's runtime rejects it. Install both:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
npm install @willbooster/tree-sitter-cpp @willbooster/web-tree-sitter
|
|
@@ -68,12 +68,11 @@ grammar's in `queries/` and, in `queries/c/`, the highlights of the C grammar it
|
|
|
68
68
|
|
|
69
69
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
|
|
70
70
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
71
|
-
fuzzed with.
|
|
71
|
+
fuzzed with. Use runtime version 7.0.10 or later within major version 7:
|
|
72
72
|
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
tree-sitter
|
|
76
|
-
tree-sitter-cpp = { package = "willbooster-tree-sitter-cpp", version = "6" }
|
|
73
|
+
```sh
|
|
74
|
+
cargo add --rename tree-sitter willbooster-tree-sitter@7.0.10
|
|
75
|
+
cargo add --rename tree-sitter-cpp willbooster-tree-sitter-cpp
|
|
77
76
|
```
|
|
78
77
|
|
|
79
78
|
```rust
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@willbooster/oxlint-config": "1.4.8",
|
|
48
48
|
"@willbooster/tree-sitter-c": "7.0.1",
|
|
49
49
|
"@willbooster/wb": "22.26.1",
|
|
50
|
-
"@willbooster/web-tree-sitter": "7.0.
|
|
50
|
+
"@willbooster/web-tree-sitter": "7.0.10",
|
|
51
51
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
52
52
|
"lefthook": "2.2.1",
|
|
53
53
|
"oxfmt": "0.72.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"wrangler": "4.149.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@willbooster/web-tree-sitter": "^7.0.
|
|
64
|
+
"@willbooster/web-tree-sitter": "^7.0.10"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|