@willbooster/tree-sitter-bash 7.0.0 → 8.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
@@ -17,13 +17,13 @@ As a result, its syntax trees differ from the original grammar's; review your qu
17
17
  ## Usage
18
18
 
19
19
  The npm package ships `tree-sitter-bash.wasm` for
20
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) 11.0.1 or later in the 11.x series,
20
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) 13.0.0 or later in the 13.x series,
21
21
  a peer dependency.
22
- The parser carries the ABI number of WillBooster/tree-sitter (`0x57420007`), so only that runtime loads it; the
22
+ The parser carries the ABI number of WillBooster/tree-sitter (`0x57420009`), so only that runtime loads it; the
23
23
  original tree-sitter runtime rejects it, and earlier WillBooster runtime ABIs do too:
24
24
 
25
25
  ```sh
26
- npm install @willbooster/tree-sitter-bash @willbooster/web-tree-sitter@^11.0.1
26
+ npm install @willbooster/tree-sitter-bash @willbooster/web-tree-sitter@^13.0.0
27
27
  ```
28
28
 
29
29
  In Node.js and Bun, load the grammar from its path:
@@ -67,7 +67,7 @@ parser.setLanguage(await Language.load(bash));
67
67
 
68
68
  The package also ships the queries in `queries/` and the node types in `src/node-types.json`.
69
69
 
70
- Upgrade `@willbooster/web-tree-sitter` to 11.0.1 or later in the 11.x series when upgrading this package. Recovery trees
70
+ Upgrade `@willbooster/web-tree-sitter` to 13.0.0 or later in the 13.x series when upgrading this package. Recovery trees
71
71
  for malformed scripts can differ across runtime versions, so review consumers that depend on the exact shape of
72
72
  `ERROR` nodes.
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-bash",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Bash grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -46,7 +46,7 @@
46
46
  "@willbooster/oxfmt-config": "1.2.2",
47
47
  "@willbooster/oxlint-config": "1.4.8",
48
48
  "@willbooster/wb": "22.26.2",
49
- "@willbooster/web-tree-sitter": "11.0.1",
49
+ "@willbooster/web-tree-sitter": "13.0.0",
50
50
  "conventional-changelog-conventionalcommits": "10.4.1",
51
51
  "lefthook": "2.2.2",
52
52
  "oxfmt": "0.73.0",
@@ -60,7 +60,7 @@
60
60
  "wrangler": "4.149.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^11.0.1"
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": "7.0.0",
21
+ "version": "8.0.0",
22
22
  "license": "MIT",
23
23
  "description": "Bash grammar for tree-sitter",
24
24
  "authors": [