diff --git a/apps/demo/CHANGELOG.md b/apps/demo/CHANGELOG.md index 461c9c9..d5a0abe 100644 --- a/apps/demo/CHANGELOG.md +++ b/apps/demo/CHANGELOG.md @@ -1,5 +1,26 @@ # @authhero/demo +## 0.1.1 + +### Patch Changes + +- remove the iife build files +- Updated dependencies + - authhero@0.10.1 + - @authhero/kysely-adapter@0.18.1 + +## 0.1.0 + +### Minor Changes + +- Get the demo project rendering + +### Patch Changes + +- Updated dependencies + - authhero@0.10.0 + - @authhero/kysely-adapter@0.18.0 + ## 0.0.36 ### Patch Changes diff --git a/apps/demo/db.sqlite b/apps/demo/db.sqlite new file mode 100644 index 0000000..e69de29 diff --git a/apps/demo/package.json b/apps/demo/package.json index 3a5ce48..d1192a7 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -1,9 +1,17 @@ { "name": "@authhero/demo", "private": true, - "version": "0.0.36", + "version": "0.1.1", "scripts": { "dev": "bun --watch src/bun.ts" }, - "dependencies": {} + "dependencies": { + "@authhero/kysely-adapter": "^0.18.1", + "@hono/swagger-ui": "^0.4.1", + "@hono/zod-openapi": "^0.18.0", + "authhero": "^0.10.1", + "hono": "^4.6.11", + "hono-openapi-middlewares": "^1.0.11", + "kysely-bun-sqlite": "^0.3.2" + } } diff --git a/apps/demo/src/app.ts b/apps/demo/src/app.ts index e6b968b..da7a662 100644 --- a/apps/demo/src/app.ts +++ b/apps/demo/src/app.ts @@ -1,18 +1,19 @@ import { Context } from "hono"; import { OpenAPIHono } from "@hono/zod-openapi"; import { HTTPException } from "hono/http-exception"; +import { DataAdapters, init } from "authhero"; +import { swaggerUI } from "@hono/swagger-ui"; +import { + createAuthMiddleware, + registerComponent, +} from "hono-openapi-middlewares"; import packageJson from "../package.json"; -import authhero, { DataAdapters } from "authhero"; +import { Bindings } from "./types/Bindings"; -// Define the return type interface -interface CreateReturn { - app: ReturnType; -} - -export default function create(dataAdapter: DataAdapters): CreateReturn { - const rootApp = new OpenAPIHono(); +export default function create(dataAdapter: DataAdapters) { + const app = new OpenAPIHono<{ Bindings: Bindings }>(); - rootApp + app .onError((err, ctx) => { if (err instanceof HTTPException) { // Get the custom response @@ -28,13 +29,31 @@ export default function create(dataAdapter: DataAdapters): CreateReturn { name: tenantId, version: packageJson.version, }); - }); + }) + .get("/docs", swaggerUI({ url: "/spec" })); + app.use(createAuthMiddleware(app)); + app.use(registerComponent(app)); - const app = authhero.init({ + const { managementApp } = init({ dataAdapter, + issuer: "https://authhero.com", }); - return { - app, - }; + managementApp.doc("/spec", (c) => ({ + openapi: "3.0.0", + info: { + version: "1.0.0", + title: "Management API", + }, + servers: [ + { + url: new URL(c.req.url).origin, + description: "Current environment", + }, + ], + })); + + app.route("/", managementApp); + + return app; } diff --git a/apps/demo/src/bun.ts b/apps/demo/src/bun.ts index b63c6e7..2aa6eca 100644 --- a/apps/demo/src/bun.ts +++ b/apps/demo/src/bun.ts @@ -15,8 +15,7 @@ const db = new Kysely({ const dataAdapter = createAdapters(db); -// @ts-ignore -const { app } = createApp(dataAdapter); +const app = createApp(dataAdapter); const server = { async fetch(request: Request): Promise { diff --git a/apps/demo/src/server.ts b/apps/demo/src/server.ts new file mode 100644 index 0000000..a43031e --- /dev/null +++ b/apps/demo/src/server.ts @@ -0,0 +1,35 @@ +import { OpenAPIHono } from "@hono/zod-openapi"; +import { PlanetScaleDialect } from "kysely-planetscale"; +import { Kysely } from "kysely"; +import createApp from "./app"; +import createAdapters from "@authhero/kysely-adapter"; + +interface Env { + DATABASE_HOST: string; + DATABASE_USERNAME: string; + DATABASE_PASSWORD: string; +} + +let app: OpenAPIHono | undefined; + +const server = { + async fetch(request: Request, env: Env): Promise { + if (!app) { + const dialect = new PlanetScaleDialect({ + host: env.DATABASE_HOST, + username: env.DATABASE_USERNAME, + password: env.DATABASE_PASSWORD, + fetch: (opts, init) => + fetch(new Request(opts, { ...init, cache: undefined })), + }); + const db = new Kysely({ dialect }); + const dataAdapter = createAdapters(db); + + app = createApp(dataAdapter); + } + + return app.fetch(request); + }, +}; + +export default server; diff --git a/apps/demo/src/types/Bindings.ts b/apps/demo/src/types/Bindings.ts new file mode 100644 index 0000000..944ea32 --- /dev/null +++ b/apps/demo/src/types/Bindings.ts @@ -0,0 +1,7 @@ +export type Bindings = { + JWKS_URL: string; + JWKS_SERVICE: { + fetch: typeof fetch; + }; + AUTH_URL: string; +}; diff --git a/apps/demo/wrangler.toml b/apps/demo/wrangler.toml new file mode 100644 index 0000000..996d1b5 --- /dev/null +++ b/apps/demo/wrangler.toml @@ -0,0 +1,3 @@ +name = "authhero-demo" +main = "src/server.ts" +compatibility_date = "2024-11-20" diff --git a/packages/adapter-interfaces/CHANGELOG.md b/packages/adapter-interfaces/CHANGELOG.md index 2424bb3..4d1f448 100644 --- a/packages/adapter-interfaces/CHANGELOG.md +++ b/packages/adapter-interfaces/CHANGELOG.md @@ -1,5 +1,17 @@ # @authhero/adapter-interfaces +## 0.22.1 + +### Patch Changes + +- remove the iife build files + +## 0.22.0 + +### Minor Changes + +- Get the demo project rendering + ## 0.21.0 ### Minor Changes diff --git a/packages/adapter-interfaces/package.json b/packages/adapter-interfaces/package.json index 40725cb..0c98e94 100644 --- a/packages/adapter-interfaces/package.json +++ b/packages/adapter-interfaces/package.json @@ -11,7 +11,7 @@ "type": "git", "url": "https://github.com/markusahlstrand/authhero" }, - "version": "0.21.0", + "version": "0.22.1", "files": [ "dist" ], @@ -29,14 +29,15 @@ "build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts" }, "devDependencies": { + "@hono/zod-openapi": "^0.18.0", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", - "@types/node": "^22.8.6", + "@types/node": "^22.9.1", "dts-bundle-generator": "^9.5.1", "typescript": "^5.6.3", - "vite": "^5.4.10" + "vite": "^5.4.11" }, - "dependencies": { + "peerDependencies": { "@hono/zod-openapi": "^0.16.4" } } diff --git a/packages/adapter-interfaces/vite.config.ts b/packages/adapter-interfaces/vite.config.ts index 3008c86..23d51c3 100644 --- a/packages/adapter-interfaces/vite.config.ts +++ b/packages/adapter-interfaces/vite.config.ts @@ -18,7 +18,6 @@ const getPackageNameCamelCase = () => { const fileName = { es: `${getPackageName()}.mjs`, cjs: `${getPackageName()}.cjs`, - iife: `${getPackageName()}.iife.js`, }; const formats = Object.keys(fileName) as Array; diff --git a/packages/authhero/CHANGELOG.md b/packages/authhero/CHANGELOG.md index 3b1240f..bd7245d 100644 --- a/packages/authhero/CHANGELOG.md +++ b/packages/authhero/CHANGELOG.md @@ -1,5 +1,24 @@ # authhero +## 0.10.1 + +### Patch Changes + +- remove the iife build files +- Updated dependencies + - @authhero/adapter-interfaces@0.22.1 + +## 0.10.0 + +### Minor Changes + +- Get the demo project rendering + +### Patch Changes + +- Updated dependencies + - @authhero/adapter-interfaces@0.22.0 + ## 0.9.0 ### Minor Changes diff --git a/packages/authhero/package.json b/packages/authhero/package.json index 4ad8cc3..86fb3e9 100644 --- a/packages/authhero/package.json +++ b/packages/authhero/package.json @@ -1,6 +1,6 @@ { "name": "authhero", - "version": "0.9.0", + "version": "0.10.1", "files": [ "dist" ], @@ -22,21 +22,25 @@ }, "devDependencies": { "@authhero/kysely-adapter": "workspace:^", - "@types/node": "^22.9.0", + "@hono/zod-openapi": "^0.18.0", + "@types/node": "^22.9.1", "better-sqlite3": "^11.5.0", "dts-bundle-generator": "^9.5.1", + "hono": "^4.6.11", "typescript": "^5.6.3", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0", - "vitest": "^2.1.4" + "vitest": "^2.1.5" }, "dependencies": { "@authhero/adapter-interfaces": "workspace:^", - "@hono/zod-openapi": "^0.17.0", "@peculiar/x509": "^1.12.3", "bcrypt": "^5.1.1", "bcryptjs": "^2.4.3", - "hono": "^4.6.9", "oslo": "^1.2.1" + }, + "peerDependencies": { + "@hono/zod-openapi": "^0.18.0", + "hono": "^4.6.11" } } diff --git a/packages/authhero/vite.config.ts b/packages/authhero/vite.config.ts index 4bf12ad..11c148c 100644 --- a/packages/authhero/vite.config.ts +++ b/packages/authhero/vite.config.ts @@ -16,7 +16,6 @@ const getPackageNameCamelCase = () => { const fileName = { es: `${getPackageName()}.mjs`, cjs: `${getPackageName()}.cjs`, - iife: `${getPackageName()}.iife.js`, }; const formats = Object.keys(fileName) as Array; diff --git a/packages/drizzle/CHANGELOG.md b/packages/drizzle/CHANGELOG.md index 5d6e8a6..421b0d8 100644 --- a/packages/drizzle/CHANGELOG.md +++ b/packages/drizzle/CHANGELOG.md @@ -1,5 +1,20 @@ # @authhero/drizzle +## 0.1.57 + +### Patch Changes + +- remove the iife build files +- Updated dependencies + - @authhero/adapter-interfaces@0.22.1 + +## 0.1.56 + +### Patch Changes + +- Updated dependencies + - @authhero/adapter-interfaces@0.22.0 + ## 0.1.55 ### Patch Changes diff --git a/packages/drizzle/package.json b/packages/drizzle/package.json index cf23913..ba4ef7a 100644 --- a/packages/drizzle/package.json +++ b/packages/drizzle/package.json @@ -11,7 +11,7 @@ "type": "git", "url": "https://github.com/markusahlstrand/authhero" }, - "version": "0.1.55", + "version": "0.1.57", "files": [ "dist" ], diff --git a/packages/drizzle/vite.config.ts b/packages/drizzle/vite.config.ts index e12fe95..fcc8a29 100644 --- a/packages/drizzle/vite.config.ts +++ b/packages/drizzle/vite.config.ts @@ -18,7 +18,6 @@ const getPackageNameCamelCase = () => { const fileName = { es: `${getPackageName()}.mjs`, cjs: `${getPackageName()}.cjs`, - iife: `${getPackageName()}.iife.js`, }; const formats = Object.keys(fileName) as Array; diff --git a/packages/kysely/CHANGELOG.md b/packages/kysely/CHANGELOG.md index 47729aa..0db3cf8 100644 --- a/packages/kysely/CHANGELOG.md +++ b/packages/kysely/CHANGELOG.md @@ -1,5 +1,24 @@ # @authhero/kysely-adapter +## 0.18.1 + +### Patch Changes + +- remove the iife build files +- Updated dependencies + - @authhero/adapter-interfaces@0.22.1 + +## 0.18.0 + +### Minor Changes + +- Get the demo project rendering + +### Patch Changes + +- Updated dependencies + - @authhero/adapter-interfaces@0.22.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/kysely/package.json b/packages/kysely/package.json index 2139086..36ce3a8 100644 --- a/packages/kysely/package.json +++ b/packages/kysely/package.json @@ -11,7 +11,7 @@ "type": "git", "url": "https://github.com/markusahlstrand/authhero" }, - "version": "0.17.1", + "version": "0.18.1", "files": [ "dist" ], @@ -30,21 +30,27 @@ "test": "vitest" }, "devDependencies": { + "@hono/zod-openapi": "^0.18.0", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", - "@types/node": "^22.8.6", + "@types/node": "^22.9.1", + "hono": "^4.6.11", + "kysely-bun-sqlite": "^0.3.2", + "kysely-planetscale": "^1.5.0", "dts-bundle-generator": "^9.5.1", "typescript": "^5.6.3", - "vite": "^5.4.10", - "vitest": "^2.1.4" + "vite": "^5.4.11", + "vitest": "^2.1.5" }, "dependencies": { "@authhero/adapter-interfaces": "workspace:^", + "kysely": "^0.27.4", + "nanoid": "^5.0.8" + }, + "peerDependencies": { "@hono/zod-openapi": "^0.16.4", "hono": "^4.6.8", - "kysely": "^0.27.4", "kysely-bun-sqlite": "^0.3.2", - "kysely-planetscale": "^1.5.0", - "nanoid": "^5.0.8" + "kysely-planetscale": "^1.5.0" } } diff --git a/packages/kysely/src/migrate/migrations/2024-11-18T10:37:00_act_as.ts b/packages/kysely/src/migrate/migrations/2024-11-18T10:37:00_act_as.ts new file mode 100644 index 0000000..a406e3e --- /dev/null +++ b/packages/kysely/src/migrate/migrations/2024-11-18T10:37:00_act_as.ts @@ -0,0 +1,13 @@ +import { Kysely } from "kysely"; +import { Database } from "@authhero/kysely-adapter"; + +export async function up(db: Kysely): Promise { + await db.schema + .alterTable("logins") + .addColumn("authParams_act_as", "varchar(255)") + .execute(); +} + +export async function down(db: Kysely): Promise { + await db.schema.alterTable("logins").dropColumn("authParam_act_as").execute(); +} diff --git a/packages/kysely/src/migrate/migrations/index.ts b/packages/kysely/src/migrate/migrations/index.ts index 1dcb419..0da79b0 100644 --- a/packages/kysely/src/migrate/migrations/index.ts +++ b/packages/kysely/src/migrate/migrations/index.ts @@ -61,6 +61,7 @@ import * as n60_users_metadata from "./2024-09-16T17:02:00_users_metadata"; import * as n61_userLocales from "./2024-10-01T9:09:00_ui_locales"; import * as n62_prompt from "./2024-10-19T07:47:00_prompt"; import * as n63_connection_cleanup from "./2024-10-22T09:01:00_connection_cleanup"; +import * as n64_act_as from "./2024-11-18T10:37:00_act_as"; // These need to be in alphabetic order export default { @@ -127,4 +128,5 @@ export default { n61_userLocales, n62_prompt, n63_connection_cleanup, + n64_act_as, }; diff --git a/packages/kysely/vite.config.ts b/packages/kysely/vite.config.ts index 2b21da4..fa13184 100644 --- a/packages/kysely/vite.config.ts +++ b/packages/kysely/vite.config.ts @@ -18,7 +18,6 @@ const getPackageNameCamelCase = () => { const fileName = { es: `${getPackageName()}.mjs`, cjs: `${getPackageName()}.cjs`, - iife: `${getPackageName()}.iife.js`, }; const formats = Object.keys(fileName) as Array; diff --git a/packages/saml/CHANGELOG.md b/packages/saml/CHANGELOG.md index 2ce2d39..5d8836b 100644 --- a/packages/saml/CHANGELOG.md +++ b/packages/saml/CHANGELOG.md @@ -1,5 +1,20 @@ # @authhero/saml +## 0.1.57 + +### Patch Changes + +- remove the iife build files +- Updated dependencies + - @authhero/adapter-interfaces@0.22.1 + +## 0.1.56 + +### Patch Changes + +- Updated dependencies + - @authhero/adapter-interfaces@0.22.0 + ## 0.1.55 ### Patch Changes diff --git a/packages/saml/package.json b/packages/saml/package.json index f70a10d..9904f34 100644 --- a/packages/saml/package.json +++ b/packages/saml/package.json @@ -11,7 +11,7 @@ "type": "git", "url": "https://github.com/markusahlstrand/authhero" }, - "version": "0.1.55", + "version": "0.1.57", "files": [ "dist" ], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82e9e21..86dbbcf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,7 +43,7 @@ importers: version: 8.13.0(eslint@9.5.0)(typescript@5.6.3) vitest: specifier: ^2.1.4 - version: 2.1.4(@types/node@22.9.0)(jsdom@24.1.0) + version: 2.1.4(@types/node@22.9.1)(jsdom@24.1.0) apps/auth0-proxy: dependencies: @@ -58,7 +58,29 @@ importers: specifier: ^5.5.2 version: 5.5.2 - apps/demo: {} + apps/demo: + dependencies: + '@authhero/kysely-adapter': + specifier: ^0.17.1 + version: 0.17.1(@planetscale/database@1.18.0)(zod@3.23.8) + '@hono/swagger-ui': + specifier: ^0.4.1 + version: 0.4.1(hono@4.6.11) + '@hono/zod-openapi': + specifier: ^0.18.0 + version: 0.18.0(hono@4.6.11)(zod@3.23.8) + authhero: + specifier: ^0.9.0 + version: 0.9.0(zod@3.23.8) + hono: + specifier: ^4.6.11 + version: 4.6.11 + hono-openapi-middlewares: + specifier: ^1.0.11 + version: 1.0.11(@hono/zod-openapi@0.18.0(hono@4.6.11)(zod@3.23.8))(hono@4.6.11)(zod@3.23.8) + kysely-bun-sqlite: + specifier: ^0.3.2 + version: 0.3.2(kysely@0.27.4) apps/react-admin: dependencies: @@ -152,11 +174,10 @@ importers: version: 1.6.0(@types/node@20.14.9)(jsdom@24.1.0) packages/adapter-interfaces: - dependencies: - '@hono/zod-openapi': - specifier: ^0.16.4 - version: 0.16.4(hono@4.6.9)(zod@3.23.8) devDependencies: + '@hono/zod-openapi': + specifier: ^0.18.0 + version: 0.18.0(hono@4.6.11)(zod@3.23.8) '@rollup/plugin-commonjs': specifier: ^28.0.1 version: 28.0.1(rollup@4.24.0) @@ -164,8 +185,8 @@ importers: specifier: ^15.3.0 version: 15.3.0(rollup@4.24.0) '@types/node': - specifier: ^22.8.6 - version: 22.8.6 + specifier: ^22.9.1 + version: 22.9.1 dts-bundle-generator: specifier: ^9.5.1 version: 9.5.1 @@ -173,17 +194,14 @@ importers: specifier: ^5.6.3 version: 5.6.3 vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.8.6) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.1) packages/authhero: dependencies: '@authhero/adapter-interfaces': specifier: workspace:^ version: link:../adapter-interfaces - '@hono/zod-openapi': - specifier: ^0.17.0 - version: 0.17.0(hono@4.6.9)(zod@3.23.8) '@peculiar/x509': specifier: ^1.12.3 version: 1.12.3 @@ -193,9 +211,6 @@ importers: bcryptjs: specifier: ^2.4.3 version: 2.4.3 - hono: - specifier: ^4.6.9 - version: 4.6.9 oslo: specifier: ^1.2.1 version: 1.2.1 @@ -203,27 +218,33 @@ importers: '@authhero/kysely-adapter': specifier: workspace:^ version: link:../kysely + '@hono/zod-openapi': + specifier: ^0.18.0 + version: 0.18.0(hono@4.6.11)(zod@3.23.8) '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.9.1 + version: 22.9.1 better-sqlite3: specifier: ^11.5.0 version: 11.5.0 dts-bundle-generator: specifier: ^9.5.1 version: 9.5.1 + hono: + specifier: ^4.6.11 + version: 4.6.11 typescript: specifier: ^5.6.3 version: 5.6.3 vite: specifier: ^5.4.11 - version: 5.4.11(@types/node@22.9.0) + version: 5.4.11(@types/node@22.9.1) vite-plugin-dts: specifier: ^4.3.0 - version: 4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) + version: 4.3.0(@types/node@22.9.1)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.1)) vitest: - specifier: ^2.1.4 - version: 2.1.4(@types/node@22.9.0)(jsdom@24.1.0) + specifier: ^2.1.5 + version: 2.1.5(@types/node@22.9.1)(jsdom@24.1.0) packages/create-authhero: dependencies: @@ -277,25 +298,16 @@ importers: '@authhero/adapter-interfaces': specifier: workspace:^ version: link:../adapter-interfaces - '@hono/zod-openapi': - specifier: ^0.16.4 - version: 0.16.4(hono@4.6.8)(zod@3.23.8) - hono: - specifier: ^4.6.8 - version: 4.6.8 kysely: specifier: ^0.27.4 version: 0.27.4 - kysely-bun-sqlite: - specifier: ^0.3.2 - version: 0.3.2(kysely@0.27.4) - kysely-planetscale: - specifier: ^1.5.0 - version: 1.5.0(@planetscale/database@1.18.0)(kysely@0.27.4) nanoid: specifier: ^5.0.8 version: 5.0.8 devDependencies: + '@hono/zod-openapi': + specifier: ^0.18.0 + version: 0.18.0(hono@4.6.11)(zod@3.23.8) '@rollup/plugin-commonjs': specifier: ^28.0.1 version: 28.0.1(rollup@4.24.0) @@ -303,20 +315,29 @@ importers: specifier: ^15.3.0 version: 15.3.0(rollup@4.24.0) '@types/node': - specifier: ^22.8.6 - version: 22.8.6 + specifier: ^22.9.1 + version: 22.9.1 dts-bundle-generator: specifier: ^9.5.1 version: 9.5.1 + hono: + specifier: ^4.6.11 + version: 4.6.11 + kysely-bun-sqlite: + specifier: ^0.3.2 + version: 0.3.2(kysely@0.27.4) + kysely-planetscale: + specifier: ^1.5.0 + version: 1.5.0(@planetscale/database@1.18.0)(kysely@0.27.4) typescript: specifier: ^5.6.3 version: 5.6.3 vite: - specifier: ^5.4.10 - version: 5.4.10(@types/node@22.8.6) + specifier: ^5.4.11 + version: 5.4.11(@types/node@22.9.1) vitest: - specifier: ^2.1.4 - version: 2.1.4(@types/node@22.8.6)(jsdom@24.1.0) + specifier: ^2.1.5 + version: 2.1.5(@types/node@22.9.1)(jsdom@24.1.0) packages/saml: dependencies: @@ -360,6 +381,12 @@ packages: '@auth0/auth0-spa-js@2.1.3': resolution: {integrity: sha512-NMTBNuuG4g3rame1aCnNS5qFYIzsTUV5qTFPRfTyYFS1feS6jsCBR+eTq9YkxCp1yuoM2UIcjunPaoPl77U9xQ==} + '@authhero/adapter-interfaces@0.21.0': + resolution: {integrity: sha512-mY/yUPjhtbLICuBeobpHjIndGogUiK8TjTj6avDr8R0Ywsd/lLu0LBZN99G8NsXFBldzyXP9XGjX3WwQOVLK3w==} + + '@authhero/kysely-adapter@0.17.1': + resolution: {integrity: sha512-kobwtWGAN/PBbjIWoElMAOQRbhzctsiWq7NZ1mTg2n+19dKCAC6shx679UEvNU6criJtxWzUnFKKnowIARFNYQ==} + '@babel/code-frame@7.24.7': resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} @@ -798,6 +825,11 @@ packages: '@floating-ui/utils@0.2.3': resolution: {integrity: sha512-XGndio0l5/Gvd6CLIABvsav9HHezgDFFhDfHk1bvLfr9ni8dojqLSvBbotJEjmIwNHL7vK4QzBJTdBRoB+c1ww==} + '@hono/swagger-ui@0.4.1': + resolution: {integrity: sha512-kPaJatHffeYQ3yVkHo878hCqwfapqx54FczJVJ+eRWt8J4biyVVMIdCAJb6MyA8bcnHUoTmUpPc7OJAV1VTg2g==} + peerDependencies: + hono: '*' + '@hono/zod-openapi@0.16.4': resolution: {integrity: sha512-mnF6GthBaKex0D5PsY/4lYNtkaGJNE38bjeUI//EUqq7Ee4TNm2su35IUiFH4HcmJp5fWYMLyOJOpjnkClzEGw==} engines: {node: '>=16.0.0'} @@ -812,12 +844,25 @@ packages: hono: '>=4.3.6' zod: 3.* + '@hono/zod-openapi@0.18.0': + resolution: {integrity: sha512-MNdFSbACkEq1txteKsBrVB0Mnil0zd5urOrP8eti6kUDI95CKVws+vjHQWNddRqmqlBHa5kFAcVXSInHFmcYGQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + hono: '>=4.3.6' + zod: 3.* + '@hono/zod-validator@0.3.0': resolution: {integrity: sha512-7XcTk3yYyk6ldrO/VuqsroE7stvDZxHJQcpATRAyha8rUxJNBPV3+6waDrARfgEqxOVlzIadm3/6sE/dPseXgQ==} peerDependencies: hono: '>=3.9.0' zod: ^3.19.1 + '@hono/zod-validator@0.4.1': + resolution: {integrity: sha512-I8LyfeJfvVmC5hPjZ2Iij7RjexlgSBT7QJudZ4JvNPLxn0JQ3sqclz2zydlwISAnw21D2n4LQ0nfZdoiv9fQQA==} + peerDependencies: + hono: '>=3.9.0' + zod: ^3.19.1 + '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} @@ -1513,11 +1558,8 @@ packages: '@types/node@20.14.9': resolution: {integrity: sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==} - '@types/node@22.8.6': - resolution: {integrity: sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==} - - '@types/node@22.9.0': - resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} + '@types/node@22.9.1': + resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} '@types/parse-json@4.0.2': resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} @@ -1667,6 +1709,9 @@ packages: '@vitest/expect@2.1.4': resolution: {integrity: sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA==} + '@vitest/expect@2.1.5': + resolution: {integrity: sha512-nZSBTW1XIdpZvEJyoP/Sy8fUg0b8od7ZpGDkTUcfJ7wz/VoZAFzFfLyxVxGFhUjJzhYqSbIpfMtl/+k/dpWa3Q==} + '@vitest/mocker@2.1.4': resolution: {integrity: sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ==} peerDependencies: @@ -1678,33 +1723,59 @@ packages: vite: optional: true + '@vitest/mocker@2.1.5': + resolution: {integrity: sha512-XYW6l3UuBmitWqSUXTNXcVBUCRytDogBsWuNXQijc00dtnU/9OqpXWp4OJroVrad/gLIomAq9aW8yWDBtMthhQ==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + '@vitest/pretty-format@2.1.4': resolution: {integrity: sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==} + '@vitest/pretty-format@2.1.5': + resolution: {integrity: sha512-4ZOwtk2bqG5Y6xRGHcveZVr+6txkH7M2e+nPFd6guSoN638v/1XQ0K06eOpi0ptVU/2tW/pIU4IoPotY/GZ9fw==} + '@vitest/runner@1.6.0': resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} '@vitest/runner@2.1.4': resolution: {integrity: sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA==} + '@vitest/runner@2.1.5': + resolution: {integrity: sha512-pKHKy3uaUdh7X6p1pxOkgkVAFW7r2I818vHDthYLvUyjRfkKOU6P45PztOch4DZarWQne+VOaIMwA/erSSpB9g==} + '@vitest/snapshot@1.6.0': resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} '@vitest/snapshot@2.1.4': resolution: {integrity: sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==} + '@vitest/snapshot@2.1.5': + resolution: {integrity: sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg==} + '@vitest/spy@1.6.0': resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} '@vitest/spy@2.1.4': resolution: {integrity: sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg==} + '@vitest/spy@2.1.5': + resolution: {integrity: sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw==} + '@vitest/utils@1.6.0': resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} '@vitest/utils@2.1.4': resolution: {integrity: sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==} + '@vitest/utils@2.1.5': + resolution: {integrity: sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg==} + '@volar/language-core@2.4.8': resolution: {integrity: sha512-K/GxMOXGq997bO00cdFhTNuR85xPxj0BEEAy+BaqqayTmy9Tmhfgmq2wpJcVspRhcwfgPoE2/mEJa26emUhG/g==} @@ -1890,6 +1961,9 @@ packages: resolution: {integrity: sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==} engines: {node: '>=4'} + authhero@0.9.0: + resolution: {integrity: sha512-bbhhHYW7YNRpU7LtnY+VKta+amtjmP7yCFuXxHw9Vi1L6tqOJlMDXKbjIwnIcO6RNoH2HCBGMxa1RRkD15oXzw==} + autosuggest-highlight@3.3.4: resolution: {integrity: sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==} @@ -2277,6 +2351,9 @@ packages: resolution: {integrity: sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==} engines: {node: '>= 0.4'} + es-module-lexer@1.5.4: + resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + es-object-atoms@1.0.0: resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} engines: {node: '>= 0.4'} @@ -2647,16 +2724,19 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} + hono-openapi-middlewares@1.0.11: + resolution: {integrity: sha512-1yHKr9LHsl7QDDCS4u2REyGGgtUyO6J/L78ncINfFXSuAXCglgT35ctyLylP3iI5XhgE9wuwh6eIDVeW1DWAVA==} + peerDependencies: + '@hono/zod-openapi': ^0.17.0 + hono: ^4.6.10 + zod: ^3.23.8 + hono@4.4.10: resolution: {integrity: sha512-z6918u9rXRU5CCisMHd2uUVoQXcNyUrUMmYY7VH10v4HJG7+hqgMK/G8YNTd13C6s4rBfzF09iz8VpOip9qG3A==} engines: {node: '>=16.0.0'} - hono@4.6.8: - resolution: {integrity: sha512-f+2Ec9JAzabT61pglDiLJcF/DjiSefZkjCn9bzm1cYLGkD5ExJ3Jnv93ax9h0bn7UPLHF81KktoyjdQfWI2n1Q==} - engines: {node: '>=16.9.0'} - - hono@4.6.9: - resolution: {integrity: sha512-p/pN5yZLuZaHzyAOT2nw2/Ud6HhJHYmDNGH6Ck1OWBhPMVeM1r74jbCRwNi0gyFRjjbsGgoHbOyj7mT1PDNbTw==} + hono@4.6.11: + resolution: {integrity: sha512-f0LwJQFKdUUrCUAVowxSvNCjyzI7ZLt8XWYU/EApyeq5FfOvHFarBaE5rjU9HTNFk4RI0FkdB2edb3p/7xZjzQ==} engines: {node: '>=16.9.0'} hotscript@1.0.13: @@ -3859,6 +3939,9 @@ packages: std-env@3.7.0: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + std-env@3.8.0: + resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} + strict-uri-encode@2.0.0: resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} engines: {node: '>=4'} @@ -4140,6 +4223,11 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true + vite-node@2.1.5: + resolution: {integrity: sha512-rd0QIgx74q4S1Rd56XIiL2cYEdyWn13cunYBIuqh9mpmQr7gGS0IxXoP8R6OaZtNQQLyXSWbd4rXKYUbhFpK5w==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + vite-plugin-dts@4.3.0: resolution: {integrity: sha512-LkBJh9IbLwL6/rxh0C1/bOurDrIEmRE7joC+jFdOEEciAFPbpEKOLSAr5nNh5R7CJ45cMbksTrFfy52szzC5eA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -4290,6 +4378,31 @@ packages: jsdom: optional: true + vitest@2.1.5: + resolution: {integrity: sha512-P4ljsdpuzRTPI/kbND2sDZ4VmieerR2c9szEZpjc+98Z9ebvnXmM5+0tHEKqYZumXqlvnmfWsjeFOjXVriDG7A==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.1.5 + '@vitest/ui': 2.1.5 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} @@ -4455,6 +4568,26 @@ snapshots: '@auth0/auth0-spa-js@2.1.3': {} + '@authhero/adapter-interfaces@0.21.0(hono@4.6.11)(zod@3.23.8)': + dependencies: + '@hono/zod-openapi': 0.16.4(hono@4.6.11)(zod@3.23.8) + transitivePeerDependencies: + - hono + - zod + + '@authhero/kysely-adapter@0.17.1(@planetscale/database@1.18.0)(zod@3.23.8)': + dependencies: + '@authhero/adapter-interfaces': 0.21.0(hono@4.6.11)(zod@3.23.8) + '@hono/zod-openapi': 0.16.4(hono@4.6.11)(zod@3.23.8) + hono: 4.6.11 + kysely: 0.27.4 + kysely-bun-sqlite: 0.3.2(kysely@0.27.4) + kysely-planetscale: 1.5.0(@planetscale/database@1.18.0)(kysely@0.27.4) + nanoid: 5.0.8 + transitivePeerDependencies: + - '@planetscale/database' + - zod + '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 @@ -4611,7 +4744,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.24.7 '@babel/parser': 7.24.7 '@babel/types': 7.24.7 - debug: 4.3.5 + debug: 4.3.7 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -4997,35 +5130,39 @@ snapshots: '@floating-ui/utils@0.2.3': {} - '@hono/zod-openapi@0.16.4(hono@4.6.8)(zod@3.23.8)': + '@hono/swagger-ui@0.4.1(hono@4.6.11)': + dependencies: + hono: 4.6.11 + + '@hono/zod-openapi@0.16.4(hono@4.6.11)(zod@3.23.8)': dependencies: '@asteasolutions/zod-to-openapi': 7.1.1(zod@3.23.8) - '@hono/zod-validator': 0.3.0(hono@4.6.8)(zod@3.23.8) - hono: 4.6.8 + '@hono/zod-validator': 0.3.0(hono@4.6.11)(zod@3.23.8) + hono: 4.6.11 zod: 3.23.8 - '@hono/zod-openapi@0.16.4(hono@4.6.9)(zod@3.23.8)': + '@hono/zod-openapi@0.17.0(hono@4.6.11)(zod@3.23.8)': dependencies: '@asteasolutions/zod-to-openapi': 7.1.1(zod@3.23.8) - '@hono/zod-validator': 0.3.0(hono@4.6.9)(zod@3.23.8) - hono: 4.6.9 + '@hono/zod-validator': 0.3.0(hono@4.6.11)(zod@3.23.8) + hono: 4.6.11 zod: 3.23.8 - '@hono/zod-openapi@0.17.0(hono@4.6.9)(zod@3.23.8)': + '@hono/zod-openapi@0.18.0(hono@4.6.11)(zod@3.23.8)': dependencies: '@asteasolutions/zod-to-openapi': 7.1.1(zod@3.23.8) - '@hono/zod-validator': 0.3.0(hono@4.6.9)(zod@3.23.8) - hono: 4.6.9 + '@hono/zod-validator': 0.4.1(hono@4.6.11)(zod@3.23.8) + hono: 4.6.11 zod: 3.23.8 - '@hono/zod-validator@0.3.0(hono@4.6.8)(zod@3.23.8)': + '@hono/zod-validator@0.3.0(hono@4.6.11)(zod@3.23.8)': dependencies: - hono: 4.6.8 + hono: 4.6.11 zod: 3.23.8 - '@hono/zod-validator@0.3.0(hono@4.6.9)(zod@3.23.8)': + '@hono/zod-validator@0.4.1(hono@4.6.11)(zod@3.23.8)': dependencies: - hono: 4.6.9 + hono: 4.6.11 zod: 3.23.8 '@humanwhocodes/module-importer@1.0.1': {} @@ -5101,23 +5238,23 @@ snapshots: - encoding - supports-color - '@microsoft/api-extractor-model@7.29.8(@types/node@22.9.0)': + '@microsoft/api-extractor-model@7.29.8(@types/node@22.9.1)': dependencies: '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.9.0(@types/node@22.9.0) + '@rushstack/node-core-library': 5.9.0(@types/node@22.9.1) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.47.11(@types/node@22.9.0)': + '@microsoft/api-extractor@7.47.11(@types/node@22.9.1)': dependencies: - '@microsoft/api-extractor-model': 7.29.8(@types/node@22.9.0) + '@microsoft/api-extractor-model': 7.29.8(@types/node@22.9.1) '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.9.0(@types/node@22.9.0) + '@rushstack/node-core-library': 5.9.0(@types/node@22.9.1) '@rushstack/rig-package': 0.5.3 - '@rushstack/terminal': 0.14.2(@types/node@22.9.0) - '@rushstack/ts-command-line': 4.23.0(@types/node@22.9.0) + '@rushstack/terminal': 0.14.2(@types/node@22.9.1) + '@rushstack/ts-command-line': 4.23.0(@types/node@22.9.1) lodash: 4.17.21 minimatch: 3.0.8 resolve: 1.22.8 @@ -5619,7 +5756,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.24.0': optional: true - '@rushstack/node-core-library@5.9.0(@types/node@22.9.0)': + '@rushstack/node-core-library@5.9.0(@types/node@22.9.1)': dependencies: ajv: 8.13.0 ajv-draft-04: 1.0.0(ajv@8.13.0) @@ -5630,23 +5767,23 @@ snapshots: resolve: 1.22.8 semver: 7.5.4 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 '@rushstack/rig-package@0.5.3': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.14.2(@types/node@22.9.0)': + '@rushstack/terminal@0.14.2(@types/node@22.9.1)': dependencies: - '@rushstack/node-core-library': 5.9.0(@types/node@22.9.0) + '@rushstack/node-core-library': 5.9.0(@types/node@22.9.1) supports-color: 8.1.1 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 - '@rushstack/ts-command-line@4.23.0(@types/node@22.9.0)': + '@rushstack/ts-command-line@4.23.0(@types/node@22.9.1)': dependencies: - '@rushstack/terminal': 0.14.2(@types/node@22.9.0) + '@rushstack/terminal': 0.14.2(@types/node@22.9.1) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -5727,11 +5864,7 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@22.8.6': - dependencies: - undici-types: 6.19.8 - - '@types/node@22.9.0': + '@types/node@22.9.1': dependencies: undici-types: 6.19.8 @@ -5756,7 +5889,7 @@ snapshots: '@types/ws@8.5.11': dependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 '@typescript-eslint/eslint-plugin@7.14.1(@typescript-eslint/parser@7.14.1(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)': dependencies: @@ -5944,26 +6077,37 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.4(vite@5.4.10(@types/node@22.8.6))': + '@vitest/expect@2.1.5': + dependencies: + '@vitest/spy': 2.1.5 + '@vitest/utils': 2.1.5 + chai: 5.1.2 + tinyrainbow: 1.2.0 + + '@vitest/mocker@2.1.4(vite@5.4.10(@types/node@22.9.1))': dependencies: '@vitest/spy': 2.1.4 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.10(@types/node@22.8.6) + vite: 5.4.10(@types/node@22.9.1) - '@vitest/mocker@2.1.4(vite@5.4.10(@types/node@22.9.0))': + '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.9.1))': dependencies: - '@vitest/spy': 2.1.4 + '@vitest/spy': 2.1.5 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.10(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.9.1) '@vitest/pretty-format@2.1.4': dependencies: tinyrainbow: 1.2.0 + '@vitest/pretty-format@2.1.5': + dependencies: + tinyrainbow: 1.2.0 + '@vitest/runner@1.6.0': dependencies: '@vitest/utils': 1.6.0 @@ -5975,6 +6119,11 @@ snapshots: '@vitest/utils': 2.1.4 pathe: 1.1.2 + '@vitest/runner@2.1.5': + dependencies: + '@vitest/utils': 2.1.5 + pathe: 1.1.2 + '@vitest/snapshot@1.6.0': dependencies: magic-string: 0.30.10 @@ -5987,6 +6136,12 @@ snapshots: magic-string: 0.30.12 pathe: 1.1.2 + '@vitest/snapshot@2.1.5': + dependencies: + '@vitest/pretty-format': 2.1.5 + magic-string: 0.30.12 + pathe: 1.1.2 + '@vitest/spy@1.6.0': dependencies: tinyspy: 2.2.1 @@ -5995,6 +6150,10 @@ snapshots: dependencies: tinyspy: 3.0.2 + '@vitest/spy@2.1.5': + dependencies: + tinyspy: 3.0.2 + '@vitest/utils@1.6.0': dependencies: diff-sequences: 29.6.3 @@ -6008,6 +6167,12 @@ snapshots: loupe: 3.1.2 tinyrainbow: 1.2.0 + '@vitest/utils@2.1.5': + dependencies: + '@vitest/pretty-format': 2.1.5 + loupe: 3.1.2 + tinyrainbow: 1.2.0 + '@volar/language-core@2.4.8': dependencies: '@volar/source-map': 2.4.8 @@ -6234,6 +6399,20 @@ snapshots: attr-accept@2.2.2: {} + authhero@0.9.0(zod@3.23.8): + dependencies: + '@authhero/adapter-interfaces': 0.21.0(hono@4.6.11)(zod@3.23.8) + '@hono/zod-openapi': 0.17.0(hono@4.6.11)(zod@3.23.8) + '@peculiar/x509': 1.12.3 + bcrypt: 5.1.1 + bcryptjs: 2.4.3 + hono: 4.6.11 + oslo: 1.2.1 + transitivePeerDependencies: + - encoding + - supports-color + - zod + autosuggest-highlight@3.3.4: dependencies: remove-accents: 0.4.4 @@ -6674,6 +6853,8 @@ snapshots: iterator.prototype: 1.1.3 safe-array-concat: 1.1.2 + es-module-lexer@1.5.4: {} + es-object-atoms@1.0.0: dependencies: es-errors: 1.3.0 @@ -7158,11 +7339,15 @@ snapshots: dependencies: react-is: 16.13.1 - hono@4.4.10: {} + hono-openapi-middlewares@1.0.11(@hono/zod-openapi@0.18.0(hono@4.6.11)(zod@3.23.8))(hono@4.6.11)(zod@3.23.8): + dependencies: + '@hono/zod-openapi': 0.18.0(hono@4.6.11)(zod@3.23.8) + hono: 4.6.11 + zod: 3.23.8 - hono@4.6.8: {} + hono@4.4.10: {} - hono@4.6.9: {} + hono@4.6.11: {} hotscript@1.0.13: {} @@ -8370,6 +8555,8 @@ snapshots: std-env@3.7.0: {} + std-env@3.8.0: {} + strict-uri-encode@2.0.0: {} string-argv@0.3.2: {} @@ -8669,12 +8856,12 @@ snapshots: - supports-color - terser - vite-node@2.1.4(@types/node@22.8.6): + vite-node@2.1.4(@types/node@22.9.1): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 - vite: 5.4.11(@types/node@22.8.6) + vite: 5.4.11(@types/node@22.9.1) transitivePeerDependencies: - '@types/node' - less @@ -8686,12 +8873,13 @@ snapshots: - supports-color - terser - vite-node@2.1.4(@types/node@22.9.0): + vite-node@2.1.5(@types/node@22.9.1): dependencies: cac: 6.7.14 debug: 4.3.7 + es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.11(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.9.1) transitivePeerDependencies: - '@types/node' - less @@ -8703,9 +8891,9 @@ snapshots: - supports-color - terser - vite-plugin-dts@4.3.0(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)): + vite-plugin-dts@4.3.0(@types/node@22.9.1)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.1)): dependencies: - '@microsoft/api-extractor': 7.47.11(@types/node@22.9.0) + '@microsoft/api-extractor': 7.47.11(@types/node@22.9.1) '@rollup/pluginutils': 5.1.0(rollup@4.24.0) '@volar/typescript': 2.4.8 '@vue/language-core': 2.1.6(typescript@5.6.3) @@ -8716,7 +8904,7 @@ snapshots: magic-string: 0.30.12 typescript: 5.6.3 optionalDependencies: - vite: 5.4.11(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.9.1) transitivePeerDependencies: - '@types/node' - rollup @@ -8731,22 +8919,13 @@ snapshots: '@types/node': 20.14.9 fsevents: 2.3.3 - vite@5.4.10(@types/node@22.8.6): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.24.0 - optionalDependencies: - '@types/node': 22.8.6 - fsevents: 2.3.3 - - vite@5.4.10(@types/node@22.9.0): + vite@5.4.10(@types/node@22.9.1): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 fsevents: 2.3.3 vite@5.4.11(@types/node@20.14.9): @@ -8758,22 +8937,13 @@ snapshots: '@types/node': 20.14.9 fsevents: 2.3.3 - vite@5.4.11(@types/node@22.8.6): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.24.0 - optionalDependencies: - '@types/node': 22.8.6 - fsevents: 2.3.3 - - vite@5.4.11(@types/node@22.9.0): + vite@5.4.11(@types/node@22.9.1): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 fsevents: 2.3.3 vitest@1.6.0(@types/node@20.14.9)(jsdom@24.1.0): @@ -8811,10 +8981,10 @@ snapshots: - supports-color - terser - vitest@2.1.4(@types/node@22.8.6)(jsdom@24.1.0): + vitest@2.1.4(@types/node@22.9.1)(jsdom@24.1.0): dependencies: '@vitest/expect': 2.1.4 - '@vitest/mocker': 2.1.4(vite@5.4.10(@types/node@22.8.6)) + '@vitest/mocker': 2.1.4(vite@5.4.10(@types/node@22.9.1)) '@vitest/pretty-format': 2.1.4 '@vitest/runner': 2.1.4 '@vitest/snapshot': 2.1.4 @@ -8830,11 +9000,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@22.8.6) - vite-node: 2.1.4(@types/node@22.8.6) + vite: 5.4.10(@types/node@22.9.1) + vite-node: 2.1.4(@types/node@22.9.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.8.6 + '@types/node': 22.9.1 jsdom: 24.1.0 transitivePeerDependencies: - less @@ -8847,30 +9017,30 @@ snapshots: - supports-color - terser - vitest@2.1.4(@types/node@22.9.0)(jsdom@24.1.0): + vitest@2.1.5(@types/node@22.9.1)(jsdom@24.1.0): dependencies: - '@vitest/expect': 2.1.4 - '@vitest/mocker': 2.1.4(vite@5.4.10(@types/node@22.9.0)) - '@vitest/pretty-format': 2.1.4 - '@vitest/runner': 2.1.4 - '@vitest/snapshot': 2.1.4 - '@vitest/spy': 2.1.4 - '@vitest/utils': 2.1.4 + '@vitest/expect': 2.1.5 + '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.9.1)) + '@vitest/pretty-format': 2.1.5 + '@vitest/runner': 2.1.5 + '@vitest/snapshot': 2.1.5 + '@vitest/spy': 2.1.5 + '@vitest/utils': 2.1.5 chai: 5.1.2 debug: 4.3.7 expect-type: 1.1.0 magic-string: 0.30.12 pathe: 1.1.2 - std-env: 3.7.0 + std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@22.9.0) - vite-node: 2.1.4(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.9.1) + vite-node: 2.1.5(@types/node@22.9.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.9.1 jsdom: 24.1.0 transitivePeerDependencies: - less