From 712455236f29e1be13f405cb67ce4b3a9c240e0c Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 21 Nov 2024 12:46:03 -0800 Subject: [PATCH 1/2] fix: even better regex for host fragment (#281) --- lib/hosts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hosts.js b/lib/hosts.js index d610993..463a5f9 100644 --- a/lib/hosts.js +++ b/lib/hosts.js @@ -6,7 +6,7 @@ const maybeJoin = (...args) => args.every(arg => arg) ? args.join('') : '' const maybeEncode = (arg) => arg ? encodeURIComponent(arg) : '' const formatHashFragment = (f) => f.toLowerCase() .replace(/^\W+/g, '') // strip leading non-characters - .replace(/\W+$/g, '') // strip trailing non-characters + .replace(/(? Date: Thu, 21 Nov 2024 12:53:13 -0800 Subject: [PATCH 2/2] chore: release 6.1.3 (#282) :robot: I have created a release *beep* *boop* --- ## [6.1.3](https://github.com/npm/hosted-git-info/compare/v6.1.2...v6.1.3) (2024-11-21) ### Bug Fixes * [`7124552`](https://github.com/npm/hosted-git-info/commit/712455236f29e1be13f405cb67ce4b3a9c240e0c) [#281](https://github.com/npm/hosted-git-info/pull/281) even better regex for host fragment (#281) (@wraithgar) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 4 ++++ package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5e404df..97e819d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "6.1.2" + ".": "6.1.3" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 91acbdb..0ae8933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [6.1.3](https://github.com/npm/hosted-git-info/compare/v6.1.2...v6.1.3) (2024-11-21) +### Bug Fixes +* [`7124552`](https://github.com/npm/hosted-git-info/commit/712455236f29e1be13f405cb67ce4b3a9c240e0c) [#281](https://github.com/npm/hosted-git-info/pull/281) even better regex for host fragment (#281) (@wraithgar) + ## [6.1.2](https://github.com/npm/hosted-git-info/compare/v6.1.1...v6.1.2) (2024-11-21) ### Bug Fixes * [`09061c0`](https://github.com/npm/hosted-git-info/commit/09061c0d8304a27aa356ab91421321b34a4f0bc1) [#276](https://github.com/npm/hosted-git-info/pull/276) break up greedy host fragment parsing regex (#276) (@wraithgar) diff --git a/package.json b/package.json index c6958e9..f4d3813 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hosted-git-info", - "version": "6.1.2", + "version": "6.1.3", "description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab", "main": "./lib/index.js", "repository": { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy