@willbooster/tree-sitter-go 7.0.0 → 8.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 +4 -5
- package/grammar.js +2 -2
- package/package.json +3 -3
- package/tree-sitter-go.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/WillBooster/tree-sitter-go/actions/workflows/test.yml)
|
|
6
6
|
[](https://github.com/WillBooster/tree-sitter-go/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-go)
|
|
10
10
|
|
|
11
11
|
Go grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
|
|
@@ -72,10 +72,9 @@ In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-
|
|
|
72
72
|
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
73
73
|
fuzzed with:
|
|
74
74
|
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
tree-sitter-go = { package = "willbooster-tree-sitter-go", version = "7" }
|
|
75
|
+
```sh
|
|
76
|
+
cargo add willbooster-tree-sitter@15.0.0 --rename tree-sitter
|
|
77
|
+
cargo add willbooster-tree-sitter-go --rename tree-sitter-go
|
|
79
78
|
```
|
|
80
79
|
|
|
81
80
|
```rust
|
package/grammar.js
CHANGED
|
@@ -182,7 +182,7 @@ module.exports = grammar({
|
|
|
182
182
|
$.const_spec,
|
|
183
183
|
seq(
|
|
184
184
|
'(',
|
|
185
|
-
|
|
185
|
+
optionalTrailingSep($.const_spec, terminator),
|
|
186
186
|
')',
|
|
187
187
|
),
|
|
188
188
|
),
|
|
@@ -218,7 +218,7 @@ module.exports = grammar({
|
|
|
218
218
|
|
|
219
219
|
var_spec_list: $ => seq(
|
|
220
220
|
'(',
|
|
221
|
-
|
|
221
|
+
optionalTrailingSep($.var_spec, terminator),
|
|
222
222
|
')',
|
|
223
223
|
),
|
|
224
224
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-go",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Go grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"go",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@types/bun": "1.4.4",
|
|
49
49
|
"@vitest/browser-playwright": "5.0.5",
|
|
50
50
|
"@willbooster/oxlint-config": "1.4.9",
|
|
51
|
-
"@willbooster/wb": "
|
|
51
|
+
"@willbooster/wb": "23.0.2",
|
|
52
52
|
"@willbooster/web-tree-sitter": "15.5.4",
|
|
53
53
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
54
54
|
"lefthook": "2.2.2",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"playwright": "1.64.1",
|
|
58
58
|
"semantic-release": "25.0.9",
|
|
59
59
|
"vitest": "5.0.5",
|
|
60
|
-
"wrangler": "4.
|
|
60
|
+
"wrangler": "4.152.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@willbooster/web-tree-sitter": "^15.0.0"
|
package/tree-sitter-go.wasm
CHANGED
|
Binary file
|