@willbooster/tree-sitter-cpp 1.1.1 → 1.1.3
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 +5 -2
- package/package.json +3 -3
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -63,11 +63,14 @@ parser.setLanguage(await Language.load(cpp));
|
|
|
63
63
|
|
|
64
64
|
The package also ships the node types in `src/node-types.json`.
|
|
65
65
|
|
|
66
|
-
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp)
|
|
66
|
+
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-cpp) and on
|
|
67
|
+
[willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
|
|
68
|
+
fuzzed with (the grammar also loads in the upstream `tree-sitter` crate 0.27, whose error recovery never ends on some
|
|
69
|
+
malformed input):
|
|
67
70
|
|
|
68
71
|
```toml
|
|
69
72
|
[dependencies]
|
|
70
|
-
tree-sitter = "
|
|
73
|
+
tree-sitter = { package = "willbooster-tree-sitter", version = "1" }
|
|
71
74
|
tree-sitter-cpp = { package = "willbooster-tree-sitter-cpp", version = "1" }
|
|
72
75
|
```
|
|
73
76
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"lint": "bun wb lint",
|
|
28
28
|
"lint-fix": "bun wb lint --fix",
|
|
29
29
|
"prepare": "(bun lefthook install || true) && (test ! -f .lefthook/normalize-bun-lockfile.sh || bash .lefthook/normalize-bun-lockfile.sh)",
|
|
30
|
-
"release": "
|
|
30
|
+
"release": "node script/release.mjs",
|
|
31
31
|
"prestart": "bun run build-wasm",
|
|
32
32
|
"start": "tree-sitter playground",
|
|
33
33
|
"test": "bun wb test",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@willbooster/oxlint-config": "1.4.8",
|
|
47
47
|
"@willbooster/tree-sitter-c": "1.1.0",
|
|
48
48
|
"@willbooster/wb": "22.11.5",
|
|
49
|
-
"@willbooster/web-tree-sitter": "1.0.
|
|
49
|
+
"@willbooster/web-tree-sitter": "1.0.7",
|
|
50
50
|
"conventional-changelog-conventionalcommits": "10.4.0",
|
|
51
51
|
"lefthook": "2.1.14",
|
|
52
52
|
"oxfmt": "0.70.0",
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|