atom / language-java

Java package for Atom
Other
62 stars 58 forks source link

Install the exact version instead of range #249

Open sadick254 opened 2 years ago

sadick254 commented 2 years ago

^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

sadikovi commented 2 years ago

Thanks for opening a PR, I think this may not work since it requires my special tree-sitter-java-dev version which contains bug fixes. I tried to push them upstream to tree-sitter-java but those were rejected. Maybe you can fix it as

"tree-sitter-java-dev": "0.16.0-dev2"