@willbooster/tree-sitter-cpp 5.0.1 → 6.0.1

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 CHANGED
@@ -20,7 +20,7 @@ This fork fixes parsing bugs and raises conformance with the ISO C++ standard
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
22
  browsers, and Cloudflare Workers. The parser carries the ABI number of the WillBooster/tree-sitter fork, so it loads
23
- only with that runtime, version 4.0.2 or later within major version 4; upstream's runtime rejects it. Install both:
23
+ only with that runtime, version 7.0.5 or later within major version 7; 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,12 @@ 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. The parser loads only with that runtime, version 4.0.2 or later within major version 4:
71
+ fuzzed with. The parser loads only with that runtime, version 7.0.5 or later within major version 7:
72
72
 
73
73
  ```toml
74
74
  [dependencies]
75
- tree-sitter = { package = "willbooster-tree-sitter", version = "4.0.2" }
76
- tree-sitter-cpp = { package = "willbooster-tree-sitter-cpp", version = "5" }
75
+ tree-sitter = { package = "willbooster-tree-sitter", version = "7.0.5" }
76
+ tree-sitter-cpp = { package = "willbooster-tree-sitter-cpp", version = "6" }
77
77
  ```
78
78
 
79
79
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-cpp",
3
- "version": "5.0.1",
3
+ "version": "6.0.1",
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": "6.0.0",
49
49
  "@willbooster/wb": "22.26.1",
50
- "@willbooster/web-tree-sitter": "4.0.2",
50
+ "@willbooster/web-tree-sitter": "7.0.5",
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": "^4.0.2"
64
+ "@willbooster/web-tree-sitter": "^7.0.5"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@willbooster/web-tree-sitter": {
@@ -4622,6 +4622,10 @@
4622
4622
  "multiple": false,
4623
4623
  "required": true,
4624
4624
  "types": [
4625
+ {
4626
+ "type": "alias_declaration",
4627
+ "named": true
4628
+ },
4625
4629
  {
4626
4630
  "type": "declaration",
4627
4631
  "named": true
@@ -4930,7 +4934,7 @@
4930
4934
  "fields": {},
4931
4935
  "children": {
4932
4936
  "multiple": true,
4933
- "required": false,
4937
+ "required": true,
4934
4938
  "types": [
4935
4939
  {
4936
4940
  "type": "namespace_identifier",
Binary file
package/tree-sitter.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  ],
26
26
  "metadata": {
27
- "version": "5.0.1",
27
+ "version": "6.0.1",
28
28
  "license": "MIT",
29
29
  "description": "C++ grammar for tree-sitter",
30
30
  "authors": [