@willbooster/tree-sitter-cpp 30.0.0 → 31.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
@@ -49,9 +49,8 @@ may change; such changes are released as new major versions.
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` 20.0.0 or later in the 20.x series. The parser uses
53
- WillBooster/tree-sitter ABI `0x5742000c`, which upstream Tree-sitter runtimes reject, and omits unused `TSLanguage`
54
- tables that pre-19.1.0 WillBooster runtimes (`17.x` and `18.x`) dereference despite sharing ABI `0x5742000c`; upgrade
52
+ browsers, and Cloudflare Workers. Use `@willbooster/web-tree-sitter` 23.0.0 or later in the 23.x series. The parser uses
53
+ WillBooster/tree-sitter ABI `0x5742000d`, which upstream Tree-sitter runtimes reject; upgrade
55
54
  the grammar and runtime together. Install both:
56
55
 
57
56
  ```sh
@@ -100,12 +99,11 @@ The package also ships the node types in `src/node-types.json`.
100
99
 
101
100
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
102
101
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
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:
102
+ fuzzed with. Use `willbooster-tree-sitter` 23.0.0 or later in the 23.x series; upstream Tree-sitter runtimes reject ABI
103
+ `0x5742000d`:
106
104
 
107
105
  ```sh
108
- cargo add --rename tree-sitter willbooster-tree-sitter@20.0.0
106
+ cargo add --rename tree-sitter willbooster-tree-sitter@23.0.0
109
107
  cargo add --rename tree-sitter-cpp willbooster-tree-sitter-cpp
110
108
  ```
111
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-cpp",
3
- "version": "30.0.0",
3
+ "version": "31.0.0",
4
4
  "description": "C++ grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "cpp",
@@ -44,23 +44,23 @@
44
44
  "devDependencies": {
45
45
  "@tsconfig/bun": "1.0.11",
46
46
  "@types/bun": "1.4.4",
47
- "@vitest/browser-playwright": "5.0.5",
47
+ "@vitest/browser-playwright": "5.1.0",
48
48
  "@willbooster/oxlint-config": "1.4.9",
49
49
  "@willbooster/tree-sitter-c": "18.1.0",
50
- "@willbooster/wb": "23.3.0",
51
- "@willbooster/web-tree-sitter": "20.0.0",
50
+ "@willbooster/wb": "23.3.4",
51
+ "@willbooster/web-tree-sitter": "23.0.0",
52
52
  "conventional-changelog-conventionalcommits": "10.4.1",
53
53
  "lefthook": "2.2.2",
54
- "oxlint": "1.90.0",
55
- "oxlint-tsgolint": "7.0.2005",
56
- "playwright": "1.64.1",
54
+ "oxlint": "1.92.0",
55
+ "oxlint-tsgolint": "7.0.2006",
56
+ "playwright": "1.65.0",
57
57
  "semantic-release": "25.0.9",
58
- "vite": "8.3.5",
59
- "vitest": "5.0.5",
58
+ "vite": "8.3.6",
59
+ "vitest": "5.1.0",
60
60
  "wrangler": "4.156.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^20.0.0"
63
+ "@willbooster/web-tree-sitter": "^23.0.0"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
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": "30.0.0",
30
+ "version": "31.0.0",
31
31
  "license": "MIT",
32
32
  "description": "C++ grammar for tree-sitter",
33
33
  "authors": [