@willbooster/tree-sitter-bash 11.0.1 → 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
@@ -24,13 +24,13 @@ the trees that error recovery produces may change; such changes are released as
24
24
  ## Usage
25
25
 
26
26
  The npm package ships `tree-sitter-bash.wasm` for
27
- [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) 15.0.0 or later in the 15.x or 16.x series,
27
+ [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter) 17.0.1 or later in the 17.x series,
28
28
  a peer dependency.
29
- The parser carries the ABI number of WillBooster/tree-sitter (`0x5742000b`), so only that runtime loads it; the
29
+ The parser carries the ABI number of WillBooster/tree-sitter (`0x5742000c`), so only that runtime loads it; the
30
30
  original tree-sitter runtime rejects it, and earlier WillBooster runtime ABIs do too:
31
31
 
32
32
  ```sh
33
- npm install @willbooster/tree-sitter-bash @willbooster/web-tree-sitter@^16.0.0
33
+ npm install @willbooster/tree-sitter-bash @willbooster/web-tree-sitter@^17.0.1
34
34
  ```
35
35
 
36
36
  In Node.js and Bun, load the grammar from its path:
@@ -75,7 +75,7 @@ parser.setLanguage(await Language.load(bash));
75
75
 
76
76
  The package also ships the node types in `src/node-types.json`.
77
77
 
78
- Upgrade `@willbooster/web-tree-sitter` to 15.0.0 or later in the 15.x or 16.x series when upgrading this package. Recovery trees
78
+ Upgrade `@willbooster/web-tree-sitter` to 17.0.1 or later in the 17.x series when upgrading this package. Recovery trees
79
79
  for malformed scripts can differ across runtime versions, so review consumers that depend on the exact shape of
80
80
  `ERROR` nodes.
81
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-bash",
3
- "version": "11.0.1",
3
+ "version": "12.0.0",
4
4
  "description": "Bash grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "bash",
@@ -48,7 +48,7 @@
48
48
  "@vitest/browser-playwright": "5.0.5",
49
49
  "@willbooster/oxlint-config": "1.4.9",
50
50
  "@willbooster/wb": "23.0.2",
51
- "@willbooster/web-tree-sitter": "16.0.2",
51
+ "@willbooster/web-tree-sitter": "17.0.1",
52
52
  "conventional-changelog-conventionalcommits": "10.4.1",
53
53
  "lefthook": "2.2.2",
54
54
  "oxlint": "1.89.0",
@@ -60,7 +60,7 @@
60
60
  "wrangler": "4.152.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^15.0.0 || ^16.0.0"
63
+ "@willbooster/web-tree-sitter": "^17.0.1"
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": "11.0.1",
21
+ "version": "12.0.0",
22
22
  "license": "MIT",
23
23
  "description": "Bash grammar for tree-sitter",
24
24
  "authors": [