@willbooster/tree-sitter-c 17.0.0 → 18.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
@@ -18,7 +18,7 @@ This fork fixes parsing bugs and raises conformance with the ISO C standard
18
18
  ## Usage
19
19
 
20
20
  The npm package ships `tree-sitter-c.wasm` for
21
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 14.0.0 or later within 14.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. The parser carries the ABI number of the WillBooster/tree-sitter generator (`0x5742000a`), so it loads only with that runtime; upstream tree-sitter runtimes reject it. In Node.js and Bun, load the grammar from its path:
21
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 15.0.0 or later within 15.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. The parser carries the ABI number of the WillBooster/tree-sitter generator (`0x5742000b`), so it loads only with that runtime; upstream tree-sitter runtimes reject it. In Node.js and Bun, load the grammar from its path:
22
22
 
23
23
  ```js
24
24
  import { fileURLToPath } from 'node:url';
@@ -119,12 +119,12 @@ arrays, parenthesized/function declarators, initializers and multiple declarator
119
119
 
120
120
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c) and on
121
121
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
122
- fuzzed with, at version 14.0.0 or later within 14.x. No other runtime loads the parser:
122
+ fuzzed with, at version 15.0.0 or later within 15.x. No other runtime loads the parser:
123
123
 
124
124
  ```toml
125
125
  [dependencies]
126
- tree-sitter = { package = "willbooster-tree-sitter", version = "14.0.0" }
127
- tree-sitter-c = { package = "willbooster-tree-sitter-c", version = "16" }
126
+ tree-sitter = { package = "willbooster-tree-sitter", version = "15.0.0" }
127
+ tree-sitter-c = { package = "willbooster-tree-sitter-c", version = "18" }
128
128
  ```
129
129
 
130
130
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "17.0.0",
3
+ "version": "18.0.0",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "c",
@@ -58,7 +58,7 @@
58
58
  "@vitest/browser-playwright": "5.0.5",
59
59
  "@willbooster/oxlint-config": "1.4.9",
60
60
  "@willbooster/wb": "22.29.3",
61
- "@willbooster/web-tree-sitter": "14.0.2",
61
+ "@willbooster/web-tree-sitter": "15.0.0",
62
62
  "conventional-changelog-conventionalcommits": "10.4.1",
63
63
  "lefthook": "2.2.2",
64
64
  "oxlint": "1.88.0",
@@ -69,7 +69,7 @@
69
69
  "wrangler": "4.151.1"
70
70
  },
71
71
  "peerDependencies": {
72
- "@willbooster/web-tree-sitter": "^14.0.0"
72
+ "@willbooster/web-tree-sitter": "^15.0.0"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "17.0.0",
19
+ "version": "18.0.0",
20
20
  "license": "MIT",
21
21
  "description": "C grammar for tree-sitter",
22
22
  "authors": [