@willbooster/tree-sitter-python 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 +4 -2
- package/package.json +1 -1
- package/tree-sitter-python.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -115,12 +115,14 @@ and the release build regenerate the parsers before compiling them.
|
|
|
115
115
|
(ten times the lines take about ten times the CPU time, under a ceiling), since consumers parse files while they are
|
|
116
116
|
being edited. It loads the Wasm build through @willbooster/web-tree-sitter, which `bun run build/ci` rebuilds after
|
|
117
117
|
regenerating the parser;
|
|
118
|
+
- a native CLI crash regression for deeply indented strings (`test/unit/deepIndentation.test.ts`);
|
|
118
119
|
- a check that `package.json` and `Cargo.lock` test the same runtime version (`test/unit/runtimeVersion.test.ts`);
|
|
119
120
|
- checks that the Wasm build parses in Chromium (`test/unit/browser/`) and in Cloudflare Workers with and without
|
|
120
121
|
Node.js compatibility (`test/unit/workerd.test.ts`). Run `bun run test/ci-setup` once to install Chromium.
|
|
121
122
|
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
Tests and `script/parse-examples` keep native parser builds under this checkout's `.tmp/` instead of the CLI cache shared by every checkout.
|
|
124
|
+
See `test/unit/run.ts`, `test/unit/deepIndentation.test.ts`, `script/fuzz-corpus`, and `script/parse-examples`
|
|
125
|
+
for their build locations and cleanup.
|
|
124
126
|
|
|
125
127
|
CI also runs these tests on Linux arm64 and macOS, where the CLI compiles the parser and the scanner with the platform's
|
|
126
128
|
C compiler as the crate does for its users, and fuzzes the parser with libFuzzer and sanitizers
|
package/package.json
CHANGED
package/tree-sitter-python.wasm
CHANGED
|
Binary file
|