@willbooster/tree-sitter-go 8.0.1 → 9.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
@@ -14,7 +14,7 @@ to its authors and contributors. This is not an official release of that project
14
14
 
15
15
  This fork extends upstream's version 0.25.0 grammar with method type parameters 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`), so it loads only with the WillBooster runtime, version 15.0.0 or later within 15.x or 16.x
17
+ number (`0x5742000c`), so it loads only with the WillBooster runtime, version 17.0.1 or later within 17.x
18
18
  (`willbooster-tree-sitter`, `@willbooster/web-tree-sitter`), and not with upstream's tree-sitter.
19
19
 
20
20
  ## Support Scope
@@ -27,7 +27,7 @@ the trees that error recovery produces may change; such changes are released as
27
27
  ## Usage
28
28
 
29
29
  The npm package ships `tree-sitter-go.wasm` for
30
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 15.0.0 or later within 15.x or 16.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. In Node.js and Bun, load the grammar from its path:
30
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 17.0.1 or later within 17.x, which runs in Node.js, Bun, browsers, and Cloudflare Workers. In Node.js and Bun, load the grammar from its path:
31
31
 
32
32
  ```js
33
33
  import { fileURLToPath } from 'node:url';
@@ -73,7 +73,7 @@ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-
73
73
  fuzzed with:
74
74
 
75
75
  ```sh
76
- cargo add willbooster-tree-sitter@16.0.0 --rename tree-sitter
76
+ cargo add willbooster-tree-sitter@17.0.1 --rename tree-sitter
77
77
  cargo add willbooster-tree-sitter-go --rename tree-sitter-go
78
78
  ```
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-go",
3
- "version": "8.0.1",
3
+ "version": "9.0.0",
4
4
  "description": "Go grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "go",
@@ -49,7 +49,7 @@
49
49
  "@vitest/browser-playwright": "5.0.5",
50
50
  "@willbooster/oxlint-config": "1.4.9",
51
51
  "@willbooster/wb": "23.0.2",
52
- "@willbooster/web-tree-sitter": "16.0.2",
52
+ "@willbooster/web-tree-sitter": "17.0.1",
53
53
  "conventional-changelog-conventionalcommits": "10.4.1",
54
54
  "lefthook": "2.2.2",
55
55
  "oxlint": "1.89.0",
@@ -60,7 +60,7 @@
60
60
  "wrangler": "4.152.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^15.0.0 || ^16.0.0"
63
+ "@willbooster/web-tree-sitter": "^17.0.1"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -12,7 +12,7 @@
12
12
  }
13
13
  ],
14
14
  "metadata": {
15
- "version": "8.0.1",
15
+ "version": "9.0.0",
16
16
  "license": "MIT",
17
17
  "description": "Go grammar for tree-sitter",
18
18
  "authors": [