Packages

hosted-git-info

10.1.1 · 18 May 2026ISC137M / weekRepositorynpmAtom feed

Your version

6.0.0

major12 Oct 2022Where it was published

6.1.3 is the newest release of 6.x.

In short

3 breaking2 new2 fixed

  • breaking

    GitHost now has a static addHost method to use instead of manually editing the object from lib/git-host-info.js.

  • breaking

    Set default git ref to HEAD

  • breaking

    hosted-git-info is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Release note

Breaking changes

  • breaking

    GitHost now has a static addHost method to use instead of manually editing the object from lib/git-host-info.js.

  • breaking

    Set default git ref to HEAD

  • breaking

    hosted-git-info is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • Refactor

  • Set default git ref to HEAD

  • Postinstall for dependabot template-oss PR

Bug Fixes

  • Parse branch names containing @

  • Ignore colons after hash when correcting scp urls