Merge pull request #26764 from backstage/renovate/git-url-parse-15.x

fix(deps): update dependency git-url-parse to v15
This commit is contained in:
Fredrik Adelöw
2024-10-08 11:42:19 +02:00
committed by GitHub
14 changed files with 52 additions and 28 deletions
+1 -1
View File
@@ -153,7 +153,7 @@
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"fs-extra": "^11.2.0",
"git-url-parse": "^14.0.0",
"git-url-parse": "^15.0.0",
"helmet": "^6.0.0",
"isomorphic-git": "^1.23.0",
"jose": "^5.0.0",
@@ -111,7 +111,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(req, res, ctx) => {
expect(req.headers.get('authorization')).toBe(
mockHeaders.Authorization,
@@ -152,7 +152,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(req, res, ctx) => {
expect(req.headers.get('authorization')).toBe(
mockHeaders.Authorization,
@@ -188,7 +188,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(req, res, ctx) => {
expect(req.headers.get('authorization')).toBe(
mockHeaders.Authorization,
@@ -219,7 +219,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(_req, res, ctx) => {
return res(
ctx.status(403),
@@ -249,7 +249,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(_req, res, ctx) => {
return res(
ctx.status(200),
@@ -283,7 +283,7 @@ describe('GithubUrlReader', () => {
worker.use(
rest.get(
'https://ghe.github.com/api/v3/repos/backstage/mock/tree/contents/',
'https://ghe.github.com/api/v3/repos/backstage/mock/contents/main',
(req, res, ctx) => {
expect(req.headers.get('authorization')).toBe(
'Bearer overridentoken',
+1 -1
View File
@@ -106,7 +106,7 @@
"express": "^4.17.1",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"fs-extra": "^11.2.0",
"git-url-parse": "^14.0.0",
"git-url-parse": "^15.0.0",
"glob": "^7.1.7",
"global-agent": "^3.0.0",
"handlebars": "^4.7.3",
+1 -1
View File
@@ -43,7 +43,7 @@
"@octokit/auth-app": "^4.0.0",
"@octokit/rest": "^19.0.3",
"cross-fetch": "^4.0.0",
"git-url-parse": "^14.0.0",
"git-url-parse": "^15.0.0",
"lodash": "^4.17.21",
"luxon": "^3.0.0"
},