Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Nov 21, 2024
1 parent 401bb86 commit 080e201
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion node_modules/hosted-git-info/lib/hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(/(?<!\W)\W+$/, '') // strip trailing non-characters
.replace(/\//g, '') // strip all slashes
.replace(/\W+/g, '-') // replace remaining non-characters with '-'

Expand Down
2 changes: 1 addition & 1 deletion node_modules/hosted-git-info/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"fs-minipass": "^3.0.3",
"glob": "^10.3.10",
"graceful-fs": "^4.2.11",
"hosted-git-info": "^6.1.2",
"hosted-git-info": "^6.1.3",
"ini": "^4.1.1",
"init-package-json": "^5.0.0",
"is-cidr": "^4.0.2",
Expand Down Expand Up @@ -6674,9 +6674,9 @@
}
},
"node_modules/hosted-git-info": {
"version": "6.1.2",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.2.tgz",
"integrity": "sha512-BGqEHfzDiVmLEV5uzvXn1qKrmXfNPVDBh86Epw5S6P4XYl+4yx4dawEj7p+B9NVVolIkX11DwmKiZ3YHK7XMwg==",
"version": "6.1.3",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz",
"integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"fs-minipass": "^3.0.3",
"glob": "^10.3.10",
"graceful-fs": "^4.2.11",
"hosted-git-info": "^6.1.2",
"hosted-git-info": "^6.1.3",
"ini": "^4.1.1",
"init-package-json": "^5.0.0",
"is-cidr": "^4.0.2",
Expand Down

0 comments on commit 080e201

Please sign in to comment.