Packages

hosted-git-info

10.1.1 · 18 May 2026ISC137M / weekRepositorynpmAtom feed

Your version

78 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 10.x · latest line
  2. 10.1.1

    18 May 2026

    Only updates a dependency:@npmcli/template-oss 5.1.0

  3. 10.1.0

    11 May 2026
    • Drop url dependency

  4. 10.0.0

    8 May 2026
    • breaking

      hosted-git-info now supports node ^22.22.2 || ^24.15.0 || >=26.0.0

    • breaking

      template-oss-apply

    • Bump to new node engine range

  5. 9.x
  6. 9.0.3

    1 May 2026
    • Use GitLab API v4 endpoint for tarball URLs

    • Remove .git suffix from Sourcehut https URLs

  7. 9.0.2

    8 Oct 2025
    • correctProtocol misparsing protocol

  8. 9.0.1

    7 Oct 2025
    • Remove redundant httpstemplate

  9. 9.0.0

    24 Jul 2025
    • breaking

      hosted-git-info now supports node ^20.17.0 || >=22.9.0

    • Align to npm 11 node engine range

  10. 8.x
  11. 8.1.0

    14 Apr 2025
    • Add HostedGitInfo.fromManifest

  12. 8.0.2

    21 Nov 2024
    • Even better regex for host fragment

  13. 8.0.1

    20 Nov 2024
    • Break up greedy host fragment parsing regex

  14. 8.0.0

    4 Sep 2024
    • breaking

      hosted-git-info now supports node ^18.17.0 || >=20.5.0

    • Align to npm 10 node engine range

  15. 7.x
  16. 7.0.2

    4 May 2024
    • linting: no-unused-vars

  17. 7.0.1

    13 Sep 2023
    • Remove sourcehut bugstemplate

  18. 7.0.0

    14 Aug 2023
    • breaking

      Support for node 14 has been removed

    • Use lru-cache named export

    • Drop node14 support

  19. 6.x
  20. 6.1.3

    21 Nov 2024
    • Even better regex for host fragment

  21. 6.1.2

    21 Nov 2024
    • Break up greedy host fragment parsing regex

  22. 6.1.1

    27 Oct 2022
    • Only correct protocols when called from githost

  23. 6.1.0

    26 Oct 2022
    • Add separate static method for just parsing urls

  24. 6.0.0

    12 Oct 2022
    • 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

  25. 5.x
  26. 5.2.1

    27 Oct 2022
    • Only correct protocols when called from githost

  27. 5.2.0

    26 Oct 2022
    • Add parseUrl method for only parsing

  28. 5.1.0

    9 Aug 2022
    • Add method to get an edit link to a file

    • Add comments to empty catch blocks for linting

  29. 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

  30. 4.x
  31. 4.0.1 – 4.1.03 releases without a noteShow each
  32. 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)

  33. 3.x
  34. 3.0.8

    28 Jan 2021
    • Simplify the regular expression for shortcut matching (bede0dc), closes #76

  35. 3.0.7

    15 Oct 2020
    • Correctly filter out urls for tarballs in gitlab (eb5bd5a), closes #69

  36. 3.0.6

    12 Oct 2020
    • Support to github gist legacy hash length (c067102), closes #68

  37. 3.0.5

    11 Jul 2020
  38. 3.0.4

    26 Feb 2020
    • Do not pass scp-style URLs to the WhatWG url.URL (0835306), closes #60 #63

  39. 3.0.3

    25 Feb 2020
  40. 3.0.2

    8 Oct 2019
    • Do not encodeURIComponent the domain (3e5fbec), closes #53

  41. 3.0.1

    7 Oct 2019
    • Update pathmatch for gitlab (e3e3054), closes #52

    • Updated pathmatch for gitlab

  42. 3.0.0

    12 Aug 2019
    • breaking

      cache: Drop support for node 0.x

    • cache: Switch to lru-cache to save ourselves from unlimited memory consumption (37c2891), closes #38

  43. 2.x
  44. 2.8.3 – 2.8.97 releases without a noteShow each
  45. 2.8.2

    5 Aug 2019
    • Http protocol use sshurl by default (3b1d629), closes #48

  46. 2.8.1

    5 Aug 2019
    • Ignore noCommittish on tarball url generation

    • Use gist tarball url that works for anonymous gists

  47. 2.8.0

    5 Aug 2019
    • Allow slashes in gitlab project section (bbcf7b2), closes #46 #43

    • git-host: disallow URI-encoded slash (%2F) in path (3776fa5), closes #44

    • gitlab: Do not URL encode slashes in project name for GitLab https URL (cbf04f9), closes #47

  48. 2.7.1

    7 Jul 2018
    • index: Guard against non-string types

    • parse: Crash on strings that parse to having no host (c931482), closes #35

  49. 2.7.0

    6 Jul 2018
    • github tarball: update github tarballtemplate (6efd582), closes #34

    • gitlab docs: switched to lowercase anchors for readmes

    • all: Support www. prefixes on hostnames (3349575), closes #32

  50. 2.6.1

    25 Jun 2018
    • Revert: "compat: remove Object.assign fallback (#25)"

    • Revert: "git-host: fix forgotten extend()"

  51. 2.6.0

    7 Mar 2018
    • compat: remove Object.assign fallback

    • git-host: fix forgotten extend()

    • browse: fragment support for browse()