@willbooster/tree-sitter-javascript 27.0.2 → 28.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
@@ -5,7 +5,7 @@
5
5
  [![Test](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-javascript/actions/workflows/test-rust.yml)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
8
- [![wbfy](https://img.shields.io/badge/wbfy-21.15.0-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-22.1.1-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-javascript.svg)](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
@@ -26,8 +26,8 @@ the trees that error recovery produces may change; such changes are released as
26
26
 
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
- 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.2, and its optional peer dependency requires 23.0.0 or later within 23.x. In Node.js and Bun, load it from
29
+ browsers, and Cloudflare Workers. The parser carries the ABI number of WillBooster/tree-sitter (`0x5742000e`), so it
30
+ requires that runtime ABI; the upstream runtime rejects it. This package is tested with runtime 23.1.1, and its optional peer dependency requires 23.1.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.2:
84
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) runtime with the matching ABI. The tested version is 23.1.1:
85
85
 
86
86
  ```sh
87
- cargo add willbooster-tree-sitter@23.0.2 --rename tree-sitter
87
+ cargo add willbooster-tree-sitter@23.1.1 --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.2",
3
+ "version": "28.0.0",
4
4
  "description": "JavaScript grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "javascript",
@@ -46,27 +46,29 @@
46
46
  "verify-full": "bun wb verify --full"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/parser": "8.1.2",
49
+ "@babel/parser": "8.1.3",
50
+ "@semantic-release/commit-analyzer": "13.0.1",
51
+ "@semantic-release/release-notes-generator": "14.1.1",
50
52
  "@tsconfig/bun": "1.0.12",
51
- "@types/bun": "1.4.4",
52
- "@vitest/browser-playwright": "5.1.0",
53
+ "@types/bun": "1.4.5",
54
+ "@vitest/browser-playwright": "5.1.1",
53
55
  "@willbooster/oxlint-config": "1.4.9",
54
- "@willbooster/wb": "23.5.0",
55
- "@willbooster/web-tree-sitter": "23.0.2",
56
+ "@willbooster/wb": "24.3.1",
57
+ "@willbooster/web-tree-sitter": "23.1.1",
56
58
  "acorn": "8.19.0",
57
59
  "acorn-jsx": "5.3.2",
58
60
  "conventional-changelog-conventionalcommits": "10.4.1",
59
61
  "lefthook": "2.2.2",
60
- "oxlint": "1.93.0",
61
- "oxlint-tsgolint": "7.0.2007",
62
+ "oxlint": "1.94.0",
63
+ "oxlint-tsgolint": "7.0.2008",
62
64
  "playwright": "1.65.1",
63
- "semantic-release": "25.0.9",
65
+ "semantic-release": "26.0.1",
64
66
  "vite": "8.3.8",
65
- "vitest": "5.1.0",
67
+ "vitest": "5.1.1",
66
68
  "wrangler": "4.156.0"
67
69
  },
68
70
  "peerDependencies": {
69
- "@willbooster/web-tree-sitter": "^23.0.0"
71
+ "@willbooster/web-tree-sitter": "^23.1.0"
70
72
  },
71
73
  "peerDependenciesMeta": {
72
74
  "@willbooster/web-tree-sitter": {
Binary file
Binary file
package/tree-sitter.json CHANGED
@@ -34,7 +34,7 @@
34
34
  }
35
35
  ],
36
36
  "metadata": {
37
- "version": "27.0.2",
37
+ "version": "28.0.0",
38
38
  "license": "MIT",
39
39
  "description": "JavaScript grammar for tree-sitter",
40
40
  "authors": [