@willbooster/tree-sitter-bash 2.0.0 → 2.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 CHANGED
@@ -46,7 +46,8 @@ script/parse-examples
46
46
  - the corpus in `test/corpus`, with the native build and with the Wasm build (the first run downloads the WASI SDK);
47
47
  - an incremental-parsing check (`test/unit/incremental.test.ts`): `tree-sitter fuzz` edits each corpus case at random,
48
48
  reparses it, undoes the edits, and reparses again. `TREE_SITTER_SEED`, `TREE_SITTER_ITERATIONS`, and
49
- `TREE_SITTER_EDITS` run other or more edits;
49
+ `TREE_SITTER_EDITS` run other or more edits. It also applies edits that random ones rarely reach and compares each
50
+ incremental reparse with a fresh parse;
50
51
  - a check that real-world scripts cloned into `examples/` fail to parse exactly as listed in
51
52
  `script/known-failures.txt`. The first run clones them, which takes a few minutes. The example repositories are
52
53
  pinned to commits in `script/parse-examples`. After a grammar change or a moved pin alters that list,
@@ -60,8 +61,7 @@ script/parse-examples
60
61
  - a performance check (`test/unit/performance.test.ts`) that a 240 KB line parses in linear time, since consumers
61
62
  parse untrusted scripts.
62
63
 
63
- CI also runs these tests on Linux arm64 and macOS, and fuzzes the parser with libFuzzer and sanitizers
64
- (`.github/workflows/robustness.yml`).
64
+ CI also fuzzes the parser with libFuzzer and sanitizers (`.github/workflows/robustness.yml`).
65
65
 
66
66
  ### References
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-bash",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Bash grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -18,7 +18,7 @@
18
18
  "grammar.js",
19
19
  "tree-sitter.json",
20
20
  "queries/*",
21
- "src/**",
21
+ "src/node-types.json",
22
22
  "*.wasm"
23
23
  ],
24
24
  "scripts": {
Binary file
package/tree-sitter.json CHANGED
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "metadata": {
21
- "version": "2.0.0",
21
+ "version": "2.0.1",
22
22
  "license": "MIT",
23
23
  "description": "Bash grammar for tree-sitter",
24
24
  "authors": [
@@ -29,13 +29,5 @@
29
29
  "links": {
30
30
  "repository": "https://github.com/WillBooster/tree-sitter-bash"
31
31
  }
32
- },
33
- "bindings": {
34
- "c": true,
35
- "go": true,
36
- "node": false,
37
- "python": true,
38
- "rust": false,
39
- "swift": true
40
32
  }
41
33
  }