git-url-parse

A high level git url parser for common git providers.

MIT License

Downloads
14.7M
Stars
183
Committers
21

Bot releases are hidden (Show)

git-url-parse - 10.1.0

Published by IonicaBizau about 6 years ago

Support for commit urls. Thanks, @vedranjukic! 🍰 /cc #84

git-url-parse - 10.0.1

Published by IonicaBizau over 6 years ago

Fix parsing of source with 2 parts SLD

/cc #80 Thanks @pvdlg!

git-url-parse - 10.0.0

Published by IonicaBizau over 6 years ago

Fix parsing of source with 2 parts SLD

/cc #80 Thanks @pvdlg!

git-url-parse - 9.0.1

Published by IonicaBizau over 6 years ago

Fix the name property parsing /cc #77

Fix #75

When the path is relative the urlInfo.pathname does not start with / so substring(1) removed the first character. The fix is to remove the first character only if it is a /.

Thanks, @pvdlg! 🍰

git-url-parse - 9.0.0

Published by IonicaBizau over 6 years ago

🚢 9.0.0 🎉

New features:

  • Default the git_suffix by making it true/false based on the input url (whether it ends with .git or not). Fixes #69. /cc #72. Thanks @pvdlg! 🍰
    Probably, a potential breaking change.

Bug fixes:

  • trim the url before processing it. Fixes #72. Fixed in the parse-path module.
  • Improve parsing and stringifying of VSTS urls. Fixes #67. /cc #71. Thanks to @roger199585 and @pvdlg for their contributions! 🍎

Enjoy & Happy git-url-parsing!

git-url-parse - 8.3.1

Published by IonicaBizau over 6 years ago

Fix #65. Check if the parsed resource is not null.

git-url-parse - 8.3.0

Published by IonicaBizau over 6 years ago

Changes:

  • include basic auth in http and https stringify /cc #62, thanks @pvdlg 🍰
  • fix parsing specific git urls which were parsed incorrectly before /cc #61, thanks @sinchang 🍎
git-url-parse - 8.2.0

Published by IonicaBizau over 6 years ago

Add support for VSTS legacy URLs. Thanks, @jakekrammer-axosoft! 🍰

git-url-parse - 8.1.0

Published by IonicaBizau over 6 years ago

Support for GitLab subgroups and parsing other git urls. Thanks @3fd! 🍰 /cc #53

git-url-parse - 8.0.1

Published by IonicaBizau over 6 years ago

Decode owner and name, since VSTS supports spaces and URI encodes them. Thanks @jakekrammer-axosoft! 🍰

git-url-parse - 8.0.0

Published by IonicaBizau over 6 years ago

Add the git_suffix parameter, fix #35

git-url-parse - 7.2.0

Published by IonicaBizau over 6 years ago

  • Add support for Visual Studio urls. /cc #47 Thanks, @jakekrammer-axosoft! 🍰
  • Fix #44. Fix the organization field to match the owner.
git-url-parse - 7.1.0

Published by IonicaBizau over 6 years ago

Add support for ref capturing. /cc #42

Thanks, @choldgraf! 🍰

git-url-parse - 7.0.2

Published by IonicaBizau almost 7 years ago

Rerender documentation. Add yarn commands.

git-url-parse - 7.0.1

Published by IonicaBizau about 7 years ago

Rerender documentation.

git-url-parse - 7.0.0

Published by IonicaBizau over 7 years ago

Add the .git suffix in the https urls. Thanks @gyandeeps!

git-url-parse - 6.2.2

Published by IonicaBizau over 7 years ago

Updated the project badges. Added information about how you can support my projects (Bitcoin address, Amazon wishlist). 📖

git-url-parse - 6.2.1

Published by IonicaBizau over 7 years ago

Updated the project badges. Added information about how you can support my projects (Bitcoin address, Amazon wishlist). 📖

git-url-parse - 6.2.0

Published by IonicaBizau almost 8 years ago

Add FTP(S) support. Thanks @jgrosso!

git-url-parse - 6.1.1

Published by IonicaBizau almost 8 years ago

Adds support for non-git usernames in stringified /cc #28 Thanks @cbargren! 🍰

Package Rankings
Top 20.66% on Repo1.maven.org
Top 1.49% on Npmjs.org
Badges
Extracted from project README
git-url-parse Support me on Patreon Buy me a book PayPal Ask me anything Travis Version Downloads Get help on Codementor Buy me a book PayPal Support me on Patreon