unstale

npm / hosted-git-info

hosted-git-info

What changed in hosted-git-info 3 to 10, from its official release notes, upgrade guides and advisories. Also covers @types/hosted-git-info. Sources checked 2026-10-23.

10 breaking5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.3 on npm

hosted-git-info 102 changes

Breaking changes 2

  • hosted-git-info no longer depends on the url package, which changes its dependency requirements.

    10.1.0release notes

  • The supported Node.js versions are now ^22.22.2 || ^24.15.0 || >=26.0.0.

    10.0.0release notes

hosted-git-info 93 changes

Breaking changes 1

  • The supported Node.js versions are now ^20.17.0 || >=22.9.0.

    9.0.0release notes

Fixes and other changes 2

  • Tarball URLs now use the GitLab API v4 endpoint.

    9.0.3release notes

  • The .git suffix is removed from Sourcehut HTTPS URLs.

    9.0.3release notes

hosted-git-info 81 changes

Breaking changes 1

  • The supported Node.js versions are now ^18.17.0 || >=20.5.0.

    8.0.0release notes

hosted-git-info 71 changes

Breaking changes 1

hosted-git-info 65 changes

Breaking changes 3

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

    6.0.0release notes

  • The default git ref is now HEAD.

    6.0.0release notes

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

    6.0.0release notes

Fixes and other changes 2

  • Branch names containing @ are now parsed.

    6.0.0release notes

  • Colons after a hash are ignored when correcting scp URLs.

    6.0.0release notes

hosted-git-info 51 changes

Breaking changes 1

  • Support for Node 10 and non-LTS versions of Node 12 and Node 14 was dropped.

    5.0.0release notes

hosted-git-info 32 changes

Breaking changes 1

Fixes and other changes 1

  • Switches to lru-cache to prevent unlimited memory consumption.

    3.0.0release notes