zkat / pacote

programmatic npm package and metadata downloader (moved!)
https://github.com/npm/pacote
MIT License
280 stars 62 forks source link

fix(git): fix resolution of prerelease versions #130

Closed spraot closed 6 years ago

spraot commented 6 years ago

Closes #129

This will match any tags that match with earlier versions AND any tags ending with a valid semver. This maintains the (intentional?) behavior of ignoring any text preceding the valid semver.

This should allow for fully functional git semver dependencies.

spraot commented 6 years ago

The travis-ci tests seem to be failing for zkat:latest (see here) and not due to the changes in my pull request. Tests fail locally for me as well, but in a different way, so I hope that someone with a known good setup will have a look it.

spraot commented 6 years ago

@zkat Are things alright now?