@willbooster/tree-sitter-c 15.0.2 → 16.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
@@ -5,7 +5,7 @@
5
5
  [![Test](https://github.com/WillBooster/tree-sitter-c/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-c/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-c/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-c/actions/workflows/test-rust.yml)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
8
- [![wbfy](https://img.shields.io/badge/wbfy-20.43.2-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-20.46.0-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-c.svg)](https://crates.io/crates/willbooster-tree-sitter-c)
10
10
 
11
11
  C grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
@@ -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 10.0.2 or later within 10.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. The parser carries the ABI number of the WillBooster/tree-sitter generator (`0x57420007`), 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 13.0.0 or later within 13.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. The parser carries the ABI number of the WillBooster/tree-sitter generator (`0x57420009`), 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';
@@ -118,12 +118,12 @@ arrays, parenthesized/function declarators, initializers and multiple declarator
118
118
 
119
119
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c) and on
120
120
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
121
- fuzzed with, at version 10.0.2 or later within 10.x. No other runtime loads the parser:
121
+ fuzzed with, at version 13.0.0 or later within 13.x. No other runtime loads the parser:
122
122
 
123
123
  ```toml
124
124
  [dependencies]
125
- tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
126
- tree-sitter-c = { package = "willbooster-tree-sitter-c", version = "15" }
125
+ tree-sitter = { package = "willbooster-tree-sitter", version = "13.0.0" }
126
+ tree-sitter-c = { package = "willbooster-tree-sitter-c", version = "16" }
127
127
  ```
128
128
 
129
129
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "15.0.2",
3
+ "version": "16.0.0",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -54,8 +54,8 @@
54
54
  "@vitest/browser-playwright": "5.0.3",
55
55
  "@willbooster/oxfmt-config": "1.2.2",
56
56
  "@willbooster/oxlint-config": "1.4.8",
57
- "@willbooster/wb": "22.26.2",
58
- "@willbooster/web-tree-sitter": "10.0.2",
57
+ "@willbooster/wb": "22.26.3",
58
+ "@willbooster/web-tree-sitter": "13.0.0",
59
59
  "conventional-changelog-conventionalcommits": "10.4.1",
60
60
  "lefthook": "2.2.2",
61
61
  "oxfmt": "0.73.0",
@@ -63,12 +63,12 @@
63
63
  "oxlint-tsgolint": "7.0.2004",
64
64
  "playwright": "1.64.0",
65
65
  "semantic-release": "25.0.9",
66
- "sort-package-json": "4.0.0",
66
+ "sort-package-json": "4.1.0",
67
67
  "vitest": "5.0.3",
68
68
  "wrangler": "4.149.0"
69
69
  },
70
70
  "peerDependencies": {
71
- "@willbooster/web-tree-sitter": "^10.0.2"
71
+ "@willbooster/web-tree-sitter": "^13.0.0"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
74
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "15.0.2",
19
+ "version": "16.0.0",
20
20
  "license": "MIT",
21
21
  "description": "C grammar for tree-sitter",
22
22
  "authors": [