Skip to content

Commit

Permalink
Upgrade tree-sitter bash
Browse files Browse the repository at this point in the history
  • Loading branch information
skovhus committed Aug 11, 2021
1 parent a907ba6 commit 7acc970
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"urijs": "^1.19.1",
"vscode-languageserver": "^6.1.1",
"vscode-languageserver-textdocument": "^1.0.1",
"web-tree-sitter": "^0.16.2"
"web-tree-sitter": "^0.19.4"
},
"scripts": {
"prepublishOnly": "cd ../ && yarn run compile"
Expand Down
4 changes: 2 additions & 2 deletions server/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export async function initializeParser(): Promise<Parser> {
* yarn remove tree-sitter-bash tree-sitter-cli
*
* The current files was compiled with:
* "tree-sitter-bash": "^0.16.1",
* "tree-sitter-cli": "^0.16.5"
* "tree-sitter-bash": "^0.19.0",
* "tree-sitter-cli": "^0.20.0"
*/
const lang = await Parser.Language.load(`${__dirname}/../tree-sitter-bash.wasm`)

Expand Down
Binary file modified server/tree-sitter-bash.wasm
100644 → 100755
Binary file not shown.
8 changes: 4 additions & 4 deletions server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -777,10 +777,10 @@ w3c-hr-time@^1.0.1:
dependencies:
browser-process-hrtime "^0.1.2"

web-tree-sitter@^0.16.2:
version "0.16.2"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.16.2.tgz#fc6b62681d7ca524a9ffc8498448f8e23be7b1ea"
integrity sha512-vxZHqu4nItCARmE+oGvTgjFBrMbhEuGI9PWYSgF4ET/nLuW3K11KQQIVhAsoGtYvTI9jdbjc/THj38P7nhYwow==
web-tree-sitter@^0.19.4:
version "0.19.4"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.19.4.tgz#975076e233204de9063e7a7bda1138c4b454b424"
integrity sha512-8G0xBj05hqZybCqBtW7RPZ/hWEtP3DiLTauQzGJZuZYfVRgw7qj7iaZ+8djNqJ4VPrdOO+pS2dR1JsTbsLxdYg==

webidl-conversions@^4.0.2:
version "4.0.2"
Expand Down

0 comments on commit 7acc970

Please sign in to comment.