@willbooster/tree-sitter-cpp 19.0.0 → 20.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
@@ -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 14.0.0 or later within major version 14. The parser uses the
46
- WillBooster/tree-sitter ABI `0x5742000a`; upgrade the grammar and runtime together. Install both:
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 14.0.0 or later within major version 14:
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@14.0.0
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": "19.0.0",
3
+ "version": "20.0.1",
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": "14.0.2",
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": "^14.0.0"
65
+ "@willbooster/web-tree-sitter": "^15.0.0"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@willbooster/web-tree-sitter": {
@@ -1657,6 +1657,10 @@
1657
1657
  "type": "base_class_clause",
1658
1658
  "named": true
1659
1659
  },
1660
+ {
1661
+ "type": "identifier",
1662
+ "named": true
1663
+ },
1660
1664
  {
1661
1665
  "type": "ms_declspec_modifier",
1662
1666
  "named": true
@@ -7623,6 +7627,10 @@
7623
7627
  "type": "base_class_clause",
7624
7628
  "named": true
7625
7629
  },
7630
+ {
7631
+ "type": "identifier",
7632
+ "named": true
7633
+ },
7626
7634
  {
7627
7635
  "type": "ms_declspec_modifier",
7628
7636
  "named": true
@@ -8673,6 +8681,10 @@
8673
8681
  "type": "base_class_clause",
8674
8682
  "named": true
8675
8683
  },
8684
+ {
8685
+ "type": "identifier",
8686
+ "named": true
8687
+ },
8676
8688
  {
8677
8689
  "type": "ms_declspec_modifier",
8678
8690
  "named": true
Binary file
package/tree-sitter.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  ],
26
26
  "metadata": {
27
- "version": "19.0.0",
27
+ "version": "20.0.1",
28
28
  "license": "MIT",
29
29
  "description": "C++ grammar for tree-sitter",
30
30
  "authors": [