hosted-git-info
10.1.1 · 18 May 2026ISC137M / weekRepositorynpmAtom feed
78 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 10.x · latest line
10.1.1
18 May 2026Only updates a dependency:@npmcli/template-oss 5.1.0
10.1.0
11 May 2026Drop
urldependency
10.0.0
8 May 2026- breaking
hosted-git-infonow supports node^22.22.2 || ^24.15.0 || >=26.0.0 - breaking
template-oss-apply
Bump to new node engine range
Breaking changes
- breaking
hosted-git-infonow supports node^22.22.2 || ^24.15.0 || >=26.0.0 - breaking
template-oss-apply
Features
Bump to new node engine range
template-oss-apply
- 9.x
9.0.3
1 May 2026Use GitLab API v4 endpoint for tarball URLs
Remove .git suffix from Sourcehut https URLs
Bug Fixes
Use GitLab API v4 endpoint for tarball URLs
Remove .git suffix from Sourcehut https URLs
9.0.2
8 Oct 2025correctProtocol misparsing protocol
9.0.1
7 Oct 2025Remove redundant httpstemplate
Bug Fixes
Remove redundant httpstemplate
9.0.0
24 Jul 2025- breaking
hosted-git-infonow supports node^20.17.0 || >=22.9.0 Align to npm 11 node engine range
Breaking changes
- breaking
hosted-git-infonow supports node^20.17.0 || >=22.9.0
Bug Fixes
Align to npm 11 node engine range
- 8.x
8.1.0
14 Apr 2025Add
HostedGitInfo.fromManifest
Features
Add
HostedGitInfo.fromManifest
8.0.2
21 Nov 2024Even better regex for host fragment
8.0.1
20 Nov 2024Break up greedy host fragment parsing regex
Bug Fixes
Break up greedy host fragment parsing regex
8.0.0
4 Sep 2024- breaking
hosted-git-infonow supports node^18.17.0 || >=20.5.0 Align to npm 10 node engine range
Breaking changes
- breaking
hosted-git-infonow supports node^18.17.0 || >=20.5.0
Bug Fixes
Align to npm 10 node engine range
- 7.x
7.0.2
4 May 2024linting: no-unused-vars
Bug Fixes
linting: no-unused-vars
7.0.1
13 Sep 2023Remove sourcehut bugstemplate
7.0.0
14 Aug 2023- breaking
Support for node 14 has been removed
Use lru-cache named export
Drop node14 support
Breaking changes
- breaking
Support for node 14 has been removed
Bug Fixes
Use lru-cache named export
Drop node14 support
- 6.x
6.1.3
21 Nov 2024Even better regex for host fragment
6.1.2
21 Nov 2024Break up greedy host fragment parsing regex
Bug Fixes
Break up greedy host fragment parsing regex
6.1.1
27 Oct 2022Only correct protocols when called from githost
6.1.0
26 Oct 2022Add separate static method for just parsing urls
6.0.0
12 Oct 2022- breaking
GitHostnow has a staticaddHostmethod to use instead of manually editing the object fromlib/git-host-info.js. - breaking
Set default git ref to HEAD
- breaking
hosted-git-infois now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
Breaking changes
- breaking
GitHostnow has a staticaddHostmethod to use instead of manually editing the object fromlib/git-host-info.js. - breaking
Set default git ref to HEAD
- breaking
hosted-git-infois 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
- 5.x
5.2.1
27 Oct 2022Only correct protocols when called from githost
5.2.0
26 Oct 2022Add parseUrl method for only parsing
5.1.0
9 Aug 2022Add method to get an edit link to a file
Add comments to empty catch blocks for linting
5.0.0
14 Mar 2022- breaking
This drops support for node 10 and non-LTS versions of node 12 and node 14
Move files to lib
Breaking changes
- breaking
This drops support for node 10 and non-LTS versions of node 12 and node 14
Bug Fixes
Move files to lib
- 4.x
4.0.0
9 Mar 2021- breaking
Extending with custom providers has changed (c218b9)
Rewrite the entire module: all internals have been rewritten to maintain a similar contract but to remove excessive use of regular expressions, unnecessary loops, the custom string templating engine, and various other bits of complexity (c218b9)
- 3.x
3.0.5
11 Jul 20203.0.3
25 Feb 2020- 2.x
2.8.1
5 Aug 2019Ignore noCommittish on tarball url generation
Use gist tarball url that works for anonymous gists
2.8.0
5 Aug 2019Bug Fixes
Allow slashes in gitlab project section (bbcf7b2), closes #46 #43
git-host: disallow URI-encoded slash (%2F) in
path(3776fa5), closes #44gitlab: Do not URL encode slashes in project name for GitLab https URL (cbf04f9), closes #47
Do not allow invalid gist urls
cache: Switch to lru-cache to save ourselves from unlimited memory consumption (e518222), closes #38
Features
Give these objects a name
2.6.0
7 Mar 2018compat: remove Object.assign fallback
git-host: fix forgotten extend()
browse: fragment support for browse()