@willbooster/tree-sitter-python 15.0.1 → 16.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 +4 -4
- package/package.json +6 -6
- package/tree-sitter-python.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ 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 and scanner 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`)
|
|
18
|
+
it loads only with the WillBooster runtime (`willbooster-tree-sitter` or `@willbooster/web-tree-sitter`) 17.0.1 or later within 17.x,
|
|
19
19
|
not with upstream's tree-sitter.
|
|
20
20
|
|
|
21
21
|
## Support Scope
|
|
@@ -29,7 +29,7 @@ the trees that error recovery produces may change; such changes are released as
|
|
|
29
29
|
|
|
30
30
|
The npm package ships `tree-sitter-python.wasm` for
|
|
31
31
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
|
|
32
|
-
browsers, and Cloudflare Workers. The parser requires runtime
|
|
32
|
+
browsers, and Cloudflare Workers. The parser requires runtime 17.0.1 or later within 17.x.
|
|
33
33
|
|
|
34
34
|
In Node.js and Bun, load the grammar from its path:
|
|
35
35
|
|
|
@@ -75,10 +75,10 @@ Qualified generic bases use `member_type` inside `generic_type`. Generic bases i
|
|
|
75
75
|
|
|
76
76
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-python) and on
|
|
77
77
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
78
|
-
fuzzed with. The parser requires runtime
|
|
78
|
+
fuzzed with. The parser requires runtime 17.0.1 or later within 17.x:
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
|
-
cargo add willbooster-tree-sitter@
|
|
81
|
+
cargo add willbooster-tree-sitter@17.0.1 --rename tree-sitter
|
|
82
82
|
cargo add willbooster-tree-sitter-python --rename tree-sitter-python
|
|
83
83
|
```
|
|
84
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-python",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "Python grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"@types/bun": "1.4.4",
|
|
49
49
|
"@vitest/browser-playwright": "5.0.5",
|
|
50
50
|
"@willbooster/oxlint-config": "1.4.9",
|
|
51
|
-
"@willbooster/wb": "23.0
|
|
52
|
-
"@willbooster/web-tree-sitter": "
|
|
51
|
+
"@willbooster/wb": "23.3.0",
|
|
52
|
+
"@willbooster/web-tree-sitter": "17.0.1",
|
|
53
53
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
54
54
|
"lefthook": "2.2.2",
|
|
55
|
-
"oxlint": "1.
|
|
55
|
+
"oxlint": "1.90.0",
|
|
56
56
|
"oxlint-tsgolint": "7.0.2005",
|
|
57
57
|
"playwright": "1.64.1",
|
|
58
58
|
"semantic-release": "25.0.9",
|
|
59
59
|
"vite": "8.3.5",
|
|
60
60
|
"vitest": "5.0.5",
|
|
61
|
-
"wrangler": "4.
|
|
61
|
+
"wrangler": "4.156.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@willbooster/web-tree-sitter": "^
|
|
64
|
+
"@willbooster/web-tree-sitter": "^17.0.1"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-python.wasm
CHANGED
|
Binary file
|