@willbooster/tree-sitter-haskell 10.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Test](https://github.com/WillBooster/tree-sitter-haskell/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-haskell/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-haskell/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-haskell/actions/workflows/test-rust.yml)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
8
- [![wbfy](https://img.shields.io/badge/wbfy-20.41.8-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-20.43.2-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-haskell.svg)](https://crates.io/crates/willbooster-tree-sitter-haskell)
10
10
 
11
11
  Haskell grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
@@ -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, so it loads only with that fork's runtime, version 7.0.7 or later in the 7.x series; upstream's runtime rejects it.
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 7.0.7 or later in the 7.x series, which runs in Node.js, Bun, browsers, and Cloudflare Workers. In Node.js and Bun, load the grammar from its path:
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 = "7.0.7" }
105
- tree-sitter-haskell = { package = "willbooster-tree-sitter-haskell", version = "10" }
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
@@ -7163,6 +7163,10 @@
7163
7163
  "type": "type",
7164
7164
  "named": false
7165
7165
  },
7166
+ {
7167
+ "type": "typed_hole",
7168
+ "named": true
7169
+ },
7166
7170
  {
7167
7171
  "type": "using",
7168
7172
  "named": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-haskell",
3
- "version": "10.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "Haskell grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -46,16 +46,16 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/bun": "1.0.11",
49
- "@types/bun": "1.4.2",
49
+ "@types/bun": "1.4.3",
50
50
  "@vitest/browser-playwright": "5.0.3",
51
51
  "@willbooster/oxfmt-config": "1.2.2",
52
52
  "@willbooster/oxlint-config": "1.4.8",
53
- "@willbooster/wb": "22.26.1",
54
- "@willbooster/web-tree-sitter": "7.0.7",
53
+ "@willbooster/wb": "22.26.2",
54
+ "@willbooster/web-tree-sitter": "10.0.2",
55
55
  "conventional-changelog-conventionalcommits": "10.4.0",
56
- "lefthook": "2.2.1",
57
- "oxfmt": "0.72.0",
58
- "oxlint": "1.87.0",
56
+ "lefthook": "2.2.2",
57
+ "oxfmt": "0.73.0",
58
+ "oxlint": "1.88.0",
59
59
  "oxlint-tsgolint": "7.0.2004",
60
60
  "playwright": "1.63.0",
61
61
  "semantic-release": "25.0.9",
@@ -64,7 +64,7 @@
64
64
  "wrangler": "4.147.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@willbooster/web-tree-sitter": "^7.0.7"
67
+ "@willbooster/web-tree-sitter": "^10.0.2"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "@willbooster/web-tree-sitter": {
@@ -6948,6 +6948,10 @@
6948
6948
  "type": "type",
6949
6949
  "named": false
6950
6950
  },
6951
+ {
6952
+ "type": "typed_hole",
6953
+ "named": true
6954
+ },
6951
6955
  {
6952
6956
  "type": "using",
6953
6957
  "named": false
Binary file
Binary file
package/tree-sitter.json CHANGED
@@ -35,7 +35,7 @@
35
35
  }
36
36
  ],
37
37
  "metadata": {
38
- "version": "10.0.0",
38
+ "version": "12.0.0",
39
39
  "license": "MIT",
40
40
  "description": "Haskell grammar for tree-sitter",
41
41
  "authors": [