@konomanoasa/tree-sitter-yaml 0.3.0 → 0.5.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/Cargo.toml +2 -2
- package/README.md +4 -5
- package/grammar.js +478 -267
- package/package.json +5 -5
- package/src/grammar.json +3230 -1995
- package/src/node-types.json +96 -2
- package/src/parser.c +62335 -164747
- package/src/scanner.c +1230 -1202
- package/test/bindings.test.rs +376 -13
- package/tree-sitter.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konomanoasa/tree-sitter-yaml",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tree-sitter grammar for YAML.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"test:fuzz": "node --test --test-name-pattern=\"fixed-seed generated histories\" test/incremental.test.js",
|
|
30
30
|
"test:fuzz:corpus": "npm run tree-sitter -- fuzz-all --iterations 100 --edits 5",
|
|
31
31
|
"test:highlights": "node --test test/highlight.test.js",
|
|
32
|
-
"test:incremental": "node --test test/incremental.test.js",
|
|
32
|
+
"test:incremental": "node --test --test-concurrency=1 test/cst.test.js test/parser.test.js test/incremental.test.js",
|
|
33
33
|
"test:sanitize": "node scripts/check-c.js --sanitize",
|
|
34
34
|
"test:scanner": "node scripts/check-c.js",
|
|
35
35
|
"tree-sitter": "node scripts/tree-sitter.js"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@biomejs/biome": "2.5.
|
|
39
|
-
"@types/node": "26.5
|
|
40
|
-
"tree-sitter-cli": "0.27.
|
|
38
|
+
"@biomejs/biome": "2.5.15",
|
|
39
|
+
"@types/node": "26.6.5",
|
|
40
|
+
"tree-sitter-cli": "0.27.1",
|
|
41
41
|
"typescript": "7.0.2"
|
|
42
42
|
},
|
|
43
43
|
"allowScripts": {
|