fix(node): bump tree-sitter dep to 0.25 in bindings

Sets the dependency `tree-sitter` to version 0.25 in
the NodeJS bindings generated by default, so that
`npm run test` passes.
This commit is contained in:
Antonin Delpeuch 2025-11-22 00:00:21 +01:00 committed by Will Lillis
parent 829733a35e
commit f6d17fdb04
2 changed files with 3 additions and 3 deletions

View file

@ -337,7 +337,7 @@ pub fn generate_grammar_files(
"tree-sitter-cli":"#},
indoc! {r#"
"prebuildify": "^6.0.1",
"tree-sitter": "^0.22.4",
"tree-sitter": "^0.25.0",
"tree-sitter-cli":"#},
);
if !contents.contains("module") {

View file

@ -38,11 +38,11 @@
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter": "^0.22.4",
"tree-sitter": "^0.25.0",
"tree-sitter-cli": "^CLI_VERSION"
},
"peerDependencies": {
"tree-sitter": "^0.22.4"
"tree-sitter": "^0.25.0"
},
"peerDependenciesMeta": {
"tree-sitter": {