@willbooster/tree-sitter-cpp 29.0.0 → 30.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 CHANGED
@@ -41,15 +41,15 @@ the compiler's interpretation.
41
41
  ## Support Scope
42
42
 
43
43
  This fork maintains only full parsing: valid input yields a correct tree, and invalid input yields `ERROR` or `MISSING`
44
- nodes without crashing, hanging, or taking more than linear time. Incremental parsing works as in upstream tree-sitter
45
- but is not tested here, and no queries (highlights, locals, injections, tags) are shipped. Node types, field names, and
46
- the trees that error recovery produces may change; such changes are released as new major versions.
44
+ nodes without crashing, hanging, or taking more than linear time. Incremental parsing is not supported, and no queries
45
+ (highlights, locals, injections, tags) are shipped. Node types, field names, and the trees that error recovery produces
46
+ may change; such changes are released as new major versions.
47
47
 
48
48
  ## Usage
49
49
 
50
50
  The npm package ships `tree-sitter-cpp.wasm` for
51
51
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
52
- browsers, and Cloudflare Workers. Use `@willbooster/web-tree-sitter` 19.1.1 or later in the 19.x series. The parser uses
52
+ browsers, and Cloudflare Workers. Use `@willbooster/web-tree-sitter` 20.0.0 or later in the 20.x series. The parser uses
53
53
  WillBooster/tree-sitter ABI `0x5742000c`, which upstream Tree-sitter runtimes reject, and omits unused `TSLanguage`
54
54
  tables that pre-19.1.0 WillBooster runtimes (`17.x` and `18.x`) dereference despite sharing ABI `0x5742000c`; upgrade
55
55
  the grammar and runtime together. Install both:
@@ -100,12 +100,12 @@ The package also ships the node types in `src/node-types.json`.
100
100
 
101
101
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
102
102
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
103
- fuzzed with. Use `willbooster-tree-sitter` 19.1.1 or later in the 19.x series; upstream Tree-sitter runtimes reject ABI
104
- `0x5742000c`, and pre-19.1.0 WillBooster runtimes (`17.x` and `18.x`) dereference unused `TSLanguage` tables omitted in
105
- 19.1.0+:
103
+ fuzzed with. Use `willbooster-tree-sitter` 20.0.0 or later in the 20.x series; upstream Tree-sitter runtimes reject ABI
104
+ `0x5742000c`, and pre-19.1.0 WillBooster runtimes (`17.x` and `18.x`) dereference unused `TSLanguage` tables that this
105
+ parser omits:
106
106
 
107
107
  ```sh
108
- cargo add --rename tree-sitter willbooster-tree-sitter@19.1.1
108
+ cargo add --rename tree-sitter willbooster-tree-sitter@20.0.0
109
109
  cargo add --rename tree-sitter-cpp willbooster-tree-sitter-cpp
110
110
  ```
111
111
 
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-cpp",
3
- "version": "29.0.0",
3
+ "version": "30.0.0",
4
4
  "description": "C++ grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "cpp",
7
- "incremental",
8
7
  "parsing",
9
8
  "tree-sitter"
10
9
  ],
@@ -49,7 +48,7 @@
49
48
  "@willbooster/oxlint-config": "1.4.9",
50
49
  "@willbooster/tree-sitter-c": "18.1.0",
51
50
  "@willbooster/wb": "23.3.0",
52
- "@willbooster/web-tree-sitter": "19.1.1",
51
+ "@willbooster/web-tree-sitter": "20.0.0",
53
52
  "conventional-changelog-conventionalcommits": "10.4.1",
54
53
  "lefthook": "2.2.2",
55
54
  "oxlint": "1.90.0",
@@ -61,7 +60,7 @@
61
60
  "wrangler": "4.156.0"
62
61
  },
63
62
  "peerDependencies": {
64
- "@willbooster/web-tree-sitter": "^19.1.1"
63
+ "@willbooster/web-tree-sitter": "^20.0.0"
65
64
  },
66
65
  "peerDependenciesMeta": {
67
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -27,7 +27,7 @@
27
27
  }
28
28
  ],
29
29
  "metadata": {
30
- "version": "29.0.0",
30
+ "version": "30.0.0",
31
31
  "license": "MIT",
32
32
  "description": "C++ grammar for tree-sitter",
33
33
  "authors": [