Update dependencies

This commit is contained in:
2025-01-05 23:12:09 +01:00
parent f3ac692c82
commit 8cbd254d20
3 changed files with 8 additions and 9 deletions

BIN
bun.lockb

Binary file not shown.

View File

@@ -62,15 +62,15 @@
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@types/bun": "1.1.14",
"elysia": ">= 1.2.0",
"eslint": "9.6.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3"
"elysia": "^1.2.10",
"eslint": "9.17.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"dependencies": {
"@scalar/themes": "^0.9.52",
"@scalar/types": "^0.0.12",
"@scalar/themes": "^0.9.58",
"@scalar/types": "^0.0.25",
"openapi-types": "^12.1.3",
"pathe": "^1.1.2"
"pathe": "^2.0.0"
}
}

View File

@@ -15,7 +15,7 @@ import type { ElysiaSwaggerConfig } from './types'
*
* @see https://github.com/elysiajs/elysia-swagger
*/
export const swagger = async <Path extends string = '/swagger'>(
export const swagger = <Path extends string = '/swagger'>(
{
provider = 'scalar',
scalarVersion = 'latest',
@@ -87,7 +87,6 @@ export const swagger = async <Path extends string = '/swagger'>(
},
...scalarConfig,
// so we can showcase the elysia theme
// @ts-expect-error
_integration: 'elysiajs'
}