0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(deps): update dependency @types/supertest to v6 (#5159)

Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
renovate[bot] 2024-01-08 03:08:45 +00:00 committed by GitHub
parent 9bcbcc2d24
commit 094ff37e7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 85 additions and 79 deletions

View file

@ -38,7 +38,7 @@
"@silverhand/ts-config": "5.0.0", "@silverhand/ts-config": "5.0.0",
"@types/jest": "^29.4.0", "@types/jest": "^29.4.0",
"@types/node": "^20.9.5", "@types/node": "^20.9.5",
"@types/supertest": "^2.0.11", "@types/supertest": "^6.0.0",
"eslint": "^8.44.0", "eslint": "^8.44.0",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-matcher-specific-error": "^1.0.0", "jest-matcher-specific-error": "^1.0.0",

View file

@ -112,7 +112,7 @@
"@types/qrcode": "^1.5.2", "@types/qrcode": "^1.5.2",
"@types/semver": "^7.3.12", "@types/semver": "^7.3.12",
"@types/sinon": "^17.0.0", "@types/sinon": "^17.0.0",
"@types/supertest": "^2.0.11", "@types/supertest": "^6.0.0",
"eslint": "^8.44.0", "eslint": "^8.44.0",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-matcher-specific-error": "^1.0.0", "jest-matcher-specific-error": "^1.0.0",

View file

@ -121,7 +121,7 @@ export function createRequester({
authedRoutes?: RouteLauncher<AuthedRouter> | Array<RouteLauncher<AuthedRouter>>; authedRoutes?: RouteLauncher<AuthedRouter> | Array<RouteLauncher<AuthedRouter>>;
middlewares?: Middleware[]; middlewares?: Middleware[];
tenantContext?: TenantContext; tenantContext?: TenantContext;
}): request.SuperTest<request.Test> { }) {
const app = new Koa(); const app = new Koa();
const tenant = tenantContext ?? new MockTenant(); const tenant = tenantContext ?? new MockTenant();

View file

@ -292,8 +292,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -380,8 +380,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -459,8 +459,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -538,8 +538,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -623,8 +623,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -708,8 +708,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -790,8 +790,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -869,8 +869,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -948,8 +948,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1027,8 +1027,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1109,8 +1109,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1188,8 +1188,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1267,8 +1267,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1349,8 +1349,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1428,8 +1428,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1507,8 +1507,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1586,8 +1586,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1665,8 +1665,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1744,8 +1744,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1823,8 +1823,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1902,8 +1902,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -1981,8 +1981,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2063,8 +2063,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2151,8 +2151,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2236,8 +2236,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2315,8 +2315,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2394,8 +2394,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2479,8 +2479,8 @@ importers:
specifier: ^6.4.7 specifier: ^6.4.7
version: 6.4.7 version: 6.4.7
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2558,8 +2558,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2637,8 +2637,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2716,8 +2716,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -2795,8 +2795,8 @@ importers:
specifier: ^20.9.5 specifier: ^20.9.5
version: 20.10.4 version: 20.10.4
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -3384,8 +3384,8 @@ importers:
specifier: ^17.0.0 specifier: ^17.0.0
version: 17.0.2 version: 17.0.2
'@types/supertest': '@types/supertest':
specifier: ^2.0.11 specifier: ^6.0.0
version: 2.0.11 version: 6.0.1
eslint: eslint:
specifier: ^8.44.0 specifier: ^8.44.0
version: 8.44.0 version: 8.44.0
@ -9832,8 +9832,8 @@ packages:
resolution: {integrity: sha512-0mPF08jn9zYI0n0Q/Pnz7C4kThdSt+6LD4amsrYDDpgBfrVWa3TcCOxKX1zkGgYniGagRv8heN2cbh+CAn+uuQ==} resolution: {integrity: sha512-0mPF08jn9zYI0n0Q/Pnz7C4kThdSt+6LD4amsrYDDpgBfrVWa3TcCOxKX1zkGgYniGagRv8heN2cbh+CAn+uuQ==}
dev: true dev: true
/@types/cookiejar@2.1.2: /@types/cookiejar@2.1.5:
resolution: {integrity: sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog==} resolution: {integrity: sha512-he+DHOWReW0nghN24E1WUqM0efK4kI9oTqDm6XmK8ZPe2djZ90BSNdGnIyCLzCPw7/pogPlGbzI2wHGGmi4O/Q==}
dev: true dev: true
/@types/cookies@0.7.7: /@types/cookies@0.7.7:
@ -10045,6 +10045,10 @@ packages:
resolution: {integrity: sha512-JPEv4iAl0I+o7g8yVWDwk30es8mfVrjkvh5UeVR2sYPpZCK44vrAPsbJpIS+rJAUxLgaSAMKTEH5Vn5qd9XsrQ==} resolution: {integrity: sha512-JPEv4iAl0I+o7g8yVWDwk30es8mfVrjkvh5UeVR2sYPpZCK44vrAPsbJpIS+rJAUxLgaSAMKTEH5Vn5qd9XsrQ==}
dev: true dev: true
/@types/methods@1.1.4:
resolution: {integrity: sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==}
dev: true
/@types/mime@1.3.2: /@types/mime@1.3.2:
resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==}
dev: true dev: true
@ -10245,17 +10249,19 @@ packages:
resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}
dev: true dev: true
/@types/superagent@4.1.15: /@types/superagent@8.1.1:
resolution: {integrity: sha512-mu/N4uvfDN2zVQQ5AYJI/g4qxn2bHB6521t1UuH09ShNWjebTqN0ZFuYK9uYjcgmI0dTQEs+Owi1EO6U0OkOZQ==} resolution: {integrity: sha512-YQyEXA4PgCl7EVOoSAS3o0fyPFU6erv5mMixztQYe1bqbWmmn8c+IrqoxjQeZe4MgwXikgcaZPiI/DsbmOVlzA==}
dependencies: dependencies:
'@types/cookiejar': 2.1.2 '@types/cookiejar': 2.1.5
'@types/methods': 1.1.4
'@types/node': 20.10.4 '@types/node': 20.10.4
dev: true dev: true
/@types/supertest@2.0.11: /@types/supertest@6.0.1:
resolution: {integrity: sha512-uci4Esokrw9qGb9bvhhSVEjd6rkny/dk5PK/Qz4yxKiyppEI+dOPlNrZBahE3i+PoKFYyDxChVXZ/ysS/nrm1Q==} resolution: {integrity: sha512-M1xs8grAWC4RisSEQjyQV0FZzXnL3y796540Q/HCdiPcErwKpcAfvsNQFb4xp+5btSWMOZG1YlDWs2z96pdbcw==}
dependencies: dependencies:
'@types/superagent': 4.1.15 '@types/methods': 1.1.4
'@types/superagent': 8.1.1
dev: true dev: true
/@types/tar@6.1.2: /@types/tar@6.1.2:
@ -12692,7 +12698,7 @@ packages:
dependencies: dependencies:
escape-string-regexp: 1.0.5 escape-string-regexp: 1.0.5
eslint: 8.44.0 eslint: 8.44.0
ignore: 5.2.4 ignore: 5.3.0
dev: true dev: true
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.61.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.44.0): /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.61.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.44.0):
@ -12772,7 +12778,7 @@ packages:
eslint: 8.44.0 eslint: 8.44.0
eslint-plugin-es: 3.0.1(eslint@8.44.0) eslint-plugin-es: 3.0.1(eslint@8.44.0)
eslint-utils: 2.1.0 eslint-utils: 2.1.0
ignore: 5.2.4 ignore: 5.3.0
minimatch: 3.1.2 minimatch: 3.1.2
resolve: 1.22.2 resolve: 1.22.2
semver: 6.3.1 semver: 6.3.1