@willbooster/tree-sitter-haskell 11.0.0 → 12.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 +4 -4
- package/package.json +3 -3
- package/tree-sitter-haskell.wasm +0 -0
- package/tree-sitter-hsc.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Haskell grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), f
|
|
|
13
13
|
to its authors and contributors. This is not an official release of that project.
|
|
14
14
|
|
|
15
15
|
This fork is based on upstream's version 0.23.1 grammar 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. This package supports the fork's runtime version 10.0.
|
|
16
|
+
[WillBooster/tree-sitter](https://github.com/WillBooster/tree-sitter) generator. The parser carries that fork's own ABI number. This package supports the fork's runtime version 10.0.2 or later within 10.x in the 10.x series; upstream's runtime rejects it.
|
|
17
17
|
[Upstream's README at that version](https://github.com/tree-sitter/tree-sitter-haskell/blob/v0.23.1/README.md) lists
|
|
18
18
|
the supported language extensions. The fork's node and query contracts are described below.
|
|
19
19
|
|
|
@@ -39,7 +39,7 @@ reports an error: the lexers of the WillBooster/tree-sitter generator let charac
|
|
|
39
39
|
## Usage
|
|
40
40
|
|
|
41
41
|
The npm package ships `tree-sitter-haskell.wasm` for
|
|
42
|
-
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 10.0.
|
|
42
|
+
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) version 10.0.2 or later within 10.x in the 10.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers. In Node.js and Bun, load the grammar from its path:
|
|
43
43
|
|
|
44
44
|
```js
|
|
45
45
|
import { fileURLToPath } from 'node:url';
|
|
@@ -101,8 +101,8 @@ fuzzed with:
|
|
|
101
101
|
|
|
102
102
|
```toml
|
|
103
103
|
[dependencies]
|
|
104
|
-
tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.
|
|
105
|
-
tree-sitter-haskell = { package = "willbooster-tree-sitter-haskell", version = "
|
|
104
|
+
tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
|
|
105
|
+
tree-sitter-haskell = { package = "willbooster-tree-sitter-haskell", version = "12" }
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
```rust
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-haskell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Haskell grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@willbooster/oxfmt-config": "1.2.2",
|
|
52
52
|
"@willbooster/oxlint-config": "1.4.8",
|
|
53
53
|
"@willbooster/wb": "22.26.2",
|
|
54
|
-
"@willbooster/web-tree-sitter": "10.0.
|
|
54
|
+
"@willbooster/web-tree-sitter": "10.0.2",
|
|
55
55
|
"conventional-changelog-conventionalcommits": "10.4.0",
|
|
56
56
|
"lefthook": "2.2.2",
|
|
57
57
|
"oxfmt": "0.73.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"wrangler": "4.147.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@willbooster/web-tree-sitter": "^10.0.
|
|
67
|
+
"@willbooster/web-tree-sitter": "^10.0.2"
|
|
68
68
|
},
|
|
69
69
|
"peerDependenciesMeta": {
|
|
70
70
|
"@willbooster/web-tree-sitter": {
|
package/tree-sitter-haskell.wasm
CHANGED
|
Binary file
|
package/tree-sitter-hsc.wasm
CHANGED
|
Binary file
|