Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support github: protocol with hash #17

Merged
merged 3 commits into from
Mar 2, 2024

Conversation

milesj
Copy link
Contributor

@milesj milesj commented Feb 28, 2024

@robertohuertasm Had a report from a user that parsing was failing with:

Error:   × Error parsing yarn.lock file
  ╰─▶ Parsing Failure: VerboseError { errors: [("version is empty for an entry", Nom(Fail))] }

Turns out they were using a github: protocol, like this "http-proxy": "github:settlemint/node-http-proxy#master".

Looks like Bun's format is slightly different than Yarn here, but was easy to support.

@milesj milesj changed the title Support github: protocol Support github: protocol with hash Feb 28, 2024
Copy link
Owner

@robertohuertasm robertohuertasm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @milesj! Thank you for this! Looks good to me! 🚀

@robertohuertasm robertohuertasm merged commit 939ad2c into robertohuertasm:master Mar 2, 2024
3 checks passed
@robertohuertasm
Copy link
Owner

@milesj your change has been deployed already to crates.io 👍🏻 🚀

@milesj
Copy link
Contributor Author

milesj commented Mar 2, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants