@willbooster/tree-sitter-javascript 12.0.0 → 13.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
@@ -19,8 +19,8 @@ This fork fixes parsing bugs and raises conformance with [ECMAScript (ECMA-262)]
19
19
 
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
- browsers, and Cloudflare Workers. The parser carries the ABI number of WillBooster/tree-sitter (`0x57420009`), so it
23
- requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 13.0.0, and its optional peer dependency covers major 13. In Node.js and Bun, load it from
22
+ browsers, and Cloudflare Workers. The parser carries the ABI number of WillBooster/tree-sitter (`0x5742000b`), so it
23
+ requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 15.0.0, and its optional peer dependency covers major 15. 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
@@ -73,12 +73,12 @@ The package also ships the node types in `src/node-types.json`, the highlight, i
73
73
  `require('@willbooster/tree-sitter-javascript/grammar')`). The crate ships `tree-sitter.json` and `queries/` too.
74
74
 
75
75
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-javascript) and the
76
- [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 13.0.0:
76
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 15.0.0:
77
77
 
78
78
  ```toml
79
79
  [dependencies]
80
- tree-sitter = { package = "willbooster-tree-sitter", version = "13.0.0" }
81
- tree-sitter-javascript = { package = "willbooster-tree-sitter-javascript", version = "11" }
80
+ tree-sitter = { package = "willbooster-tree-sitter", version = "15.0.0" }
81
+ tree-sitter-javascript = { package = "willbooster-tree-sitter-javascript", version = "13" }
82
82
  ```
83
83
 
84
84
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-javascript",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "JavaScript grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -53,7 +53,7 @@
53
53
  "@vitest/browser-playwright": "5.0.5",
54
54
  "@willbooster/oxlint-config": "1.4.9",
55
55
  "@willbooster/wb": "22.29.3",
56
- "@willbooster/web-tree-sitter": "13.0.0",
56
+ "@willbooster/web-tree-sitter": "15.0.0",
57
57
  "acorn": "8.19.0",
58
58
  "acorn-jsx": "5.3.2",
59
59
  "conventional-changelog-conventionalcommits": "10.4.1",
@@ -67,7 +67,7 @@
67
67
  "wrangler": "4.151.1"
68
68
  },
69
69
  "peerDependencies": {
70
- "@willbooster/web-tree-sitter": "^13.0.0"
70
+ "@willbooster/web-tree-sitter": "^15.0.0"
71
71
  },
72
72
  "peerDependenciesMeta": {
73
73
  "@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": "12.0.0",
51
+ "version": "13.0.0",
52
52
  "license": "MIT",
53
53
  "description": "JavaScript grammar for tree-sitter",
54
54
  "authors": [