@willbooster/tree-sitter-zig 9.0.0 → 9.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
@@ -14,7 +14,7 @@ to its authors and contributors. This is not an official release of that project
14
14
 
15
15
  This fork builds on the grammar of upstream's version 1.1.2 and generates the parser with the
16
16
  [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parser carries that fork's own ABI
17
- number (`0x5742000b`) and loads only with that fork's runtime, version 15.0.0 or later in the 15.x series: upstream's tree-sitter runtime
17
+ number (`0x5742000b`) and loads only with that fork's runtime, version 15.0.0 or later in the 15.x or 16.x series: upstream's tree-sitter runtime
18
18
  rejects it. It parses as the parser in upstream's 1.1.2 packages does, with these exceptions:
19
19
 
20
20
  - In the ranges a `for` loop iterates over, a range end whose first token can both start an expression and continue
@@ -60,7 +60,7 @@ the trees that error recovery produces may change; such changes are released as
60
60
  ## Usage
61
61
 
62
62
  The npm package ships `tree-sitter-zig.wasm` for
63
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 15.0.0 or later in the 15.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
63
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 15.0.0 or later in the 15.x or 16.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
64
64
  In Node.js and Bun, load the grammar from its path:
65
65
 
66
66
  ```js
@@ -108,7 +108,7 @@ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-
108
108
  fuzzed with:
109
109
 
110
110
  ```sh
111
- cargo add willbooster-tree-sitter@15.0.0 --rename tree-sitter
111
+ cargo add willbooster-tree-sitter@16.0.0 --rename tree-sitter
112
112
  cargo add willbooster-tree-sitter-zig --rename tree-sitter-zig
113
113
  ```
114
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-zig",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Zig grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -50,7 +50,7 @@
50
50
  "@vitest/browser-playwright": "5.0.5",
51
51
  "@willbooster/oxlint-config": "1.4.9",
52
52
  "@willbooster/wb": "23.0.2",
53
- "@willbooster/web-tree-sitter": "15.0.0",
53
+ "@willbooster/web-tree-sitter": "16.0.2",
54
54
  "conventional-changelog-conventionalcommits": "10.4.1",
55
55
  "lefthook": "2.2.2",
56
56
  "oxlint": "1.89.0",
@@ -61,7 +61,7 @@
61
61
  "wrangler": "4.152.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@willbooster/web-tree-sitter": "^15.0.0"
64
+ "@willbooster/web-tree-sitter": "^15.0.0 || ^16.0.0"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "metadata": {
16
- "version": "9.0.0",
16
+ "version": "9.0.1",
17
17
  "license": "MIT",
18
18
  "description": "Zig grammar for tree-sitter",
19
19
  "authors": [