@willbooster/tree-sitter-kotlin 5.0.3 → 7.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-kotlin/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-kotlin/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-kotlin/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-kotlin/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-20.36.11-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-20.41.8-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-kotlin.svg)](https://crates.io/crates/willbooster-tree-sitter-kotlin)
10
10
 
11
11
  Kotlin grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
@@ -18,7 +18,7 @@ This fork fixes parsing bugs and raises conformance with the Kotlin grammar.
18
18
 
19
19
  The npm package ships `tree-sitter-kotlin.wasm` for
20
20
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
21
- browsers, and Cloudflare Workers. The parser loads only with this runtime, version 2.0.0 or later: the upstream
21
+ browsers, and Cloudflare Workers. The parser loads only with this runtime, version 10.0.2 or later in the 10.x series: the upstream
22
22
  Tree-sitter runtime rejects it.
23
23
 
24
24
  In Node.js and Bun:
@@ -63,12 +63,12 @@ The package also ships the node types in `src/node-types.json`.
63
63
 
64
64
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-kotlin) and on
65
65
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
66
- fuzzed with. The parser loads only with this runtime, version 2.0.0 or later:
66
+ fuzzed with. The parser loads only with this runtime, version 10.0.2 or later in the 10.x series:
67
67
 
68
68
  ```toml
69
69
  [dependencies]
70
- tree-sitter = { package = "willbooster-tree-sitter", version = "2" }
71
- tree-sitter-kotlin = { package = "willbooster-tree-sitter-kotlin", version = "5" }
70
+ tree-sitter = { package = "willbooster-tree-sitter", version = "10.0.2" }
71
+ tree-sitter-kotlin = { package = "willbooster-tree-sitter-kotlin", version = "7" }
72
72
  ```
73
73
 
74
74
  ```rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-kotlin",
3
- "version": "5.0.3",
3
+ "version": "7.0.0",
4
4
  "description": "Kotlin grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -46,7 +46,7 @@
46
46
  "@willbooster/oxfmt-config": "1.2.2",
47
47
  "@willbooster/oxlint-config": "1.4.8",
48
48
  "@willbooster/wb": "22.26.1",
49
- "@willbooster/web-tree-sitter": "2.0.24",
49
+ "@willbooster/web-tree-sitter": "10.0.2",
50
50
  "conventional-changelog-conventionalcommits": "10.4.1",
51
51
  "lefthook": "2.2.1",
52
52
  "oxfmt": "0.72.0",
@@ -55,13 +55,12 @@
55
55
  "playwright": "1.64.0",
56
56
  "semantic-release": "25.0.9",
57
57
  "sort-package-json": "4.0.0",
58
- "typescript": "7.0.2",
59
58
  "vite": "8.3.4",
60
59
  "vitest": "5.0.3",
61
60
  "wrangler": "4.149.0"
62
61
  },
63
62
  "peerDependencies": {
64
- "@willbooster/web-tree-sitter": "^2.0.0"
63
+ "@willbooster/web-tree-sitter": "^10.0.2"
65
64
  },
66
65
  "peerDependenciesMeta": {
67
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "metadata": {
16
- "version": "5.0.3",
16
+ "version": "7.0.0",
17
17
  "license": "MIT",
18
18
  "description": "Kotlin grammar for tree-sitter",
19
19
  "authors": [