@willbooster/tree-sitter-javascript 9.0.0 → 10.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
@@ -20,7 +20,7 @@ This fork fixes parsing bugs and raises conformance with [ECMAScript (ECMA-262)]
20
20
  The npm package ships two languages for
21
21
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
22
22
  browsers, and Cloudflare Workers. The parser carries the ABI number of WillBooster/tree-sitter (`0x57420007`), so it
23
- requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 10.0.1, and its optional peer dependency covers major 10. In Node.js and Bun, load it from
23
+ requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 10.0.2, and its optional peer dependency covers major 10. In Node.js and Bun, load it from
24
24
  the package. Choose `tree-sitter-javascript.wasm` for the Module goal, or
25
25
  `tree-sitter-javascript_script.wasm` for the Script goal. The source goal comes from the host or file type;
26
26
  `.mjs` uses Module and `.cjs` uses Script, while `.js` depends on the host. For example, `await\nvalue` is one
@@ -72,12 +72,12 @@ The package also ships the node types in `src/node-types.json`, the highlight, i
72
72
  `require('@willbooster/tree-sitter-javascript/grammar')`). The crate ships `tree-sitter.json` and `queries/` too.
73
73
 
74
74
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-javascript) and the
75
- [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 10.0.1:
75
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 10.0.2:
76
76
 
77
77
  ```toml
78
78
  [dependencies]
79
- tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.1" }
80
- tree-sitter-javascript = { package = "willbooster-tree-sitter-javascript", version = "9" }
79
+ tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
80
+ tree-sitter-javascript = { package = "willbooster-tree-sitter-javascript", version = "10" }
81
81
  ```
82
82
 
83
83
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-javascript",
3
- "version": "9.0.0",
3
+ "version": "10.0.0",
4
4
  "description": "JavaScript grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -50,7 +50,7 @@
50
50
  "@willbooster/oxfmt-config": "1.2.2",
51
51
  "@willbooster/oxlint-config": "1.4.8",
52
52
  "@willbooster/wb": "22.26.2",
53
- "@willbooster/web-tree-sitter": "10.0.1",
53
+ "@willbooster/web-tree-sitter": "10.0.2",
54
54
  "acorn": "8.18.0",
55
55
  "acorn-jsx": "5.3.2",
56
56
  "conventional-changelog-conventionalcommits": "10.4.1",
@@ -66,7 +66,7 @@
66
66
  "wrangler": "4.149.0"
67
67
  },
68
68
  "peerDependencies": {
69
- "@willbooster/web-tree-sitter": "^10.0.1"
69
+ "@willbooster/web-tree-sitter": "^10.0.2"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "@willbooster/web-tree-sitter": {
Binary file
Binary file
package/tree-sitter.json CHANGED
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "metadata": {
51
- "version": "9.0.0",
51
+ "version": "10.0.0",
52
52
  "license": "MIT",
53
53
  "description": "JavaScript grammar for tree-sitter",
54
54
  "authors": [