@willbooster/tree-sitter-python 12.0.0 → 13.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
@@ -15,14 +15,14 @@ to its authors and contributors. This is not an official release of that project
15
15
  This fork builds on upstream v0.25.0 with grammar, scanner, and highlighting fixes, including Python 3.15
16
16
  unpacking comprehensions. It ships a compact parser generated by the parser generator of
17
17
  [WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter). The parser carries that fork's own ABI number, so
18
- it loads only with the WillBooster runtime (`willbooster-tree-sitter` or `@willbooster/web-tree-sitter`) 14.0.0 or later within 14.x,
18
+ it loads only with the WillBooster runtime (`willbooster-tree-sitter` or `@willbooster/web-tree-sitter`) 15.0.0 or later within 15.x,
19
19
  not with upstream's tree-sitter.
20
20
 
21
21
  ## Usage
22
22
 
23
23
  The npm package ships `tree-sitter-python.wasm` for
24
24
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
25
- browsers, and Cloudflare Workers. The parser requires runtime 14.0.0 or later within 14.x.
25
+ browsers, and Cloudflare Workers. The parser requires runtime 15.0.0 or later within 15.x.
26
26
 
27
27
  In Node.js and Bun, load the grammar from its path:
28
28
 
@@ -68,12 +68,12 @@ Qualified generic bases use `member_type` inside `generic_type`. Generic bases i
68
68
 
69
69
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-python) and on
70
70
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
71
- fuzzed with. The parser requires runtime 14.0.0 or later within 14.x:
71
+ fuzzed with. The parser requires runtime 15.0.0 or later within 15.x:
72
72
 
73
73
  ```toml
74
74
  [dependencies]
75
- tree-sitter = { package = "willbooster-tree-sitter", version = "14.0.0" }
76
- tree-sitter-python = { package = "willbooster-tree-sitter-python", version = "11" }
75
+ tree-sitter = { package = "willbooster-tree-sitter", version = "15.0.0" }
76
+ tree-sitter-python = { package = "willbooster-tree-sitter-python", version = "13" }
77
77
  ```
78
78
 
79
79
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-python",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "Python 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": "22.29.3",
53
- "@willbooster/web-tree-sitter": "14.0.0",
53
+ "@willbooster/web-tree-sitter": "15.0.0",
54
54
  "conventional-changelog-conventionalcommits": "10.4.1",
55
55
  "lefthook": "2.2.2",
56
56
  "oxlint": "1.88.0",
@@ -62,7 +62,7 @@
62
62
  "wrangler": "4.151.1"
63
63
  },
64
64
  "peerDependencies": {
65
- "@willbooster/web-tree-sitter": "^14.0.0"
65
+ "@willbooster/web-tree-sitter": "^15.0.0"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -19,7 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "metadata": {
22
- "version": "12.0.0",
22
+ "version": "13.0.0",
23
23
  "license": "MIT",
24
24
  "description": "Python grammar for tree-sitter",
25
25
  "authors": [