Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Install the exact version instead of range
Browse files Browse the repository at this point in the history
`^version` means install any version that is compatible with the range.
This means npm can even install tree-sitter-javascript version 0.15
since in semver 0.15 should be compatible with 0.19. tree-sitter seems
to have broken semver. 0.15 is not compatible with 0.19
  • Loading branch information
sadick254 committed Oct 5, 2021
1 parent 8ca70e3 commit 7702822
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion grammars/tree-sitter-java.cson
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Java'
scopeName: 'source.java'
type: 'tree-sitter'
parser: 'tree-sitter-java-dev'
parser: 'tree-sitter-java'

fileTypes: [
'java'
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "https://github.com/atom/language-java/issues"
},
"dependencies": {
"tree-sitter-java-dev": "^0.16.0-dev2"
"tree-sitter-java": "0.19.1"
},
"devDependencies": {
"coffeelint": "^1.10.1"
Expand Down

0 comments on commit 7702822

Please sign in to comment.