File tree 4 files changed +7
-7
lines changed
node_modules/hosted-git-info
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const maybeJoin = (...args) => args.every(arg => arg) ? args.join('') : ''
6
6
const maybeEncode = ( arg ) => arg ? encodeURIComponent ( arg ) : ''
7
7
const formatHashFragment = ( f ) => f . toLowerCase ( )
8
8
. replace ( / ^ \W + / g, '' ) // strip leading non-characters
9
- . replace ( / \W + $ / g , '' ) // strip trailing non-characters
9
+ . replace ( / (?< ! \W ) \W + $ / , '' ) // strip trailing non-characters
10
10
. replace ( / \/ / g, '' ) // strip all slashes
11
11
. replace ( / \W + / g, '-' ) // replace remaining non-characters with '-'
12
12
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hosted-git-info" ,
3
- "version" : " 6.1.2 " ,
3
+ "version" : " 6.1.3 " ,
4
4
"description" : " Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change 108
108
"fs-minipass": "^3.0.3",
109
109
"glob": "^10.3.10",
110
110
"graceful-fs": "^4.2.11",
111
- "hosted-git-info": "^6.1.2 ",
111
+ "hosted-git-info": "^6.1.3 ",
112
112
"ini": "^4.1.1",
113
113
"init-package-json": "^5.0.0",
114
114
"is-cidr": "^4.0.2",
6674
6674
}
6675
6675
},
6676
6676
"node_modules/hosted-git-info": {
6677
- "version": "6.1.2 ",
6678
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.2 .tgz",
6679
- "integrity": "sha512-BGqEHfzDiVmLEV5uzvXn1qKrmXfNPVDBh86Epw5S6P4XYl+4yx4dawEj7p+B9NVVolIkX11DwmKiZ3YHK7XMwg ==",
6677
+ "version": "6.1.3 ",
6678
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3 .tgz",
6679
+ "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw ==",
6680
6680
"inBundle": true,
6681
6681
"license": "ISC",
6682
6682
"dependencies": {
Original file line number Diff line number Diff line change 71
71
"fs-minipass" : " ^3.0.3" ,
72
72
"glob" : " ^10.3.10" ,
73
73
"graceful-fs" : " ^4.2.11" ,
74
- "hosted-git-info" : " ^6.1.2 " ,
74
+ "hosted-git-info" : " ^6.1.3 " ,
75
75
"ini" : " ^4.1.1" ,
76
76
"init-package-json" : " ^5.0.0" ,
77
77
"is-cidr" : " ^4.0.2" ,
You can’t perform that action at this time.
0 commit comments