@willbooster/tree-sitter-dart 3.0.0 → 4.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
@@ -13,8 +13,8 @@ Dart grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), fork
13
13
  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.2.0 grammar, retains its external scanner, and generates the parser with the
16
- [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parser carries that fork's own ABI number (`0x57420007`), so it loads only with the fork's runtime,
17
- version 10.0.2 or later in the 10.x series; upstream's runtime rejects it, and the fork's runtime rejects parsers generated by upstream's CLI.
16
+ [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parser carries that fork's own ABI number (`0x57420009`), so it loads only with the fork's runtime,
17
+ version 13.0.0 or later in the 13.x series; upstream's runtime rejects it, and the fork's runtime rejects parsers generated by upstream's CLI.
18
18
 
19
19
  ## Differences from upstream's parser
20
20
 
@@ -31,7 +31,7 @@ Known differences from upstream's 0.2.0 parser include:
31
31
  ## Usage
32
32
 
33
33
  The npm package ships `tree-sitter-dart.wasm` for
34
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 10.0.2 or later in the 10.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
34
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 13.0.0 or later in the 13.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers.
35
35
  In Node.js and Bun, load the grammar from its path:
36
36
 
37
37
  ```js
@@ -78,8 +78,8 @@ fuzzed with:
78
78
 
79
79
  ```toml
80
80
  [dependencies]
81
- tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
82
- tree-sitter-dart = { package = "willbooster-tree-sitter-dart", version = "3" }
81
+ tree-sitter = { package = "willbooster-tree-sitter", version = "13.0.0" }
82
+ tree-sitter-dart = { package = "willbooster-tree-sitter-dart", version = "4" }
83
83
  ```
84
84
 
85
85
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-dart",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Dart grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -47,7 +47,7 @@
47
47
  "@willbooster/oxfmt-config": "1.2.2",
48
48
  "@willbooster/oxlint-config": "1.4.8",
49
49
  "@willbooster/wb": "22.26.2",
50
- "@willbooster/web-tree-sitter": "10.0.2",
50
+ "@willbooster/web-tree-sitter": "13.0.0",
51
51
  "conventional-changelog-conventionalcommits": "10.4.0",
52
52
  "lefthook": "2.2.2",
53
53
  "oxfmt": "0.73.0",
@@ -60,7 +60,7 @@
60
60
  "wrangler": "4.147.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^10.0.2"
63
+ "@willbooster/web-tree-sitter": "^13.0.0"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "metadata": {
21
- "version": "3.0.0",
21
+ "version": "4.0.0",
22
22
  "license": "MIT",
23
23
  "description": "Dart grammar for tree-sitter",
24
24
  "authors": [