@willbooster/tree-sitter-javascript 27.0.0 → 27.0.2
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
|
[](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test.yml)
|
|
6
6
|
[](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test-rust.yml)
|
|
7
7
|
[](https://github.com/semantic-release/semantic-release)
|
|
8
|
-
[](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
|
|
9
9
|
[](https://crates.io/crates/willbooster-tree-sitter-javascript)
|
|
10
10
|
|
|
11
11
|
JavaScript and JSX grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
|
|
@@ -27,7 +27,7 @@ the trees that error recovery produces may change; such changes are released as
|
|
|
27
27
|
The npm package ships two languages for
|
|
28
28
|
[@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
|
|
29
29
|
browsers, and Cloudflare Workers. The parser carries the ABI number of WillBooster/tree-sitter (`0x5742000d`), so it
|
|
30
|
-
requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 23.0.
|
|
30
|
+
requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 23.0.2, and its optional peer dependency requires 23.0.0 or later within 23.x. In Node.js and Bun, load it from
|
|
31
31
|
the package. Choose `tree-sitter-javascript.wasm` for the Module goal, or
|
|
32
32
|
`tree-sitter-javascript_script.wasm` for the Script goal. The source goal comes from the host or file type;
|
|
33
33
|
`.mjs` uses Module and `.cjs` uses Script, while `.js` depends on the host. For example, `await\nvalue` is one
|
|
@@ -81,10 +81,10 @@ array/formal and object-rest extension hooks. Their external scanners can includ
|
|
|
81
81
|
characters and escapes and JSX text for the tokens they pass it. The crate ships `tree-sitter.json` too.
|
|
82
82
|
|
|
83
83
|
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-javascript) and the
|
|
84
|
-
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 23.0.
|
|
84
|
+
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 23.0.2:
|
|
85
85
|
|
|
86
86
|
```sh
|
|
87
|
-
cargo add willbooster-tree-sitter@23.0.
|
|
87
|
+
cargo add willbooster-tree-sitter@23.0.2 --rename tree-sitter
|
|
88
88
|
cargo add willbooster-tree-sitter-javascript --rename tree-sitter-javascript
|
|
89
89
|
```
|
|
90
90
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-javascript",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.2",
|
|
4
4
|
"description": "JavaScript grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"verify-full": "bun wb verify --full"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@babel/parser": "8.1.
|
|
50
|
-
"@tsconfig/bun": "1.0.
|
|
49
|
+
"@babel/parser": "8.1.2",
|
|
50
|
+
"@tsconfig/bun": "1.0.12",
|
|
51
51
|
"@types/bun": "1.4.4",
|
|
52
52
|
"@vitest/browser-playwright": "5.1.0",
|
|
53
53
|
"@willbooster/oxlint-config": "1.4.9",
|
|
54
|
-
"@willbooster/wb": "23.
|
|
55
|
-
"@willbooster/web-tree-sitter": "23.0.
|
|
54
|
+
"@willbooster/wb": "23.5.0",
|
|
55
|
+
"@willbooster/web-tree-sitter": "23.0.2",
|
|
56
56
|
"acorn": "8.19.0",
|
|
57
57
|
"acorn-jsx": "5.3.2",
|
|
58
58
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
59
59
|
"lefthook": "2.2.2",
|
|
60
60
|
"oxlint": "1.93.0",
|
|
61
|
-
"oxlint-tsgolint": "7.0.
|
|
62
|
-
"playwright": "1.65.
|
|
61
|
+
"oxlint-tsgolint": "7.0.2007",
|
|
62
|
+
"playwright": "1.65.1",
|
|
63
63
|
"semantic-release": "25.0.9",
|
|
64
|
-
"vite": "8.3.
|
|
64
|
+
"vite": "8.3.8",
|
|
65
65
|
"vitest": "5.1.0",
|
|
66
66
|
"wrangler": "4.156.0"
|
|
67
67
|
},
|
|
Binary file
|
|
Binary file
|