From 87be44000987c41209fbb79c1a0c95dcf31fadfa Mon Sep 17 00:00:00 2001 From: Milan Raj Date: Sun, 16 Mar 2025 04:57:44 -0500 Subject: [PATCH 01/81] feat(oidc-auth) Add initOidcAuthMiddleware and avoid mutating environment variables (#980) * Add setOidcAuthEnv * Avoid test relying on mutated global * Test and docs * Changeset * style * Update type import * Switch to setOidcAuthEnvMiddleware * Update changeset description * nit remove unneeded optional param on getOidcAuthEnv * Rename to initOidcAuthMiddleware --- .changeset/cold-ties-sin.md | 5 ++ packages/oidc-auth/README.md | 24 +++++- packages/oidc-auth/src/index.test.ts | 42 ++++++++++- packages/oidc-auth/src/index.ts | 109 ++++++++++++++++++--------- 4 files changed, 140 insertions(+), 40 deletions(-) create mode 100644 .changeset/cold-ties-sin.md diff --git a/.changeset/cold-ties-sin.md b/.changeset/cold-ties-sin.md new file mode 100644 index 00000000..123764dc --- /dev/null +++ b/.changeset/cold-ties-sin.md @@ -0,0 +1,5 @@ +--- +'@hono/oidc-auth': minor +--- + +Add initOidcAuthMiddleware() and avoid mutating environment variables diff --git a/packages/oidc-auth/README.md b/packages/oidc-auth/README.md index 369cf489..10158dd5 100644 --- a/packages/oidc-auth/README.md +++ b/packages/oidc-auth/README.md @@ -41,9 +41,9 @@ npm i hono @hono/oidc-auth ## Configuration -The middleware requires the following environment variables to be set: +The middleware requires the following variables to be set as either environment variables or by calling `initOidcAuthMiddleware`: -| Environment Variable | Description | Default Value | +| Variable | Description | Default Value | | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | | OIDC_AUTH_SECRET | The secret key used for signing the session JWT. It is used to verify the JWT in the cookie and prevent tampering. (Must be at least 32 characters long) | None, must be provided | | OIDC_AUTH_REFRESH_INTERVAL | The interval (in seconds) at which the session should be implicitly refreshed. | 15 \* 60 (15 minutes) | @@ -140,6 +140,26 @@ Note: If explicit logout is not required, the logout handler can be omitted. If the middleware is applied to the callback URL, the default callback handling in the middleware can be used, so the explicit callback handling is not required. +## Programmatically configure auth variables + +```typescript +// Before other oidc-auth APIs are used +app.use(initOidcAuthMiddleware(config)); +``` + +Or to leverage context, use the [`Context access inside Middleware arguments`](https://hono.dev/docs/guides/middleware#context-access-inside-middleware-arguments) pattern. + +```typescript +// Before other oidc-auth APIs are used +app.use(async (c, next) => { + const config = { + // Create config using context + } + const middleware = initOidcAuthMiddleware(config) + return middleware(c, next) +}) +``` + ## Author Yoshio HANAWA diff --git a/packages/oidc-auth/src/index.test.ts b/packages/oidc-auth/src/index.test.ts index 3eef1b54..4498b9d8 100644 --- a/packages/oidc-auth/src/index.test.ts +++ b/packages/oidc-auth/src/index.test.ts @@ -1,5 +1,6 @@ import { Hono } from 'hono' import jwt from 'jsonwebtoken' +import type * as oauth2 from 'oauth4webapi' import crypto from 'node:crypto' const MOCK_ISSUER = 'https://accounts.google.com' @@ -156,7 +157,7 @@ vi.mock(import('oauth4webapi'), async (importOriginal) => { } }) -const { oidcAuthMiddleware, getAuth, processOAuthCallback, revokeSession } = await import('../src') +const { oidcAuthMiddleware, getAuth, processOAuthCallback, revokeSession, initOidcAuthMiddleware, getClient } = await import('../src') const app = new Hono() app.get('/logout', async (c) => { @@ -482,6 +483,7 @@ describe('processOAuthCallback()', () => { }) test('Should respond with custom cookie name', async () => { const MOCK_COOKIE_NAME = (process.env.OIDC_COOKIE_NAME = 'custom-auth-cookie') + const defaultOidcAuthCookiePath = '/' const req = new Request(`${MOCK_REDIRECT_URI}?code=1234&state=${MOCK_STATE}`, { method: 'GET', headers: { @@ -493,7 +495,7 @@ describe('processOAuthCallback()', () => { expect(res.status).toBe(302) expect(res.headers.get('set-cookie')).toMatch( new RegExp( - `${MOCK_COOKIE_NAME}=[^;]+; Path=${process.env.OIDC_COOKIE_PATH}; HttpOnly; Secure` + `${MOCK_COOKIE_NAME}=[^;]+; Path=${defaultOidcAuthCookiePath}; HttpOnly; Secure` ) ) }) @@ -558,3 +560,39 @@ describe('RevokeSession()', () => { ) }) }) +describe('initOidcAuthMiddleware()', () => { + test('Should error if not called first in context', async () => { + const app = new Hono() + app.use('/*', oidcAuthMiddleware()) + app.use(initOidcAuthMiddleware({})) + const req = new Request('http://localhost/', { + method: 'GET', + headers: { cookie: `oidc-auth=${MOCK_JWT_ACTIVE_SESSION}` }, + }) + const res = await app.request(req, {}, {}) + expect(res).not.toBeNull() + expect(res.status).toBe(500) + }) + test('Should prefer programmatically configured varaiables', async () => { + let client: oauth2.Client | undefined + const CUSTOM_OIDC_CLIENT_ID = 'custom-client-id' + const CUSTOM_OIDC_CLIENT_SECRET = 'custom-client-secret' + const app = new Hono() + app.use(initOidcAuthMiddleware({ + OIDC_CLIENT_ID: CUSTOM_OIDC_CLIENT_ID, + OIDC_CLIENT_SECRET: CUSTOM_OIDC_CLIENT_SECRET + })) + app.use(async (c) => { + client = getClient(c) + return c.text('finished') + }) + const req = new Request('http://localhost/', { + method: 'GET' + }) + const res = await app.request(req, {}, {}) + expect(res).not.toBeNull() + expect(res.status).toBe(200) + expect(client?.client_id).toBe(CUSTOM_OIDC_CLIENT_ID) + expect(client?.client_secret).toBe(CUSTOM_OIDC_CLIENT_SECRET) + }) +}) diff --git a/packages/oidc-auth/src/index.ts b/packages/oidc-auth/src/index.ts index 8b1c714c..601c652d 100644 --- a/packages/oidc-auth/src/index.ts +++ b/packages/oidc-auth/src/index.ts @@ -46,7 +46,7 @@ export type OidcAuth = { ssnexp: number // session expiration time; if it's expired, revoke session and redirect to IdP } & OidcAuthClaims -type OidcAuthEnv = { +export type OidcAuthEnv = { OIDC_AUTH_SECRET: string OIDC_AUTH_REFRESH_INTERVAL?: string OIDC_AUTH_EXPIRES?: string @@ -60,47 +60,84 @@ type OidcAuthEnv = { OIDC_COOKIE_DOMAIN?: string } +/** + * Configure the OIDC variables programmatically. + * If used, should be called before any other OIDC middleware or functions for the Hono context. + * Unconfigured values will fallback to environment variables. + */ +export const initOidcAuthMiddleware = (config: Partial) => { + return createMiddleware(async (c, next) => { + setOidcAuthEnv(c, config) + await next() + }) +} + +/** + * Configure the OIDC variables. + */ +const setOidcAuthEnv = (c: Context, config?: Partial) => { + const currentOidcAuthEnv = c.get('oidcAuthEnv') + if (currentOidcAuthEnv !== undefined) { + throw new HTTPException(500, { message: 'OIDC Auth env is already configured' }) + } + const ev = env>(c) + const oidcAuthEnv = { + OIDC_AUTH_SECRET: config?.OIDC_AUTH_SECRET ?? ev.OIDC_AUTH_SECRET, + OIDC_AUTH_REFRESH_INTERVAL: config?.OIDC_AUTH_REFRESH_INTERVAL ?? ev.OIDC_AUTH_REFRESH_INTERVAL, + OIDC_AUTH_EXPIRES: config?.OIDC_AUTH_EXPIRES ?? ev.OIDC_AUTH_EXPIRES, + OIDC_ISSUER: config?.OIDC_ISSUER ?? ev.OIDC_ISSUER, + OIDC_CLIENT_ID: config?.OIDC_CLIENT_ID ?? ev.OIDC_CLIENT_ID, + OIDC_CLIENT_SECRET: config?.OIDC_CLIENT_SECRET ?? ev.OIDC_CLIENT_SECRET, + OIDC_REDIRECT_URI: config?.OIDC_REDIRECT_URI ?? ev.OIDC_REDIRECT_URI, + OIDC_SCOPES: config?.OIDC_SCOPES ?? ev.OIDC_SCOPES, + OIDC_COOKIE_PATH: config?.OIDC_COOKIE_PATH ?? ev.OIDC_COOKIE_PATH, + OIDC_COOKIE_NAME: config?.OIDC_COOKIE_NAME ?? ev.OIDC_COOKIE_NAME, + OIDC_COOKIE_DOMAIN: config?.OIDC_COOKIE_DOMAIN ?? ev.OIDC_COOKIE_DOMAIN, + } + if (oidcAuthEnv.OIDC_AUTH_SECRET === undefined) { + throw new HTTPException(500, { message: 'Session secret is not provided' }) + } + if (oidcAuthEnv.OIDC_AUTH_SECRET.length < 32) { + throw new HTTPException(500, { + message: 'Session secrets must be at least 32 characters long', + }) + } + if (oidcAuthEnv.OIDC_ISSUER === undefined) { + throw new HTTPException(500, { message: 'OIDC issuer is not provided' }) + } + if (oidcAuthEnv.OIDC_CLIENT_ID === undefined) { + throw new HTTPException(500, { message: 'OIDC client ID is not provided' }) + } + if (oidcAuthEnv.OIDC_CLIENT_SECRET === undefined) { + throw new HTTPException(500, { message: 'OIDC client secret is not provided' }) + } + oidcAuthEnv.OIDC_REDIRECT_URI = oidcAuthEnv.OIDC_REDIRECT_URI ?? defaultOidcRedirectUri + if (!oidcAuthEnv.OIDC_REDIRECT_URI.startsWith('/')) { + try { + new URL(oidcAuthEnv.OIDC_REDIRECT_URI) + } catch (e) { + throw new HTTPException(500, { + message: 'The OIDC redirect URI is invalid. It must be a full URL or an absolute path', + }) + } + } + oidcAuthEnv.OIDC_COOKIE_PATH = oidcAuthEnv.OIDC_COOKIE_PATH ?? defaultOidcAuthCookiePath + oidcAuthEnv.OIDC_COOKIE_NAME = oidcAuthEnv.OIDC_COOKIE_NAME ?? defaultOidcAuthCookieName + oidcAuthEnv.OIDC_AUTH_REFRESH_INTERVAL = + oidcAuthEnv.OIDC_AUTH_REFRESH_INTERVAL ?? `${defaultRefreshInterval}` + oidcAuthEnv.OIDC_AUTH_EXPIRES = oidcAuthEnv.OIDC_AUTH_EXPIRES ?? `${defaultExpirationInterval}` + oidcAuthEnv.OIDC_SCOPES = oidcAuthEnv.OIDC_SCOPES ?? '' + c.set('oidcAuthEnv', oidcAuthEnv) +} + /** * Returns the environment variables for OIDC-auth middleware. */ const getOidcAuthEnv = (c: Context) => { let oidcAuthEnv = c.get('oidcAuthEnv') if (oidcAuthEnv === undefined) { - oidcAuthEnv = env(c) - if (oidcAuthEnv.OIDC_AUTH_SECRET === undefined) { - throw new HTTPException(500, { message: 'Session secret is not provided' }) - } - if (oidcAuthEnv.OIDC_AUTH_SECRET.length < 32) { - throw new HTTPException(500, { - message: 'Session secrets must be at least 32 characters long', - }) - } - if (oidcAuthEnv.OIDC_ISSUER === undefined) { - throw new HTTPException(500, { message: 'OIDC issuer is not provided' }) - } - if (oidcAuthEnv.OIDC_CLIENT_ID === undefined) { - throw new HTTPException(500, { message: 'OIDC client ID is not provided' }) - } - if (oidcAuthEnv.OIDC_CLIENT_SECRET === undefined) { - throw new HTTPException(500, { message: 'OIDC client secret is not provided' }) - } - oidcAuthEnv.OIDC_REDIRECT_URI = oidcAuthEnv.OIDC_REDIRECT_URI ?? defaultOidcRedirectUri - if (!oidcAuthEnv.OIDC_REDIRECT_URI.startsWith('/')) { - try { - new URL(oidcAuthEnv.OIDC_REDIRECT_URI) - } catch (e) { - throw new HTTPException(500, { - message: 'The OIDC redirect URI is invalid. It must be a full URL or an absolute path', - }) - } - } - oidcAuthEnv.OIDC_COOKIE_PATH = oidcAuthEnv.OIDC_COOKIE_PATH ?? defaultOidcAuthCookiePath - oidcAuthEnv.OIDC_COOKIE_NAME = oidcAuthEnv.OIDC_COOKIE_NAME ?? defaultOidcAuthCookieName - oidcAuthEnv.OIDC_AUTH_REFRESH_INTERVAL = - oidcAuthEnv.OIDC_AUTH_REFRESH_INTERVAL ?? `${defaultRefreshInterval}` - oidcAuthEnv.OIDC_AUTH_EXPIRES = oidcAuthEnv.OIDC_AUTH_EXPIRES ?? `${defaultExpirationInterval}` - oidcAuthEnv.OIDC_SCOPES = oidcAuthEnv.OIDC_SCOPES ?? '' - c.set('oidcAuthEnv', oidcAuthEnv) + setOidcAuthEnv(c) + oidcAuthEnv = c.get('oidcAuthEnv') } return oidcAuthEnv as Required } From b810c64c3de382c522d979eda09f8661490a5a98 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 19:09:11 +0900 Subject: [PATCH 02/81] Version Packages (#1018) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/cold-ties-sin.md | 5 ----- packages/oidc-auth/CHANGELOG.md | 6 ++++++ packages/oidc-auth/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/cold-ties-sin.md diff --git a/.changeset/cold-ties-sin.md b/.changeset/cold-ties-sin.md deleted file mode 100644 index 123764dc..00000000 --- a/.changeset/cold-ties-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/oidc-auth': minor ---- - -Add initOidcAuthMiddleware() and avoid mutating environment variables diff --git a/packages/oidc-auth/CHANGELOG.md b/packages/oidc-auth/CHANGELOG.md index 1bbd05b6..12495d95 100644 --- a/packages/oidc-auth/CHANGELOG.md +++ b/packages/oidc-auth/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/oidc-auth +## 1.5.0 + +### Minor Changes + +- [#980](https://github.com/honojs/middleware/pull/980) [`87be44000987c41209fbb79c1a0c95dcf31fadfa`](https://github.com/honojs/middleware/commit/87be44000987c41209fbb79c1a0c95dcf31fadfa) Thanks [@rajsite](https://github.com/rajsite)! - Add initOidcAuthMiddleware() and avoid mutating environment variables + ## 1.4.1 ### Patch Changes diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index f0b35445..f08a59c3 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -1,6 +1,6 @@ { "name": "@hono/oidc-auth", - "version": "1.4.1", + "version": "1.5.0", "description": "OpenID Connect Authentication middleware for Hono", "type": "module", "main": "dist/index.js", From fc56cf2ae33557465ce02220e05dad0f96c2e5d3 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 18 Mar 2025 01:38:56 +1100 Subject: [PATCH 03/81] ci: run workspace scripts (#1015) * ci: run workspace scripts * ci: remove run option * ci: remvoe default working directory * test(firebase-auth): start emulator in vitest --- .github/workflows/ci-ajv-validator.yml | 9 +- .github/workflows/ci-arktype-validator.yml | 9 +- .github/workflows/ci-auth-js.yml | 9 +- .github/workflows/ci-bun-transpiler.yml | 9 +- .github/workflows/ci-casbin.yml | 9 +- .github/workflows/ci-class-validator.yml | 9 +- .github/workflows/ci-clerk-auth.yml | 9 +- .github/workflows/ci-cloudflare-access.yml | 9 +- .github/workflows/ci-conform-validator.yml | 9 +- .github/workflows/ci-effect-validator.yml | 9 +- .github/workflows/ci-esbuild-transpiler.yml | 9 +- .github/workflows/ci-event-emitter.yml | 9 +- .github/workflows/ci-firebase-auth.yml | 9 +- .github/workflows/ci-graphql-server.yml | 9 +- .github/workflows/ci-hello.yml | 9 +- .github/workflows/ci-medley-router.yml | 9 +- .github/workflows/ci-node-ws.yml | 9 +- .github/workflows/ci-oauth-providers.yml | 9 +- .github/workflows/ci-oidc-auth.yml | 9 +- .github/workflows/ci-otel.yml | 9 +- .github/workflows/ci-prometheus.yml | 9 +- .github/workflows/ci-react-renderer.yml | 9 +- .github/workflows/ci-sentry.yml | 9 +- .github/workflows/ci-standard-validator.yml | 9 +- .github/workflows/ci-swagger-editor.yml | 9 +- .github/workflows/ci-swagger-ui.yml | 9 +- .github/workflows/ci-trpc-server.yml | 9 +- .github/workflows/ci-tsyringe.yml | 9 +- .github/workflows/ci-typebox-validator.yml | 9 +- .github/workflows/ci-typia-validator.yml | 9 +- .github/workflows/ci-valibot-validator.yml | 9 +- .github/workflows/ci-zod-openapi.yml | 9 +- .github/workflows/ci-zod-validator.yml | 9 +- package.json | 5 +- packages/ajv-validator/package.json | 3 +- packages/clerk-auth/package.json | 1 + packages/firebase-auth/firebase-tools.d.ts | 22 + packages/firebase-auth/vitest.config.ts | 22 + packages/otel/package.json | 2 +- packages/otel/vitest.config.ts | 5 +- packages/react-renderer/package.json | 2 +- packages/swagger-ui/package.json | 1 - packages/typia-validator/package.json | 1 - yarn.lock | 575 +++----------------- 44 files changed, 228 insertions(+), 708 deletions(-) create mode 100644 packages/firebase-auth/firebase-tools.d.ts diff --git a/.github/workflows/ci-ajv-validator.yml b/.github/workflows/ci-ajv-validator.yml index 46ef330e..7bcd8fad 100644 --- a/.github/workflows/ci-ajv-validator.yml +++ b/.github/workflows/ci-ajv-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/ajv-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/ajv-validator + - run: yarn workspace @hono/ajv-validator build + - run: yarn test --project @hono/ajv-validator diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index e0404ac9..d23f2bdd 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/arktype-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/arktype-validator + - run: yarn workspace @hono/arktype-validator build + - run: yarn test --project @hono/arktype-validator diff --git a/.github/workflows/ci-auth-js.yml b/.github/workflows/ci-auth-js.yml index ae16eb53..afe7fb64 100644 --- a/.github/workflows/ci-auth-js.yml +++ b/.github/workflows/ci-auth-js.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/auth-js steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/auth-js + - run: yarn workspace @hono/auth-js build + - run: yarn test --project @hono/auth-js diff --git a/.github/workflows/ci-bun-transpiler.yml b/.github/workflows/ci-bun-transpiler.yml index 10835513..13a76e96 100644 --- a/.github/workflows/ci-bun-transpiler.yml +++ b/.github/workflows/ci-bun-transpiler.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/bun-transpiler steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 with: bun-version: 1.1.32 - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/bun-transpiler + - run: yarn workspace @hono/bun-transpiler build + - run: yarn workspace @hono/bun-transpiler test diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index 8d3d36c3..fb92cf85 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/cabin steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/ci-cabin + - run: yarn workspace @hono/ci-cabin build + - run: yarn test --project @hono/ci-cabin diff --git a/.github/workflows/ci-class-validator.yml b/.github/workflows/ci-class-validator.yml index b34269a0..d40bdf19 100644 --- a/.github/workflows/ci-class-validator.yml +++ b/.github/workflows/ci-class-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/class-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/class-validator + - run: yarn workspace @hono/class-validator build + - run: yarn test --project @hono/class-validator diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index b00ed45e..6568dc27 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/clerk-auth steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/clerk-auth + - run: yarn workspace @hono/clerk-auth build + - run: yarn test --project @hono/clerk-auth diff --git a/.github/workflows/ci-cloudflare-access.yml b/.github/workflows/ci-cloudflare-access.yml index 5217427b..cbf68c01 100644 --- a/.github/workflows/ci-cloudflare-access.yml +++ b/.github/workflows/ci-cloudflare-access.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/cloudflare-access steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/cloudflare-access + - run: yarn workspace @hono/cloudflare-access build + - run: yarn test --project @hono/cloudflare-access diff --git a/.github/workflows/ci-conform-validator.yml b/.github/workflows/ci-conform-validator.yml index 1ed7a98c..d4b9e529 100644 --- a/.github/workflows/ci-conform-validator.yml +++ b/.github/workflows/ci-conform-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/conform-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/conform-validator + - run: yarn workspace @hono/conform-validator build + - run: yarn test --project @hono/conform-validator diff --git a/.github/workflows/ci-effect-validator.yml b/.github/workflows/ci-effect-validator.yml index 810b6015..d6a95773 100644 --- a/.github/workflows/ci-effect-validator.yml +++ b/.github/workflows/ci-effect-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/effect-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/effect-validator + - run: yarn workspace @hono/effect-validator build + - run: yarn test --project @hono/effect-validator diff --git a/.github/workflows/ci-esbuild-transpiler.yml b/.github/workflows/ci-esbuild-transpiler.yml index e2258894..07ae9c95 100644 --- a/.github/workflows/ci-esbuild-transpiler.yml +++ b/.github/workflows/ci-esbuild-transpiler.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/esbuild-transpiler steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler + - run: yarn workspace @hono/esbuild-transpiler build + - run: yarn test --project @hono/esbuild-transpiler diff --git a/.github/workflows/ci-event-emitter.yml b/.github/workflows/ci-event-emitter.yml index 0239f5a2..9b78ad3b 100644 --- a/.github/workflows/ci-event-emitter.yml +++ b/.github/workflows/ci-event-emitter.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/event-emitter steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/event-emitter + - run: yarn workspace @hono/event-emitter build + - run: yarn test --project @hono/event-emitter diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index 5e8fea0b..b552f0e4 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/firebase-auth steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test-with-emulator + - run: yarn workspaces focus hono-middleware @hono/firebase-auth + - run: yarn workspace @hono/firebase-auth build + - run: yarn test --project @hono/firebase-auth diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index c6ec5f9c..c73c0e85 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/graphql-server steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/graphql-server + - run: yarn workspace @hono/graphql-server build + - run: yarn test --project @hono/graphql-server diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index 52646813..4348b0ff 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/hello steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/hello + - run: yarn workspace @hono/hello build + - run: yarn test --project @hono/hello diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index 02f333ba..71a1e1fc 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/medley-router steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/medley-router + - run: yarn workspace @hono/medley-router build + - run: yarn test --project @hono/medley-router diff --git a/.github/workflows/ci-node-ws.yml b/.github/workflows/ci-node-ws.yml index 4c4c7d97..228e911b 100644 --- a/.github/workflows/ci-node-ws.yml +++ b/.github/workflows/ci-node-ws.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/node-ws steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/node-ws + - run: yarn workspace @hono/node-ws build + - run: yarn test --project @hono/node-ws diff --git a/.github/workflows/ci-oauth-providers.yml b/.github/workflows/ci-oauth-providers.yml index 1ca63d0c..6bb216cb 100644 --- a/.github/workflows/ci-oauth-providers.yml +++ b/.github/workflows/ci-oauth-providers.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/oauth-providers steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/oauth-providers + - run: yarn workspace @hono/oauth-providers build + - run: yarn test --project @hono/oauth-providers diff --git a/.github/workflows/ci-oidc-auth.yml b/.github/workflows/ci-oidc-auth.yml index ea407bc3..4aeae936 100644 --- a/.github/workflows/ci-oidc-auth.yml +++ b/.github/workflows/ci-oidc-auth.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/oidc-auth steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/oidc-auth + - run: yarn workspace @hono/oidc-auth build + - run: yarn test --project @hono/oidc-auth diff --git a/.github/workflows/ci-otel.yml b/.github/workflows/ci-otel.yml index fae19ce6..d6ade343 100644 --- a/.github/workflows/ci-otel.yml +++ b/.github/workflows/ci-otel.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/otel steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/otel + - run: yarn workspace @hono/otel build + - run: yarn test --project @hono/otel diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index e38c1392..816558e2 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/prometheus steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/prometheus + - run: yarn workspace @hono/prometheus build + - run: yarn test --project @hono/prometheus diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index 3ff93941..c1d000cb 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/react-renderer steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/react-renderer + - run: yarn workspace @hono/react-renderer build + - run: yarn test --project @hono/react-renderer diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index f0a1056d..d9f6d889 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/sentry steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/sentry + - run: yarn workspace @hono/sentry build + - run: yarn test --project @hono/sentry diff --git a/.github/workflows/ci-standard-validator.yml b/.github/workflows/ci-standard-validator.yml index 1477a4a1..e2f008dd 100644 --- a/.github/workflows/ci-standard-validator.yml +++ b/.github/workflows/ci-standard-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/standard-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/standard-validator + - run: yarn workspace @hono/standard-validator build + - run: yarn test --project @hono/standard-validator diff --git a/.github/workflows/ci-swagger-editor.yml b/.github/workflows/ci-swagger-editor.yml index 0c9eec4e..685204ad 100644 --- a/.github/workflows/ci-swagger-editor.yml +++ b/.github/workflows/ci-swagger-editor.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/swagger-editor steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/swagger-editor + - run: yarn workspace @hono/swagger-editor build + - run: yarn test --project @hono/swagger-editor diff --git a/.github/workflows/ci-swagger-ui.yml b/.github/workflows/ci-swagger-ui.yml index 0b0744b6..c776bbfe 100644 --- a/.github/workflows/ci-swagger-ui.yml +++ b/.github/workflows/ci-swagger-ui.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/swagger-ui steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/swagger-ui + - run: yarn workspace @hono/swagger-ui build + - run: yarn test --project @hono/swagger-ui diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index 0405f585..5085b7e0 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/trpc-server steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/trpc-server + - run: yarn workspace @hono/trpc-server build + - run: yarn test --project @hono/trpc-server diff --git a/.github/workflows/ci-tsyringe.yml b/.github/workflows/ci-tsyringe.yml index 76ff993a..75f093e9 100644 --- a/.github/workflows/ci-tsyringe.yml +++ b/.github/workflows/ci-tsyringe.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/tsyringe steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/tsyringe + - run: yarn workspace @hono/tsyringe build + - run: yarn test --project @hono/tsyringe diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index 0f37b7b8..c4a4cdfe 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/typebox-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/typebox-validator + - run: yarn workspace @hono/typebox-validator build + - run: yarn test --project @hono/typebox-validator diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index df9bee3d..168c4523 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/typia-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/typia-validator + - run: yarn workspace @hono/typia-validator build + - run: yarn test --project @hono/typia-validator diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index 92b9ee7f..755fda3d 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/valibot-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/valibot-validator + - run: yarn workspace @hono/valibot-validator build + - run: yarn test --project @hono/valibot-validator diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index fcef3252..a72ec7c1 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/zod-openapi steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/zod-openapi + - run: yarn workspace @hono/zod-openapi build + - run: yarn test --project @hono/zod-openapi diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index a0694761..53b4a3d5 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -12,14 +12,11 @@ on: jobs: ci: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/zod-validator steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 18.x - - run: yarn install --frozen-lockfile - - run: yarn build - - run: yarn test + - run: yarn workspaces focus hono-middleware @hono/zod-validator + - run: yarn workspace @hono/zod-validator build + - run: yarn test --project @hono/zod-validator diff --git a/package.json b/package.json index 47439431..be37c38f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "build:cloudflare-access": "yarn workspace @hono/cloudflare-access build", "build:standard-validator": "yarn workspace @hono/standard-validator build", "build:otel": "yarn workspace @hono/otel build", - "build": "run-p 'build:*'", + "build": "yarn workspaces foreach -Aptv run build", + "test": "vitest", "lint": "eslint 'packages/**/*.{ts,tsx}'", "lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'", "format": "prettier --check 'packages/**/*.{ts,tsx}'", @@ -58,7 +59,9 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.0", + "@cloudflare/vitest-pool-workers": "^0.7.8", "@cloudflare/workers-types": "^4.20230307.0", + "@ryoppippi/unplugin-typia": "^1.2.0", "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", diff --git a/packages/ajv-validator/package.json b/packages/ajv-validator/package.json index 1748a1a1..9a5f514e 100644 --- a/packages/ajv-validator/package.json +++ b/packages/ajv-validator/package.json @@ -44,6 +44,7 @@ "ajv": ">=8.12.0", "hono": "^4.4.12", "tsup": "^8.1.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/clerk-auth/package.json b/packages/clerk-auth/package.json index 9614c15b..a84af5c4 100644 --- a/packages/clerk-auth/package.json +++ b/packages/clerk-auth/package.json @@ -48,6 +48,7 @@ "node-fetch-native": "^1.4.0", "react": "^18.2.0", "tsup": "^8.0.1", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/firebase-auth/firebase-tools.d.ts b/packages/firebase-auth/firebase-tools.d.ts new file mode 100644 index 00000000..448bb299 --- /dev/null +++ b/packages/firebase-auth/firebase-tools.d.ts @@ -0,0 +1,22 @@ +declare module 'firebase-tools' { + const client: { + emulators: { + start(options: { + cwd: string + nonInteractive: boolean + project: string + projectDir: string + }): Promise + } + } + + export = client +} + +declare module 'firebase-tools/lib/emulator/controller' { + const controller: { + cleanShutdown(): Promise + } + + export = controller +} diff --git a/packages/firebase-auth/vitest.config.ts b/packages/firebase-auth/vitest.config.ts index 74923f8c..d8d7d710 100644 --- a/packages/firebase-auth/vitest.config.ts +++ b/packages/firebase-auth/vitest.config.ts @@ -1,7 +1,29 @@ +import type { Plugin } from 'vitest/config' import { defineProject } from 'vitest/config' +const firebasePlugin = { + name: 'firebase', + async configureServer(server) { + const { default: client } = await import('firebase-tools') + + void client.emulators.start({ + cwd: server.config.root, + nonInteractive: true, + project: 'example-project12345', + projectDir: server.config.root, + }) + }, + async buildEnd() { + const { default: controller } = await import('firebase-tools/lib/emulator/controller') + + await controller.cleanShutdown() + }, +} satisfies Plugin + export default defineProject({ test: { globals: true, }, + + plugins: [firebasePlugin], }) diff --git a/packages/otel/package.json b/packages/otel/package.json index 1e75761b..e21219bb 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -48,6 +48,6 @@ "@opentelemetry/sdk-trace-node": "^1.30.0", "hono": "^4.4.12", "tsup": "^8.1.0", - "vitest": "^1.6.0" + "vitest": "^3.0.8" } } diff --git a/packages/otel/vitest.config.ts b/packages/otel/vitest.config.ts index 17b54e48..74923f8c 100644 --- a/packages/otel/vitest.config.ts +++ b/packages/otel/vitest.config.ts @@ -1,7 +1,6 @@ -/// -import { defineConfig } from 'vitest/config' +import { defineProject } from 'vitest/config' -export default defineConfig({ +export default defineProject({ test: { globals: true, }, diff --git a/packages/react-renderer/package.json b/packages/react-renderer/package.json index 7897b9cb..26f4e35a 100644 --- a/packages/react-renderer/package.json +++ b/packages/react-renderer/package.json @@ -35,7 +35,6 @@ "hono": "*" }, "devDependencies": { - "@cloudflare/vitest-pool-workers": "^0.7.6", "@types/react": "^18", "@types/react-dom": "^18.2.17", "esbuild": "^0.20.2", @@ -43,6 +42,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "tsup": "^8.0.1", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/swagger-ui/package.json b/packages/swagger-ui/package.json index 6be37103..874bf208 100644 --- a/packages/swagger-ui/package.json +++ b/packages/swagger-ui/package.json @@ -45,7 +45,6 @@ "hono": "^3.11.7", "publint": "^0.2.2", "tsup": "^7.2.0", - "vite": "^4.4.9", "vitest": "^3.0.8" } } diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 97c5e529..bf508b4a 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -46,7 +46,6 @@ "typia": "^7.0.0" }, "devDependencies": { - "@ryoppippi/unplugin-typia": "^1.2.0", "hono": "^3.11.7", "rimraf": "^5.0.5", "typescript": "^5.4.0", diff --git a/yarn.lock b/yarn.lock index 74260887..7a495875 100644 --- a/yarn.lock +++ b/yarn.lock @@ -544,36 +544,36 @@ __metadata: languageName: node linkType: hard -"@cloudflare/unenv-preset@npm:2.0.0": - version: 2.0.0 - resolution: "@cloudflare/unenv-preset@npm:2.0.0" +"@cloudflare/unenv-preset@npm:2.0.2": + version: 2.0.2 + resolution: "@cloudflare/unenv-preset@npm:2.0.2" peerDependencies: - unenv: 2.0.0-rc.8 + unenv: 2.0.0-rc.14 workerd: ^1.20250124.0 peerDependenciesMeta: workerd: optional: true - checksum: c15e65cdbde4bd3508de297b93562ae46806fd0d62ac1a24de795a986b93eee6de4057e19acfd0ea1a92d3736858ae91f5f27c7dcd5703d19ece2885f8ae4f8e + checksum: 8efc49c9c8eec3c03e75bfc65115c54635aef886461f605e4d6e72a594c6e6dd20e05cdedb174feec7c4d7a88ef962eed7380e64c48209f31d56d34ee479a617 languageName: node linkType: hard -"@cloudflare/vitest-pool-workers@npm:^0.7.6": - version: 0.7.6 - resolution: "@cloudflare/vitest-pool-workers@npm:0.7.6" +"@cloudflare/vitest-pool-workers@npm:^0.7.8": + version: 0.7.8 + resolution: "@cloudflare/vitest-pool-workers@npm:0.7.8" dependencies: birpc: "npm:0.2.14" cjs-module-lexer: "npm:^1.2.3" devalue: "npm:^4.3.0" esbuild: "npm:0.17.19" - miniflare: "npm:3.20250224.0" + miniflare: "npm:3.20250310.0" semver: "npm:^7.7.1" - wrangler: "npm:3.113.0" + wrangler: "npm:3.114.1" zod: "npm:^3.22.3" peerDependencies: "@vitest/runner": 2.0.x - 3.0.x "@vitest/snapshot": 2.0.x - 3.0.x vitest: 2.0.x - 3.0.x - checksum: 4c1b3c5602be1bfe04b6e46fe2e1a5b8f26e9d0d60c8fcedd45f75ff42c432628116c897a451a8d1c683f15cbedddf2dc470a8354d638dc1d6746b912388e496 + checksum: 651f3ac14427f4806f425798c3d465a3190ede25a49e37a4bdd16d151058a8370104bd863b2f0dc9d823fca95202015b6e1b84224bd1ea719af1c58c03e24367 languageName: node linkType: hard @@ -584,9 +584,9 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-darwin-64@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "@cloudflare/workerd-darwin-64@npm:1.20250224.0" +"@cloudflare/workerd-darwin-64@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "@cloudflare/workerd-darwin-64@npm:1.20250310.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -598,9 +598,9 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-darwin-arm64@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20250224.0" +"@cloudflare/workerd-darwin-arm64@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20250310.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -612,9 +612,9 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-linux-64@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "@cloudflare/workerd-linux-64@npm:1.20250224.0" +"@cloudflare/workerd-linux-64@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "@cloudflare/workerd-linux-64@npm:1.20250310.0" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -626,9 +626,9 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-linux-arm64@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "@cloudflare/workerd-linux-arm64@npm:1.20250224.0" +"@cloudflare/workerd-linux-arm64@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "@cloudflare/workerd-linux-arm64@npm:1.20250310.0" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -640,9 +640,9 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-windows-64@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "@cloudflare/workerd-windows-64@npm:1.20250224.0" +"@cloudflare/workerd-windows-64@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "@cloudflare/workerd-windows-64@npm:1.20250310.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2470,6 +2470,7 @@ __metadata: node-fetch-native: "npm:^1.4.0" react: "npm:^18.2.0" tsup: "npm:^8.0.1" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: "@clerk/backend": ^1.0.0 @@ -2709,7 +2710,7 @@ __metadata: "@opentelemetry/semantic-conventions": "npm:^1.28.0" hono: "npm:^4.4.12" tsup: "npm:^8.1.0" - vitest: "npm:^1.6.0" + vitest: "npm:^3.0.8" peerDependencies: hono: "*" languageName: unknown @@ -2759,7 +2760,6 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/react-renderer@workspace:packages/react-renderer" dependencies: - "@cloudflare/vitest-pool-workers": "npm:^0.7.6" "@types/react": "npm:^18" "@types/react-dom": "npm:^18.2.17" esbuild: "npm:^0.20.2" @@ -2767,6 +2767,7 @@ __metadata: react: "npm:^18.2.0" react-dom: "npm:^18.2.0" tsup: "npm:^8.0.1" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2839,7 +2840,6 @@ __metadata: hono: "npm:^3.11.7" publint: "npm:^0.2.2" tsup: "npm:^7.2.0" - vite: "npm:^4.4.9" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2895,7 +2895,6 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/typia-validator@workspace:packages/typia-validator" dependencies: - "@ryoppippi/unplugin-typia": "npm:^1.2.0" hono: "npm:^3.11.7" rimraf: "npm:^5.0.5" typescript: "npm:^5.4.0" @@ -3393,15 +3392,6 @@ __metadata: languageName: node linkType: hard -"@jest/schemas@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/schemas@npm:29.6.3" - dependencies: - "@sinclair/typebox": "npm:^0.27.8" - checksum: b329e89cd5f20b9278ae1233df74016ebf7b385e0d14b9f4c1ad18d096c4c19d1e687aa113a9c976b16ec07f021ae53dea811fb8c1248a50ac34fbe009fdf6be - languageName: node - linkType: hard - "@jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -4465,13 +4455,6 @@ __metadata: languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: ef6351ae073c45c2ac89494dbb3e1f87cc60a93ce4cde797b782812b6f97da0d620ae81973f104b43c9b7eaa789ad20ba4f6a1359f1cc62f63729a55a7d22d4e - languageName: node - linkType: hard - "@sinclair/typebox@npm:^0.31.15": version: 0.31.28 resolution: "@sinclair/typebox@npm:0.31.28" @@ -5234,17 +5217,6 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:1.6.1": - version: 1.6.1 - resolution: "@vitest/expect@npm:1.6.1" - dependencies: - "@vitest/spy": "npm:1.6.1" - "@vitest/utils": "npm:1.6.1" - chai: "npm:^4.3.10" - checksum: 278164b2a32a7019b443444f21111c5e32e4cadee026cae047ae2a3b347d99dca1d1fb7b79509c88b67dc3db19fa9a16265b7d7a8377485f7e37f7851e44495a - languageName: node - linkType: hard - "@vitest/expect@npm:3.0.8": version: 3.0.8 resolution: "@vitest/expect@npm:3.0.8" @@ -5285,17 +5257,6 @@ __metadata: languageName: node linkType: hard -"@vitest/runner@npm:1.6.1": - version: 1.6.1 - resolution: "@vitest/runner@npm:1.6.1" - dependencies: - "@vitest/utils": "npm:1.6.1" - p-limit: "npm:^5.0.0" - pathe: "npm:^1.1.1" - checksum: 36333f1a596c4ad85d42c6126cc32959c984d584ef28d366d366fa3672678c1a0f5e5c2e8717a36675b6620b57e8830f765d6712d1687f163ed0a8ebf23c87db - languageName: node - linkType: hard - "@vitest/runner@npm:3.0.8": version: 3.0.8 resolution: "@vitest/runner@npm:3.0.8" @@ -5306,17 +5267,6 @@ __metadata: languageName: node linkType: hard -"@vitest/snapshot@npm:1.6.1": - version: 1.6.1 - resolution: "@vitest/snapshot@npm:1.6.1" - dependencies: - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - pretty-format: "npm:^29.7.0" - checksum: 68bbc3132c195ec37376469e4b183fc408e0aeedd827dffcc899aac378e9ea324825f0873062786e18f00e3da9dd8a93c9bb871c07471ee483e8df963cb272eb - languageName: node - linkType: hard - "@vitest/snapshot@npm:3.0.8": version: 3.0.8 resolution: "@vitest/snapshot@npm:3.0.8" @@ -5328,15 +5278,6 @@ __metadata: languageName: node linkType: hard -"@vitest/spy@npm:1.6.1": - version: 1.6.1 - resolution: "@vitest/spy@npm:1.6.1" - dependencies: - tinyspy: "npm:^2.2.0" - checksum: 5207ec0e7882819f0e0811293ae6d14163e26927e781bb4de7d40b3bd99c1fae656934c437bb7a30443a3e7e736c5bccb037bbf4436dbbc83d29e65247888885 - languageName: node - linkType: hard - "@vitest/spy@npm:3.0.8": version: 3.0.8 resolution: "@vitest/spy@npm:3.0.8" @@ -5346,18 +5287,6 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:1.6.1": - version: 1.6.1 - resolution: "@vitest/utils@npm:1.6.1" - dependencies: - diff-sequences: "npm:^29.6.3" - estree-walker: "npm:^3.0.3" - loupe: "npm:^2.3.7" - pretty-format: "npm:^29.7.0" - checksum: 0d4c619e5688cbc22a60c412719c6baa40376b7671bdbdc3072552f5c5a5ee5d24a96ea328b054018debd49e0626a5e3db672921b2c6b5b17b9a52edd296806a - languageName: node - linkType: hard - "@vitest/utils@npm:3.0.8": version: 3.0.8 resolution: "@vitest/utils@npm:3.0.8" @@ -5425,15 +5354,6 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.3.2": - version: 8.3.4 - resolution: "acorn-walk@npm:8.3.4" - dependencies: - acorn: "npm:^8.11.0" - checksum: 76537ac5fb2c37a64560feaf3342023dadc086c46da57da363e64c6148dc21b57d49ace26f949e225063acb6fb441eabffd89f7a3066de5ad37ab3e328927c62 - languageName: node - linkType: hard - "acorn@npm:8.14.0, acorn@npm:^8.14.0": version: 8.14.0 resolution: "acorn@npm:8.14.0" @@ -5452,15 +5372,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.0": - version: 8.14.1 - resolution: "acorn@npm:8.14.1" - bin: - acorn: bin/acorn - checksum: dbd36c1ed1d2fa3550140000371fcf721578095b18777b85a79df231ca093b08edc6858d75d6e48c73e431c174dcf9214edbd7e6fa5911b93bd8abfa54e47123 - languageName: node - linkType: hard - "acorn@npm:^8.12.0": version: 8.12.1 resolution: "acorn@npm:8.12.1" @@ -5656,13 +5567,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^5.0.0": - version: 5.2.0 - resolution: "ansi-styles@npm:5.2.0" - checksum: 9c4ca80eb3c2fb7b33841c210d2f20807f40865d27008d7c3f707b7f95cab7d67462a565e2388ac3285b71cb3d9bb2173de8da37c57692a362885ec34d6e27df - languageName: node - linkType: hard - "ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" @@ -5867,13 +5771,6 @@ __metadata: languageName: node linkType: hard -"assertion-error@npm:^1.1.0": - version: 1.1.0 - resolution: "assertion-error@npm:1.1.0" - checksum: 25456b2aa333250f01143968e02e4884a34588a8538fbbf65c91a637f1dbfb8069249133cd2f4e530f10f624d206a664e7df30207830b659e9f5298b00a4099b - languageName: node - linkType: hard - "assertion-error@npm:^2.0.1": version: 2.0.1 resolution: "assertion-error@npm:2.0.1" @@ -6421,21 +6318,6 @@ __metadata: languageName: node linkType: hard -"chai@npm:^4.3.10": - version: 4.5.0 - resolution: "chai@npm:4.5.0" - dependencies: - assertion-error: "npm:^1.1.0" - check-error: "npm:^1.0.3" - deep-eql: "npm:^4.1.3" - get-func-name: "npm:^2.0.2" - loupe: "npm:^2.3.6" - pathval: "npm:^1.1.1" - type-detect: "npm:^4.1.0" - checksum: b8cb596bd1aece1aec659e41a6e479290c7d9bee5b3ad63d2898ad230064e5b47889a3bc367b20100a0853b62e026e2dc514acf25a3c9385f936aa3614d4ab4d - languageName: node - linkType: hard - "chai@npm:^5.2.0": version: 5.2.0 resolution: "chai@npm:5.2.0" @@ -6532,15 +6414,6 @@ __metadata: languageName: node linkType: hard -"check-error@npm:^1.0.3": - version: 1.0.3 - resolution: "check-error@npm:1.0.3" - dependencies: - get-func-name: "npm:^2.0.2" - checksum: 94aa37a7315c0e8a83d0112b5bfb5a8624f7f0f81057c73e4707729cdd8077166c6aefb3d8e2b92c63ee130d4a2ff94bad46d547e12f3238cc1d78342a973841 - languageName: node - linkType: hard - "check-error@npm:^2.1.1": version: 2.1.1 resolution: "check-error@npm:2.1.1" @@ -7472,15 +7345,6 @@ __metadata: languageName: node linkType: hard -"deep-eql@npm:^4.1.3": - version: 4.1.4 - resolution: "deep-eql@npm:4.1.4" - dependencies: - type-detect: "npm:^4.0.0" - checksum: 264e0613493b43552fc908f4ff87b8b445c0e6e075656649600e1b8a17a57ee03e960156fce7177646e4d2ddaf8e5ee616d76bd79929ff593e5c79e4e5e6c517 - languageName: node - linkType: hard - "deep-eql@npm:^5.0.1": version: 5.0.2 resolution: "deep-eql@npm:5.0.2" @@ -7661,13 +7525,6 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.6.3": - version: 29.6.3 - resolution: "diff-sequences@npm:29.6.3" - checksum: 32e27ac7dbffdf2fb0eb5a84efd98a9ad084fbabd5ac9abb8757c6770d5320d2acd172830b28c4add29bb873d59420601dfc805ac4064330ce59b1adfd0593b2 - languageName: node - linkType: hard - "diff@npm:^5.0.0": version: 5.1.0 resolution: "diff@npm:5.1.0" @@ -8153,7 +8010,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.18.10, esbuild@npm:^0.18.2": +"esbuild@npm:^0.18.2": version: 0.18.20 resolution: "esbuild@npm:0.18.20" dependencies: @@ -9370,23 +9227,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^8.0.1": - version: 8.0.1 - resolution: "execa@npm:8.0.1" - dependencies: - cross-spawn: "npm:^7.0.3" - get-stream: "npm:^8.0.1" - human-signals: "npm:^5.0.0" - is-stream: "npm:^3.0.0" - merge-stream: "npm:^2.0.0" - npm-run-path: "npm:^5.1.0" - onetime: "npm:^6.0.0" - signal-exit: "npm:^4.1.0" - strip-final-newline: "npm:^3.0.0" - checksum: 2c52d8775f5bf103ce8eec9c7ab3059909ba350a5164744e9947ed14a53f51687c040a250bda833f906d1283aa8803975b84e6c8f7a7c42f99dc8ef80250d1af - languageName: node - linkType: hard - "exegesis-express@npm:^4.0.0": version: 4.0.0 resolution: "exegesis-express@npm:4.0.0" @@ -9515,10 +9355,10 @@ __metadata: languageName: node linkType: hard -"exsolve@npm:^1.0.0": - version: 1.0.2 - resolution: "exsolve@npm:1.0.2" - checksum: 1f9217c2096c2e5cf32b4326adc99caca272cd5ba7af35aaee22bdd11f8ebb64443f3288ab6034d3baa51ee51f30f92827db6946b4f51937925bd3eedb7eac50 +"exsolve@npm:^1.0.1": + version: 1.0.4 + resolution: "exsolve@npm:1.0.4" + checksum: 475a5cb8961fdc91dfe0ff7d5fad601cce3ac27226e3966d18277c10ddace696adc986871115383c449bac110c02e6eaaf5ae9d983b2cc731df805ecb55f2482 languageName: node linkType: hard @@ -10142,13 +9982,6 @@ __metadata: languageName: node linkType: hard -"get-func-name@npm:^2.0.1, get-func-name@npm:^2.0.2": - version: 2.0.2 - resolution: "get-func-name@npm:2.0.2" - checksum: 89830fd07623fa73429a711b9daecdb304386d237c71268007f788f113505ef1d4cc2d0b9680e072c5082490aec9df5d7758bf5ac6f1c37062855e8e3dc0b9df - languageName: node - linkType: hard - "get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": version: 1.2.2 resolution: "get-intrinsic@npm:1.2.2" @@ -10231,13 +10064,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^8.0.1": - version: 8.0.1 - resolution: "get-stream@npm:8.0.1" - checksum: 5c2181e98202b9dae0bb4a849979291043e5892eb40312b47f0c22b9414fc9b28a3b6063d2375705eb24abc41ecf97894d9a51f64ff021511b504477b27b4290 - languageName: node - linkType: hard - "get-symbol-description@npm:^1.0.0": version: 1.0.0 resolution: "get-symbol-description@npm:1.0.0" @@ -10771,7 +10597,9 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:^0.4.8" "@changesets/cli": "npm:^2.26.0" + "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@cloudflare/workers-types": "npm:^4.20230307.0" + "@ryoppippi/unplugin-typia": "npm:^1.2.0" "@types/node": "npm:^20.14.8" "@typescript-eslint/eslint-plugin": "npm:^8.7.0" "@typescript-eslint/parser": "npm:^8.7.0" @@ -11015,13 +10843,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^5.0.0": - version: 5.0.0 - resolution: "human-signals@npm:5.0.0" - checksum: 5a9359073fe17a8b58e5a085e9a39a950366d9f00217c4ff5878bd312e09d80f460536ea6a3f260b5943a01fe55c158d1cea3fc7bee3d0520aeef04f6d915c82 - languageName: node - linkType: hard - "iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" @@ -11703,13 +11524,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "is-stream@npm:3.0.0" - checksum: eb2f7127af02ee9aa2a0237b730e47ac2de0d4e76a4a905a50a11557f2339df5765eaea4ceb8029f1efa978586abe776908720bfcb1900c20c6ec5145f6f29d8 - languageName: node - linkType: hard - "is-string@npm:^1.0.5, is-string@npm:^1.0.7": version: 1.0.7 resolution: "is-string@npm:1.0.7" @@ -11994,13 +11808,6 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^9.0.1": - version: 9.0.1 - resolution: "js-tokens@npm:9.0.1" - checksum: 68dcab8f233dde211a6b5fd98079783cbcd04b53617c1250e3553ee16ab3e6134f5e65478e41d82f6d351a052a63d71024553933808570f04dbf828d7921e80e - languageName: node - linkType: hard - "js-yaml@npm:^3.13.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.1, js-yaml@npm:^3.6.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" @@ -12441,16 +12248,6 @@ __metadata: languageName: node linkType: hard -"local-pkg@npm:^0.5.0": - version: 0.5.1 - resolution: "local-pkg@npm:0.5.1" - dependencies: - mlly: "npm:^1.7.3" - pkg-types: "npm:^1.2.1" - checksum: ade8346f1dc04875921461adee3c40774b00d4b74095261222ebd4d5fd0a444676e36e325f76760f21af6a60bc82480e154909b54d2d9f7173671e36dacf1808 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -12675,15 +12472,6 @@ __metadata: languageName: node linkType: hard -"loupe@npm:^2.3.6, loupe@npm:^2.3.7": - version: 2.3.7 - resolution: "loupe@npm:2.3.7" - dependencies: - get-func-name: "npm:^2.0.1" - checksum: 71a781c8fc21527b99ed1062043f1f2bb30bdaf54fa4cf92463427e1718bc6567af2988300bc243c1f276e4f0876f29e3cbf7b58106fdc186915687456ce5bf4 - languageName: node - linkType: hard - "loupe@npm:^3.1.0, loupe@npm:^3.1.3": version: 3.1.3 resolution: "loupe@npm:3.1.3" @@ -12773,7 +12561,7 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.14, magic-string@npm:^0.30.17, magic-string@npm:^0.30.5": +"magic-string@npm:^0.30.14, magic-string@npm:^0.30.17": version: 0.30.17 resolution: "magic-string@npm:0.30.17" dependencies: @@ -13546,13 +13334,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-fn@npm:4.0.0" - checksum: de9cc32be9996fd941e512248338e43407f63f6d497abe8441fa33447d922e927de54d4cc3c1a3c6d652857acd770389d5a3823f311a744132760ce2be15ccbf - languageName: node - linkType: hard - "mimic-response@npm:^1.0.0, mimic-response@npm:^1.0.1": version: 1.0.1 resolution: "mimic-response@npm:1.0.1" @@ -13574,9 +13355,9 @@ __metadata: languageName: node linkType: hard -"miniflare@npm:3.20250224.0": - version: 3.20250224.0 - resolution: "miniflare@npm:3.20250224.0" +"miniflare@npm:3.20250310.0": + version: 3.20250310.0 + resolution: "miniflare@npm:3.20250310.0" dependencies: "@cspotcode/source-map-support": "npm:0.8.1" acorn: "npm:8.14.0" @@ -13585,13 +13366,13 @@ __metadata: glob-to-regexp: "npm:0.4.1" stoppable: "npm:1.1.0" undici: "npm:^5.28.5" - workerd: "npm:1.20250224.0" + workerd: "npm:1.20250310.0" ws: "npm:8.18.0" youch: "npm:3.2.3" zod: "npm:3.22.3" bin: miniflare: bootstrap.js - checksum: 8b475547cea8884b6c5df5dbc2a1fb5c3e80ca950c5481365444b0520a319ac63e3377c57405b125e471249ee7ca68ab32429377b63ef7763d7040e340f94cae + checksum: a195f323d344fbec4d966d9a01ee32cdbdf9db3527d28474030646394f61ba151fe7076b957f8567d3d83e4defe69a8b61ea044aac25af72d6772dc6f510533e languageName: node linkType: hard @@ -13807,7 +13588,7 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.7.3, mlly@npm:^1.7.4": +"mlly@npm:^1.7.4": version: 1.7.4 resolution: "mlly@npm:1.7.4" dependencies: @@ -14276,15 +14057,6 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^5.1.0": - version: 5.3.0 - resolution: "npm-run-path@npm:5.3.0" - dependencies: - path-key: "npm:^4.0.0" - checksum: 124df74820c40c2eb9a8612a254ea1d557ddfab1581c3e751f825e3e366d9f00b0d76a3c94ecd8398e7f3eee193018622677e95816e8491f0797b21e30b2deba - languageName: node - linkType: hard - "nth-check@npm:^2.0.1": version: 2.1.1 resolution: "nth-check@npm:2.1.1" @@ -14369,7 +14141,7 @@ __metadata: languageName: node linkType: hard -"ohash@npm:^2.0.5": +"ohash@npm:^2.0.10": version: 2.0.11 resolution: "ohash@npm:2.0.11" checksum: d07c8d79cc26da082c1a7c8d5b56c399dd4ed3b2bd069fcae6bae78c99a9bcc3ad813b1e1f49ca2f335292846d689c6141a762cf078727d2302a33d414e69c79 @@ -14437,15 +14209,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^6.0.0": - version: 6.0.0 - resolution: "onetime@npm:6.0.0" - dependencies: - mimic-fn: "npm:^4.0.0" - checksum: 4eef7c6abfef697dd4479345a4100c382d73c149d2d56170a54a07418c50816937ad09500e1ed1e79d235989d073a9bade8557122aee24f0576ecde0f392bb6c - languageName: node - linkType: hard - "open@npm:^6.3.0": version: 6.4.0 resolution: "open@npm:6.4.0" @@ -14636,15 +14399,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^5.0.0": - version: 5.0.0 - resolution: "p-limit@npm:5.0.0" - dependencies: - yocto-queue: "npm:^1.0.0" - checksum: 574e93b8895a26e8485eb1df7c4b58a1a6e8d8ae41b1750cc2cc440922b3d306044fc6e9a7f74578a883d46802d9db72b30f2e612690fcef838c173261b1ed83 - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -14934,13 +14688,6 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^4.0.0": - version: 4.0.0 - resolution: "path-key@npm:4.0.0" - checksum: 794efeef32863a65ac312f3c0b0a99f921f3e827ff63afa5cb09a377e202c262b671f7b3832a4e64731003fa94af0263713962d317b9887bd1e0c48a342efba3 - languageName: node - linkType: hard - "path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" @@ -15012,7 +14759,7 @@ __metadata: languageName: node linkType: hard -"pathe@npm:^1.1.1, pathe@npm:^1.1.2": +"pathe@npm:^1.1.2": version: 1.1.2 resolution: "pathe@npm:1.1.2" checksum: 64ee0a4e587fb0f208d9777a6c56e4f9050039268faaaaecd50e959ef01bf847b7872785c36483fa5cdcdbdfdb31fef2ff222684d4fc21c330ab60395c681897 @@ -15026,13 +14773,6 @@ __metadata: languageName: node linkType: hard -"pathval@npm:^1.1.1": - version: 1.1.1 - resolution: "pathval@npm:1.1.1" - checksum: f63e1bc1b33593cdf094ed6ff5c49c1c0dc5dc20a646ca9725cc7fe7cd9995002d51d5685b9b2ec6814342935748b711bafa840f84c0bb04e38ff40a335c94dc - languageName: node - linkType: hard - "pathval@npm:^2.0.0": version: 2.0.0 resolution: "pathval@npm:2.0.0" @@ -15280,7 +15020,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.27, postcss@npm:^8.4.32": +"postcss@npm:^8.4.32": version: 8.4.32 resolution: "postcss@npm:8.4.32" dependencies: @@ -15403,17 +15143,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.7.0": - version: 29.7.0 - resolution: "pretty-format@npm:29.7.0" - dependencies: - "@jest/schemas": "npm:^29.6.3" - ansi-styles: "npm:^5.0.0" - react-is: "npm:^18.0.0" - checksum: edc5ff89f51916f036c62ed433506b55446ff739358de77207e63e88a28ca2894caac6e73dcb68166a606e51c8087d32d400473e6a9fdd2dbe743f46c9c0276f - languageName: node - linkType: hard - "pretty-format@npm:^3.8.0": version: 3.8.0 resolution: "pretty-format@npm:3.8.0" @@ -15782,13 +15511,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^18.0.0": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 - languageName: node - linkType: hard - "react@npm:^18.2.0": version: 18.2.0 resolution: "react@npm:18.2.0" @@ -16232,7 +15954,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.2.5, rollup@npm:^3.27.1": +"rollup@npm:^3.2.5": version: 3.29.4 resolution: "rollup@npm:3.29.4" dependencies: @@ -17015,7 +16737,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": +"signal-exit@npm:^4.0.1": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" checksum: 41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 @@ -17320,13 +17042,6 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.5.0": - version: 3.8.1 - resolution: "std-env@npm:3.8.1" - checksum: e9b19cca6bc6f06f91607db5b636662914ca8ec9efc525a99da6ec7e493afec109d3b017d21d9782b4369fcfb2891c7c4b4e3c60d495fdadf6861ce434e07bf8 - languageName: node - linkType: hard - "std-env@npm:^3.7.0": version: 3.7.0 resolution: "std-env@npm:3.7.0" @@ -17581,13 +17296,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-final-newline@npm:3.0.0" - checksum: a771a17901427bac6293fd416db7577e2bc1c34a19d38351e9d5478c3c415f523f391003b42ed475f27e33a78233035df183525395f731d3bfb8cdcbd4da08ce - languageName: node - linkType: hard - "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -17611,15 +17319,6 @@ __metadata: languageName: node linkType: hard -"strip-literal@npm:^2.0.0": - version: 2.1.1 - resolution: "strip-literal@npm:2.1.1" - dependencies: - js-tokens: "npm:^9.0.1" - checksum: 66a7353f5ba1ae6a4fb2805b4aba228171847200640083117c41512692e6b2c020e18580402984f55c0ae69c30f857f9a55abd672863e4ca8fdb463fdf93ba19 - languageName: node - linkType: hard - "stubs@npm:^3.0.0": version: 3.0.0 resolution: "stubs@npm:3.0.0" @@ -17955,7 +17654,7 @@ __metadata: languageName: node linkType: hard -"tinybench@npm:^2.5.1, tinybench@npm:^2.9.0": +"tinybench@npm:^2.9.0": version: 2.9.0 resolution: "tinybench@npm:2.9.0" checksum: c3500b0f60d2eb8db65250afe750b66d51623057ee88720b7f064894a6cb7eb93360ca824a60a31ab16dab30c7b1f06efe0795b352e37914a9d4bad86386a20c @@ -17996,13 +17695,6 @@ __metadata: languageName: node linkType: hard -"tinypool@npm:^0.8.3": - version: 0.8.4 - resolution: "tinypool@npm:0.8.4" - checksum: 779c790adcb0316a45359652f4b025958c1dff5a82460fe49f553c864309b12ad732c8288be52f852973bc76317f5e7b3598878aee0beb8a33322c0e72c4a66c - languageName: node - linkType: hard - "tinypool@npm:^1.0.2": version: 1.0.2 resolution: "tinypool@npm:1.0.2" @@ -18017,13 +17709,6 @@ __metadata: languageName: node linkType: hard -"tinyspy@npm:^2.2.0": - version: 2.2.1 - resolution: "tinyspy@npm:2.2.1" - checksum: 0b4cfd07c09871e12c592dfa7b91528124dc49a4766a0b23350638c62e6a483d5a2a667de7e6282246c0d4f09996482ddaacbd01f0c05b7ed7e0f79d32409bdc - languageName: node - linkType: hard - "tinyspy@npm:^3.0.2": version: 3.0.2 resolution: "tinyspy@npm:3.0.2" @@ -18535,13 +18220,6 @@ __metadata: languageName: node linkType: hard -"type-detect@npm:^4.0.0, type-detect@npm:^4.1.0": - version: 4.1.0 - resolution: "type-detect@npm:4.1.0" - checksum: df8157ca3f5d311edc22885abc134e18ff8ffbc93d6a9848af5b682730ca6a5a44499259750197250479c5331a8a75b5537529df5ec410622041650a7f293e2a - languageName: node - linkType: hard - "type-fest@npm:^0.10.0": version: 0.10.0 resolution: "type-fest@npm:0.10.0" @@ -18916,16 +18594,16 @@ __metadata: languageName: node linkType: hard -"unenv@npm:2.0.0-rc.8": - version: 2.0.0-rc.8 - resolution: "unenv@npm:2.0.0-rc.8" +"unenv@npm:2.0.0-rc.14": + version: 2.0.0-rc.14 + resolution: "unenv@npm:2.0.0-rc.14" dependencies: defu: "npm:^6.1.4" - exsolve: "npm:^1.0.0" - ohash: "npm:^2.0.5" + exsolve: "npm:^1.0.1" + ohash: "npm:^2.0.10" pathe: "npm:^2.0.3" ufo: "npm:^1.5.4" - checksum: 391a265cb1bbf1dabe335af324590af1df3eda03cedf31e9512d5a444053c33c07c23e4338a6814458aaac810d8edac000b8b409cf6e4557967f167cdba63473 + checksum: 85372028cafb1726dfbe4dbb34953580827936f527022f6b03eaaf1b947d9354cf39ed505203edb11e77791d01778cb2287b2db03f516ed4503de9182a821f94 languageName: node linkType: hard @@ -19366,21 +19044,6 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:1.6.1": - version: 1.6.1 - resolution: "vite-node@npm:1.6.1" - dependencies: - cac: "npm:^6.7.14" - debug: "npm:^4.3.4" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - vite: "npm:^5.0.0" - bin: - vite-node: vite-node.mjs - checksum: 4d96da9f11bd0df8b60c46e65a740edaad7dd2d1aff3cdb3da5714ea8c10b5f2683111b60bfe45545c7e8c1f33e7e8a5095573d5e9ba55f50a845233292c2e02 - languageName: node - linkType: hard - "vite-node@npm:3.0.8": version: 3.0.8 resolution: "vite-node@npm:3.0.8" @@ -19396,46 +19059,6 @@ __metadata: languageName: node linkType: hard -"vite@npm:^4.4.9": - version: 4.5.1 - resolution: "vite@npm:4.5.1" - dependencies: - esbuild: "npm:^0.18.10" - fsevents: "npm:~2.3.2" - postcss: "npm:^8.4.27" - rollup: "npm:^3.27.1" - peerDependencies: - "@types/node": ">= 14" - less: "*" - lightningcss: ^1.21.0 - sass: "*" - stylus: "*" - sugarss: "*" - terser: ^5.4.0 - dependenciesMeta: - fsevents: - optional: true - peerDependenciesMeta: - "@types/node": - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - bin: - vite: bin/vite.js - checksum: 352a94b13f793e4bcbc424d680a32507343223eeda8917fde0f23c1fa1ba3db7c806dade8461ca5cfb270154ddb8895a219fdd4384519fe9b8e46d1cf491a890 - languageName: node - linkType: hard - "vite@npm:^5.0.0": version: 5.0.10 resolution: "vite@npm:5.0.10" @@ -19528,56 +19151,6 @@ __metadata: languageName: node linkType: hard -"vitest@npm:^1.6.0": - version: 1.6.1 - resolution: "vitest@npm:1.6.1" - dependencies: - "@vitest/expect": "npm:1.6.1" - "@vitest/runner": "npm:1.6.1" - "@vitest/snapshot": "npm:1.6.1" - "@vitest/spy": "npm:1.6.1" - "@vitest/utils": "npm:1.6.1" - acorn-walk: "npm:^8.3.2" - chai: "npm:^4.3.10" - debug: "npm:^4.3.4" - execa: "npm:^8.0.1" - local-pkg: "npm:^0.5.0" - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - std-env: "npm:^3.5.0" - strip-literal: "npm:^2.0.0" - tinybench: "npm:^2.5.1" - tinypool: "npm:^0.8.3" - vite: "npm:^5.0.0" - vite-node: "npm:1.6.1" - why-is-node-running: "npm:^2.2.2" - peerDependencies: - "@edge-runtime/vm": "*" - "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": 1.6.1 - "@vitest/ui": 1.6.1 - 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 - bin: - vitest: vitest.mjs - checksum: 511d27d7f697683964826db2fad7ac303f9bc7eeb59d9422111dc488371ccf1f9eed47ac3a80eb47ca86b7242228ba5ca9cc3613290830d0e916973768cac215 - languageName: node - linkType: hard - "vitest@npm:^3.0.8": version: 3.0.8 resolution: "vitest@npm:3.0.8" @@ -19765,7 +19338,7 @@ __metadata: languageName: node linkType: hard -"why-is-node-running@npm:^2.2.2, why-is-node-running@npm:^2.3.0": +"why-is-node-running@npm:^2.3.0": version: 2.3.0 resolution: "why-is-node-running@npm:2.3.0" dependencies: @@ -19842,15 +19415,15 @@ __metadata: languageName: node linkType: hard -"workerd@npm:1.20250224.0": - version: 1.20250224.0 - resolution: "workerd@npm:1.20250224.0" +"workerd@npm:1.20250310.0": + version: 1.20250310.0 + resolution: "workerd@npm:1.20250310.0" dependencies: - "@cloudflare/workerd-darwin-64": "npm:1.20250224.0" - "@cloudflare/workerd-darwin-arm64": "npm:1.20250224.0" - "@cloudflare/workerd-linux-64": "npm:1.20250224.0" - "@cloudflare/workerd-linux-arm64": "npm:1.20250224.0" - "@cloudflare/workerd-windows-64": "npm:1.20250224.0" + "@cloudflare/workerd-darwin-64": "npm:1.20250310.0" + "@cloudflare/workerd-darwin-arm64": "npm:1.20250310.0" + "@cloudflare/workerd-linux-64": "npm:1.20250310.0" + "@cloudflare/workerd-linux-arm64": "npm:1.20250310.0" + "@cloudflare/workerd-windows-64": "npm:1.20250310.0" dependenciesMeta: "@cloudflare/workerd-darwin-64": optional: true @@ -19864,28 +19437,28 @@ __metadata: optional: true bin: workerd: bin/workerd - checksum: e9abc6836e19af47f3709b5af24c0c210e380347172d86bc9d08615b9d3933d8cdeb0cb1f525f7a315659a211124cb724f727de4448d0644d0fb64627e2e9721 + checksum: f66de76d76168a92ac50ba8bd5776d37f3e3923c85b816d2a8bddd6eea1f2ef1a203a115e3595d8b9dda0e12287392c9a87fd2293bc69f0c5443002c5a9f7348 languageName: node linkType: hard -"wrangler@npm:3.113.0": - version: 3.113.0 - resolution: "wrangler@npm:3.113.0" +"wrangler@npm:3.114.1": + version: 3.114.1 + resolution: "wrangler@npm:3.114.1" dependencies: "@cloudflare/kv-asset-handler": "npm:0.3.4" - "@cloudflare/unenv-preset": "npm:2.0.0" + "@cloudflare/unenv-preset": "npm:2.0.2" "@esbuild-plugins/node-globals-polyfill": "npm:0.2.3" "@esbuild-plugins/node-modules-polyfill": "npm:0.2.2" blake3-wasm: "npm:2.1.5" esbuild: "npm:0.17.19" fsevents: "npm:~2.3.2" - miniflare: "npm:3.20250224.0" + miniflare: "npm:3.20250310.0" path-to-regexp: "npm:6.3.0" sharp: "npm:^0.33.5" - unenv: "npm:2.0.0-rc.8" - workerd: "npm:1.20250224.0" + unenv: "npm:2.0.0-rc.14" + workerd: "npm:1.20250310.0" peerDependencies: - "@cloudflare/workers-types": ^4.20250224.0 + "@cloudflare/workers-types": ^4.20250310.0 dependenciesMeta: fsevents: optional: true @@ -19897,7 +19470,7 @@ __metadata: bin: wrangler: bin/wrangler.js wrangler2: bin/wrangler.js - checksum: 31d8371d7c841352c14c62508558a364c4a415dc514808ca5d89f638bc21601eb1aafaab02ee1754efeedbf1399bf60e9584eaf572fb5aa0e0a83ca631037248 + checksum: 1b7b512d8e4e966553fbc67837b9236d12719c752b949a5965306cc57ee61aa392e8b4221bf2151d591d895c80c064391766c73abf905604d498f2f16904b4a4 languageName: node linkType: hard From e678c36193bd10f63448b08b6989873095722f61 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Mon, 17 Mar 2025 23:43:15 +0900 Subject: [PATCH 04/81] chore: update the lock file (#1019) --- packages/ajv-validator/package.json | 2 +- yarn.lock | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ajv-validator/package.json b/packages/ajv-validator/package.json index 9a5f514e..7d48f171 100644 --- a/packages/ajv-validator/package.json +++ b/packages/ajv-validator/package.json @@ -47,4 +47,4 @@ "typescript": "^5.8.2", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 7a495875..cf3dc9fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2377,6 +2377,7 @@ __metadata: ajv: "npm:>=8.12.0" hono: "npm:^4.4.12" tsup: "npm:^8.1.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: ajv: ">=8.12.0" From b6267e721d619a71ec9112f5b1cbc9861964b513 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 18 Mar 2025 17:38:54 +1100 Subject: [PATCH 05/81] ci(coverage): upload initial coverage to codecov (#1021) * ci(coverage): upload initial coverage to codecov * ci(coverage): add flags * ci(bun-transpiler): add coverage --- .github/workflows/ci-ajv-validator.yml | 9 +- .github/workflows/ci-arktype-validator.yml | 9 +- .github/workflows/ci-auth-js.yml | 9 +- .github/workflows/ci-bun-transpiler.yml | 9 +- .github/workflows/ci-casbin.yml | 9 +- .github/workflows/ci-class-validator.yml | 9 +- .github/workflows/ci-clerk-auth.yml | 9 +- .github/workflows/ci-cloudflare-access.yml | 9 +- .github/workflows/ci-conform-validator.yml | 9 +- .github/workflows/ci-coverage.yml | 21 ++ .github/workflows/ci-effect-validator.yml | 9 +- .github/workflows/ci-esbuild-transpiler.yml | 9 +- .github/workflows/ci-event-emitter.yml | 9 +- .github/workflows/ci-firebase-auth.yml | 9 +- .github/workflows/ci-graphql-server.yml | 9 +- .github/workflows/ci-hello.yml | 9 +- .github/workflows/ci-medley-router.yml | 9 +- .github/workflows/ci-node-ws.yml | 9 +- .github/workflows/ci-oauth-providers.yml | 9 +- .github/workflows/ci-oidc-auth.yml | 9 +- .github/workflows/ci-otel.yml | 9 +- .github/workflows/ci-prometheus.yml | 9 +- .github/workflows/ci-react-renderer.yml | 9 +- .github/workflows/ci-sentry.yml | 9 +- .github/workflows/ci-standard-validator.yml | 9 +- .github/workflows/ci-swagger-editor.yml | 9 +- .github/workflows/ci-swagger-ui.yml | 9 +- .github/workflows/ci-trpc-server.yml | 9 +- .github/workflows/ci-tsyringe.yml | 9 +- .github/workflows/ci-typebox-validator.yml | 9 +- .github/workflows/ci-typia-validator.yml | 9 +- .github/workflows/ci-valibot-validator.yml | 9 +- .github/workflows/ci-zod-openapi.yml | 9 +- .github/workflows/ci-zod-validator.yml | 9 +- README.md | 2 + codecov.yml | 10 + package.json | 1 + packages/oidc-auth/package.json | 3 +- vitest.config.ts | 14 + yarn.lock | 331 ++++++++++++++++++-- 40 files changed, 611 insertions(+), 68 deletions(-) create mode 100644 .github/workflows/ci-coverage.yml create mode 100644 codecov.yml create mode 100644 vitest.config.ts diff --git a/.github/workflows/ci-ajv-validator.yml b/.github/workflows/ci-ajv-validator.yml index 7bcd8fad..d0051616 100644 --- a/.github/workflows/ci-ajv-validator.yml +++ b/.github/workflows/ci-ajv-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/ajv-validator - run: yarn workspace @hono/ajv-validator build - - run: yarn test --project @hono/ajv-validator + - run: yarn test --coverage --project @hono/ajv-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: ajv-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index d23f2bdd..7576c6f7 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/arktype-validator - run: yarn workspace @hono/arktype-validator build - - run: yarn test --project @hono/arktype-validator + - run: yarn test --coverage --project @hono/arktype-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: arktype-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-auth-js.yml b/.github/workflows/ci-auth-js.yml index afe7fb64..0b1f7486 100644 --- a/.github/workflows/ci-auth-js.yml +++ b/.github/workflows/ci-auth-js.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/auth-js - run: yarn workspace @hono/auth-js build - - run: yarn test --project @hono/auth-js + - run: yarn test --coverage --project @hono/auth-js + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: auth-js + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-bun-transpiler.yml b/.github/workflows/ci-bun-transpiler.yml index 13a76e96..7744488e 100644 --- a/.github/workflows/ci-bun-transpiler.yml +++ b/.github/workflows/ci-bun-transpiler.yml @@ -19,4 +19,11 @@ jobs: bun-version: 1.1.32 - run: yarn workspaces focus hono-middleware @hono/bun-transpiler - run: yarn workspace @hono/bun-transpiler build - - run: yarn workspace @hono/bun-transpiler test + - run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./packages/bun-transpiler/coverage + flags: bun-transpiler + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index fb92cf85..5240ff18 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/ci-cabin - run: yarn workspace @hono/ci-cabin build - - run: yarn test --project @hono/ci-cabin + - run: yarn test --coverage --project @hono/ci-cabin + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: ci-cabin + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-class-validator.yml b/.github/workflows/ci-class-validator.yml index d40bdf19..c5b7cad4 100644 --- a/.github/workflows/ci-class-validator.yml +++ b/.github/workflows/ci-class-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/class-validator - run: yarn workspace @hono/class-validator build - - run: yarn test --project @hono/class-validator + - run: yarn test --coverage --project @hono/class-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: class-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index 6568dc27..28e9c94c 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/clerk-auth - run: yarn workspace @hono/clerk-auth build - - run: yarn test --project @hono/clerk-auth + - run: yarn test --coverage --project @hono/clerk-auth + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: clerk-auth + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-cloudflare-access.yml b/.github/workflows/ci-cloudflare-access.yml index cbf68c01..84327200 100644 --- a/.github/workflows/ci-cloudflare-access.yml +++ b/.github/workflows/ci-cloudflare-access.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/cloudflare-access - run: yarn workspace @hono/cloudflare-access build - - run: yarn test --project @hono/cloudflare-access + - run: yarn test --coverage --project @hono/cloudflare-access + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: cloudflare-access + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-conform-validator.yml b/.github/workflows/ci-conform-validator.yml index d4b9e529..eefb17bb 100644 --- a/.github/workflows/ci-conform-validator.yml +++ b/.github/workflows/ci-conform-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/conform-validator - run: yarn workspace @hono/conform-validator build - - run: yarn test --project @hono/conform-validator + - run: yarn test --coverage --project @hono/conform-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: conform-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-coverage.yml b/.github/workflows/ci-coverage.yml new file mode 100644 index 00000000..21fa914e --- /dev/null +++ b/.github/workflows/ci-coverage.yml @@ -0,0 +1,21 @@ +name: initial-coverage +on: + pull_request: + branches: ['*'] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - run: yarn install + - run: yarn vitest --coverage + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-effect-validator.yml b/.github/workflows/ci-effect-validator.yml index d6a95773..58465c48 100644 --- a/.github/workflows/ci-effect-validator.yml +++ b/.github/workflows/ci-effect-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/effect-validator - run: yarn workspace @hono/effect-validator build - - run: yarn test --project @hono/effect-validator + - run: yarn test --coverage --project @hono/effect-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: effect-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-esbuild-transpiler.yml b/.github/workflows/ci-esbuild-transpiler.yml index 07ae9c95..0a41953e 100644 --- a/.github/workflows/ci-esbuild-transpiler.yml +++ b/.github/workflows/ci-esbuild-transpiler.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler - run: yarn workspace @hono/esbuild-transpiler build - - run: yarn test --project @hono/esbuild-transpiler + - run: yarn test --coverage --project @hono/esbuild-transpiler + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: esbuild-transpiler + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-event-emitter.yml b/.github/workflows/ci-event-emitter.yml index 9b78ad3b..d14a1eb4 100644 --- a/.github/workflows/ci-event-emitter.yml +++ b/.github/workflows/ci-event-emitter.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/event-emitter - run: yarn workspace @hono/event-emitter build - - run: yarn test --project @hono/event-emitter + - run: yarn test --coverage --project @hono/event-emitter + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: event-emitter + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index b552f0e4..2e0d02b3 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/firebase-auth - run: yarn workspace @hono/firebase-auth build - - run: yarn test --project @hono/firebase-auth + - run: yarn test --coverage --project @hono/firebase-auth + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: firebase-auth + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index c73c0e85..58a33131 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/graphql-server - run: yarn workspace @hono/graphql-server build - - run: yarn test --project @hono/graphql-server + - run: yarn test --coverage --project @hono/graphql-server + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: graphql-server + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index 4348b0ff..77f211df 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/hello - run: yarn workspace @hono/hello build - - run: yarn test --project @hono/hello + - run: yarn test --coverage --project @hono/hello + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: hello + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index 71a1e1fc..c4d46513 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/medley-router - run: yarn workspace @hono/medley-router build - - run: yarn test --project @hono/medley-router + - run: yarn test --coverage --project @hono/medley-router + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: medley-router + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-node-ws.yml b/.github/workflows/ci-node-ws.yml index 228e911b..e6c25685 100644 --- a/.github/workflows/ci-node-ws.yml +++ b/.github/workflows/ci-node-ws.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/node-ws - run: yarn workspace @hono/node-ws build - - run: yarn test --project @hono/node-ws + - run: yarn test --coverage --project @hono/node-ws + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: node-ws + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-oauth-providers.yml b/.github/workflows/ci-oauth-providers.yml index 6bb216cb..8c87cf00 100644 --- a/.github/workflows/ci-oauth-providers.yml +++ b/.github/workflows/ci-oauth-providers.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/oauth-providers - run: yarn workspace @hono/oauth-providers build - - run: yarn test --project @hono/oauth-providers + - run: yarn test --coverage --project @hono/oauth-providers + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: oauth-providers + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-oidc-auth.yml b/.github/workflows/ci-oidc-auth.yml index 4aeae936..40ef352f 100644 --- a/.github/workflows/ci-oidc-auth.yml +++ b/.github/workflows/ci-oidc-auth.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/oidc-auth - run: yarn workspace @hono/oidc-auth build - - run: yarn test --project @hono/oidc-auth + - run: yarn test --coverage --project @hono/oidc-auth + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: oidc-auth + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-otel.yml b/.github/workflows/ci-otel.yml index d6ade343..2ac0d21e 100644 --- a/.github/workflows/ci-otel.yml +++ b/.github/workflows/ci-otel.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/otel - run: yarn workspace @hono/otel build - - run: yarn test --project @hono/otel + - run: yarn test --coverage --project @hono/otel + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: otel + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index 816558e2..11224351 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/prometheus - run: yarn workspace @hono/prometheus build - - run: yarn test --project @hono/prometheus + - run: yarn test --coverage --project @hono/prometheus + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: prometheus + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index c1d000cb..e40c2878 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/react-renderer - run: yarn workspace @hono/react-renderer build - - run: yarn test --project @hono/react-renderer + - run: yarn test --coverage --project @hono/react-renderer + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: react-renderer + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index d9f6d889..f44bc9eb 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/sentry - run: yarn workspace @hono/sentry build - - run: yarn test --project @hono/sentry + - run: yarn test --coverage --project @hono/sentry + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: sentry + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-standard-validator.yml b/.github/workflows/ci-standard-validator.yml index e2f008dd..baffa4f7 100644 --- a/.github/workflows/ci-standard-validator.yml +++ b/.github/workflows/ci-standard-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/standard-validator - run: yarn workspace @hono/standard-validator build - - run: yarn test --project @hono/standard-validator + - run: yarn test --coverage --project @hono/standard-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: standard-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-swagger-editor.yml b/.github/workflows/ci-swagger-editor.yml index 685204ad..a7178b28 100644 --- a/.github/workflows/ci-swagger-editor.yml +++ b/.github/workflows/ci-swagger-editor.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/swagger-editor - run: yarn workspace @hono/swagger-editor build - - run: yarn test --project @hono/swagger-editor + - run: yarn test --coverage --project @hono/swagger-editor + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: swagger-editor + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-swagger-ui.yml b/.github/workflows/ci-swagger-ui.yml index c776bbfe..e67a9e83 100644 --- a/.github/workflows/ci-swagger-ui.yml +++ b/.github/workflows/ci-swagger-ui.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/swagger-ui - run: yarn workspace @hono/swagger-ui build - - run: yarn test --project @hono/swagger-ui + - run: yarn test --coverage --project @hono/swagger-ui + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: swagger-ui + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index 5085b7e0..eac584b8 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/trpc-server - run: yarn workspace @hono/trpc-server build - - run: yarn test --project @hono/trpc-server + - run: yarn test --coverage --project @hono/trpc-server + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: trpc-server + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-tsyringe.yml b/.github/workflows/ci-tsyringe.yml index 75f093e9..bfb50d06 100644 --- a/.github/workflows/ci-tsyringe.yml +++ b/.github/workflows/ci-tsyringe.yml @@ -19,4 +19,11 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/tsyringe - run: yarn workspace @hono/tsyringe build - - run: yarn test --project @hono/tsyringe + - run: yarn test --coverage --project @hono/tsyringe + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: tsyringe + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index c4a4cdfe..f46078cb 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/typebox-validator - run: yarn workspace @hono/typebox-validator build - - run: yarn test --project @hono/typebox-validator + - run: yarn test --coverage --project @hono/typebox-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: typebox-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index 168c4523..5a40ecc4 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/typia-validator - run: yarn workspace @hono/typia-validator build - - run: yarn test --project @hono/typia-validator + - run: yarn test --coverage --project @hono/typia-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: typia-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index 755fda3d..eb026183 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/valibot-validator - run: yarn workspace @hono/valibot-validator build - - run: yarn test --project @hono/valibot-validator + - run: yarn test --coverage --project @hono/valibot-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: valibot-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index a72ec7c1..8d1f8f1c 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/zod-openapi - run: yarn workspace @hono/zod-openapi build - - run: yarn test --project @hono/zod-openapi + - run: yarn test --coverage --project @hono/zod-openapi + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: zod-openapi + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index 53b4a3d5..ffea7a93 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -19,4 +19,11 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/zod-validator - run: yarn workspace @hono/zod-validator build - - run: yarn test --project @hono/zod-validator + - run: yarn test --coverage --project @hono/zod-validator + - uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + directory: ./coverage + flags: zod-validator + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 51b84680..41d8a968 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # monorepo for Hono third-party middleware +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg)](https://codecov.io/github/honojs/middleware) + This repository is monorepo for third-party middleware of Hono. We develop middleware in this repository and manage the issues and pull requests. diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..e43bda81 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +flag_management: + default_rules: + carryforward: true + statuses: + - type: project + target: auto + threshold: 1% + - type: patch + informational: true # Don't fail the build even if coverage is below target + target: 80% diff --git a/package.json b/package.json index be37c38f..b6fec8cd 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", + "@vitest/coverage-istanbul": "^3.0.8", "eslint": "^9.17.0", "npm-run-all2": "^6.2.2", "prettier": "^2.7.1", diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index f08a59c3..2dc8f746 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -9,7 +9,7 @@ "dist" ], "scripts": { - "test": "vitest --coverage", + "test": "vitest", "build": "tsup ./src/index.ts --format esm --dts", "prerelease": "yarn build && yarn test", "release": "yarn prerelease && yarn npm publish" @@ -37,7 +37,6 @@ }, "devDependencies": { "@types/jsonwebtoken": "^9.0.5", - "@vitest/coverage-v8": "^3.0.8", "hono": "^4.0.1", "jsonwebtoken": "^9.0.2", "tsup": "^8.0.1", diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 00000000..9a6e30df --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,14 @@ +import { defineConfig, coverageConfigDefaults } from 'vitest/config' + +export default defineConfig({ + test: { + coverage: { + exclude: ['**/dist/**', ...coverageConfigDefaults.exclude], + // TODO: use v8 - https://github.com/vitest-dev/vitest/issues/5783 + provider: 'istanbul', + thresholds: { + autoUpdate: true, + }, + }, + }, +}) diff --git a/yarn.lock b/yarn.lock index cf3dc9fd..109e5e89 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,7 +12,7 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.3.0": +"@ampproject/remapping@npm:^2.2.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" dependencies: @@ -113,6 +113,96 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.26.2": + version: 7.26.2 + resolution: "@babel/code-frame@npm:7.26.2" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.25.9" + js-tokens: "npm:^4.0.0" + picocolors: "npm:^1.0.0" + checksum: 7d79621a6849183c415486af99b1a20b84737e8c11cd55b6544f688c51ce1fd710e6d869c3dd21232023da272a79b91efb3e83b5bc2dc65c1187c5fcd1b72ea8 + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.26.5": + version: 7.26.8 + resolution: "@babel/compat-data@npm:7.26.8" + checksum: 66408a0388c3457fff1c2f6c3a061278dd7b3d2f0455ea29bb7b187fa52c60ae8b4054b3c0a184e21e45f0eaac63cf390737bc7504d1f4a088a6e7f652c068ca + languageName: node + linkType: hard + +"@babel/core@npm:^7.23.9": + version: 7.26.10 + resolution: "@babel/core@npm:7.26.10" + dependencies: + "@ampproject/remapping": "npm:^2.2.0" + "@babel/code-frame": "npm:^7.26.2" + "@babel/generator": "npm:^7.26.10" + "@babel/helper-compilation-targets": "npm:^7.26.5" + "@babel/helper-module-transforms": "npm:^7.26.0" + "@babel/helpers": "npm:^7.26.10" + "@babel/parser": "npm:^7.26.10" + "@babel/template": "npm:^7.26.9" + "@babel/traverse": "npm:^7.26.10" + "@babel/types": "npm:^7.26.10" + convert-source-map: "npm:^2.0.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.3" + semver: "npm:^6.3.1" + checksum: e046e0e988ab53841b512ee9d263ca409f6c46e2a999fe53024688b92db394346fa3aeae5ea0866331f62133982eee05a675d22922a4603c3f603aa09a581d62 + languageName: node + linkType: hard + +"@babel/generator@npm:^7.26.10": + version: 7.26.10 + resolution: "@babel/generator@npm:7.26.10" + dependencies: + "@babel/parser": "npm:^7.26.10" + "@babel/types": "npm:^7.26.10" + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" + jsesc: "npm:^3.0.2" + checksum: 88b3b3ea80592fc89349c4e1a145e1386e4042866d2507298adf452bf972f68d13bf699a845e6ab8c028bd52c2247013eb1221b86e1db5c9779faacba9c4b10e + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.26.5": + version: 7.26.5 + resolution: "@babel/helper-compilation-targets@npm:7.26.5" + dependencies: + "@babel/compat-data": "npm:^7.26.5" + "@babel/helper-validator-option": "npm:^7.25.9" + browserslist: "npm:^4.24.0" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.1" + checksum: 9da5c77e5722f1a2fcb3e893049a01d414124522bbf51323bb1a0c9dcd326f15279836450fc36f83c9e8a846f3c40e88be032ed939c5a9840922bed6073edfb4 + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-module-imports@npm:7.25.9" + dependencies: + "@babel/traverse": "npm:^7.25.9" + "@babel/types": "npm:^7.25.9" + checksum: 078d3c2b45d1f97ffe6bb47f61961be4785d2342a4156d8b42c92ee4e1b7b9e365655dd6cb25329e8fe1a675c91eeac7e3d04f0c518b67e417e29d6e27b6aa70 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/helper-module-transforms@npm:7.26.0" + dependencies: + "@babel/helper-module-imports": "npm:^7.25.9" + "@babel/helper-validator-identifier": "npm:^7.25.9" + "@babel/traverse": "npm:^7.25.9" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: ee111b68a5933481d76633dad9cdab30c41df4479f0e5e1cc4756dc9447c1afd2c9473b5ba006362e35b17f4ebddd5fca090233bef8dfc84dca9d9127e56ec3a + languageName: node + linkType: hard + "@babel/helper-string-parser@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-string-parser@npm:7.25.9" @@ -134,6 +224,23 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-option@npm:7.25.9" + checksum: 27fb195d14c7dcb07f14e58fe77c44eea19a6a40a74472ec05c441478fa0bb49fa1c32b2d64be7a38870ee48ef6601bdebe98d512f0253aea0b39756c4014f3e + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.26.10": + version: 7.26.10 + resolution: "@babel/helpers@npm:7.26.10" + dependencies: + "@babel/template": "npm:^7.26.9" + "@babel/types": "npm:^7.26.10" + checksum: f99e1836bcffce96db43158518bb4a24cf266820021f6461092a776cba2dc01d9fc8b1b90979d7643c5c2ab7facc438149064463a52dd528b21c6ab32509784f + languageName: node + linkType: hard + "@babel/highlight@npm:^7.23.4": version: 7.23.4 resolution: "@babel/highlight@npm:7.23.4" @@ -145,6 +252,17 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.26.9": + version: 7.26.10 + resolution: "@babel/parser@npm:7.26.10" + dependencies: + "@babel/types": "npm:^7.26.10" + bin: + parser: ./bin/babel-parser.js + checksum: c47f5c0f63cd12a663e9dc94a635f9efbb5059d98086a92286d7764357c66bceba18ccbe79333e01e9be3bfb8caba34b3aaebfd8e62c3d5921c8cf907267be75 + languageName: node + linkType: hard + "@babel/parser@npm:^7.25.4": version: 7.26.9 resolution: "@babel/parser@npm:7.26.9" @@ -165,6 +283,32 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/template@npm:7.26.9" + dependencies: + "@babel/code-frame": "npm:^7.26.2" + "@babel/parser": "npm:^7.26.9" + "@babel/types": "npm:^7.26.9" + checksum: 019b1c4129cc01ad63e17529089c2c559c74709d225f595eee017af227fee11ae8a97a6ab19ae6768b8aa22d8d75dcb60a00b28f52e9fa78140672d928bc1ae9 + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10": + version: 7.26.10 + resolution: "@babel/traverse@npm:7.26.10" + dependencies: + "@babel/code-frame": "npm:^7.26.2" + "@babel/generator": "npm:^7.26.10" + "@babel/parser": "npm:^7.26.10" + "@babel/template": "npm:^7.26.9" + "@babel/types": "npm:^7.26.10" + debug: "npm:^4.3.1" + globals: "npm:^11.1.0" + checksum: 4e86bb4e3c30a6162bb91df86329df79d96566c3e2d9ccba04f108c30473a3a4fd360d9990531493d90f6a12004f10f616bf9b9229ca30c816b708615e9de2ac + languageName: node + linkType: hard + "@babel/types@npm:^7.25.4, @babel/types@npm:^7.26.9": version: 7.26.9 resolution: "@babel/types@npm:7.26.9" @@ -175,10 +319,13 @@ __metadata: languageName: node linkType: hard -"@bcoe/v8-coverage@npm:^1.0.2": - version: 1.0.2 - resolution: "@bcoe/v8-coverage@npm:1.0.2" - checksum: 1eb1dc93cc17fb7abdcef21a6e7b867d6aa99a7ec88ec8207402b23d9083ab22a8011213f04b2cf26d535f1d22dc26139b7929e6c2134c254bd1e14ba5e678c3 +"@babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10": + version: 7.26.10 + resolution: "@babel/types@npm:7.26.10" + dependencies: + "@babel/helper-string-parser": "npm:^7.25.9" + "@babel/helper-validator-identifier": "npm:^7.25.9" + checksum: 7a7f83f568bfc3dfabfaf9ae3a97ab5c061726c0afa7dcd94226d4f84a81559da368ed79671e3a8039d16f12476cf110381a377ebdea07587925f69628200dac languageName: node linkType: hard @@ -2689,7 +2836,6 @@ __metadata: resolution: "@hono/oidc-auth@workspace:packages/oidc-auth" dependencies: "@types/jsonwebtoken": "npm:^9.0.5" - "@vitest/coverage-v8": "npm:^3.0.8" hono: "npm:^4.0.1" jsonwebtoken: "npm:^9.0.2" oauth4webapi: "npm:^2.6.0" @@ -3386,7 +3532,7 @@ __metadata: languageName: node linkType: hard -"@istanbuljs/schema@npm:^0.1.2": +"@istanbuljs/schema@npm:^0.1.2, @istanbuljs/schema@npm:^0.1.3": version: 0.1.3 resolution: "@istanbuljs/schema@npm:0.1.3" checksum: 61c5286771676c9ca3eb2bd8a7310a9c063fb6e0e9712225c8471c582d157392c88f5353581c8c9adbe0dff98892317d2fdfc56c3499aa42e0194405206a963a @@ -3467,7 +3613,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24": +"@jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": version: 0.3.25 resolution: "@jridgewell/trace-mapping@npm:0.3.25" dependencies: @@ -5192,29 +5338,23 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-v8@npm:^3.0.8": +"@vitest/coverage-istanbul@npm:^3.0.8": version: 3.0.8 - resolution: "@vitest/coverage-v8@npm:3.0.8" + resolution: "@vitest/coverage-istanbul@npm:3.0.8" dependencies: - "@ampproject/remapping": "npm:^2.3.0" - "@bcoe/v8-coverage": "npm:^1.0.2" + "@istanbuljs/schema": "npm:^0.1.3" debug: "npm:^4.4.0" istanbul-lib-coverage: "npm:^3.2.2" + istanbul-lib-instrument: "npm:^6.0.3" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^5.0.6" istanbul-reports: "npm:^3.1.7" - magic-string: "npm:^0.30.17" magicast: "npm:^0.3.5" - std-env: "npm:^3.8.0" test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^2.0.0" peerDependencies: - "@vitest/browser": 3.0.8 vitest: 3.0.8 - peerDependenciesMeta: - "@vitest/browser": - optional: true - checksum: c1f4183d57c56e41a0b9708a43fdf05c83ff447ab1b4ad957aa16af14349b7221a299e157065ca7b2aa46583057633dd92a21d5437cd5e834619ae0be0d5ccf0 + checksum: 9f968337f32d0672f7fb064fe031526b271f55a3ef463cac2c31ec5ffb6fa01e4d370408ed10326cc71c1214b873ca0193762a4b8925aea8cc6bbd761d869153 languageName: node linkType: hard @@ -6068,6 +6208,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.24.0": + version: 4.24.4 + resolution: "browserslist@npm:4.24.4" + dependencies: + caniuse-lite: "npm:^1.0.30001688" + electron-to-chromium: "npm:^1.5.73" + node-releases: "npm:^2.0.19" + update-browserslist-db: "npm:^1.1.1" + bin: + browserslist: cli.js + checksum: db7ebc1733cf471e0b490b4f47e3e2ea2947ce417192c9246644e92c667dd56a71406cc58f62ca7587caf828364892e9952904a02b7aead752bc65b62a37cfe9 + languageName: node + linkType: hard + "buffer-crc32@npm:^1.0.0": version: 1.0.0 resolution: "buffer-crc32@npm:1.0.0" @@ -6289,6 +6443,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001688": + version: 1.0.30001703 + resolution: "caniuse-lite@npm:1.0.30001703" + checksum: ed88e318da28e9e59c4ac3a2e3c42859558b7b713aebf03696a1f916e4ed4b70734dda82be04635e2b62ec355b8639bbed829b7b12ff528d7f9cc31a3a5bea91 + languageName: node + linkType: hard + "capnp-ts@npm:^0.7.0": version: 0.7.0 resolution: "capnp-ts@npm:0.7.0" @@ -6958,6 +7119,13 @@ __metadata: languageName: node linkType: hard +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 8f2f7a27a1a011cc6cc88cc4da2d7d0cfa5ee0369508baae3d98c260bb3ac520691464e5bbe4ae7cdf09860c1d69ecc6f70c63c6e7c7f7e3f18ec08484dc7d9b + languageName: node + linkType: hard + "cookie-signature@npm:1.0.6": version: 1.0.6 resolution: "cookie-signature@npm:1.0.6" @@ -7266,6 +7434,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.1.0, debug@npm:^4.4.0": + version: 4.4.0 + resolution: "debug@npm:4.4.0" + dependencies: + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: db94f1a182bf886f57b4755f85b3a74c39b5114b9377b7ab375dc2cfa3454f09490cc6c30f829df3fc8042bc8b8995f6567ce5cd96f3bc3688bd24027197d9de + languageName: node + linkType: hard + "debug@npm:^4.3.5": version: 4.3.5 resolution: "debug@npm:4.3.5" @@ -7290,18 +7470,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.4.0": - version: 4.4.0 - resolution: "debug@npm:4.4.0" - dependencies: - ms: "npm:^2.1.3" - peerDependenciesMeta: - supports-color: - optional: true - checksum: db94f1a182bf886f57b4755f85b3a74c39b5114b9377b7ab375dc2cfa3454f09490cc6c30f829df3fc8042bc8b8995f6567ce5cd96f3bc3688bd24027197d9de - languageName: node - linkType: hard - "decamelize-keys@npm:^1.1.0": version: 1.1.1 resolution: "decamelize-keys@npm:1.1.1" @@ -7700,6 +7868,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.5.73": + version: 1.5.114 + resolution: "electron-to-chromium@npm:1.5.114" + checksum: cb86057d78f1aeb53ab6550dedacfd9496bcc6676bab7b48466c3958ba9ce0ed78c7213b1eab99ba38542cbaaa176eb7f8ea8b0274c0688b8ce3058291549430 + languageName: node + linkType: hard + "elegant-spinner@npm:^1.0.1": version: 1.0.1 resolution: "elegant-spinner@npm:1.0.1" @@ -8584,6 +8759,13 @@ __metadata: languageName: node linkType: hard +"escalade@npm:^3.2.0": + version: 3.2.0 + resolution: "escalade@npm:3.2.0" + checksum: ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 + languageName: node + linkType: hard + "escape-goat@npm:^2.0.0": version: 2.1.1 resolution: "escape-goat@npm:2.1.1" @@ -9976,6 +10158,13 @@ __metadata: languageName: node linkType: hard +"gensync@npm:^1.0.0-beta.2": + version: 1.0.0-beta.2 + resolution: "gensync@npm:1.0.0-beta.2" + checksum: 782aba6cba65b1bb5af3b095d96249d20edbe8df32dbf4696fd49be2583faf676173bf4809386588828e4dd76a3354fcbeb577bab1c833ccd9fc4577f26103f8 + languageName: node + linkType: hard + "get-caller-file@npm:^2.0.1, get-caller-file@npm:^2.0.5": version: 2.0.5 resolution: "get-caller-file@npm:2.0.5" @@ -10236,6 +10425,13 @@ __metadata: languageName: node linkType: hard +"globals@npm:^11.1.0": + version: 11.12.0 + resolution: "globals@npm:11.12.0" + checksum: 758f9f258e7b19226bd8d4af5d3b0dcf7038780fb23d82e6f98932c44e239f884847f1766e8fa9cc5635ccb3204f7fa7314d4408dd4002a5e8ea827b4018f0a1 + languageName: node + linkType: hard + "globals@npm:^13.19.0": version: 13.24.0 resolution: "globals@npm:13.24.0" @@ -10604,6 +10800,7 @@ __metadata: "@types/node": "npm:^20.14.8" "@typescript-eslint/eslint-plugin": "npm:^8.7.0" "@typescript-eslint/parser": "npm:^8.7.0" + "@vitest/coverage-istanbul": "npm:^3.0.8" eslint: "npm:^9.17.0" npm-run-all2: "npm:^6.2.2" prettier: "npm:^2.7.1" @@ -11691,13 +11888,26 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.2": +"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0, istanbul-lib-coverage@npm:^3.2.2": version: 3.2.2 resolution: "istanbul-lib-coverage@npm:3.2.2" checksum: 6c7ff2106769e5f592ded1fb418f9f73b4411fd5a084387a5410538332b6567cd1763ff6b6cadca9b9eb2c443cce2f7ea7d7f1b8d315f9ce58539793b1e0922b languageName: node linkType: hard +"istanbul-lib-instrument@npm:^6.0.3": + version: 6.0.3 + resolution: "istanbul-lib-instrument@npm:6.0.3" + dependencies: + "@babel/core": "npm:^7.23.9" + "@babel/parser": "npm:^7.23.9" + "@istanbuljs/schema": "npm:^0.1.3" + istanbul-lib-coverage: "npm:^3.2.0" + semver: "npm:^7.5.4" + checksum: a1894e060dd2a3b9f046ffdc87b44c00a35516f5e6b7baf4910369acca79e506fc5323a816f811ae23d82334b38e3ddeb8b3b331bd2c860540793b59a8689128 + languageName: node + linkType: hard + "istanbul-lib-report@npm:^3.0.0, istanbul-lib-report@npm:^3.0.1": version: 3.0.1 resolution: "istanbul-lib-report@npm:3.0.1" @@ -11839,6 +12049,15 @@ __metadata: languageName: node linkType: hard +"jsesc@npm:^3.0.2": + version: 3.1.0 + resolution: "jsesc@npm:3.1.0" + bin: + jsesc: bin/jsesc + checksum: 531779df5ec94f47e462da26b4cbf05eb88a83d9f08aac2ba04206508fc598527a153d08bd462bae82fc78b3eaa1a908e1a4a79f886e9238641c4cdefaf118b1 + languageName: node + linkType: hard + "json-bigint@npm:^1.0.0": version: 1.0.0 resolution: "json-bigint@npm:1.0.0" @@ -11936,6 +12155,15 @@ __metadata: languageName: node linkType: hard +"json5@npm:^2.2.3": + version: 2.2.3 + resolution: "json5@npm:2.2.3" + bin: + json5: lib/cli.js + checksum: 5a04eed94810fa55c5ea138b2f7a5c12b97c3750bc63d11e511dcecbfef758003861522a070c2272764ee0f4e3e323862f386945aeb5b85b87ee43f084ba586c + languageName: node + linkType: hard + "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0" @@ -12527,6 +12755,15 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: "npm:^3.0.2" + checksum: 89b2ef2ef45f543011e38737b8a8622a2f8998cddf0e5437174ef8f1f70a8b9d14a918ab3e232cb3ba343b7abddffa667f0b59075b2b80e6b4d63c3de6127482 + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -13870,6 +14107,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.19": + version: 2.0.19 + resolution: "node-releases@npm:2.0.19" + checksum: 52a0dbd25ccf545892670d1551690fe0facb6a471e15f2cfa1b20142a5b255b3aa254af5f59d6ecb69c2bec7390bc643c43aa63b13bf5e64b6075952e716b1aa + languageName: node + linkType: hard + "nopt@npm:^7.0.0": version: 7.2.0 resolution: "nopt@npm:7.2.0" @@ -16369,7 +16613,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.2.0, semver@npm:^6.3.0": +"semver@npm:^6.0.0, semver@npm:^6.2.0, semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" bin: @@ -18781,6 +19025,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.1": + version: 1.1.3 + resolution: "update-browserslist-db@npm:1.1.3" + dependencies: + escalade: "npm:^3.2.0" + picocolors: "npm:^1.1.1" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 682e8ecbf9de474a626f6462aa85927936cdd256fe584c6df2508b0df9f7362c44c957e9970df55dfe44d3623807d26316ea2c7d26b80bb76a16c56c37233c32 + languageName: node + linkType: hard + "update-notifier-cjs@npm:^5.1.6": version: 5.1.6 resolution: "update-notifier-cjs@npm:5.1.6" @@ -19632,6 +19890,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: c66a5c46bc89af1625476f7f0f2ec3653c1a1791d2f9407cfb4c2ba812a1e1c9941416d71ba9719876530e3340a99925f697142989371b72d93b9ee628afd8c1 + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0" From 6c8ba4cdcd748d6fcf0b6333d843e2fb98695fdc Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 18 Mar 2025 19:56:11 +1100 Subject: [PATCH 06/81] ci: initial coverage (#1022) --- .github/workflows/ci-coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-coverage.yml b/.github/workflows/ci-coverage.yml index 21fa914e..9610084d 100644 --- a/.github/workflows/ci-coverage.yml +++ b/.github/workflows/ci-coverage.yml @@ -1,5 +1,7 @@ name: initial-coverage on: + push: + branches: [main] pull_request: branches: ['*'] From 783a082c12e45f127fd8916cfad7f824c69a048f Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Wed, 19 Mar 2025 19:53:11 +1100 Subject: [PATCH 07/81] chore: add coverage badges (#1023) * chore: add coverage badges * ci(casbin): fix spelling --- .github/workflows/ci-casbin.yml | 14 +- .github/workflows/ci-coverage.yml | 23 -- packages/ajv-validator/README.md | 26 +-- packages/arktype-validator/README.md | 4 +- packages/auth-js/README.md | 3 + packages/bun-transpiler/README.md | 2 + packages/casbin/README.md | 31 +-- packages/class-validator/README.md | 26 +-- packages/clerk-auth/README.md | 15 +- packages/cloudflare-access/README.md | 4 +- packages/conform-validator/README.md | 2 + packages/effect-validator/README.md | 2 + packages/esbuild-transpiler/README.md | 2 + packages/event-emitter/README.md | 294 +++++++++++++++----------- packages/firebase-auth/README.md | 40 ++-- packages/graphql-server/README.md | 2 + packages/hello/README.md | 2 + packages/medley-router/README.md | 2 + packages/node-ws/README.md | 13 +- packages/oauth-providers/README.md | 28 +-- packages/oidc-auth/README.md | 4 +- packages/otel/README.md | 2 + packages/prometheus/README.md | 37 ++-- packages/qwik-city/README.md | 2 + packages/react-compat/README.md | 2 + packages/react-renderer/README.md | 2 + packages/sentry/README.md | 2 + packages/standard-validator/README.md | 14 +- packages/swagger-editor/README.md | 5 +- packages/swagger-ui/README.md | 27 +-- packages/trpc-server/README.md | 15 +- packages/tsyringe/README.md | 25 ++- packages/typebox-validator/README.md | 2 + packages/typia-validator/README.md | 6 +- packages/valibot-validator/README.md | 2 + packages/zod-openapi/README.md | 2 + packages/zod-validator/README.md | 17 +- 37 files changed, 402 insertions(+), 299 deletions(-) delete mode 100644 .github/workflows/ci-coverage.yml diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index 5240ff18..1b659927 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -1,13 +1,13 @@ -name: ci-cabin +name: ci-casbin on: push: branches: [main] paths: - - 'packages/cabin/**' + - 'packages/casbin/**' pull_request: branches: ['*'] paths: - - 'packages/cabin/**' + - 'packages/casbin/**' jobs: ci: @@ -17,13 +17,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.x - - run: yarn workspaces focus hono-middleware @hono/ci-cabin - - run: yarn workspace @hono/ci-cabin build - - run: yarn test --coverage --project @hono/ci-cabin + - run: yarn workspaces focus hono-middleware @hono/casbin + - run: yarn workspace @hono/casbin build + - run: yarn test --coverage --project @hono/casbin - uses: codecov/codecov-action@v5 with: fail_ci_if_error: true directory: ./coverage - flags: ci-cabin + flags: casbin env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-coverage.yml b/.github/workflows/ci-coverage.yml deleted file mode 100644 index 9610084d..00000000 --- a/.github/workflows/ci-coverage.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: initial-coverage -on: - push: - branches: [main] - pull_request: - branches: ['*'] - -jobs: - ci: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20.x - - run: yarn install - - run: yarn vitest --coverage - - uses: codecov/codecov-action@v5 - with: - fail_ci_if_error: true - directory: ./coverage - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/packages/ajv-validator/README.md b/packages/ajv-validator/README.md index cd02581f..233fe4f4 100644 --- a/packages/ajv-validator/README.md +++ b/packages/ajv-validator/README.md @@ -1,5 +1,7 @@ # Ajv validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=ajv-validator)](https://codecov.io/github/honojs/middleware) + Validator middleware using [Ajv](https://github.com/ajv-validator/ajv) for [Hono](https://honojs.dev) applications. Define your schema with Ajv and validate incoming requests. @@ -8,9 +10,9 @@ Define your schema with Ajv and validate incoming requests. No Hook: ```ts -import { type JSONSchemaType } from 'ajv'; -import { ajvValidator } from '@hono/ajv-validator'; - +import { type JSONSchemaType } from 'ajv' +import { ajvValidator } from '@hono/ajv-validator' + const schema: JSONSchemaType<{ name: string; age: number }> = { type: 'object', properties: { @@ -19,19 +21,19 @@ const schema: JSONSchemaType<{ name: string; age: number }> = { }, required: ['name', 'age'], additionalProperties: false, -} as const; +} as const const route = app.post('/user', ajvValidator('json', schema), (c) => { - const user = c.req.valid('json'); - return c.json({ success: true, message: `${user.name} is ${user.age}` }); -}); + const user = c.req.valid('json') + return c.json({ success: true, message: `${user.name} is ${user.age}` }) +}) ``` Hook: ```ts -import { type JSONSchemaType } from 'ajv'; -import { ajvValidator } from '@hono/ajv-validator'; +import { type JSONSchemaType } from 'ajv' +import { ajvValidator } from '@hono/ajv-validator' const schema: JSONSchemaType<{ name: string; age: number }> = { type: 'object', @@ -41,17 +43,17 @@ const schema: JSONSchemaType<{ name: string; age: number }> = { }, required: ['name', 'age'], additionalProperties: false, -}; +} app.post( '/user', ajvValidator('json', schema, (result, c) => { if (!result.success) { - return c.text('Invalid!', 400); + return c.text('Invalid!', 400) } }) //... -); +) ``` ## Author diff --git a/packages/arktype-validator/README.md b/packages/arktype-validator/README.md index 0537cc74..f177f2cd 100644 --- a/packages/arktype-validator/README.md +++ b/packages/arktype-validator/README.md @@ -1,5 +1,7 @@ # ArkType validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=arktype-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [ArkType](https://arktype.io/) for [Hono](https://honojs.dev) applications. You can write a schema with ArkType and validate the incoming values. @@ -11,7 +13,7 @@ import { arktypeValidator } from '@hono/arktype-validator' const schema = type({ name: 'string', - age: 'number' + age: 'number', }) app.post('/author', arktypeValidator('json', schema), (c) => { diff --git a/packages/auth-js/README.md b/packages/auth-js/README.md index 3457bfaa..4dbccd91 100644 --- a/packages/auth-js/README.md +++ b/packages/auth-js/README.md @@ -1,5 +1,7 @@ # Auth.js middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=auth-js)](https://codecov.io/github/honojs/middleware) + This is a [Auth.js](https://authjs.dev) third-party middleware for [Hono](https://github.com/honojs/hono). This middleware can be used to inject the Auth.js session into the request context. @@ -112,6 +114,7 @@ const useSession = () => { return { session: data, status } } ``` + For more details on how to Popup Oauth Login see [example](https://github.com/divyam234/next-auth-hono-react) ## Author diff --git a/packages/bun-transpiler/README.md b/packages/bun-transpiler/README.md index 9192bf49..11c9d965 100644 --- a/packages/bun-transpiler/README.md +++ b/packages/bun-transpiler/README.md @@ -1,5 +1,7 @@ # Bun Transpiler middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=bun-transpiler)](https://codecov.io/github/honojs/middleware) + The Bun Transpiler middleware is a Hono middleware designed to transpile content such as TypeScript or TSX. You can place your script written in TypeScript in a directory and serve it using `serveStatic`. When you apply this middleware, your script will automatically be served transpiled into JavaScript code. This middleware works only with [Bun](https://bun.sh/). diff --git a/packages/casbin/README.md b/packages/casbin/README.md index d6a64540..e5e3ab4a 100644 --- a/packages/casbin/README.md +++ b/packages/casbin/README.md @@ -1,5 +1,7 @@ # Casbin Middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=casbin)](https://codecov.io/github/honojs/middleware) + This is a third-party [Casbin](https://casbin.org) middleware for [Hono](https://github.com/honojs/hono). This middleware can be used to enforce authorization policies defined using Casbin in your Hono routes. @@ -56,7 +58,8 @@ import { casbin } from '@hono/casbin' import { basicAuthorizer } from '@hono/casbin/helper' const app = new Hono() -app.use('*', +app.use( + '*', basicAuth( { username: 'alice', // alice has full access to /dataset1/test @@ -69,7 +72,7 @@ app.use('*', ), casbin({ newEnforcer: newEnforcer('examples/model.conf', 'examples/policy.csv'), - authorizer: basicAuthorizer + authorizer: basicAuthorizer, }) ) app.get('/dataset1/test', (c) => c.text('dataset1 test')) // alice and bob can access /dataset1/test @@ -89,13 +92,14 @@ import { casbin } from '@hono/casbin' import { jwtAuthorizer } from '@hono/casbin/helper' const app = new Hono() -app.use('*', +app.use( + '*', jwt({ secret: 'it-is-very-secret', }), casbin({ newEnforcer: newEnforcer('examples/model.conf', 'examples/policy.csv'), - authorizer: jwtAuthorizer + authorizer: jwtAuthorizer, }) ) app.get('/dataset1/test', (c) => c.text('dataset1 test')) // alice and bob can access /dataset1/test @@ -112,7 +116,7 @@ const claimMapping = { // ... casbin({ newEnforcer: newEnforcer('examples/model.conf', 'examples/policy.csv'), - authorizer: (c, e) => jwtAuthorizer(c, e, claimMapping) + authorizer: (c, e) => jwtAuthorizer(c, e, claimMapping), }) ``` @@ -126,13 +130,16 @@ import { newEnforcer } from 'casbin' import { casbin } from '@hono/casbin' const app = new Hono() -app.use('*', casbin({ - newEnforcer: newEnforcer('path-to-your-model.conf', 'path-to-your-policy.csv'), - authorizer: async (c, enforcer) => { - const { user, path, method } = c - return await enforcer.enforce(user, path, method) - } -})) +app.use( + '*', + casbin({ + newEnforcer: newEnforcer('path-to-your-model.conf', 'path-to-your-policy.csv'), + authorizer: async (c, enforcer) => { + const { user, path, method } = c + return await enforcer.enforce(user, path, method) + }, + }) +) ``` ## Author diff --git a/packages/class-validator/README.md b/packages/class-validator/README.md index c12325b1..65d17421 100644 --- a/packages/class-validator/README.md +++ b/packages/class-validator/README.md @@ -1,5 +1,7 @@ # Class-validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=class-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [class-validator](https://github.com/typestack/class-validator) for [Hono](https://github.com/honojs/hono) applications. ## Usage @@ -7,16 +9,15 @@ The validator middleware using [class-validator](https://github.com/typestack/cl ```ts import { classValidator } from '@hono/class-validator' import { IsInt, IsString } from 'class-validator' - + class CreateUserDto { @IsString() - name!: string; - + name!: string + @IsInt() - age!: number; + age!: number } - - + const route = app.post('/user', classValidator('json', CreateUserDto), (c) => { const user = c.req.valid('json') return c.json({ success: true, message: `${user.name} is ${user.age}` }) @@ -31,17 +32,18 @@ import { IsInt, IsString } from 'class-validator' class CreateUserDto { @IsString() - name!: string; + name!: string - @IsInt() - age!: number; + @IsInt() + age!: number } app.post( - '/user', classValidator('json', CreateUserDto, (result, c) => { + '/user', + classValidator('json', CreateUserDto, (result, c) => { if (!result.success) { return c.text('Invalid!', 400) - } + } }) //... ) @@ -53,4 +55,4 @@ app.post( ## License -MIT \ No newline at end of file +MIT diff --git a/packages/clerk-auth/README.md b/packages/clerk-auth/README.md index a5ad8e82..63dc8326 100644 --- a/packages/clerk-auth/README.md +++ b/packages/clerk-auth/README.md @@ -1,5 +1,7 @@ # Clerk middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=clerk-auth)](https://codecov.io/github/honojs/middleware) + This is a [Clerk](https://clerk.com) third-party middleware for [Hono](https://github.com/honojs/hono). This middleware can be used to inject the active Clerk session into the request context. @@ -33,13 +35,13 @@ app.get('/', (c) => { if (!auth?.userId) { return c.json({ - message: 'You are not logged in.' + message: 'You are not logged in.', }) } return c.json({ message: 'You are logged in!', - userId: auth.userId + userId: auth.userId, }) }) @@ -65,9 +67,12 @@ app.get('/', async (c) => { user, }) } catch (e) { - return c.json({ - message: 'User not found.' - }, 404) + return c.json( + { + message: 'User not found.', + }, + 404 + ) } }) diff --git a/packages/cloudflare-access/README.md b/packages/cloudflare-access/README.md index 533786a6..575fc5ab 100644 --- a/packages/cloudflare-access/README.md +++ b/packages/cloudflare-access/README.md @@ -1,5 +1,7 @@ # Cloudflare Access middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=cloudflare-access)](https://codecov.io/github/honojs/middleware) + This is a [Cloudflare Access](https://www.cloudflare.com/zero-trust/products/access/) third-party middleware for [Hono](https://github.com/honojs/hono). @@ -48,7 +50,7 @@ export default app ## Errors throw by the middleware | Error | HTTP Code | -|--------------------------------------------------------------------------------------------------------|-----------| +| ------------------------------------------------------------------------------------------------------ | --------- | | Authentication error: Missing bearer token | 401 | | Authentication error: Unable to decode Bearer token | 401 | | Authentication error: Token is expired | 401 | diff --git a/packages/conform-validator/README.md b/packages/conform-validator/README.md index a3fbc8b8..5e61ce36 100644 --- a/packages/conform-validator/README.md +++ b/packages/conform-validator/README.md @@ -1,5 +1,7 @@ # Conform validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=conform-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [conform](https://conform.guide) for [Hono](https://honojs.dev) applications. This middleware allows you to validate submitted FormValue and making better use of [Hono RPC](https://hono.dev/docs/guides/rpc). ## Usage diff --git a/packages/effect-validator/README.md b/packages/effect-validator/README.md index 2d386e21..84e1c694 100644 --- a/packages/effect-validator/README.md +++ b/packages/effect-validator/README.md @@ -1,5 +1,7 @@ # Effect Schema Validator Middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=effect-validator)](https://codecov.io/github/honojs/middleware) + This package provides a validator middleware using [Effect Schema](https://github.com/Effect-TS/effect/blob/main/packages/schema/README.md) for [Hono](https://honojs.dev) applications. With this middleware, you can define schemas using Effect Schema and validate incoming data in your Hono routes. ## Why Effect Schema? diff --git a/packages/esbuild-transpiler/README.md b/packages/esbuild-transpiler/README.md index 52388835..44de0f3b 100644 --- a/packages/esbuild-transpiler/README.md +++ b/packages/esbuild-transpiler/README.md @@ -1,5 +1,7 @@ # esbuild Transpiler Middleware +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=esbuild-transpiler)](https://codecov.io/github/honojs/middleware) + The **esbuild Transpiler Middleware** is a Hono Middleware designed to transpile content such as TypeScript or TSX. You can place your script written in TypeScript in a directory and serve it using `serveStatic`. When you apply this Middleware, the script will be transpiled into JavaScript code. diff --git a/packages/event-emitter/README.md b/packages/event-emitter/README.md index e316d635..7c7a64c2 100644 --- a/packages/event-emitter/README.md +++ b/packages/event-emitter/README.md @@ -1,23 +1,26 @@ # Event Emitter middleware for Hono + +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=event-emitter)](https://codecov.io/github/honojs/middleware) + ### Minimal, lightweight and edge compatible Event Emitter middleware for [Hono](https://github.com/honojs/hono). ## Table of Contents + 1. [Introduction](#introduction) 2. [Installation](#installation) 3. [Usage Examples](#usage-examples) - - [1. As Hono middleware](#1-as-hono-middleware) - - [2. Standalone](#2-standalone) + - [1. As Hono middleware](#1-as-hono-middleware) + - [2. Standalone](#2-standalone) 4. [API Reference](#api-reference) - - [emitter](#emitter) - - [createEmitter](#createemitter) - - [defineHandler](#definehandler) - - [defineHandlers](#definehandlers) - - [Emitter API Documentation](#emitter) + - [emitter](#emitter) + - [createEmitter](#createemitter) + - [defineHandler](#definehandler) + - [defineHandlers](#definehandlers) + - [Emitter API Documentation](#emitter) 5. [Types](#types) ## Introduction - This library provides an event emitter middleware for Hono, allowing you to easily implement and manage event-driven architectures in your Hono applications. It enables event driven logic flow, allowing you to decouple your code and make it more modular and maintainable. @@ -52,13 +55,13 @@ bun install @hono/event-emitter // Define event handlers export const handlers = { 'user:created': [ - (c, payload) => {} // c is current Context, payload is whatever the emit method passes + (c, payload) => {}, // c is current Context, payload is whatever the emit method passes ], 'user:deleted': [ - async (c, payload) => {} // c is current Context, payload is whatever the emit method passes + async (c, payload) => {}, // c is current Context, payload is whatever the emit method passes ], - 'foo': [ - (c, payload) => {} // c is current Context, payload is whatever the emit method passes + foo: [ + (c, payload) => {}, // c is current Context, payload is whatever the emit method passes ], } @@ -68,7 +71,6 @@ export const handlers = { // // ... // console.log('New foo created:', payload) // } - ``` ```js @@ -115,7 +117,6 @@ but because middlewares are called on every request, you can only use named func ### 2 Standalone - ```js // events.js @@ -124,11 +125,11 @@ import { createEmitter } from '@hono/event-emitter' // Define event handlers export const handlers = { 'user:created': [ - (c, payload) => {} // c is current Context, payload will be whatever you pass to emit method + (c, payload) => {}, // c is current Context, payload will be whatever you pass to emit method ], 'user:deleted': [ - async (c, payload) => {} // c is current Context, payload will be whatever you pass to emit method - ] + async (c, payload) => {}, // c is current Context, payload will be whatever you pass to emit method + ], } // Initialize emitter with handlers @@ -141,7 +142,6 @@ const ee = createEmitter(handlers) // }) export default ee - ``` ```js @@ -154,17 +154,17 @@ import ee from './events' const app = new Hono() app.post('/users', async (c) => { - // ... - // Emit event and pass current context plus the payload - ee.emit(c, 'user:created', user) - // ... + // ... + // Emit event and pass current context plus the payload + ee.emit(c, 'user:created', user) + // ... }) app.delete('/users/:id', async (c) => { - // ... - // Emit event and pass current context plus the payload - await ee.emitAsync(c, 'user:deleted', id ) - // ... + // ... + // Emit event and pass current context plus the payload + await ee.emitAsync(c, 'user:deleted', id) + // ... }) export default app @@ -180,27 +180,25 @@ export default app import type { Emitter } from '@hono/event-emitter' export type User = { - id: string, - title: string, - role: string + id: string + title: string + role: string } export type AvailableEvents = { - // event key: payload type - 'user:created': User; - 'user:deleted': string; - 'foo': { bar: number }; -}; + // event key: payload type + 'user:created': User + 'user:deleted': string + foo: { bar: number } +} export type Env = { - Bindings: {}; - Variables: { - // Define emitter variable type - emitter: Emitter; - }; -}; - - + Bindings: {} + Variables: { + // Define emitter variable type + emitter: Emitter + } +} ``` ```ts @@ -212,11 +210,11 @@ import { AvailableEvents } from './types' // Define event handlers export const handlers = defineHandlers({ 'user:created': [ - (c, user) => {} // c is current Context, payload will be correctly inferred as User + (c, user) => {}, // c is current Context, payload will be correctly inferred as User ], 'user:deleted': [ - async (c, payload) => {} // c is current Context, payload will be inferred as string - ] + async (c, payload) => {}, // c is current Context, payload will be inferred as string + ], }) // You can also define single event handler as named function using defineHandler to leverage typings @@ -225,7 +223,6 @@ export const handlers = defineHandlers({ // // ... // console.log('Foo:', payload) // }) - ``` ```ts @@ -277,35 +274,39 @@ but because middlewares are called on every request, you can only use named func // types.ts type User = { - id: string, - title: string, + id: string + title: string role: string } type AvailableEvents = { // event key: payload type - 'user:created': User; - 'user:updated': User; - 'user:deleted': string, - 'foo': { bar: number }; + 'user:created': User + 'user:updated': User + 'user:deleted': string + foo: { bar: number } } - ``` ```ts // events.ts -import { createEmitter, defineHandlers, type Emitter, type EventHandlers } from '@hono/event-emitter' +import { + createEmitter, + defineHandlers, + type Emitter, + type EventHandlers, +} from '@hono/event-emitter' import { AvailableEvents } from './types' // Define event handlers export const handlers = defineHandlers({ 'user:created': [ - (c, user) => {} // c is current Context, payload will be correctly inferred as User + (c, user) => {}, // c is current Context, payload will be correctly inferred as User ], 'user:deleted': [ - async (c, payload) => {} // c is current Context, payload will be inferred as string - ] + async (c, payload) => {}, // c is current Context, payload will be inferred as string + ], }) // You can also define single event handler using defineHandler to leverage typings @@ -318,12 +319,12 @@ const ee = createEmitter(handlers) // And you can add more listeners on the fly. // Here you can use anonymous or closure function because .on() is only called once. -ee.on('foo', async (c, payload) => { // Payload will be correctly inferred as User - console.log('User updated:', payload) +ee.on('foo', async (c, payload) => { + // Payload will be correctly inferred as User + console.log('User updated:', payload) }) export default ee - ``` ```ts @@ -345,7 +346,7 @@ app.post('/user', async (c) => { app.delete('/user/:id', async (c) => { // ... // Emit event and pass current context plus the payload (string) - ee.emit(c, 'user:deleted', id ) + ee.emit(c, 'user:deleted', id) // ... }) @@ -355,26 +356,29 @@ export default app ## API Reference ### emitter + Creates a Hono middleware that adds an event emitter to the context. ```ts function emitter( - eventHandlers?: EventHandlers, - options?: EventEmitterOptions + eventHandlers?: EventHandlers, + options?: EventEmitterOptions ): MiddlewareHandler ``` #### Parameters + - `eventHandlers` - (optional): An object containing initial event handlers. Each key is event name and value is array of event handlers. Use `defineHandlers` function to create fully typed event handlers. - `options` - (optional): An object containing options for the emitter. Currently, the only option is `maxHandlers`, which is the maximum number of handlers that can be added to an event. The default is `10`. #### Returns + A Hono middleware function that adds an `Emitter` instance to the context under the key 'emitter'. #### Example ```ts -app.use(emitter(eventHandlers)); +app.use(emitter(eventHandlers)) ``` ### createEmitter @@ -383,12 +387,13 @@ Creates new instance of event emitter with provided handlers. This is usefull wh ```ts function createEmitter( - eventHandlers?: EventHandlers, - options?: EventEmitterOptions + eventHandlers?: EventHandlers, + options?: EventEmitterOptions ): Emitter ``` #### Parameters + - `eventHandlers` - (optional): An object containing initial event handlers. Each key is event name and value is array of event handlers. - `options` - (optional): An object containing options for the emitter. Currently, the only option is `maxHandlers`, which is the maximum number of handlers that can be added to an event. The default is `10`. @@ -399,7 +404,7 @@ An `Emitter` instance: #### Example ```ts -const ee = createEmitter(eventHandlers); +const ee = createEmitter(eventHandlers) ``` ### defineHandler @@ -408,14 +413,16 @@ A utility function to define a typed event handler. ```ts function defineHandler( - handler: EventHandler, + handler: EventHandler ): EventHandler ``` #### Parameters + - `handler`: The event handler function to be defined. #### Type parameters + - `EPMap`: The available event key to payload map i.e.: `type AvailableEvents = { 'user:created': { name: string } };`. - `Key`: The key of the event type. - `E`: (optional) - The Hono environment, so that the context within the handler has the right info. @@ -428,11 +435,11 @@ The same event handler function with proper type inference. ```ts type AvailableEvents = { - 'user:created': { name: string }; -}; + 'user:created': { name: string } +} const handler = defineHandler((c, payload) => { - console.log('New user created:', payload) + console.log('New user created:', payload) }) ``` @@ -441,15 +448,17 @@ const handler = defineHandler((c, payload) => { A utility function to define multiple typed event handlers. ```ts -function defineHandlers( - handlers: { [K in keyof EPMap]?: EventHandler[] }, -): { [K in keyof EPMap]?: EventHandler[] } +function defineHandlers(handlers: { + [K in keyof EPMap]?: EventHandler[] +}): { [K in keyof EPMap]?: EventHandler[] } ``` #### Parameters + - `handlers`: An object containing event handlers for multiple event types/keys. #### Type parameters + - `EPMap`: The available event key to payload map i.e.: `type AvailableEvents = { 'user:created': { name: string } };`. - `E`: (optional) - The Hono environment, so that the context within the handler has the right info. @@ -461,18 +470,20 @@ The same handlers object with proper type inference. ```ts type AvailableEvents = { - 'user:created': { name: string }; -}; + 'user:created': { name: string } +} const handlers = defineHandlers({ - 'user:created': [ - (c, payload) => { - console.log('New user created:', pyload) - } - ] + 'user:created': [ + (c, payload) => { + console.log('New user created:', pyload) + }, + ], }) ``` + ## Emitter instance methods + The `Emitter` interface provides methods for managing and triggering events. Here's a detailed look at each method: ### on @@ -483,8 +494,8 @@ Adds an event handler for the specified event key. ```ts function on( - key: Key, - handler: EventHandler + key: Key, + handler: EventHandler ): void ``` @@ -493,8 +504,8 @@ function on( - `key`: The event key to listen for. Must be a key of `EventHandlerPayloads`. - `handler`: The function to be called when the event is emitted. If using within a Hono middleware or request handler, do not use anonymous or closure functions! It should accept two parameters: - - `c`: The current Hono context object. - - `payload`: The payload passed when the event is emitted. The type of the payload is inferred from the `EventHandlerPayloads` type. + - `c`: The current Hono context object. + - `payload`: The payload passed when the event is emitted. The type of the payload is inferred from the `EventHandlerPayloads` type. #### Returns @@ -503,33 +514,36 @@ function on( #### Example Using outside the Hono middleware or request handler: + ```ts type AvailableEvents = { - 'user:created': { name: string }; -}; -const ee = createEmitter(); + 'user:created': { name: string } +} +const ee = createEmitter() // If adding event handler outside of Hono middleware or request handler, you can use both, named or anonymous function. ee.on('user:created', (c, user) => { - console.log('New user created:', user) + console.log('New user created:', user) }) ``` + Using within Hono middleware or request handler: + ```ts type AvailableEvents = { - 'user:created': { name: string }; -}; + 'user:created': { name: string } +} // Define event handler as named function, outside of the Hono middleware or request handler to prevent duplicates/memory leaks const namedHandler = defineHandler((c, user) => { - console.log('New user created:', user) + console.log('New user created:', user) }) -app.use(emitter()); +app.use(emitter()) app.use((c, next) => { - c.get('emitter').on('user:created', namedHandler) - return next() + c.get('emitter').on('user:created', namedHandler) + return next() }) ``` @@ -541,41 +555,42 @@ Removes an event handler for the specified event key. ```ts function off( - key: Key, - handler?: EventHandler + key: Key, + handler?: EventHandler ): void ``` #### Parameters + - `key`: The event key to remove the handler from. Must be a key of `EventPayloadMap`. - `handler` (optional): The specific handler function to remove. If not provided, all handlers for the given key will be removed. #### Returns + `void` #### Example ```ts type AvailableEvents = { - 'user:created': { name: string }; -}; + 'user:created': { name: string } +} -const ee = createEmitter(); +const ee = createEmitter() const logUser = defineHandler((c, user) => { - console.log(`User: ${user.name}`); -}); + console.log(`User: ${user.name}`) +}) -ee.on('user:created', logUser); +ee.on('user:created', logUser) // Later, to remove the specific handler: -ee.off('user:created', logUser); +ee.off('user:created', logUser) // Or to remove all handlers for 'user:created': -ee.off('user:created'); +ee.off('user:created') ``` - ### emit Synchronously emits an event with the specified key and payload. @@ -591,6 +606,7 @@ emit( ``` #### Parameters + - `c`: The current Hono context object. - `key`: The event key to emit. Must be a key of `EventPayloadMap`. - `payload`: The payload to pass to the event handlers. The type of the payload is inferred from the `EventPayloadMap` type. @@ -603,9 +619,9 @@ emit( ```ts app.post('/users', (c) => { - const user = { name: 'Alice' }; - c.get('emitter').emit(c, 'user:created', user); -}); + const user = { name: 'Alice' } + c.get('emitter').emit(c, 'user:created', user) +}) ``` ### emitAsync @@ -624,13 +640,14 @@ emitAsync( ``` #### Parameters + - `c`: The current Hono context object. - `key`: The event key to emit. Must be a key of `EventPayloadMap`. - `payload`: The payload to pass to the event handlers. The type of the payload is inferred from the `EventPayloadMap` type. - `options` (optional): An object containing options for the asynchronous emission. Currently, the only option is `mode`, which can be `'concurrent'` (default) or `'sequencial'`. - - The `'concurrent'` mode will call all handlers concurrently (at the same time) and resolve or reject (with aggregated errors) after all handlers settle. - - The `'sequencial'` mode will call handlers one by one and resolve when all handlers are done or reject when the first error is thrown, not executing rest of the handlers. + - The `'concurrent'` mode will call all handlers concurrently (at the same time) and resolve or reject (with aggregated errors) after all handlers settle. + - The `'sequencial'` mode will call handlers one by one and resolve when all handlers are done or reject when the first error is thrown, not executing rest of the handlers. #### Returns @@ -640,15 +657,16 @@ emitAsync( ```ts app.post('/users', async (c) => { - const user = { name: 'Alice' }; - await c.get('emitter').emitAsync(c, 'user:created', user); - // await c.get('emitter').emitAsync(c, 'user:created', user, { mode: 'sequencial' }); -}); + const user = { name: 'Alice' } + await c.get('emitter').emitAsync(c, 'user:created', user) + // await c.get('emitter').emitAsync(c, 'user:created', user, { mode: 'sequencial' }); +}) ``` ## Types ### EventKey + A string literal type representing an event key. ```ts @@ -656,6 +674,7 @@ type EventKey = string | symbol ``` ### EventHandler + A function type that handles an event. ```ts @@ -663,6 +682,7 @@ type EventHandler = (c: Context, payload: T) => void ``` ### EventHandlers + An object type containing event handlers for multiple event types/keys. ```ts @@ -670,6 +690,7 @@ type EventHandlers = { [K in keyof T]?: EventHandler An object type containing options for the `Emitter` class. ```ts -type EventEmitterOptions = { maxHandlers?: number }; +type EventEmitterOptions = { maxHandlers?: number } ``` ### EmitAsyncOptions + An object type containing options for the `emitAsync` method. ```ts type EmitAsyncOptions = { - mode?: 'concurrent' | 'sequencial' + mode?: 'concurrent' | 'sequencial' } ``` @@ -699,45 +721,65 @@ An interface representing an event emitter. ```ts interface Emitter { - on(key: Key, handler: EventHandler): void; - off(key: Key, handler?: EventHandler): void; - emit(c: Context, key: Key, payload: EventPayloadMap[Key]): void; - emitAsync( - c: Context, - key: Key, - payload: EventPayloadMap[Key], - options?: EmitAsyncOptions - ): Promise; + on(key: Key, handler: EventHandler): void + off( + key: Key, + handler?: EventHandler + ): void + emit(c: Context, key: Key, payload: EventPayloadMap[Key]): void + emitAsync( + c: Context, + key: Key, + payload: EventPayloadMap[Key], + options?: EmitAsyncOptions + ): Promise } ``` For more usage examples, see the [tests](src/index.test.ts) or [Hono REST API starter kit](https://github.com/DavidHavl/hono-rest-api-starter) ## FAQ + ### What the heck is event emitter and why should I use it? + Event emitter is a pattern that allows you to decouple your code and make it more modular and maintainable. It's a way to implement the observer pattern in your application. It's especially useful in larger projects or projects with a lot of interactions between features. Just imagine you have a user registration feature, and you want to send a welcome email after the user is created. You can do this by emitting an event `user:created` and then listen to this event in another part of your application (e.g. email service). + ### How is this different to the built-in EventEmitter in Node.js? + The build-in EventEmitter has huge API surface, weak TypeScript support and does only synchronous event emitting. Hono's event emitter is designed to be minimal, lightweight, edge compatible and fully typed. Additionally, it supports async event handlers. + ### Is there a way to define event handlers with types? + Yes, you can use `defineHandlers` and `defineHandler` functions to define event handlers with types. This way you can leverage TypeScript's type inference and get better type checking. + ### Does it support async event handlers? + Yes, it does. You can use async functions as event handlers and emit the events using `emitAsync` method. + ### What happens if I emit an event that has no handlers? + Nothing. The event will be emitted, but no handlers will be called. + ### Using `emitAsync` function, what happens if one or more of the handlers reject? + - If using `{ mode = 'concurrent' }` in the options (which is the default), it will call all handlers concurrently (at the same time) and resolve or reject (with aggregated errors) after all handlers settle. - If using `{ mode = 'sequencial' }` in the options, it will call handlers one by one and resolve when all handlers are done or reject when the first error is thrown, not executing rest of the handlers. + ### Is it request scoped? + No, by design it's not request scoped. The same Emitter instance is shared across all requests. This aproach prevents memory leaks (especially when using closures or dealing with large data structures within the handlers) and additional strain on Javascript garbage collector. + ### Why can't I use anonymous functions or closures as event handlers when adding them inside of middleware? + This is because middleware or request handlers run repeatedly on every request, and because anonymous functions are created as new unique object in memory every time, you would be instructing the event emitter to add new handler for same key every time the request/middleware runs. Since they are each different objects in memory they can't be checked for equality and would result in memory leaks and duplicate handlers. You should use named functions if you really want to use the `on()` method inside of middleware or request handler. + ## Author David Havl diff --git a/packages/firebase-auth/README.md b/packages/firebase-auth/README.md index 60adf094..84b9e9df 100644 --- a/packages/firebase-auth/README.md +++ b/packages/firebase-auth/README.md @@ -1,5 +1,7 @@ # Hono Firebase Auth middleware for Cloudflare Workers +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=firebase-auth)](https://codecov.io/github/honojs/middleware) + This is a Firebase Auth middleware library for [Hono](https://github.com/honojs/hono) which is used [firebase-auth-cloudflare-workers](https://github.com/Code-Hex/firebase-auth-cloudflare-workers). Currently only Cloudflare Workers are supported officially. However, it may work in other environments as well, so please let us know in an issue if it works. @@ -106,23 +108,23 @@ If not specified, check the [`FIREBASE_AUTH_EMULATOR_HOST` environment variable ```ts import { Hono } from 'hono' -import { setCookie } from 'hono/cookie'; -import { csrf } from 'hono/csrf'; -import { html } from 'hono/html'; +import { setCookie } from 'hono/cookie' +import { csrf } from 'hono/csrf' +import { html } from 'hono/html' import { VerifySessionCookieFirebaseAuthConfig, VerifyFirebaseAuthEnv, verifySessionCookieFirebaseAuth, getFirebaseToken, } from '@hono/firebase-auth' -import { AdminAuthApiClient, ServiceAccountCredential } from 'firebase-auth-cloudflare-workers'; +import { AdminAuthApiClient, ServiceAccountCredential } from 'firebase-auth-cloudflare-workers' const config: VerifySessionCookieFirebaseAuthConfig = { // specify your firebase project ID. projectId: 'your-project-id', redirects: { - signIn: "/login" - } + signIn: '/login', + }, } // You can specify here the extended VerifyFirebaseAuthEnv type. @@ -140,7 +142,7 @@ type MyEnv = VerifyFirebaseAuthEnv & { const app = new Hono<{ Bindings: MyEnv }>() // set middleware -app.get('/login', csrf(), async c => { +app.get('/login', csrf(), async (c) => { // You can copy code from here // https://github.com/Code-Hex/firebase-auth-cloudflare-workers/blob/0ce610fff257b0b60e2f8e38d89c8e012497d537/example/index.ts#L63C25-L63C37 const content = await html`...` @@ -148,13 +150,13 @@ app.get('/login', csrf(), async c => { }) app.post('/login_session', csrf(), (c) => { - const json = await c.req.json(); - const idToken = json.idToken; + const json = await c.req.json() + const idToken = json.idToken if (!idToken || typeof idToken !== 'string') { - return c.json({ message: 'invalid idToken' }, 400); + return c.json({ message: 'invalid idToken' }, 400) } // Set session expiration to 5 days. - const expiresIn = 60 * 60 * 24 * 5 * 1000; + const expiresIn = 60 * 60 * 24 * 5 * 1000 // Create the session cookie. This will also verify the ID token in the process. // The session cookie will have the same claims as the ID token. @@ -163,26 +165,22 @@ app.post('/login_session', csrf(), (c) => { const auth = AdminAuthApiClient.getOrInitialize( c.env.PROJECT_ID, new ServiceAccountCredential(c.env.SERVICE_ACCOUNT_JSON) - ); - const sessionCookie = await auth.createSessionCookie( - idToken, - expiresIn, - ); + ) + const sessionCookie = await auth.createSessionCookie(idToken, expiresIn) setCookie(c, 'session', sessionCookie, { maxAge: expiresIn, httpOnly: true, - secure: true - }); - return c.json({ message: 'success' }); + secure: true, + }) + return c.json({ message: 'success' }) }) -app.use('/admin/*', csrf(), verifySessionCookieFirebaseAuth(config)); +app.use('/admin/*', csrf(), verifySessionCookieFirebaseAuth(config)) app.get('/admin/hello', (c) => { const idToken = getFirebaseToken(c) // get id-token object. return c.json(idToken) }) - export default app ``` diff --git a/packages/graphql-server/README.md b/packages/graphql-server/README.md index a8caf992..a0f2d84e 100644 --- a/packages/graphql-server/README.md +++ b/packages/graphql-server/README.md @@ -1,5 +1,7 @@ # GraphQL Server Middleware +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=graphql-server)](https://codecov.io/github/honojs/middleware) + ## Requirements This middleware depends on [GraphQL.js](https://www.npmjs.com/package/graphql). diff --git a/packages/hello/README.md b/packages/hello/README.md index 99cda50b..29b390bb 100644 --- a/packages/hello/README.md +++ b/packages/hello/README.md @@ -1,5 +1,7 @@ # Hello middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=hello)](https://codecov.io/github/honojs/middleware) + An example project of the third-party middleware for [Hono](https://github.com/honojs/hono). This middleware add `X-Message` header to the Response. diff --git a/packages/medley-router/README.md b/packages/medley-router/README.md index 0c10a3bb..4e4deebf 100644 --- a/packages/medley-router/README.md +++ b/packages/medley-router/README.md @@ -1,5 +1,7 @@ # Router using @medley/router +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=medley-router)](https://codecov.io/github/honojs/middleware) + Just a PoC. ## Usage diff --git a/packages/node-ws/README.md b/packages/node-ws/README.md index 47fa20b4..44aa060a 100644 --- a/packages/node-ws/README.md +++ b/packages/node-ws/README.md @@ -1,5 +1,7 @@ # WebSocket helper for Node.js +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=node-ws)](https://codecov.io/github/honojs/middleware) + A WebSocket helper for Node.js ## Usage @@ -13,9 +15,12 @@ const app = new Hono() const { injectWebSocket, upgradeWebSocket } = createNodeWebSocket({ app }) -app.get('/ws', upgradeWebSocket((c) => ({ - // https://hono.dev/helpers/websocket -}))) +app.get( + '/ws', + upgradeWebSocket((c) => ({ + // https://hono.dev/helpers/websocket + })) +) const server = serve(app) injectWebSocket(server) @@ -27,4 +32,4 @@ Shotaro Nakamura ## License -MIT \ No newline at end of file +MIT diff --git a/packages/oauth-providers/README.md b/packages/oauth-providers/README.md index 61dd147a..fd0449ce 100644 --- a/packages/oauth-providers/README.md +++ b/packages/oauth-providers/README.md @@ -1,5 +1,7 @@ # OAuth Providers Middleware +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=oauth-providers)](https://codecov.io/github/honojs/middleware) + Authentication middleware for [Hono](https://github.com/honojs/hono). This package offers a straightforward API for social login with platforms such as Facebook, GitHub, Google, LinkedIn and X(Twitter). ## Installation @@ -1079,7 +1081,6 @@ You can validate a Twitch access token to verify it's still valid or to obtain i You can use `validateToken` method, which accepts the `token` to be validated as parameter and returns `TwitchValidateSuccess` if valid or throws `HTTPException` upon failure. - > **IMPORTANT:** Twitch requires applications to validate OAuth tokens when they start and on an hourly basis thereafter. Failure to validate tokens may result in Twitch taking punitive action, such as revoking API keys or throttling performance. When a token becomes invalid, your app should terminate all sessions using that token immediately. [Read more](https://dev.twitch.tv/docs/authentication/validate-tokens) The validation endpoint helps your application detect when tokens become invalid for reasons other than expiration, such as when users disconnect your integration from their Twitch account. When a token becomes invalid, your app should terminate all sessions using that token. @@ -1099,36 +1100,39 @@ This parameters can be useful if 3. Or, in need to encode more info into `redirect_uri`. ```ts -const app = new Hono(); +const app = new Hono() -const SITE_ORIGIN = `https://my-site.com`; -const OAUTH_CALLBACK_PATH = `/oauth/google`; +const SITE_ORIGIN = `https://my-site.com` +const OAUTH_CALLBACK_PATH = `/oauth/google` -app.get('/*', +app.get( + '/*', async (c, next) => { - const session = readSession(c); + const session = readSession(c) if (!session) { // start oauth flow - const redirectUri = `${SITE_ORIGIN}${OAUTH_CALLBACK_PATH}?redirect=${encodeURIComponent(c.req.path)}`; - const oauth = googleAuth({ redirect_uri: redirectUri, ...more }); + const redirectUri = `${SITE_ORIGIN}${OAUTH_CALLBACK_PATH}?redirect=${encodeURIComponent( + c.req.path + )}` + const oauth = googleAuth({ redirect_uri: redirectUri, ...more }) return await oauth(c, next) } }, async (c, next) => { // if we are here, the req should contain either a valid session or a valid auth code - const session = readSession(c); + const session = readSession(c) const authedGoogleUser = c.get('user-google') if (authedGoogleUser) { - await saveSession(c, authedGoogleUser); + await saveSession(c, authedGoogleUser) } else if (!session) { throw new HttpException(401) } - return next(); + return next() }, async (c, next) => { // serve protected content } -); +) ``` ## Author diff --git a/packages/oidc-auth/README.md b/packages/oidc-auth/README.md index 10158dd5..2c89669b 100644 --- a/packages/oidc-auth/README.md +++ b/packages/oidc-auth/README.md @@ -1,5 +1,7 @@ # OpenID Connect Authentication middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=oidc-auth)](https://codecov.io/github/honojs/middleware) + This is an OpenID Connect (OIDC) authentication third-party middleware for [Hono](https://github.com/honojs/hono), which depends on [oauth4webapi](https://www.npmjs.com/package/oauth4webapi). This middleware provides storage-less login sessions. @@ -144,7 +146,7 @@ If the middleware is applied to the callback URL, the default callback handling ```typescript // Before other oidc-auth APIs are used -app.use(initOidcAuthMiddleware(config)); +app.use(initOidcAuthMiddleware(config)) ``` Or to leverage context, use the [`Context access inside Middleware arguments`](https://hono.dev/docs/guides/middleware#context-access-inside-middleware-arguments) pattern. diff --git a/packages/otel/README.md b/packages/otel/README.md index b85f7f47..95927b69 100644 --- a/packages/otel/README.md +++ b/packages/otel/README.md @@ -1,5 +1,7 @@ # OpenTelemetry middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=otel)](https://codecov.io/github/honojs/middleware) + This package provides a [Hono](https://hono.dev/) middleware that instruments your application with [OpenTelemetry](https://opentelemetry.io/). ## Usage diff --git a/packages/prometheus/README.md b/packages/prometheus/README.md index 741feb50..4b0a5373 100644 --- a/packages/prometheus/README.md +++ b/packages/prometheus/README.md @@ -1,5 +1,7 @@ # Prometheus middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=prometheus)](https://codecov.io/github/honojs/middleware) + This middleware adds basic [RED metrics](https://www.weave.works/blog/the-red-method-key-metrics-for-microservices-architecture/) to your Hono application, and exposes them on the `/metrics` endpoint for Prometheus to scrape. ## Installation @@ -81,13 +83,13 @@ An options object can be passed in the `prometheus()` middleware factory to conf ### `prefix` -Type: *string* +Type: _string_ Prefix all metrics with this string. ### `registry` -Type: *[Registry](https://www.npmjs.com/package/prom-client)* +Type: _[Registry](https://www.npmjs.com/package/prom-client)_ A prom-client Registry instance to store the metrics. If not provided, a new one will be created. @@ -95,7 +97,7 @@ Useful when you want to register some custom metrics while exposing them on the ### `collectDefaultMetrics` -Type: *boolean | [CollectDefaultMetricsOptions](https://www.npmjs.com/package/prom-client#default-metrics)* +Type: _boolean | [CollectDefaultMetricsOptions](https://www.npmjs.com/package/prom-client#default-metrics)_ There are some default metrics recommended by prom-client, like event loop delay, garbage collection statistics etc. @@ -103,34 +105,37 @@ To enable these metrics, set this option to `true`. To configure the default met ### `metricOptions` -Type: *object (see below)* +Type: _object (see below)_ -Modify the standard metrics (*requestDuration* and *requestsTotal*) with any of the [Counter](https://www.npmjs.com/package/prom-client#counter) / [Histogram](https://www.npmjs.com/package/prom-client#histogram) metric options, including: +Modify the standard metrics (_requestDuration_ and _requestsTotal_) with any of the [Counter](https://www.npmjs.com/package/prom-client#counter) / [Histogram](https://www.npmjs.com/package/prom-client#histogram) metric options, including: #### `disabled` -Type: *boolean* +Type: _boolean_ Disables the metric. #### `customLabels` -Type: *Record string>* +Type: _Record string>_ A record where the keys are the labels to add to the metrics, and the values are functions that receive the Hono context and return the value for that label. This is useful when adding labels to the metrics that are specific to your application or your needs. These functions are executed after all the other middlewares finished. -The following example adds a label to the *requestsTotal* metric with the `contentType` name where the value is the content type of the response: +The following example adds a label to the _requestsTotal_ metric with the `contentType` name where the value is the content type of the response: ```ts -app.use('*', prometheus({ - metricOptions: { - requestsTotal: { - customLabels: { - content_type: (c) => c.res.headers.get('content-type'), - } +app.use( + '*', + prometheus({ + metricOptions: { + requestsTotal: { + customLabels: { + content_type: (c) => c.res.headers.get('content-type'), + }, + }, }, - } -})) + }) +) ``` ## Examples diff --git a/packages/qwik-city/README.md b/packages/qwik-city/README.md index ee8921fb..d73f6db7 100644 --- a/packages/qwik-city/README.md +++ b/packages/qwik-city/README.md @@ -1,5 +1,7 @@ # Qwik City middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=qwik-city)](https://codecov.io/github/honojs/middleware) + **WIP** ## Usage diff --git a/packages/react-compat/README.md b/packages/react-compat/README.md index 750b2334..f5199350 100644 --- a/packages/react-compat/README.md +++ b/packages/react-compat/README.md @@ -1,5 +1,7 @@ # Alias of hono/jsx for replacement of React +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=react-compat)](https://codecov.io/github/honojs/middleware) + This package is used to install the React compatibility API provided by [Hono](https://github.com/honojs/hono). This package allows you to replace the "react" and "react-dom" entities with "@hono/react-compat". ## Usage diff --git a/packages/react-renderer/README.md b/packages/react-renderer/README.md index 1adad50f..bcfca20c 100644 --- a/packages/react-renderer/README.md +++ b/packages/react-renderer/README.md @@ -1,5 +1,7 @@ # React Renderer Middleware +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=react-renderer)](https://codecov.io/github/honojs/middleware) + React Renderer Middleware allows for the easy creation of a renderer based on React for Hono. ## Installation diff --git a/packages/sentry/README.md b/packages/sentry/README.md index 43a5df47..ed115e91 100644 --- a/packages/sentry/README.md +++ b/packages/sentry/README.md @@ -1,5 +1,7 @@ # Sentry Middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=sentry)](https://codecov.io/github/honojs/middleware) + This middleware integrates [Hono](https://github.com/honojs/hono) with Sentry. It captures exceptions and sends them to the specified Sentry data source name (DSN) using [toucan-js](https://github.com/robertcepa/toucan-js). ## Installation diff --git a/packages/standard-validator/README.md b/packages/standard-validator/README.md index 3df6e9d1..d29ea21f 100644 --- a/packages/standard-validator/README.md +++ b/packages/standard-validator/README.md @@ -1,12 +1,14 @@ # Standard Schema validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=standard-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [Standard Schema Spec](https://github.com/standard-schema/standard-schema) for [Hono](https://honojs.dev) applications. You can write a schema with any validation library supporting Standard Schema and validate the incoming values. ## Usage - ### Basic: + ```ts import { z } from 'zod' import { sValidator } from '@hono/standard-validator' @@ -14,7 +16,7 @@ import { sValidator } from '@hono/standard-validator' const schema = z.object({ name: z.string(), age: z.number(), -}); +}) app.post('/author', sValidator('json', schema), (c) => { const data = c.req.valid('json') @@ -26,6 +28,7 @@ app.post('/author', sValidator('json', schema), (c) => { ``` ### Hook: + ```ts app.post( '/post', @@ -39,15 +42,17 @@ app.post( ``` ### Headers: + Headers are internally transformed to lower-case in Hono. Hence, you will have to make them lower-cased in validation object. + ```ts import { object, string } from 'valibot' import { sValidator } from '@hono/standard-validator' const schema = object({ 'content-type': string(), - 'user-agent': string() -}); + 'user-agent': string(), +}) app.post('/author', sValidator('header', schema), (c) => { const headers = c.req.valid('header') @@ -55,7 +60,6 @@ app.post('/author', sValidator('header', schema), (c) => { }) ``` - ## Author Rokas Muningis diff --git a/packages/swagger-editor/README.md b/packages/swagger-editor/README.md index b92df570..c97de2e1 100644 --- a/packages/swagger-editor/README.md +++ b/packages/swagger-editor/README.md @@ -1,5 +1,7 @@ # Swagger Editor Middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=swagger-editor)](https://codecov.io/github/honojs/middleware) + This library, `@hono/swagger-editor` is the middleware for integrating Swagger Editor with Hono applications. The Swagger Editor is an open source editor to design, define and document RESTful APIs in the Swagger Specification. ## Installation @@ -14,7 +16,6 @@ yarn add @hono/swagger-editor You can use the `swaggerEditor` middleware to serve Swagger Editor on a specific route in your Hono application. Here's how you can do it: - ```ts import { Hono } from 'hono' import { swaggerUI } from '@hono/swagger-ui' @@ -37,4 +38,4 @@ Middleware supports almost all swagger-editor options. See full documentation: < ## License -MIT \ No newline at end of file +MIT diff --git a/packages/swagger-ui/README.md b/packages/swagger-ui/README.md index 25a9f338..23560384 100644 --- a/packages/swagger-ui/README.md +++ b/packages/swagger-ui/README.md @@ -1,5 +1,7 @@ # Swagger UI Middleware and Component for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=swagger-ui)](https://codecov.io/github/honojs/middleware) + This library, `@hono/swagger-ui`, provides a middleware and a component for integrating Swagger UI with Hono applications. Swagger UI is an interactive documentation interface for APIs compliant with the OpenAPI Specification, making it easier to understand and test API endpoints. ## Installation @@ -83,16 +85,16 @@ app.openapi( content: { 'application/json': { schema: z.object({ - message: z.string() - }) - } - } - } - } + message: z.string(), + }), + }, + }, + }, + }, }), (c) => { return c.json({ - message: 'hello' + message: 'hello', }) } ) @@ -100,16 +102,16 @@ app.openapi( app.get( '/ui', swaggerUI({ - url: '/doc' + url: '/doc', }) ) app.doc('/doc', { info: { title: 'An API', - version: 'v1' + version: 'v1', }, - openapi: '3.1.0' + openapi: '3.1.0', }) export default app @@ -124,11 +126,10 @@ The following options are available: - `version` (string, optional): The version of Swagger UI to use, defaults to `latest`. - `manuallySwaggerUIHtml` (string, optional): If you want to use your own custom HTML, you can specify it here. If this option is specified, the all options except `version` will be ignored. -and most of options from [Swagger UI]( - https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/ -) are supported as well. +and most of options from [Swagger UI](https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/) are supported as well. such as: + - `url` (string, optional): The URL pointing to the OpenAPI definition (v2 or v3) that describes the API. - `urls` (array, optional): An array of OpenAPI definitions (v2 or v3) that describe the APIs. Each definition must have a `name` and `url`. - `presets` (array, optional): An array of presets to use for Swagger UI. diff --git a/packages/trpc-server/README.md b/packages/trpc-server/README.md index 34b65d65..e443dd7d 100644 --- a/packages/trpc-server/README.md +++ b/packages/trpc-server/README.md @@ -1,5 +1,7 @@ # tRPC Server Middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=trpc-server)](https://codecov.io/github/honojs/middleware) + tRPC Server Middleware adapts a [tRPC](https://trpc.io) server as middleware for Hono. Hono works on almost any JavaScript runtime, including Cloudflare Workers, Deno, and Bun. So, with this middleware, the same code will run as tRPC server. @@ -76,11 +78,11 @@ import { initTRPC } from '@trpc/server' import { z } from 'zod' type Env = { - DB: D1Database; + DB: D1Database } type HonoContext = { - env: Env, -}; + env: Env +} const t = initTRPC.context().create() @@ -89,8 +91,8 @@ const router = t.router export const appRouter = router({ usersCount: publicProcedure.query(({ input, ctx }) => { - const result = await ctx.env.DB.prepare("SELECT count(*) from user;").all(); - return result.results[0].count; + const result = await ctx.env.DB.prepare('SELECT count(*) from user;').all() + return result.results[0].count }), }) @@ -108,10 +110,11 @@ app.use( // c is the hono context var1: c.env.MY_VAR1, var2: c.req.header('X-VAR2'), - }) + }), }) ) ``` + ## Custom Endpoints To set up custom endpoints ensure the endpoint parameter matches the middleware's path. This alignment allows `@trpc/server` to accurately extract your procedure paths. diff --git a/packages/tsyringe/README.md b/packages/tsyringe/README.md index 1c8fcaf6..face7e92 100644 --- a/packages/tsyringe/README.md +++ b/packages/tsyringe/README.md @@ -1,11 +1,13 @@ # tsyringe middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=tsyringe)](https://codecov.io/github/honojs/middleware) + The [tsyringe](https://github.com/microsoft/tsyringe) middleware provides a way to use dependency injection in [Hono](https://hono.dev/). ## Usage ```ts -import "reflect-metadata" // tsyringe requires reflect-metadata or polyfill +import 'reflect-metadata' // tsyringe requires reflect-metadata or polyfill import { container, inject, injectable } from 'tsyringe' import { tsyringe } from '@hono/tsyringe' import { Hono } from 'hono' @@ -21,13 +23,16 @@ class Hello { const app = new Hono() -app.use('*', tsyringe((container) => { +app.use( + '*', + tsyringe((container) => { container.register('name', { useValue: 'world' }) -})) + }) +) app.get('/', (c) => { - const hello = container.resolve(Hello) - return c.text(hello.greet()) + const hello = container.resolve(Hello) + return c.text(hello.greet()) }) export default app @@ -39,12 +44,12 @@ export default app const app = new Hono() app.use('/tenant/:name/*', async (c, next) => { - await tsyringe((container) => { - // Allowing to inject `c.var` or `c.req.param` in the providers - const tenantName = c.req.param('name') + await tsyringe((container) => { + // Allowing to inject `c.var` or `c.req.param` in the providers + const tenantName = c.req.param('name') - container.register(Config, { useFactory: () => new Config(tenantName) }) - })(c, next) + container.register(Config, { useFactory: () => new Config(tenantName) }) + })(c, next) }) ``` diff --git a/packages/typebox-validator/README.md b/packages/typebox-validator/README.md index 3a513fc4..6db897a6 100644 --- a/packages/typebox-validator/README.md +++ b/packages/typebox-validator/README.md @@ -1,5 +1,7 @@ # TypeBox validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?typebox-validator)](https://codecov.io/github/honojs/middleware) + Validator middleware using [TypeBox](https://github.com/sinclairzx81/typebox) for [Hono](https://honojs.dev) applications. Define your schema with TypeBox and validate incoming requests. diff --git a/packages/typia-validator/README.md b/packages/typia-validator/README.md index 79b950d3..8776bdd4 100644 --- a/packages/typia-validator/README.md +++ b/packages/typia-validator/README.md @@ -1,5 +1,7 @@ # Typia validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=typia-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [Typia](https://typia.io/docs/) for [Hono](https://honojs.dev) applications. ## Usage @@ -83,7 +85,8 @@ const validate = typia.createValidate() const validateQuery = typia.http.createValidateQuery() const validateHeaders = typia.http.createValidateHeaders() -app.get('/items', +app.get( + '/items', typiaValidator('json', validate), typiaValidator('query', validateQuery), typiaValidator('header', validateHeaders), @@ -98,6 +101,7 @@ app.get('/items', } ) ``` + ## Author Patryk Dwórznik diff --git a/packages/valibot-validator/README.md b/packages/valibot-validator/README.md index f700de69..1eb10dcd 100644 --- a/packages/valibot-validator/README.md +++ b/packages/valibot-validator/README.md @@ -1,5 +1,7 @@ # Valibot validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=valibot-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [Valibot](https://valibot.dev) for [Hono](https://honojs.dev) applications. You can write a schema with Valibot and validate the incoming values. diff --git a/packages/zod-openapi/README.md b/packages/zod-openapi/README.md index a6a4adf1..dd3d874b 100644 --- a/packages/zod-openapi/README.md +++ b/packages/zod-openapi/README.md @@ -1,5 +1,7 @@ # Zod OpenAPI Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=zod-openapi)](https://codecov.io/github/honojs/middleware) + **Zod OpenAPI Hono** is an extended Hono class that supports OpenAPI. With it, you can validate values and types using [**Zod**](https://zod.dev/) and generate OpenAPI Swagger documentation. This is based on [**Zod to OpenAPI**](https://github.com/asteasolutions/zod-to-openapi) (thanks a lot!). For details on creating schemas and defining routes, please refer to [the "Zod to OpenAPI" resource](https://github.com/asteasolutions/zod-to-openapi). _Note: This is not standalone middleware but is hosted on the monorepo "[github.com/honojs/middleware](https://github.com/honojs/middleware)"._ diff --git a/packages/zod-validator/README.md b/packages/zod-validator/README.md index 384b42e7..5a5f5acc 100644 --- a/packages/zod-validator/README.md +++ b/packages/zod-validator/README.md @@ -1,5 +1,7 @@ # Zod validator middleware for Hono +[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=zod-validator)](https://codecov.io/github/honojs/middleware) + The validator middleware using [Zod](https://zod.dev) for [Hono](https://honojs.dev) applications. You can write a schema with Zod and validate the incoming values. @@ -43,22 +45,19 @@ throw a zod validate error instead of directly returning an error response. ```ts // file: validator-wrapper.ts -import { ZodSchema } from "zod"; -import type { ValidationTargets } from "hono"; -import { zValidator as zv } from "@hono/zod-validator"; +import { ZodSchema } from 'zod' +import type { ValidationTargets } from 'hono' +import { zValidator as zv } from '@hono/zod-validator' -export const zValidator = < - T extends ZodSchema, - Target extends keyof ValidationTargets ->( +export const zValidator = ( target: Target, schema: T ) => zv(target, schema, (result, c) => { if (!result.success) { - throw new HTTPException(400, { cause: result.error }); + throw new HTTPException(400, { cause: result.error }) } - }); + }) // usage import { zValidator } from './validator-wrapper' From 4f1782919154946a4105a113884f2ae929dc9317 Mon Sep 17 00:00:00 2001 From: Sungyu Kang Date: Wed, 19 Mar 2025 18:04:26 +0900 Subject: [PATCH 08/81] chore(typia): bump 8.0.3 (#1024) * chore(typia): bump 8.0.3 * chore: changeset * fix: review * fix: patch * Update packages/typia-validator/package.json Co-authored-by: Jonathan Haines --------- Co-authored-by: Jonathan Haines --- .changeset/perfect-shoes-laugh.md | 5 +++ packages/typia-validator/package.json | 4 +- yarn.lock | 56 +++++++++++++-------------- 3 files changed, 35 insertions(+), 30 deletions(-) create mode 100644 .changeset/perfect-shoes-laugh.md diff --git a/.changeset/perfect-shoes-laugh.md b/.changeset/perfect-shoes-laugh.md new file mode 100644 index 00000000..dd874019 --- /dev/null +++ b/.changeset/perfect-shoes-laugh.md @@ -0,0 +1,5 @@ +--- +'@hono/typia-validator': patch +--- + +Include `typia@8` as a peer dependency \ No newline at end of file diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index bf508b4a..a2d0183f 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -43,13 +43,13 @@ "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.9.0", - "typia": "^7.0.0" + "typia": "^7.0.0 || ^8.0.0" }, "devDependencies": { "hono": "^3.11.7", "rimraf": "^5.0.5", "typescript": "^5.4.0", - "typia": "^7.3.0", + "typia": "^8.0.3", "vitest": "^3.0.8" } } diff --git a/yarn.lock b/yarn.lock index 109e5e89..eca68d75 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3045,11 +3045,11 @@ __metadata: hono: "npm:^3.11.7" rimraf: "npm:^5.0.5" typescript: "npm:^5.4.0" - typia: "npm:^7.3.0" + typia: "npm:^8.0.3" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.0" - typia: ^7.0.0 + typia: ^7.0.0 || ^8.0.0 languageName: unknown linkType: soft @@ -4548,13 +4548,6 @@ __metadata: languageName: node linkType: hard -"@samchon/openapi@npm:^2.1.2": - version: 2.1.2 - resolution: "@samchon/openapi@npm:2.1.2" - checksum: 3f4cdcaad90b67e90104282c950fc86cd67981bf1b5a15b08a8521358687dc5afcd24540b41b0e0f4807ba0a3ed75008777a91ae12abfde6f809a601f8515881 - languageName: node - linkType: hard - "@samchon/openapi@npm:^2.4.2": version: 2.5.3 resolution: "@samchon/openapi@npm:2.5.3" @@ -4562,6 +4555,13 @@ __metadata: languageName: node linkType: hard +"@samchon/openapi@npm:^3.0.0": + version: 3.1.0 + resolution: "@samchon/openapi@npm:3.1.0" + checksum: b4321a8cf768fe3edb753f7f1bcd0c921a265dd53a1e92aaf32a0e3b2c69a134ff99a7520539df4d907090d074d2a3d160deeec2eec6fb8dbd8d0a220d44ed5a + languageName: node + linkType: hard + "@samverschueren/stream-to-observable@npm:^0.3.0, @samverschueren/stream-to-observable@npm:^0.3.1": version: 0.3.1 resolution: "@samverschueren/stream-to-observable@npm:0.3.1" @@ -18741,25 +18741,6 @@ __metadata: languageName: node linkType: hard -"typia@npm:^7.3.0": - version: 7.3.0 - resolution: "typia@npm:7.3.0" - dependencies: - "@samchon/openapi": "npm:^2.1.2" - commander: "npm:^10.0.0" - comment-json: "npm:^4.2.3" - inquirer: "npm:^8.2.5" - package-manager-detector: "npm:^0.2.0" - randexp: "npm:^0.5.3" - peerDependencies: - "@samchon/openapi": ">=2.1.2 <3.0.0" - typescript: ">=4.8.0 <5.8.0" - bin: - typia: lib/executable/typia.js - checksum: 5ef80aa41238ef082c3a73feaa6d59039a0298f3a93d52a725a22b7aa3a2437cc015f9c122a4e43188deb2b0422b8d3bb64f2e010be2f4dad64ee3bfc91d0717 - languageName: node - linkType: hard - "typia@npm:^7.6.0": version: 7.6.4 resolution: "typia@npm:7.6.4" @@ -18779,6 +18760,25 @@ __metadata: languageName: node linkType: hard +"typia@npm:^8.0.3": + version: 8.0.3 + resolution: "typia@npm:8.0.3" + dependencies: + "@samchon/openapi": "npm:^3.0.0" + commander: "npm:^10.0.0" + comment-json: "npm:^4.2.3" + inquirer: "npm:^8.2.5" + package-manager-detector: "npm:^0.2.0" + randexp: "npm:^0.5.3" + peerDependencies: + "@samchon/openapi": ">=3.0.0 <4.0.0" + typescript: ">=4.8.0 <5.9.0" + bin: + typia: lib/executable/typia.js + checksum: fdcb2286575a47ce7b0a685d1828c91caee90f205b7d1f83c68b32b48cdd81235e6fe624a7f784a4d8eb31c141c42318d365f6a79c216d7cbf5a193f431b1a77 + languageName: node + linkType: hard + "ufo@npm:^1.5.4": version: 1.5.4 resolution: "ufo@npm:1.5.4" From 307d83494c9681bb0f808a7091b30585fa70226d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Mar 2025 18:07:38 +0900 Subject: [PATCH 09/81] Version Packages (#1025) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/perfect-shoes-laugh.md | 5 ----- packages/typia-validator/CHANGELOG.md | 6 ++++++ packages/typia-validator/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/perfect-shoes-laugh.md diff --git a/.changeset/perfect-shoes-laugh.md b/.changeset/perfect-shoes-laugh.md deleted file mode 100644 index dd874019..00000000 --- a/.changeset/perfect-shoes-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/typia-validator': patch ---- - -Include `typia@8` as a peer dependency \ No newline at end of file diff --git a/packages/typia-validator/CHANGELOG.md b/packages/typia-validator/CHANGELOG.md index e245ceb0..1c1abeae 100644 --- a/packages/typia-validator/CHANGELOG.md +++ b/packages/typia-validator/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/typia-validator +## 0.1.1 + +### Patch Changes + +- [#1024](https://github.com/honojs/middleware/pull/1024) [`4f1782919154946a4105a113884f2ae929dc9317`](https://github.com/honojs/middleware/commit/4f1782919154946a4105a113884f2ae929dc9317) Thanks [@gronxb](https://github.com/gronxb)! - Include `typia@8` as a peer dependency + ## 0.1.0 ### Minor Changes diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index a2d0183f..1116e74c 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -1,6 +1,6 @@ { "name": "@hono/typia-validator", - "version": "0.1.0", + "version": "0.1.1", "description": "Validator middleware using Typia", "type": "module", "main": "dist/cjs/index.js", From 70bae1d5734bb411b0e9d4ae8f5f010966da8d5c Mon Sep 17 00:00:00 2001 From: Musa Asukhanov Date: Sun, 23 Mar 2025 05:25:47 +0300 Subject: [PATCH 10/81] fix: Move "default" entrypoint down in "typia-validator" (#1027) * Move "default" entrypoint down in "typia-validator" * Add changeset * Fix changeset --- .changeset/fix-typia-validator-package-json.md | 5 +++++ packages/typia-validator/package.json | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/fix-typia-validator-package-json.md diff --git a/.changeset/fix-typia-validator-package-json.md b/.changeset/fix-typia-validator-package-json.md new file mode 100644 index 00000000..9e1076a6 --- /dev/null +++ b/.changeset/fix-typia-validator-package-json.md @@ -0,0 +1,5 @@ +--- +'@hono/typia-validator': patch +--- + +Move 'default' entry point down to fix imports in ESM environments. diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 1116e74c..e33186a5 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -8,16 +8,16 @@ "types": "dist/esm/index.d.ts", "exports": { ".": { - "default": "./dist/cjs/index.js", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js", - "types": "./dist/esm/index.d.ts" + "types": "./dist/esm/index.d.ts", + "default": "./dist/cjs/index.js" }, "./http": { - "default": "./dist/cjs/http.js", "require": "./dist/cjs/http.js", "import": "./dist/esm/http.js", - "types": "./dist/esm/http.d.ts" + "types": "./dist/esm/http.d.ts", + "default": "./dist/cjs/http.js" } }, "files": [ From 8525489796cf3ed0ebf43f0841f6805fc5aa35a0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 23 Mar 2025 11:28:53 +0900 Subject: [PATCH 11/81] Version Packages (#1028) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/fix-typia-validator-package-json.md | 5 ----- packages/typia-validator/CHANGELOG.md | 6 ++++++ packages/typia-validator/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/fix-typia-validator-package-json.md diff --git a/.changeset/fix-typia-validator-package-json.md b/.changeset/fix-typia-validator-package-json.md deleted file mode 100644 index 9e1076a6..00000000 --- a/.changeset/fix-typia-validator-package-json.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/typia-validator': patch ---- - -Move 'default' entry point down to fix imports in ESM environments. diff --git a/packages/typia-validator/CHANGELOG.md b/packages/typia-validator/CHANGELOG.md index 1c1abeae..11c9af09 100644 --- a/packages/typia-validator/CHANGELOG.md +++ b/packages/typia-validator/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/typia-validator +## 0.1.2 + +### Patch Changes + +- [#1027](https://github.com/honojs/middleware/pull/1027) [`70bae1d5734bb411b0e9d4ae8f5f010966da8d5c`](https://github.com/honojs/middleware/commit/70bae1d5734bb411b0e9d4ae8f5f010966da8d5c) Thanks [@koteelok](https://github.com/koteelok)! - Move 'default' entry point down to fix imports in ESM environments. + ## 0.1.1 ### Patch Changes diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index e33186a5..0aec36e4 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -1,6 +1,6 @@ { "name": "@hono/typia-validator", - "version": "0.1.1", + "version": "0.1.2", "description": "Validator middleware using Typia", "type": "module", "main": "dist/cjs/index.js", From 67d0186fb45a7b166fea5f37e15b907354eefc3f Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Mon, 24 Mar 2025 19:51:26 +1100 Subject: [PATCH 12/81] build(ajv-validator): lint published package (#1030) --- .github/workflows/ci-ajv-validator.yml | 1 + package.json | 5 +- packages/ajv-validator/package.json | 16 +- packages/ajv-validator/tsconfig.json | 10 +- packages/ajv-validator/tsup.config.ts | 1 + tsup.config.ts | 10 + yarn.lock | 463 ++++++++++++++++++++++++- 7 files changed, 483 insertions(+), 23 deletions(-) create mode 100644 packages/ajv-validator/tsup.config.ts create mode 100644 tsup.config.ts diff --git a/.github/workflows/ci-ajv-validator.yml b/.github/workflows/ci-ajv-validator.yml index d0051616..2d64a651 100644 --- a/.github/workflows/ci-ajv-validator.yml +++ b/.github/workflows/ci-ajv-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/ajv-validator - run: yarn workspace @hono/ajv-validator build + - run: yarn workspace @hono/ajv-validator publint - run: yarn test --coverage --project @hono/ajv-validator - uses: codecov/codecov-action@v5 with: diff --git a/package.json b/package.json index b6fec8cd..a4b2bff6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "build:cloudflare-access": "yarn workspace @hono/cloudflare-access build", "build:standard-validator": "yarn workspace @hono/standard-validator build", "build:otel": "yarn workspace @hono/otel build", - "build": "yarn workspaces foreach -Aptv run build", + "build": "yarn workspaces foreach --all --parallel --topological --verbose run build", + "publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint", "test": "vitest", "lint": "eslint 'packages/**/*.{ts,tsx}'", "lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'", @@ -54,7 +55,7 @@ "private": true, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git" }, "devDependencies": { "@changesets/changelog-github": "^0.4.8", diff --git a/packages/ajv-validator/package.json b/packages/ajv-validator/package.json index 7d48f171..593e9d3d 100644 --- a/packages/ajv-validator/package.json +++ b/packages/ajv-validator/package.json @@ -9,10 +9,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -33,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/ajv-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -41,10 +42,11 @@ "hono": ">=3.9.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "ajv": ">=8.12.0", "hono": "^4.4.12", - "tsup": "^8.1.0", - "typescript": "^5.8.2", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/ajv-validator/tsconfig.json b/packages/ajv-validator/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/ajv-validator/tsconfig.json +++ b/packages/ajv-validator/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/packages/ajv-validator/tsup.config.ts b/packages/ajv-validator/tsup.config.ts new file mode 100644 index 00000000..010d3727 --- /dev/null +++ b/packages/ajv-validator/tsup.config.ts @@ -0,0 +1 @@ +export { default } from '../../tsup.config' diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 00000000..b3e00b1a --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,10 @@ +import { defineConfig } from 'tsup' + +export default defineConfig((overrideOptions) => ({ + ...overrideOptions, + clean: true, + dts: true, + format: ['cjs', 'esm'], + outDir: 'dist', + tsconfig: 'tsconfig.json', +})) diff --git a/yarn.lock b/yarn.lock index eca68d75..fe90dcb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,6 +22,13 @@ __metadata: languageName: node linkType: hard +"@andrewbranch/untar.js@npm:^1.0.3": + version: 1.0.3 + resolution: "@andrewbranch/untar.js@npm:1.0.3" + checksum: 16774208cd5bc2cace3c8c6ca608b2b9ab07719a44501e5553f72bffb63c5fbac0b715a4b1065a65d09e010d940ac3cd148ade44dd7d49682765fe09e2c3b2a8 + languageName: node + linkType: hard + "@apidevtools/json-schema-ref-parser@npm:^9.0.3": version: 9.1.2 resolution: "@apidevtools/json-schema-ref-parser@npm:9.1.2" @@ -34,6 +41,39 @@ __metadata: languageName: node linkType: hard +"@arethetypeswrong/cli@npm:^0.17.4": + version: 0.17.4 + resolution: "@arethetypeswrong/cli@npm:0.17.4" + dependencies: + "@arethetypeswrong/core": "npm:0.17.4" + chalk: "npm:^4.1.2" + cli-table3: "npm:^0.6.3" + commander: "npm:^10.0.1" + marked: "npm:^9.1.2" + marked-terminal: "npm:^7.1.0" + semver: "npm:^7.5.4" + bin: + attw: dist/index.js + checksum: 561a2a8f88916c776669673119f4b02d0ceab25110c966f8817447e13587967c2935f2d8c468e5d9b19ff3e2617ca9128c43e44ca2abf62741f0a90899511c61 + languageName: node + linkType: hard + +"@arethetypeswrong/core@npm:0.17.4": + version: 0.17.4 + resolution: "@arethetypeswrong/core@npm:0.17.4" + dependencies: + "@andrewbranch/untar.js": "npm:^1.0.3" + "@loaderkit/resolve": "npm:^1.0.2" + cjs-module-lexer: "npm:^1.2.3" + fflate: "npm:^0.8.2" + lru-cache: "npm:^10.4.3" + semver: "npm:^7.5.4" + typescript: "npm:5.6.1-rc" + validate-npm-package-name: "npm:^5.0.0" + checksum: 3414ce50cb5028608b14e78317e18c9617058264c83d110f3561aa6c39680338ca3398ef8bd9ba6966ba15044f89830250a1defe84d732d7758bcf3cca830c99 + languageName: node + linkType: hard + "@ark/schema@npm:0.26.0": version: 0.26.0 resolution: "@ark/schema@npm:0.26.0" @@ -329,6 +369,13 @@ __metadata: languageName: node linkType: hard +"@braidai/lang@npm:^1.0.0": + version: 1.1.0 + resolution: "@braidai/lang@npm:1.1.0" + checksum: 98fdd7d1114a2272e4b97ae08139e4b18837aaa8860693485bd3bd141f199a0030e8e7d58f657f4ed98144b9a52e0587fe1931ef1e5341b94e9e7728d32a879c + languageName: node + linkType: hard + "@builder.io/qwik-city@npm:^1.2.0": version: 1.3.1 resolution: "@builder.io/qwik-city@npm:1.3.1" @@ -2521,10 +2568,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/ajv-validator@workspace:packages/ajv-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" ajv: "npm:>=8.12.0" hono: "npm:^4.4.12" - tsup: "npm:^8.1.0" - typescript: "npm:^5.8.2" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: ajv: ">=8.12.0" @@ -3647,6 +3695,15 @@ __metadata: languageName: node linkType: hard +"@loaderkit/resolve@npm:^1.0.2": + version: 1.0.4 + resolution: "@loaderkit/resolve@npm:1.0.4" + dependencies: + "@braidai/lang": "npm:^1.0.0" + checksum: d0226c60b1ff08358d1f7711de5757553cf71df32129ad518dd760bce5a9bf80c908424f84cbd03d2dd9598dd53691b1b848adbd97463ac826ea7bc47d552236 + languageName: node + linkType: hard + "@manypkg/find-root@npm:^1.1.0": version: 1.1.0 resolution: "@manypkg/find-root@npm:1.1.0" @@ -4033,6 +4090,13 @@ __metadata: languageName: node linkType: hard +"@publint/pack@npm:^0.1.2": + version: 0.1.2 + resolution: "@publint/pack@npm:0.1.2" + checksum: 4647158cd3a27816ecaf139327662d31820d61e89eb970b318fd0f7c30715baaedf27d294d31772f3a6ad71f84c42509b90328aa5b6301b706322eb7c35ddb3f + languageName: node + linkType: hard + "@rollup/pluginutils@npm:^5.0.5": version: 5.1.0 resolution: "@rollup/pluginutils@npm:5.1.0" @@ -4086,6 +4150,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.36.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@rollup/rollup-android-arm-eabi@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.0" @@ -4114,6 +4185,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm64@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-android-arm64@npm:4.36.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-android-arm64@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-android-arm64@npm:4.9.0" @@ -4142,6 +4220,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-arm64@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.36.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-arm64@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-darwin-arm64@npm:4.9.0" @@ -4170,6 +4255,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-x64@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.36.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-x64@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-darwin-x64@npm:4.9.0" @@ -4191,6 +4283,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-arm64@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.36.0" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-freebsd-x64@npm:4.24.4": version: 4.24.4 resolution: "@rollup/rollup-freebsd-x64@npm:4.24.4" @@ -4205,6 +4304,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-x64@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-freebsd-x64@npm:4.36.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-gnueabihf@npm:4.19.1": version: 4.19.1 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.19.1" @@ -4226,6 +4332,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-gnueabihf@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.36.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0" @@ -4254,6 +4367,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-musleabihf@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.36.0" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-gnu@npm:4.19.1": version: 4.19.1 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.19.1" @@ -4275,6 +4395,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.36.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-gnu@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.0" @@ -4303,6 +4430,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-musl@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.36.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-musl@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.0" @@ -4317,6 +4451,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-loongarch64-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.36.0" + conditions: os=linux & cpu=loong64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.1": version: 4.19.1 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.1" @@ -4338,6 +4479,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.36.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-riscv64-gnu@npm:4.19.1": version: 4.19.1 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.19.1" @@ -4359,6 +4507,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-riscv64-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.36.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-riscv64-gnu@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.0" @@ -4387,6 +4542,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-s390x-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.36.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-gnu@npm:4.19.1": version: 4.19.1 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.19.1" @@ -4408,6 +4570,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-gnu@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.36.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-gnu@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.0" @@ -4436,6 +4605,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-musl@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.36.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-musl@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.0" @@ -4464,6 +4640,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-arm64-msvc@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.36.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-win32-arm64-msvc@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.0" @@ -4492,6 +4675,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-ia32-msvc@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.36.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@rollup/rollup-win32-ia32-msvc@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.0" @@ -4520,6 +4710,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-x64-msvc@npm:4.36.0": + version: 4.36.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.36.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-win32-x64-msvc@npm:4.9.0": version: 4.9.0 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.0" @@ -6292,6 +6489,17 @@ __metadata: languageName: node linkType: hard +"bundle-require@npm:^5.1.0": + version: 5.1.0 + resolution: "bundle-require@npm:5.1.0" + dependencies: + load-tsconfig: "npm:^0.2.3" + peerDependencies: + esbuild: ">=0.18" + checksum: 8bff9df68eb686f05af952003c78e70ffed2817968f92aebb2af620cc0b7428c8154df761d28f1b38508532204278950624ef86ce63644013dc57660a9d1810f + languageName: node + linkType: hard + "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -6527,7 +6735,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.3.0": +"chalk@npm:^5.3.0, chalk@npm:^5.4.1": version: 5.4.1 resolution: "chalk@npm:5.4.1" checksum: b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef @@ -6630,6 +6838,15 @@ __metadata: languageName: node linkType: hard +"chokidar@npm:^4.0.3": + version: 4.0.3 + resolution: "chokidar@npm:4.0.3" + dependencies: + readdirp: "npm:^4.0.1" + checksum: a58b9df05bb452f7d105d9e7229ac82fa873741c0c40ddcc7bb82f8a909fbe3f7814c9ebe9bc9a2bef9b737c0ec6e2d699d179048ef06ad3ec46315df0ebe6ad + languageName: node + linkType: hard + "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -6740,7 +6957,7 @@ __metadata: languageName: node linkType: hard -"cli-table3@npm:^0.6.5": +"cli-table3@npm:^0.6.3, cli-table3@npm:^0.6.5": version: 0.6.5 resolution: "cli-table3@npm:0.6.5" dependencies: @@ -6944,7 +7161,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^10.0.0": +"commander@npm:^10.0.0, commander@npm:^10.0.1": version: 10.0.1 resolution: "commander@npm:10.0.1" checksum: 53f33d8927758a911094adadda4b2cbac111a5b377d8706700587650fd8f45b0bbe336de4b5c3fe47fd61f420a3d9bd452b6e0e6e5600a7e74d7bf0174f6efe3 @@ -7103,6 +7320,13 @@ __metadata: languageName: node linkType: hard +"consola@npm:^3.4.0": + version: 3.4.2 + resolution: "consola@npm:3.4.2" + checksum: 7cebe57ecf646ba74b300bcce23bff43034ed6fbec9f7e39c27cee1dc00df8a21cd336b466ad32e304ea70fba04ec9e890c200270de9a526ce021ba8a7e4c11a + languageName: node + linkType: hard + "content-disposition@npm:0.5.4": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" @@ -9669,6 +9893,18 @@ __metadata: languageName: node linkType: hard +"fdir@npm:^6.4.3": + version: 6.4.3 + resolution: "fdir@npm:6.4.3" + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + checksum: d13c10120e9625adf21d8d80481586200759928c19405a816b77dd28eaeb80e7c59c5def3e2941508045eb06d34eb47fad865ccc8bf98e6ab988bb0ed160fb6f + languageName: node + linkType: hard + "fecha@npm:^4.2.0": version: 4.2.3 resolution: "fecha@npm:4.2.3" @@ -9676,6 +9912,13 @@ __metadata: languageName: node linkType: hard +"fflate@npm:^0.8.2": + version: 0.8.2 + resolution: "fflate@npm:0.8.2" + checksum: 03448d630c0a583abea594835a9fdb2aaf7d67787055a761515bf4ed862913cfd693b4c4ffd5c3f3b355a70cf1e19033e9ae5aedcca103188aaff91b8bd6e293 + languageName: node + linkType: hard + "figures@npm:^1.7.0": version: 1.7.0 resolution: "figures@npm:1.7.0" @@ -12738,7 +12981,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.2.0": +"lru-cache@npm:^10.2.0, lru-cache@npm:^10.4.3": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" checksum: ebd04fbca961e6c1d6c0af3799adcc966a1babe798f685bb84e6599266599cd95d94630b10262f5424539bc4640107e8a33aa28585374abf561d30d16f4b39fb @@ -12903,6 +13146,23 @@ __metadata: languageName: node linkType: hard +"marked-terminal@npm:^7.1.0": + version: 7.3.0 + resolution: "marked-terminal@npm:7.3.0" + dependencies: + ansi-escapes: "npm:^7.0.0" + ansi-regex: "npm:^6.1.0" + chalk: "npm:^5.4.1" + cli-highlight: "npm:^2.1.11" + cli-table3: "npm:^0.6.5" + node-emoji: "npm:^2.2.0" + supports-hyperlinks: "npm:^3.1.0" + peerDependencies: + marked: ">=1 <16" + checksum: 59d23c2ed9488c40856d828f431ae1d5d57426e791bbce8f05ec5a7d3a1f848cdb3b8d8880d76ae45570415f8b48ae459f50bbbd88ece5a31306f1e3de57f021 + languageName: node + linkType: hard + "marked@npm:^13.0.2": version: 13.0.3 resolution: "marked@npm:13.0.3" @@ -12912,6 +13172,15 @@ __metadata: languageName: node linkType: hard +"marked@npm:^9.1.2": + version: 9.1.6 + resolution: "marked@npm:9.1.6" + bin: + marked: bin/marked.js + checksum: 010bbd33c0f38300259c5d3bf0063deb36bab098d37ac0a3be5a35a65674a4c693427fc6704f486a89f638e9b36c36b8e220a93d47163f4e70e45a1fa8ca7b60 + languageName: node + linkType: hard + "math-intrinsics@npm:^1.1.0": version: 1.1.0 resolution: "math-intrinsics@npm:1.1.0" @@ -14054,7 +14323,7 @@ __metadata: languageName: node linkType: hard -"node-emoji@npm:^2.1.3": +"node-emoji@npm:^2.1.3, node-emoji@npm:^2.2.0": version: 2.2.0 resolution: "node-emoji@npm:2.2.0" dependencies: @@ -14806,6 +15075,15 @@ __metadata: languageName: node linkType: hard +"package-manager-detector@npm:^0.2.9": + version: 0.2.11 + resolution: "package-manager-detector@npm:0.2.11" + dependencies: + quansync: "npm:^0.2.7" + checksum: 247991de461b9e731f3463b7dae9ce187e53095b7b94d7d96eec039abf418b61ccf74464bec1d0c11d97311f33472e77baccd4c5898f77358da4b5b33395e0b1 + languageName: node + linkType: hard + "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -15573,6 +15851,20 @@ __metadata: languageName: node linkType: hard +"publint@npm:^0.3.9": + version: 0.3.9 + resolution: "publint@npm:0.3.9" + dependencies: + "@publint/pack": "npm:^0.1.2" + package-manager-detector: "npm:^0.2.9" + picocolors: "npm:^1.1.1" + sade: "npm:^1.8.1" + bin: + publint: src/cli.js + checksum: cb0d3b7a5509be4ffa77a61809bc2e8b79620b3be4c420dade8a722e085bb6a9280fce3e04f44b2b5cf8adeded376c1ad2eedd0e03c35829307a220d5926826f + languageName: node + linkType: hard + "pump@npm:^3.0.0": version: 3.0.0 resolution: "pump@npm:3.0.0" @@ -15640,6 +15932,13 @@ __metadata: languageName: node linkType: hard +"quansync@npm:^0.2.7": + version: 0.2.10 + resolution: "quansync@npm:0.2.10" + checksum: f86f1d644f812a3a7c42de79eb401c47a5a67af82a9adff8a8afb159325e03e00f77cebbf42af6340a0bd47bd0c1fbe999e7caf7e1bbb30d7acb00c8729b7530 + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -16470,6 +16769,78 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.34.8": + version: 4.36.0 + resolution: "rollup@npm:4.36.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.36.0" + "@rollup/rollup-android-arm64": "npm:4.36.0" + "@rollup/rollup-darwin-arm64": "npm:4.36.0" + "@rollup/rollup-darwin-x64": "npm:4.36.0" + "@rollup/rollup-freebsd-arm64": "npm:4.36.0" + "@rollup/rollup-freebsd-x64": "npm:4.36.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.36.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.36.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.36.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.36.0" + "@rollup/rollup-linux-loongarch64-gnu": "npm:4.36.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.36.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.36.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.36.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.36.0" + "@rollup/rollup-linux-x64-musl": "npm:4.36.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.36.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.36.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.36.0" + "@types/estree": "npm:1.0.6" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-loongarch64-gnu": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 52ad34ba18edb3613253ecbc7db5c8d6067ed103d8786051e96d42bcb383f7473bbda91b25297435b8a531fe308726cf1bb978456b9fcce044e4885510d73252 + languageName: node + linkType: hard + "router@npm:^2.0.0": version: 2.0.0 resolution: "router@npm:2.0.0" @@ -17930,6 +18301,16 @@ __metadata: languageName: node linkType: hard +"tinyglobby@npm:^0.2.11": + version: 0.2.12 + resolution: "tinyglobby@npm:0.2.12" + dependencies: + fdir: "npm:^6.4.3" + picomatch: "npm:^4.0.2" + checksum: 7c9be4fd3625630e262dcb19015302aad3b4ba7fc620f269313e688f2161ea8724d6cb4444baab5ef2826eb6bed72647b169a33ec8eea37501832a2526ff540f + languageName: node + linkType: hard + "tinyglobby@npm:^0.2.9": version: 0.2.10 resolution: "tinyglobby@npm:0.2.10" @@ -18419,6 +18800,47 @@ __metadata: languageName: node linkType: hard +"tsup@npm:^8.4.0": + version: 8.4.0 + resolution: "tsup@npm:8.4.0" + dependencies: + bundle-require: "npm:^5.1.0" + cac: "npm:^6.7.14" + chokidar: "npm:^4.0.3" + consola: "npm:^3.4.0" + debug: "npm:^4.4.0" + esbuild: "npm:^0.25.0" + joycon: "npm:^3.1.1" + picocolors: "npm:^1.1.1" + postcss-load-config: "npm:^6.0.1" + resolve-from: "npm:^5.0.0" + rollup: "npm:^4.34.8" + source-map: "npm:0.8.0-beta.0" + sucrase: "npm:^3.35.0" + tinyexec: "npm:^0.3.2" + tinyglobby: "npm:^0.2.11" + tree-kill: "npm:^1.2.2" + peerDependencies: + "@microsoft/api-extractor": ^7.36.0 + "@swc/core": ^1 + postcss: ^8.4.12 + typescript: ">=4.5.0" + peerDependenciesMeta: + "@microsoft/api-extractor": + optional: true + "@swc/core": + optional: true + postcss: + optional: true + typescript: + optional: true + bin: + tsup: dist/cli-default.js + tsup-node: dist/cli-node.js + checksum: c6636ffd6ade59d3544cd424c7115449f8712eb5c872e1e36d25817436f9ea9424d8ee8f1b6244ac7c9a887b0fcf6cc42c102baa55a9080236afc18ba73871e6 + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -18601,6 +19023,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:5.6.1-rc": + version: 5.6.1-rc + resolution: "typescript@npm:5.6.1-rc" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 9d6e99b7ddbc797ebc8d09e5d7f2f81ce5f288a4e607bcded3c545ced8582796c937fba31bede5660a56f978b2f68e7c4ee85614b307425a2b4617535721509f + languageName: node + linkType: hard + "typescript@npm:^4.7.4": version: 4.9.5 resolution: "typescript@npm:4.9.5" @@ -18671,6 +19103,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin": + version: 5.6.1-rc + resolution: "typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin::version=5.6.1-rc&hash=e012d7" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 7849a6f82731f33d05dc9401252eeed78cec227aa9b23c316638c12c15ff7ec0903d62aa8718ea0ab5aad2e155a74edcd0c8053b8fdf8020bd1652720d89db7c + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A^4.7.4#optional!builtin": version: 4.9.5 resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" @@ -19236,6 +19678,13 @@ __metadata: languageName: node linkType: hard +"validate-npm-package-name@npm:^5.0.0": + version: 5.0.1 + resolution: "validate-npm-package-name@npm:5.0.1" + checksum: 903e738f7387404bb72f7ac34e45d7010c877abd2803dc2d614612527927a40a6d024420033132e667b1bade94544b8a1f65c9431a4eb30d0ce0d80093cd1f74 + languageName: node + linkType: hard + "validator@npm:^13.9.0": version: 13.12.0 resolution: "validator@npm:13.12.0" From 3eab82809a73227042156a7db0aa8d174a9f412d Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Mon, 24 Mar 2025 21:41:18 +1100 Subject: [PATCH 13/81] chore: add tsup to monorepo root (#1032) --- package.json | 1 + yarn.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index a4b2bff6..4a4b0506 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,7 @@ "eslint": "^9.17.0", "npm-run-all2": "^6.2.2", "prettier": "^2.7.1", + "tsup": "^8.4.0", "typescript": "^5.2.2", "vitest": "^3.0.8" }, diff --git a/yarn.lock b/yarn.lock index fe90dcb6..c4ffcc9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11047,6 +11047,7 @@ __metadata: eslint: "npm:^9.17.0" npm-run-all2: "npm:^6.2.2" prettier: "npm:^2.7.1" + tsup: "npm:^8.4.0" typescript: "npm:^5.2.2" vitest: "npm:^3.0.8" languageName: unknown From 6e268318bf77cb8abb8aee7418b700d29d3e295a Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Mon, 24 Mar 2025 21:46:35 +1100 Subject: [PATCH 14/81] build(arktype-validator): lint published package (#1033) * build(arktype-validator): lint published package * ci(arktype-validator): run publint --- .github/workflows/ci-arktype-validator.yml | 1 + packages/ajv-validator/tsup.config.ts | 1 - packages/arktype-validator/package.json | 28 +++++++++++++++------- packages/arktype-validator/tsconfig.json | 10 +++----- yarn.lock | 4 +++- 5 files changed, 26 insertions(+), 18 deletions(-) delete mode 100644 packages/ajv-validator/tsup.config.ts diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index 7576c6f7..9e6686ab 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/arktype-validator - run: yarn workspace @hono/arktype-validator build + - run: yarn workspace @hono/arktype-validator publint - run: yarn test --coverage --project @hono/arktype-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/ajv-validator/tsup.config.ts b/packages/ajv-validator/tsup.config.ts deleted file mode 100644 index 010d3727..00000000 --- a/packages/ajv-validator/tsup.config.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from '../../tsup.config' diff --git a/packages/arktype-validator/package.json b/packages/arktype-validator/package.json index 35f990c3..337de3aa 100644 --- a/packages/arktype-validator/package.json +++ b/packages/arktype-validator/package.json @@ -2,22 +2,29 @@ "name": "@hono/arktype-validator", "version": "2.0.0", "description": "ArkType validator middleware", + "type": "module", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "release": "yarn build && yarn test && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -27,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/arktype-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -35,9 +43,11 @@ "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "arktype": "^2.0.0-dev.14", "hono": "^3.11.7", - "tsup": "^8.0.1", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/arktype-validator/tsconfig.json b/packages/arktype-validator/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/arktype-validator/tsconfig.json +++ b/packages/arktype-validator/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index c4ffcc9c..d3eb2093 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2584,9 +2584,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/arktype-validator@workspace:packages/arktype-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" arktype: "npm:^2.0.0-dev.14" hono: "npm:^3.11.7" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: arktype: ^2.0.0-dev.14 From 2a6c7f020296e7059b4fc0a0eb334f4d346c0bbc Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Mon, 24 Mar 2025 21:48:37 +1100 Subject: [PATCH 15/81] build(casbin): lint published package (#1036) --- .github/workflows/ci-casbin.yml | 1 + packages/casbin/package.json | 16 +++++++++------- packages/casbin/tsconfig.json | 6 +----- yarn.lock | 5 +++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index 1b659927..739f90e6 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/casbin - run: yarn workspace @hono/casbin build + - run: yarn workspace @hono/casbin publint - run: yarn test --coverage --project @hono/casbin - uses: codecov/codecov-action@v5 with: diff --git a/packages/casbin/package.json b/packages/casbin/package.json index bae4f9ba..1892477a 100644 --- a/packages/casbin/package.json +++ b/packages/casbin/package.json @@ -32,10 +32,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts ./src/helper/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts ./src/helper/index.ts", + "prepack": "yarn build", + "publint": "attw --pack --profile node16 && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -44,7 +44,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/casbin" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -52,10 +53,11 @@ "hono": ">=4.5.11" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "casbin": "^5.30.0", "hono": "^4.5.11", - "tsup": "^8.1.0", - "typescript": "^5.5.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/casbin/tsconfig.json b/packages/casbin/tsconfig.json index dc9e8811..30b09682 100644 --- a/packages/casbin/tsconfig.json +++ b/packages/casbin/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "exactOptionalPropertyTypes": true - }, - "include": [ - "src/**/*.ts" - ], + } } diff --git a/yarn.lock b/yarn.lock index d3eb2093..4610acbe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2630,10 +2630,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/casbin@workspace:packages/casbin" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" casbin: "npm:^5.30.0" hono: "npm:^4.5.11" - tsup: "npm:^8.1.0" - typescript: "npm:^5.5.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: casbin: ">=5.30.0" From 28ff8ed22dca532a4c2485976166ac8b3823132e Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Mon, 24 Mar 2025 21:58:05 +1100 Subject: [PATCH 16/81] ci(bun-transpiler): run publint (#1035) --- .github/workflows/ci-bun-transpiler.yml | 1 + packages/bun-transpiler/package.json | 30 ++++++++++++++++--------- packages/bun-transpiler/tsconfig.json | 10 +++------ yarn.lock | 5 ++++- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci-bun-transpiler.yml b/.github/workflows/ci-bun-transpiler.yml index 7744488e..baadc5d0 100644 --- a/.github/workflows/ci-bun-transpiler.yml +++ b/.github/workflows/ci-bun-transpiler.yml @@ -19,6 +19,7 @@ jobs: bun-version: 1.1.32 - run: yarn workspaces focus hono-middleware @hono/bun-transpiler - run: yarn workspace @hono/bun-transpiler build + - run: yarn workspace @hono/bun-transpiler publint - run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov - uses: codecov/codecov-action@v5 with: diff --git a/packages/bun-transpiler/package.json b/packages/bun-transpiler/package.json index 39fe21e8..11650eaf 100644 --- a/packages/bun-transpiler/package.json +++ b/packages/bun-transpiler/package.json @@ -2,23 +2,29 @@ "name": "@hono/bun-transpiler", "version": "0.2.0", "description": "Bun Transpiler Middleware for Hono", + "type": "module", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "bun test", - "build": "tsup ./src/index.ts --format esm,cjs --dts --external bun", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts --external bun", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "bun test" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -28,16 +34,20 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/bun-transpiler" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@types/bun": "^1.0.0", "hono": "^3.11.7", - "tsup": "^8.0.1" + "publint": "^0.3.9", + "tsup": "^8.4.0", + "vitest": "^3.0.8" }, "engines": { "node": ">=18.14.1" diff --git a/packages/bun-transpiler/tsconfig.json b/packages/bun-transpiler/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/bun-transpiler/tsconfig.json +++ b/packages/bun-transpiler/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index 4610acbe..94f8d7a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2618,9 +2618,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/bun-transpiler@workspace:packages/bun-transpiler" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@types/bun": "npm:^1.0.0" hono: "npm:^3.11.7" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" + vitest: "npm:^3.0.8" peerDependencies: hono: "*" languageName: unknown From e6160a2f94d65b1a72df06b667b8c8d0c21d00e5 Mon Sep 17 00:00:00 2001 From: wayofthepie Date: Mon, 24 Mar 2025 12:41:40 +0000 Subject: [PATCH 17/81] feat(oidc-auth): allow setting audience for oidc-auth (#1010) --- .changeset/solid-gifts-dig.md | 5 +++++ packages/oidc-auth/README.md | 27 ++++++++++++++------------- packages/oidc-auth/src/index.test.ts | 22 ++++++++++++++++++++++ packages/oidc-auth/src/index.ts | 5 +++++ 4 files changed, 46 insertions(+), 13 deletions(-) create mode 100644 .changeset/solid-gifts-dig.md diff --git a/.changeset/solid-gifts-dig.md b/.changeset/solid-gifts-dig.md new file mode 100644 index 00000000..823e163f --- /dev/null +++ b/.changeset/solid-gifts-dig.md @@ -0,0 +1,5 @@ +--- +'@hono/oidc-auth': minor +--- + +Add support for setting audience in the OIDC_AUDIENCE environment variable diff --git a/packages/oidc-auth/README.md b/packages/oidc-auth/README.md index 2c89669b..d4a4a695 100644 --- a/packages/oidc-auth/README.md +++ b/packages/oidc-auth/README.md @@ -45,19 +45,20 @@ npm i hono @hono/oidc-auth The middleware requires the following variables to be set as either environment variables or by calling `initOidcAuthMiddleware`: -| Variable | Description | Default Value | -| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | -| OIDC_AUTH_SECRET | The secret key used for signing the session JWT. It is used to verify the JWT in the cookie and prevent tampering. (Must be at least 32 characters long) | None, must be provided | -| OIDC_AUTH_REFRESH_INTERVAL | The interval (in seconds) at which the session should be implicitly refreshed. | 15 \* 60 (15 minutes) | -| OIDC_AUTH_EXPIRES | The interval (in seconds) after which the session should be considered expired. Once expired, the user will be redirected to the IdP for re-authentication. | 60 _ 60 _ 24 (1 day) | -| OIDC_ISSUER | The issuer URL of the OpenID Connect (OIDC) discovery. This URL is used to retrieve the OIDC provider's configuration. | None, must be provided | -| OIDC_CLIENT_ID | The OAuth 2.0 client ID assigned to your application. This ID is used to identify your application to the OIDC provider. | None, must be provided | -| OIDC_CLIENT_SECRET | The OAuth 2.0 client secret assigned to your application. This secret is used to authenticate your application to the OIDC provider. | None, must be provided | -| OIDC_REDIRECT_URI | The URL to which the OIDC provider should redirect the user after authentication. This URL must be registered as a redirect URI in the OIDC provider. | `/callback` | -| OIDC_SCOPES | The scopes that should be used for the OIDC authentication | The server provided `scopes_supported` | -| OIDC_COOKIE_PATH | The path to which the `oidc-auth` cookie is set. Restrict to not send it with every request to your domain | / | -| OIDC_COOKIE_NAME | The name of the cookie to be set | `oidc-auth` | -| OIDC_COOKIE_DOMAIN | The custom domain of the cookie. For example, set this like `example.com` to enable authentication across subdomains (e.g., `a.example.com` and `b.example.com`). | Domain of the request | +| Variable | Description | Default Value | +| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| OIDC_AUTH_SECRET | The secret key used for signing the session JWT. It is used to verify the JWT in the cookie and prevent tampering. (Must be at least 32 characters long) | None, must be provided | +| OIDC_AUTH_REFRESH_INTERVAL | The interval (in seconds) at which the session should be implicitly refreshed. | 15 \* 60 (15 minutes) | +| OIDC_AUTH_EXPIRES | The interval (in seconds) after which the session should be considered expired. Once expired, the user will be redirected to the IdP for re-authentication. | 60 _ 60 _ 24 (1 day) | +| OIDC_ISSUER | The issuer URL of the OpenID Connect (OIDC) discovery. This URL is used to retrieve the OIDC provider's configuration. | None, must be provided | +| OIDC_CLIENT_ID | The OAuth 2.0 client ID assigned to your application. This ID is used to identify your application to the OIDC provider. | None, must be provided | +| OIDC_CLIENT_SECRET | The OAuth 2.0 client secret assigned to your application. This secret is used to authenticate your application to the OIDC provider. | None, must be provided | +| OIDC_REDIRECT_URI | The URL to which the OIDC provider should redirect the user after authentication. This URL must be registered as a redirect URI in the OIDC provider. | `/callback` | +| OIDC_SCOPES | The scopes that should be used for the OIDC authentication | The server provided `scopes_supported` | +| OIDC_COOKIE_PATH | The path to which the `oidc-auth` cookie is set. Restrict to not send it with every request to your domain | / | +| OIDC_COOKIE_NAME | The name of the cookie to be set | `oidc-auth` | +| OIDC_COOKIE_DOMAIN | The custom domain of the cookie. For example, set this like `example.com` to enable authentication across subdomains (e.g., `a.example.com` and `b.example.com`). | Domain of the request | +| OIDC_AUDIENCE | The audience for the access token | No default, optional. Primarily intended for use with Auth0. [`audience`](https://community.auth0.com/t/what-is-the-audience/71414) is required by Auth0 to receive a non-opaque access token, for other providers you may not need this. | ## How to Use diff --git a/packages/oidc-auth/src/index.test.ts b/packages/oidc-auth/src/index.test.ts index 4498b9d8..6573cb7d 100644 --- a/packages/oidc-auth/src/index.test.ts +++ b/packages/oidc-auth/src/index.test.ts @@ -189,6 +189,7 @@ beforeEach(() => { delete process.env.OIDC_COOKIE_PATH delete process.env.OIDC_COOKIE_NAME delete process.env.OIDC_COOKIE_DOMAIN + delete process.env.OIDC_AUDIENCE }) describe('oidcAuthMiddleware()', () => { test('Should respond with 200 OK if session is active', async () => { @@ -374,6 +375,27 @@ describe('oidcAuthMiddleware()', () => { expect(res.status).toBe(302) expect(res.headers.get('set-cookie')).toMatch(`Domain=${MOCK_COOKIE_DOMAIN}`) }) + test('Should use custom audience if defined', async () => { + process.env.OIDC_AUDIENCE = 'audience' + const req = new Request('http://localhost/', { + method: 'GET', + headers: { cookie: `oidc-auth=${MOCK_JWT_EXPIRED_SESSION}` }, + }) + const res = await app.request(req, {}, {}) + expect(res).not.toBeNull() + expect(res.status).toBe(302) + expect(res.headers.get('location')).toMatch(/audience=audience/) + }) + test('Should not set audience if not defined', async () => { + const req = new Request('http://localhost/', { + method: 'GET', + headers: { cookie: `oidc-auth=${MOCK_JWT_EXPIRED_SESSION}` }, + }) + const res = await app.request(req, {}, {}) + expect(res).not.toBeNull() + expect(res.status).toBe(302) + expect(res.headers.get('location')).not.toMatch(/audience=/) + }) }) describe('processOAuthCallback()', () => { test('Should successfully process the OAuth2.0 callback and redirect to the continue URL', async () => { diff --git a/packages/oidc-auth/src/index.ts b/packages/oidc-auth/src/index.ts index 601c652d..4975a008 100644 --- a/packages/oidc-auth/src/index.ts +++ b/packages/oidc-auth/src/index.ts @@ -58,6 +58,7 @@ export type OidcAuthEnv = { OIDC_COOKIE_PATH?: string OIDC_COOKIE_NAME?: string OIDC_COOKIE_DOMAIN?: string + OIDC_AUDIENCE?: string } /** @@ -93,6 +94,7 @@ const setOidcAuthEnv = (c: Context, config?: Partial) => { OIDC_COOKIE_PATH: config?.OIDC_COOKIE_PATH ?? ev.OIDC_COOKIE_PATH, OIDC_COOKIE_NAME: config?.OIDC_COOKIE_NAME ?? ev.OIDC_COOKIE_NAME, OIDC_COOKIE_DOMAIN: config?.OIDC_COOKIE_DOMAIN ?? ev.OIDC_COOKIE_DOMAIN, + OIDC_AUDIENCE: config?.OIDC_AUDIENCE ?? ev.OIDC_AUDIENCE, } if (oidcAuthEnv.OIDC_AUTH_SECRET === undefined) { throw new HTTPException(500, { message: 'Session secret is not provided' }) @@ -345,6 +347,9 @@ const generateAuthorizationRequestUrl = async ( authorizationRequestUrl.searchParams.set('access_type', 'offline') authorizationRequestUrl.searchParams.set('prompt', 'consent') } + if (env.OIDC_AUDIENCE) { + authorizationRequestUrl.searchParams.set('audience', env.OIDC_AUDIENCE) + } return authorizationRequestUrl.toString() } From 3ae1b484a2a45141ff0fe3c74e5cc00868fc39b2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 21:44:38 +0900 Subject: [PATCH 18/81] Version Packages (#1037) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/solid-gifts-dig.md | 5 ----- packages/oidc-auth/CHANGELOG.md | 6 ++++++ packages/oidc-auth/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/solid-gifts-dig.md diff --git a/.changeset/solid-gifts-dig.md b/.changeset/solid-gifts-dig.md deleted file mode 100644 index 823e163f..00000000 --- a/.changeset/solid-gifts-dig.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/oidc-auth': minor ---- - -Add support for setting audience in the OIDC_AUDIENCE environment variable diff --git a/packages/oidc-auth/CHANGELOG.md b/packages/oidc-auth/CHANGELOG.md index 12495d95..00d21859 100644 --- a/packages/oidc-auth/CHANGELOG.md +++ b/packages/oidc-auth/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/oidc-auth +## 1.6.0 + +### Minor Changes + +- [#1010](https://github.com/honojs/middleware/pull/1010) [`e6160a2f94d65b1a72df06b667b8c8d0c21d00e5`](https://github.com/honojs/middleware/commit/e6160a2f94d65b1a72df06b667b8c8d0c21d00e5) Thanks [@wayofthepie](https://github.com/wayofthepie)! - Add support for setting audience in the OIDC_AUDIENCE environment variable + ## 1.5.0 ### Minor Changes diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index 2dc8f746..b929955d 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -1,6 +1,6 @@ { "name": "@hono/oidc-auth", - "version": "1.5.0", + "version": "1.6.0", "description": "OpenID Connect Authentication middleware for Hono", "type": "module", "main": "dist/index.js", From 3b9d2d29905b06984a4c6492e8682c409abf2dc3 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 25 Mar 2025 10:57:15 +1100 Subject: [PATCH 19/81] build(auth-js): lint published package (#1034) * build(auth-js): lint published package * ci(auth-js): run publint * build(auth-js): remove no splitting flag --- .github/workflows/ci-auth-js.yml | 1 + packages/auth-js/package.json | 35 +++++++++++++++++--------------- packages/auth-js/tsconfig.json | 4 +--- packages/auth-js/tsup.config.ts | 9 -------- yarn.lock | 5 +++-- 5 files changed, 24 insertions(+), 30 deletions(-) delete mode 100644 packages/auth-js/tsup.config.ts diff --git a/.github/workflows/ci-auth-js.yml b/.github/workflows/ci-auth-js.yml index 0b1f7486..b55c6d2f 100644 --- a/.github/workflows/ci-auth-js.yml +++ b/.github/workflows/ci-auth-js.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/auth-js - run: yarn workspace @hono/auth-js build + - run: yarn workspace @hono/auth-js publint - run: yarn test --coverage --project @hono/auth-js - uses: codecov/codecov-action@v5 with: diff --git a/packages/auth-js/package.json b/packages/auth-js/package.json index 822646cc..77c333c0 100644 --- a/packages/auth-js/package.json +++ b/packages/auth-js/package.json @@ -3,25 +3,26 @@ "version": "1.0.15", "description": "A third-party Auth js middleware for Hono", "main": "dist/index.js", + "type": "module", "exports": { ".": { "import": { - "types": "./dist/index.d.mts", - "default": "./dist/index.mjs" - }, - "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, "./react": { "import": { - "types": "./dist/react.d.mts", - "default": "./dist/react.mjs" - }, - "require": { "types": "./dist/react.d.ts", "default": "./dist/react.js" + }, + "require": { + "types": "./dist/react.d.cts", + "default": "./dist/react.cjs" } } }, @@ -36,10 +37,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup src/index.ts src/react.tsx", + "prepack": "yarn build", + "publint": "attw --pack --profile node16 && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -48,7 +49,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/auth-js" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -57,15 +59,16 @@ "react": "^18 || ^19 || ^19.0.0-rc" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@auth/core": "^0.35.3", "@types/react": "^18", "hono": "^3.11.7", + "publint": "^0.3.9", "react": "^18.2.0", - "tsup": "^8.0.1", - "typescript": "^5.3.3", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=18.4.0" } -} +} \ No newline at end of file diff --git a/packages/auth-js/tsconfig.json b/packages/auth-js/tsconfig.json index c900cc27..550ead33 100644 --- a/packages/auth-js/tsconfig.json +++ b/packages/auth-js/tsconfig.json @@ -4,10 +4,8 @@ "target": "ESNext", "module": "ESNext", "moduleResolution": "node", - "rootDir": "./", "outDir": "./dist", "jsx": "react", "types": ["node", "vitest/globals"] - }, - "include": ["src/**/*.ts", "src/**/*.tsx"] + } } diff --git a/packages/auth-js/tsup.config.ts b/packages/auth-js/tsup.config.ts deleted file mode 100644 index a4fb76eb..00000000 --- a/packages/auth-js/tsup.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from 'tsup' - -export default defineConfig({ - entry: ['src/index.ts', 'src/react.tsx'], - format: ['esm', 'cjs'], - dts: true, - splitting: false, - clean: true, -}) diff --git a/yarn.lock b/yarn.lock index 94f8d7a2..09d078a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2600,12 +2600,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/auth-js@workspace:packages/auth-js" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@auth/core": "npm:^0.35.3" "@types/react": "npm:^18" hono: "npm:^3.11.7" + publint: "npm:^0.3.9" react: "npm:^18.2.0" - tsup: "npm:^8.0.1" - typescript: "npm:^5.3.3" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: "@auth/core": 0.* From aad0ec86b38208cc73d31f3adeeb98694f63d857 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:38:31 +1100 Subject: [PATCH 20/81] build(class-validator): lint published package (#1041) --- .github/workflows/ci-class-validator.yml | 1 + packages/class-validator/package.json | 30 +- packages/class-validator/tsconfig.json | 10 +- packages/class-validator/tsconfig.vitest.json | 12 +- yarn.lock | 543 +----------------- 5 files changed, 30 insertions(+), 566 deletions(-) diff --git a/.github/workflows/ci-class-validator.yml b/.github/workflows/ci-class-validator.yml index c5b7cad4..0a2bc12c 100644 --- a/.github/workflows/ci-class-validator.yml +++ b/.github/workflows/ci-class-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/class-validator - run: yarn workspace @hono/class-validator build + - run: yarn workspace @hono/class-validator publint - run: yarn test --coverage --project @hono/class-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/class-validator/package.json b/packages/class-validator/package.json index af781615..5bb95ca3 100644 --- a/packages/class-validator/package.json +++ b/packages/class-validator/package.json @@ -9,15 +9,24 @@ "types": "dist/index.d.ts", "exports": { ".": { - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, + "files": [ + "dist" + ], "scripts": { - "test": "vitest --run", - "build": "rimraf dist && tsup ./src/index.ts --format esm,cjs --dts", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -26,17 +35,18 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/class-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.9.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.0.10", - "rimraf": "^5.0.5", - "tsup": "^8.3.5", - "typescript": "^5.3.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/class-validator/tsconfig.json b/packages/class-validator/tsconfig.json index eb85aad4..61e8adc5 100644 --- a/packages/class-validator/tsconfig.json +++ b/packages/class-validator/tsconfig.json @@ -1,12 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "emitDecoratorMetadata": true, - "experimentalDecorators": true, - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "experimentalDecorators": true + } +} diff --git a/packages/class-validator/tsconfig.vitest.json b/packages/class-validator/tsconfig.vitest.json index 95f7c959..0695d1bd 100644 --- a/packages/class-validator/tsconfig.vitest.json +++ b/packages/class-validator/tsconfig.vitest.json @@ -1,14 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "types": [ - "vitest/globals", - ], + "types": ["vitest/globals"], "emitDecoratorMetadata": true, - "experimentalDecorators": true, - }, - "include": [ - "src/", - "test/" - ], + "experimentalDecorators": true + } } diff --git a/yarn.lock b/yarn.lock index 09d078a3..0580c060 100644 --- a/yarn.lock +++ b/yarn.lock @@ -999,13 +999,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/aix-ppc64@npm:0.24.0" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/aix-ppc64@npm:0.25.0" @@ -1055,13 +1048,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm64@npm:0.24.0" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm64@npm:0.25.0" @@ -1111,13 +1097,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm@npm:0.24.0" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm@npm:0.25.0" @@ -1167,13 +1146,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-x64@npm:0.24.0" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-x64@npm:0.25.0" @@ -1223,13 +1195,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-arm64@npm:0.24.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-arm64@npm:0.25.0" @@ -1279,13 +1244,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-x64@npm:0.24.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-x64@npm:0.25.0" @@ -1335,13 +1293,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-arm64@npm:0.24.0" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-arm64@npm:0.25.0" @@ -1391,13 +1342,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-x64@npm:0.24.0" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-x64@npm:0.25.0" @@ -1447,13 +1391,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm64@npm:0.24.0" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm64@npm:0.25.0" @@ -1503,13 +1440,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm@npm:0.24.0" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm@npm:0.25.0" @@ -1559,13 +1489,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ia32@npm:0.24.0" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ia32@npm:0.25.0" @@ -1615,13 +1538,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-loong64@npm:0.24.0" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-loong64@npm:0.25.0" @@ -1671,13 +1587,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-mips64el@npm:0.24.0" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-mips64el@npm:0.25.0" @@ -1727,13 +1636,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ppc64@npm:0.24.0" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ppc64@npm:0.25.0" @@ -1783,13 +1685,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-riscv64@npm:0.24.0" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-riscv64@npm:0.25.0" @@ -1839,13 +1734,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-s390x@npm:0.24.0" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-s390x@npm:0.25.0" @@ -1895,13 +1783,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-x64@npm:0.24.0" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-x64@npm:0.25.0" @@ -1958,13 +1839,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/netbsd-x64@npm:0.24.0" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/netbsd-x64@npm:0.25.0" @@ -1979,13 +1853,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-arm64@npm:0.24.0" - conditions: os=openbsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/openbsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-arm64@npm:0.25.0" @@ -2035,13 +1902,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-x64@npm:0.24.0" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-x64@npm:0.25.0" @@ -2091,13 +1951,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/sunos-x64@npm:0.24.0" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/sunos-x64@npm:0.25.0" @@ -2147,13 +2000,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-arm64@npm:0.24.0" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-arm64@npm:0.25.0" @@ -2203,13 +2049,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-ia32@npm:0.24.0" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-ia32@npm:0.25.0" @@ -2259,13 +2098,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-x64@npm:0.24.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-x64@npm:0.25.0" @@ -2650,13 +2482,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/class-validator@workspace:packages/class-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" class-transformer: "npm:^0.5.1" class-validator: "npm:^0.14.1" hono: "npm:^4.0.10" + publint: "npm:^0.3.9" reflect-metadata: "npm:^0.2.2" - rimraf: "npm:^5.0.5" - tsup: "npm:^8.3.5" - typescript: "npm:^5.3.3" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.0" @@ -4143,13 +3975,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.4" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@rollup/rollup-android-arm-eabi@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-android-arm-eabi@npm:4.34.9" @@ -4178,13 +4003,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-android-arm64@npm:4.24.4" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-android-arm64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-android-arm64@npm:4.34.9" @@ -4213,13 +4031,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-darwin-arm64@npm:4.24.4" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-arm64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-darwin-arm64@npm:4.34.9" @@ -4248,13 +4059,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-darwin-x64@npm:4.24.4" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-x64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-darwin-x64@npm:4.34.9" @@ -4276,13 +4080,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.4" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-freebsd-arm64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-freebsd-arm64@npm:4.34.9" @@ -4297,13 +4094,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-freebsd-x64@npm:4.24.4" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-freebsd-x64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-freebsd-x64@npm:4.34.9" @@ -4325,13 +4115,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4" - conditions: os=linux & cpu=arm & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9" @@ -4360,13 +4143,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.4" - conditions: os=linux & cpu=arm & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-musleabihf@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.34.9" @@ -4388,13 +4164,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.4" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.9" @@ -4423,13 +4192,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.4" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-musl@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.34.9" @@ -4472,13 +4234,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4" - conditions: os=linux & cpu=ppc64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9" @@ -4500,13 +4255,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.4" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9" @@ -4535,13 +4283,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.4" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-s390x-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.34.9" @@ -4563,13 +4304,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.4" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.9" @@ -4598,13 +4332,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.4" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-musl@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-x64-musl@npm:4.34.9" @@ -4633,13 +4360,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.4" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-win32-arm64-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.34.9" @@ -4668,13 +4388,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.4" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@rollup/rollup-win32-ia32-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.34.9" @@ -4703,13 +4416,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.4" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-win32-x64-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.34.9" @@ -6836,15 +6542,6 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^4.0.1": - version: 4.0.1 - resolution: "chokidar@npm:4.0.1" - dependencies: - readdirp: "npm:^4.0.1" - checksum: 4bb7a3adc304059810bb6c420c43261a15bb44f610d77c35547addc84faa0374265c3adc67f25d06f363d9a4571962b02679268c40de07676d260de1986efea9 - languageName: node - linkType: hard - "chokidar@npm:^4.0.3": version: 4.0.3 resolution: "chokidar@npm:4.0.3" @@ -7689,18 +7386,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.3.7": - version: 4.3.7 - resolution: "debug@npm:4.3.7" - dependencies: - ms: "npm:^2.1.3" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 1471db19c3b06d485a622d62f65947a19a23fbd0dd73f7fd3eafb697eec5360cde447fb075919987899b1a2096e85d35d4eb5a4de09a57600ac9cf7e6c8e768b - languageName: node - linkType: hard - "decamelize-keys@npm:^1.1.0": version: 1.1.1 resolution: "decamelize-keys@npm:1.1.1" @@ -8814,89 +8499,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.24.0": - version: 0.24.0 - resolution: "esbuild@npm:0.24.0" - dependencies: - "@esbuild/aix-ppc64": "npm:0.24.0" - "@esbuild/android-arm": "npm:0.24.0" - "@esbuild/android-arm64": "npm:0.24.0" - "@esbuild/android-x64": "npm:0.24.0" - "@esbuild/darwin-arm64": "npm:0.24.0" - "@esbuild/darwin-x64": "npm:0.24.0" - "@esbuild/freebsd-arm64": "npm:0.24.0" - "@esbuild/freebsd-x64": "npm:0.24.0" - "@esbuild/linux-arm": "npm:0.24.0" - "@esbuild/linux-arm64": "npm:0.24.0" - "@esbuild/linux-ia32": "npm:0.24.0" - "@esbuild/linux-loong64": "npm:0.24.0" - "@esbuild/linux-mips64el": "npm:0.24.0" - "@esbuild/linux-ppc64": "npm:0.24.0" - "@esbuild/linux-riscv64": "npm:0.24.0" - "@esbuild/linux-s390x": "npm:0.24.0" - "@esbuild/linux-x64": "npm:0.24.0" - "@esbuild/netbsd-x64": "npm:0.24.0" - "@esbuild/openbsd-arm64": "npm:0.24.0" - "@esbuild/openbsd-x64": "npm:0.24.0" - "@esbuild/sunos-x64": "npm:0.24.0" - "@esbuild/win32-arm64": "npm:0.24.0" - "@esbuild/win32-ia32": "npm:0.24.0" - "@esbuild/win32-x64": "npm:0.24.0" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-arm64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 9f1aadd8d64f3bff422ae78387e66e51a5e09de6935a6f987b6e4e189ed00fdc2d1bc03d2e33633b094008529c8b6e06c7ad1a9782fb09fec223bf95998c0683 - languageName: node - linkType: hard - "esbuild@npm:^0.25.0": version: 0.25.0 resolution: "esbuild@npm:0.25.0" @@ -9888,18 +9490,6 @@ __metadata: languageName: node linkType: hard -"fdir@npm:^6.4.2": - version: 6.4.2 - resolution: "fdir@npm:6.4.2" - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true - checksum: 34829886f34a3ca4170eca7c7180ec4de51a3abb4d380344063c0ae2e289b11d2ba8b724afee974598c83027fea363ff598caf2b51bc4e6b1e0d8b80cc530573 - languageName: node - linkType: hard - "fdir@npm:^6.4.3": version: 6.4.3 resolution: "fdir@npm:6.4.3" @@ -16636,75 +16226,6 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.24.0": - version: 4.24.4 - resolution: "rollup@npm:4.24.4" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.24.4" - "@rollup/rollup-android-arm64": "npm:4.24.4" - "@rollup/rollup-darwin-arm64": "npm:4.24.4" - "@rollup/rollup-darwin-x64": "npm:4.24.4" - "@rollup/rollup-freebsd-arm64": "npm:4.24.4" - "@rollup/rollup-freebsd-x64": "npm:4.24.4" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.4" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.4" - "@rollup/rollup-linux-arm64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-arm64-musl": "npm:4.24.4" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.4" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-s390x-gnu": "npm:4.24.4" - "@rollup/rollup-linux-x64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-x64-musl": "npm:4.24.4" - "@rollup/rollup-win32-arm64-msvc": "npm:4.24.4" - "@rollup/rollup-win32-ia32-msvc": "npm:4.24.4" - "@rollup/rollup-win32-x64-msvc": "npm:4.24.4" - "@types/estree": "npm:1.0.6" - fsevents: "npm:~2.3.2" - dependenciesMeta: - "@rollup/rollup-android-arm-eabi": - optional: true - "@rollup/rollup-android-arm64": - optional: true - "@rollup/rollup-darwin-arm64": - optional: true - "@rollup/rollup-darwin-x64": - optional: true - "@rollup/rollup-freebsd-arm64": - optional: true - "@rollup/rollup-freebsd-x64": - optional: true - "@rollup/rollup-linux-arm-gnueabihf": - optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true - "@rollup/rollup-linux-arm64-gnu": - optional: true - "@rollup/rollup-linux-arm64-musl": - optional: true - "@rollup/rollup-linux-powerpc64le-gnu": - optional: true - "@rollup/rollup-linux-riscv64-gnu": - optional: true - "@rollup/rollup-linux-s390x-gnu": - optional: true - "@rollup/rollup-linux-x64-gnu": - optional: true - "@rollup/rollup-linux-x64-musl": - optional: true - "@rollup/rollup-win32-arm64-msvc": - optional: true - "@rollup/rollup-win32-ia32-msvc": - optional: true - "@rollup/rollup-win32-x64-msvc": - optional: true - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 8e9e9ce4dc8cc48acf258a26519ed1bbbbdac99fd701e89d11c31271e01b4663fe61d839f7906a49c0983b1a49e2acc622948d7665ff0f57ecc48d872835d1ce - languageName: node - linkType: hard - "rollup@npm:^4.30.1": version: 4.34.9 resolution: "rollup@npm:4.34.9" @@ -18285,13 +17806,6 @@ __metadata: languageName: node linkType: hard -"tinyexec@npm:^0.3.1": - version: 0.3.1 - resolution: "tinyexec@npm:0.3.1" - checksum: 11e7a7c5d8b3bddf8b5cbe82a9290d70a6fad84d528421d5d18297f165723cb53d2e737d8f58dcce5ca56f2e4aa2d060f02510b1f8971784f97eb3e9aec28f09 - languageName: node - linkType: hard - "tinyexec@npm:^0.3.2": version: 0.3.2 resolution: "tinyexec@npm:0.3.2" @@ -18319,16 +17833,6 @@ __metadata: languageName: node linkType: hard -"tinyglobby@npm:^0.2.9": - version: 0.2.10 - resolution: "tinyglobby@npm:0.2.10" - dependencies: - fdir: "npm:^6.4.2" - picomatch: "npm:^4.0.2" - checksum: ce946135d39b8c0e394e488ad59f4092e8c4ecd675ef1bcd4585c47de1b325e61ec6adfbfbe20c3c2bfa6fd674c5b06de2a2e65c433f752ae170aff11793e5ef - languageName: node - linkType: hard - "tinypool@npm:^1.0.2": version: 1.0.2 resolution: "tinypool@npm:1.0.2" @@ -18767,47 +18271,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.3.5": - version: 8.3.5 - resolution: "tsup@npm:8.3.5" - dependencies: - bundle-require: "npm:^5.0.0" - cac: "npm:^6.7.14" - chokidar: "npm:^4.0.1" - consola: "npm:^3.2.3" - debug: "npm:^4.3.7" - esbuild: "npm:^0.24.0" - joycon: "npm:^3.1.1" - picocolors: "npm:^1.1.1" - postcss-load-config: "npm:^6.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.24.0" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.35.0" - tinyexec: "npm:^0.3.1" - tinyglobby: "npm:^0.2.9" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 7794953cbc784b7c8f14c4898d36a293b815b528d3098c2416aeaa2b4775dc477132cd12f75f6d32737dfd15ba10139c73f7039045352f2ba1ea7e5fe6fe3773 - languageName: node - linkType: hard - "tsup@npm:^8.4.0": version: 8.4.0 resolution: "tsup@npm:8.4.0" From 243a73c41c3b3433e11fe4239f47fe312847648d Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:48:09 +1100 Subject: [PATCH 21/81] build(clerk-auth): lint published package (#1042) --- .github/workflows/ci-clerk-auth.yml | 1 + packages/clerk-auth/package.json | 19 ++++++++++--------- packages/clerk-auth/tsconfig.json | 4 +--- yarn.lock | 13 +++---------- 4 files changed, 15 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index 28e9c94c..9b830d08 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/clerk-auth - run: yarn workspace @hono/clerk-auth build + - run: yarn workspace @hono/clerk-auth publint - run: yarn test --coverage --project @hono/clerk-auth - uses: codecov/codecov-action@v5 with: diff --git a/packages/clerk-auth/package.json b/packages/clerk-auth/package.json index a84af5c4..1187f79e 100644 --- a/packages/clerk-auth/package.json +++ b/packages/clerk-auth/package.json @@ -10,10 +10,10 @@ "dist" ], "scripts": { - "test": "vitest", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -34,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/clerk-auth" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -42,16 +43,16 @@ "hono": ">=3.*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@clerk/backend": "^1.0.0", "@types/react": "^18", "hono": "^3.11.7", - "node-fetch-native": "^1.4.0", + "publint": "^0.3.9", "react": "^18.2.0", - "tsup": "^8.0.1", - "typescript": "^5.8.2", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=16.x.x" } -} +} \ No newline at end of file diff --git a/packages/clerk-auth/tsconfig.json b/packages/clerk-auth/tsconfig.json index af5bfa77..103e4e38 100644 --- a/packages/clerk-auth/tsconfig.json +++ b/packages/clerk-auth/tsconfig.json @@ -1,9 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index 0580c060..ec6d6b76 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2499,13 +2499,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/clerk-auth@workspace:packages/clerk-auth" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@clerk/backend": "npm:^1.0.0" "@types/react": "npm:^18" hono: "npm:^3.11.7" - node-fetch-native: "npm:^1.4.0" + publint: "npm:^0.3.9" react: "npm:^18.2.0" - tsup: "npm:^8.0.1" - typescript: "npm:^5.8.2" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: "@clerk/backend": ^1.0.0 @@ -13933,13 +13933,6 @@ __metadata: languageName: node linkType: hard -"node-fetch-native@npm:^1.4.0": - version: 1.4.1 - resolution: "node-fetch-native@npm:1.4.1" - checksum: ab298a42ebf3b1b6c6a8cbc53d8ba703895f55171ed743b0828c2a87d461642d8053143864915a69d41cc01013db86406da105fff6c0a05a00d8caf5c279549c - languageName: node - linkType: hard - "node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9, node-fetch@npm:^2.7.0": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" From f4e4b8a2eef1a17497178b089087058de17f22d7 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:51:56 +1100 Subject: [PATCH 22/81] build(cloudflare-access): lint published package (#1043) --- .github/workflows/ci-cloudflare-access.yml | 1 + packages/cloudflare-access/package.json | 18 +++++++++++------- packages/cloudflare-access/tsconfig.json | 9 +++------ yarn.lock | 6 ++++-- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-cloudflare-access.yml b/.github/workflows/ci-cloudflare-access.yml index 84327200..3270ecad 100644 --- a/.github/workflows/ci-cloudflare-access.yml +++ b/.github/workflows/ci-cloudflare-access.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/cloudflare-access - run: yarn workspace @hono/cloudflare-access build + - run: yarn workspace @hono/cloudflare-access publint - run: yarn test --coverage --project @hono/cloudflare-access - uses: codecov/codecov-action@v5 with: diff --git a/packages/cloudflare-access/package.json b/packages/cloudflare-access/package.json index a7b566a7..3cce5fc4 100644 --- a/packages/cloudflare-access/package.json +++ b/packages/cloudflare-access/package.json @@ -9,10 +9,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -33,15 +33,19 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/cloudflare-access" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", + "@cloudflare/workers-types": "^4.20230307.0", "hono": "^4.4.12", - "tsup": "^8.1.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/cloudflare-access/tsconfig.json b/packages/cloudflare-access/tsconfig.json index acfcd843..60494f8f 100644 --- a/packages/cloudflare-access/tsconfig.json +++ b/packages/cloudflare-access/tsconfig.json @@ -1,10 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "types": ["@cloudflare/workers-types"] + } +} diff --git a/yarn.lock b/yarn.lock index ec6d6b76..cf149d64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2517,9 +2517,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/cloudflare-access@workspace:packages/cloudflare-access" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" + "@cloudflare/workers-types": "npm:^4.20230307.0" hono: "npm:^4.4.12" - tsup: "npm:^8.1.0" - vitest: "npm:^3.0.8" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" peerDependencies: hono: "*" languageName: unknown From bf4d315e5a22d5b4f0286edf745be183da300e69 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:55:22 +1100 Subject: [PATCH 23/81] build(conform-validator): lint published package (#1044) --- .github/workflows/ci-conform-validator.yml | 1 + packages/conform-validator/package.json | 15 +++++--- packages/conform-validator/tsconfig.json | 9 ++--- yarn.lock | 45 ++-------------------- 4 files changed, 16 insertions(+), 54 deletions(-) diff --git a/.github/workflows/ci-conform-validator.yml b/.github/workflows/ci-conform-validator.yml index eefb17bb..47426fbb 100644 --- a/.github/workflows/ci-conform-validator.yml +++ b/.github/workflows/ci-conform-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/conform-validator - run: yarn workspace @hono/conform-validator build + - run: yarn workspace @hono/conform-validator publint - run: yarn test --coverage --project @hono/conform-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/conform-validator/package.json b/packages/conform-validator/package.json index b624324d..3f95a0fd 100644 --- a/packages/conform-validator/package.json +++ b/packages/conform-validator/package.json @@ -10,10 +10,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -34,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/conform-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -42,12 +43,14 @@ "hono": ">=4.5.1" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@conform-to/dom": "^1.1.5", "@conform-to/yup": "^1.1.5", "@conform-to/zod": "^1.1.5", "conform-to-valibot": "^1.10.0", "hono": "^4.5.1", - "tsup": "^8.2.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "valibot": "^0.36.0", "vitest": "^3.0.8", "yup": "^1.4.0", diff --git a/packages/conform-validator/tsconfig.json b/packages/conform-validator/tsconfig.json index 6c1a3990..9f275945 100644 --- a/packages/conform-validator/tsconfig.json +++ b/packages/conform-validator/tsconfig.json @@ -1,9 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index cf149d64..8470bb51 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2531,12 +2531,14 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/conform-validator@workspace:packages/conform-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@conform-to/dom": "npm:^1.1.5" "@conform-to/yup": "npm:^1.1.5" "@conform-to/zod": "npm:^1.1.5" conform-to-valibot: "npm:^1.10.0" hono: "npm:^4.5.1" - tsup: "npm:^8.2.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" valibot: "npm:^0.36.0" vitest: "npm:^3.0.8" yup: "npm:^1.4.0" @@ -18184,47 +18186,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.2.3": - version: 8.2.3 - resolution: "tsup@npm:8.2.3" - dependencies: - bundle-require: "npm:^5.0.0" - cac: "npm:^6.7.14" - chokidar: "npm:^3.6.0" - consola: "npm:^3.2.3" - debug: "npm:^4.3.5" - esbuild: "npm:^0.23.0" - execa: "npm:^5.1.1" - globby: "npm:^11.1.0" - joycon: "npm:^3.1.1" - picocolors: "npm:^1.0.1" - postcss-load-config: "npm:^6.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.19.0" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.35.0" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 4a6fba80b441b400e44633db7e52d383cfd502119e6bdf7680ac07d5110eab2473d8b980a664c1564d0418d89c0e680b24a9f43d2d7da1193ce72259a863725a - languageName: node - linkType: hard - "tsup@npm:^8.3.0": version: 8.3.0 resolution: "tsup@npm:8.3.0" From 2939ab74938e2684f66b6d2d3781f8a008ee6a9e Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:56:28 +1100 Subject: [PATCH 24/81] build(effect-validator): lint published package (#1045) --- .github/workflows/ci-effect-validator.yml | 1 + packages/effect-validator/package.json | 24 ++++++++++++---------- packages/effect-validator/tsconfig.json | 8 ++------ yarn.lock | 25 +++-------------------- 4 files changed, 19 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci-effect-validator.yml b/.github/workflows/ci-effect-validator.yml index 58465c48..5943c12d 100644 --- a/.github/workflows/ci-effect-validator.yml +++ b/.github/workflows/ci-effect-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/effect-validator - run: yarn workspace @hono/effect-validator build + - run: yarn workspace @hono/effect-validator publint - run: yarn test --coverage --project @hono/effect-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/effect-validator/package.json b/packages/effect-validator/package.json index 88108a47..4ae31e82 100644 --- a/packages/effect-validator/package.json +++ b/packages/effect-validator/package.json @@ -3,9 +3,9 @@ "version": "1.2.0", "description": "Validator middleware using Effect Schema", "type": "module", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/esm/index.d.ts", + "main": "dist/index.cjs", + "module": "dist/index.js", + "types": "dist/index.d.ts", "exports": { ".": { "import": { @@ -22,10 +22,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -34,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/effect-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -42,10 +43,11 @@ "hono": ">=4.4.13" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "effect": "3.10.0", "hono": "^4.4.13", - "tsup": "^8.1.0", - "typescript": "^5.5.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/effect-validator/tsconfig.json b/packages/effect-validator/tsconfig.json index 7a3469bf..30b09682 100644 --- a/packages/effect-validator/tsconfig.json +++ b/packages/effect-validator/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "exactOptionalPropertyTypes": true - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + } +} diff --git a/yarn.lock b/yarn.lock index 8470bb51..3f16463d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2553,10 +2553,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/effect-validator@workspace:packages/effect-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" effect: "npm:3.10.0" hono: "npm:^4.4.13" - tsup: "npm:^8.1.0" - typescript: "npm:^5.5.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: effect: ">=3.10.0" @@ -18490,16 +18491,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.5.3": - version: 5.5.3 - resolution: "typescript@npm:5.5.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: f52c71ccbc7080b034b9d3b72051d563601a4815bf3e39ded188e6ce60813f75dbedf11ad15dd4d32a12996a9ed8c7155b46c93a9b9c9bad1049766fe614bbdd - languageName: node - linkType: hard - "typescript@npm:^5.7.3": version: 5.7.3 resolution: "typescript@npm:5.7.3" @@ -18570,16 +18561,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin": - version: 5.5.3 - resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin::version=5.5.3&hash=e012d7" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 5a437c416251334deeaf29897157032311f3f126547cfdc4b133768b606cb0e62bcee733bb97cf74c42fe7268801aea1392d8e40988cdef112e9546eba4c03c5 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.7.3#optional!builtin": version: 5.7.3 resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=e012d7" From 2514e033823b1fc679dca1de690e5180dae012c3 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 12:59:12 +1100 Subject: [PATCH 25/81] build(event-emitter): lint published package (#1047) --- .github/workflows/ci-event-emitter.yml | 1 + packages/event-emitter/package.json | 31 +++++++++++++++++--------- packages/event-emitter/tsconfig.json | 10 +++------ yarn.lock | 4 +++- 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci-event-emitter.yml b/.github/workflows/ci-event-emitter.yml index d14a1eb4..1b600492 100644 --- a/.github/workflows/ci-event-emitter.yml +++ b/.github/workflows/ci-event-emitter.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/event-emitter - run: yarn workspace @hono/event-emitter build + - run: yarn workspace @hono/event-emitter publint - run: yarn test --coverage --project @hono/event-emitter - uses: codecov/codecov-action@v5 with: diff --git a/packages/event-emitter/package.json b/packages/event-emitter/package.json index fc035582..f0b89543 100644 --- a/packages/event-emitter/package.json +++ b/packages/event-emitter/package.json @@ -2,23 +2,29 @@ "name": "@hono/event-emitter", "version": "2.0.0", "description": "Event Emitter middleware for Hono", + "type": "module", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -28,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/event-emitter" }, "homepage": "https://github.com/honojs/middleware", "author": "David Havl (https://github.com/DavidHavl)", @@ -36,11 +43,13 @@ "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.3.6", - "tsup": "^8.0.1", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=16.0.0" } -} +} \ No newline at end of file diff --git a/packages/event-emitter/tsconfig.json b/packages/event-emitter/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/event-emitter/tsconfig.json +++ b/packages/event-emitter/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index 3f16463d..fc7ca82b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2605,8 +2605,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/event-emitter@workspace:packages/event-emitter" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.3.6" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" From 738f1da5db226d64047b6deab3f5c53fca802229 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 27 Mar 2025 11:02:11 +0900 Subject: [PATCH 26/81] chore: update the lockfile (#1071) --- packages/auth-js/package.json | 2 +- packages/clerk-auth/package.json | 2 +- packages/cloudflare-access/package.json | 2 +- packages/effect-validator/package.json | 2 +- packages/event-emitter/package.json | 2 +- yarn.lock | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/auth-js/package.json b/packages/auth-js/package.json index 77c333c0..bf38d193 100644 --- a/packages/auth-js/package.json +++ b/packages/auth-js/package.json @@ -71,4 +71,4 @@ "engines": { "node": ">=18.4.0" } -} \ No newline at end of file +} diff --git a/packages/clerk-auth/package.json b/packages/clerk-auth/package.json index 1187f79e..f390ea6e 100644 --- a/packages/clerk-auth/package.json +++ b/packages/clerk-auth/package.json @@ -55,4 +55,4 @@ "engines": { "node": ">=16.x.x" } -} \ No newline at end of file +} diff --git a/packages/cloudflare-access/package.json b/packages/cloudflare-access/package.json index 3cce5fc4..f07e2d73 100644 --- a/packages/cloudflare-access/package.json +++ b/packages/cloudflare-access/package.json @@ -48,4 +48,4 @@ "tsup": "^8.4.0", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/packages/effect-validator/package.json b/packages/effect-validator/package.json index 4ae31e82..39444e21 100644 --- a/packages/effect-validator/package.json +++ b/packages/effect-validator/package.json @@ -50,4 +50,4 @@ "tsup": "^8.4.0", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/packages/event-emitter/package.json b/packages/event-emitter/package.json index f0b89543..1cf26c73 100644 --- a/packages/event-emitter/package.json +++ b/packages/event-emitter/package.json @@ -52,4 +52,4 @@ "engines": { "node": ">=16.0.0" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index fc7ca82b..4a2d9377 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2522,6 +2522,7 @@ __metadata: hono: "npm:^4.4.12" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + vitest: "npm:^3.0.8" peerDependencies: hono: "*" languageName: unknown From aab396f7eac4ea0fdaceaa642a17a3ba7cb120df Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:06:41 +1100 Subject: [PATCH 27/81] build(esbuild-transpiler): lint published package (#1046) * build(esbuild-transpiler): lint published package * chore: fix repository directory reference --- .github/workflows/ci-esbuild-transpiler.yml | 1 + packages/esbuild-transpiler/package.json | 51 ++++++++++++++------- packages/esbuild-transpiler/tsconfig.json | 14 ++---- yarn.lock | 4 +- 4 files changed, 42 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci-esbuild-transpiler.yml b/.github/workflows/ci-esbuild-transpiler.yml index 0a41953e..e4d53a92 100644 --- a/.github/workflows/ci-esbuild-transpiler.yml +++ b/.github/workflows/ci-esbuild-transpiler.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler - run: yarn workspace @hono/esbuild-transpiler build + - run: yarn workspace @hono/esbuild-transpiler publint - run: yarn test --coverage --project @hono/esbuild-transpiler - uses: codecov/codecov-action@v5 with: diff --git a/packages/esbuild-transpiler/package.json b/packages/esbuild-transpiler/package.json index 8ef3c1d6..64d6ce6d 100644 --- a/packages/esbuild-transpiler/package.json +++ b/packages/esbuild-transpiler/package.json @@ -2,32 +2,48 @@ "name": "@hono/esbuild-transpiler", "version": "0.1.3", "description": "esbuild Transpiler Middleware for Hono", - "main": "dist/index.js", "type": "module", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest run", - "build": "tsup ./src/*.ts ./src/transpilers/*.ts --format esm,cjs --dts --no-splitting --external esbuild-wasm,esbuild", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/*.ts ./src/transpilers/*.ts --no-splitting --external esbuild-wasm,esbuild", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } }, "./wasm": { - "types": "./dist/transpilers/wasm.d.ts", - "import": "./dist/transpilers/wasm.js", - "require": "./dist/transpilers/wasm.cjs" + "import": { + "types": "./dist/transpilers/wasm.d.ts", + "default": "./dist/transpilers/wasm.js" + }, + "require": { + "types": "./dist/transpilers/wasm.d.cts", + "default": "./dist/transpilers/wasm.cjs" + } }, "./node": { - "types": "./dist/transpilers/node.d.ts", - "import": "./dist/transpilers/node.js", - "require": "./dist/transpilers/node.cjs" + "import": { + "types": "./dist/transpilers/node.d.ts", + "default": "./dist/transpilers/node.js" + }, + "require": { + "types": "./dist/transpilers/node.d.cts", + "default": "./dist/transpilers/node.cjs" + } } }, "typesVersions": { @@ -47,20 +63,23 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/esbuild-transpiler" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.9.2" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "esbuild": "^0.19.9", "esbuild-wasm": "^0.19.5", "hono": "^3.11.7", - "tsup": "^8.0.1", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=18.14.1" } -} +} \ No newline at end of file diff --git a/packages/esbuild-transpiler/tsconfig.json b/packages/esbuild-transpiler/tsconfig.json index 8eaee1b9..f63ac453 100644 --- a/packages/esbuild-transpiler/tsconfig.json +++ b/packages/esbuild-transpiler/tsconfig.json @@ -1,14 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "skipLibCheck": false, - "rootDir": "./src", - }, - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "node_modules", - "dist" - ] -} \ No newline at end of file + "skipLibCheck": false + } +} diff --git a/yarn.lock b/yarn.lock index 4a2d9377..3ac29040 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2570,10 +2570,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/esbuild-transpiler@workspace:packages/esbuild-transpiler" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" esbuild: "npm:^0.19.9" esbuild-wasm: "npm:^0.19.5" hono: "npm:^3.11.7" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.2" From d905d009fe6b956fc4f2137a83a38a3b0ca5825e Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:14:58 +1100 Subject: [PATCH 28/81] build(firebase-auth): lint published package (#1048) --- .github/workflows/ci-firebase-auth.yml | 1 + packages/firebase-auth/package.json | 17 +++++++++-------- packages/firebase-auth/tsconfig.json | 13 +++---------- yarn.lock | 5 +++-- 4 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index 2e0d02b3..d9114624 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/firebase-auth - run: yarn workspace @hono/firebase-auth build + - run: yarn workspace @hono/firebase-auth publint - run: yarn test --coverage --project @hono/firebase-auth - uses: codecov/codecov-action@v5 with: diff --git a/packages/firebase-auth/package.json b/packages/firebase-auth/package.json index 0be20dfe..e59c4ce3 100644 --- a/packages/firebase-auth/package.json +++ b/packages/firebase-auth/package.json @@ -12,11 +12,10 @@ "scripts": { "start-firebase-emulator": "firebase emulators:start --project example-project12345", "test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'", - "test": "vitest run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "prerelease": "yarn build && arn publint", - "release": "yarn publish" + "test": "vitest", + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint" }, "exports": { ".": { @@ -33,7 +32,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/firebase-auth" }, "homepage": "https://github.com/honojs/middleware", "author": "codehex", @@ -48,13 +48,14 @@ "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@cloudflare/workers-types": "^4.20240222.0", "firebase-tools": "^13.29.1", "hono": "^4.2.4", "miniflare": "^3.20240208.0", "prettier": "^3.2.5", - "tsup": "^8.0.2", - "typescript": "^5.3.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/firebase-auth/tsconfig.json b/packages/firebase-auth/tsconfig.json index a5e0074b..f8678c52 100644 --- a/packages/firebase-auth/tsconfig.json +++ b/packages/firebase-auth/tsconfig.json @@ -1,14 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", - "types": [ - "node", - "@cloudflare/workers-types" - ] - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "types": ["node", "@cloudflare/workers-types"] + } +} diff --git a/yarn.lock b/yarn.lock index 3ac29040..bd1c5c9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2622,14 +2622,15 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/firebase-auth@workspace:packages/firebase-auth" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@cloudflare/workers-types": "npm:^4.20240222.0" firebase-auth-cloudflare-workers: "npm:^2.0.6" firebase-tools: "npm:^13.29.1" hono: "npm:^4.2.4" miniflare: "npm:^3.20240208.0" prettier: "npm:^3.2.5" - tsup: "npm:^8.0.2" - typescript: "npm:^5.3.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" From 00011f9fe5b5c4984225b1789c43b20c6fc53d54 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:17:41 +1100 Subject: [PATCH 29/81] build(graphql-server): lint published package (#1049) --- .github/workflows/ci-graphql-server.yml | 1 + packages/graphql-server/package.json | 44 +- packages/graphql-server/tsconfig.json | 4 +- yarn.lock | 1485 +---------------------- 4 files changed, 56 insertions(+), 1478 deletions(-) diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index 58a33131..0a458b69 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/graphql-server - run: yarn workspace @hono/graphql-server build + - run: yarn workspace @hono/graphql-server publint - run: yarn test --coverage --project @hono/graphql-server - uses: codecov/codecov-action@v5 with: diff --git a/packages/graphql-server/package.json b/packages/graphql-server/package.json index f7b02d33..5618262a 100644 --- a/packages/graphql-server/package.json +++ b/packages/graphql-server/package.json @@ -3,24 +3,35 @@ "version": "0.5.1", "repository": "git@github.com:honojs/middleware.git", "author": "Minghe Huang ", + "type": "module", "main": "dist/index.js", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } + }, "license": "MIT", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { - "test": "vitest", - "test:all": "yarn test", - "build": "rimraf dist && tsc", - "lint": "eslint --ext js,ts src .eslintrc.js", - "lint:fix": "eslint --ext js,ts src .eslintrc.js --fix", - "prerelease": "yarn build && yarn test", - "release": "np" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "peerDependencies": { "hono": ">=3.0.0" @@ -29,25 +40,14 @@ "graphql": "^16.5.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@cloudflare/workers-types": "^3.14.0", - "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0", - "@typescript-eslint/eslint-plugin": "^5.21.0", - "@typescript-eslint/parser": "^5.21.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^8.5.0", - "eslint-define-config": "^1.4.0", - "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import-x": "^4.1.1", - "eslint-plugin-n": "^17.10.2", "hono": "^4.0.2", - "np": "^7.6.2", - "prettier": "^2.7.1", - "rimraf": "^3.0.2", - "typescript": "^4.7.4", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=16.0.0" } -} +} \ No newline at end of file diff --git a/packages/graphql-server/tsconfig.json b/packages/graphql-server/tsconfig.json index af5bfa77..103e4e38 100644 --- a/packages/graphql-server/tsconfig.json +++ b/packages/graphql-server/tsconfig.json @@ -1,9 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index bd1c5c9a..285b3ffa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2641,23 +2641,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/graphql-server@workspace:packages/graphql-server" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@cloudflare/workers-types": "npm:^3.14.0" - "@eslint-community/eslint-plugin-eslint-comments": "npm:^4.4.0" - "@typescript-eslint/eslint-plugin": "npm:^5.21.0" - "@typescript-eslint/parser": "npm:^5.21.0" - eslint: "npm:^8.57.0" - eslint-config-prettier: "npm:^8.5.0" - eslint-define-config: "npm:^1.4.0" - eslint-import-resolver-typescript: "npm:^2.7.1" - eslint-plugin-flowtype: "npm:^8.0.3" - eslint-plugin-import-x: "npm:^4.1.1" - eslint-plugin-n: "npm:^17.10.2" graphql: "npm:^16.5.0" hono: "npm:^4.0.2" - np: "npm:^7.6.2" - prettier: "npm:^2.7.1" - rimraf: "npm:^3.0.2" - typescript: "npm:^4.7.4" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.0.0" @@ -4483,20 +4472,6 @@ __metadata: languageName: node linkType: hard -"@samverschueren/stream-to-observable@npm:^0.3.0, @samverschueren/stream-to-observable@npm:^0.3.1": - version: 0.3.1 - resolution: "@samverschueren/stream-to-observable@npm:0.3.1" - dependencies: - any-observable: "npm:^0.3.0" - peerDependenciesMeta: - rxjs: - optional: true - zen-observable: - optional: true - checksum: 0d874453f6bc2460d71783292291f52feb36c2a75314b1072a6ffe6206562f33e9d664a554348d565a6b54da9041d75070371052545bc329caaa52f64216987f - languageName: node - linkType: hard - "@sentry/core@npm:8.9.2": version: 8.9.2 resolution: "@sentry/core@npm:8.9.2" @@ -4530,21 +4505,7 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/is@npm:^0.14.0": - version: 0.14.0 - resolution: "@sindresorhus/is@npm:0.14.0" - checksum: 7247aa9314d4fc3df9b3f63d8b5b962a89c7600a5db1f268546882bfc4d31a975a899f5f42a09dd41a11e58636e6402f7c40f92df853aee417247bb11faee9a0 - languageName: node - linkType: hard - -"@sindresorhus/is@npm:^2.0.0": - version: 2.1.1 - resolution: "@sindresorhus/is@npm:2.1.1" - checksum: 0e19eb3024a44e2de575e169e49a3a7fcea5558b52f2173ce249d57ad3d45fe6d0401b0d0c0a190feb92974c9be523bd0dfd6d660f651c74d8c2b4532b748105 - languageName: node - linkType: hard - -"@sindresorhus/is@npm:^4.0.0, @sindresorhus/is@npm:^4.6.0": +"@sindresorhus/is@npm:^4.6.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" checksum: 33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e @@ -4558,24 +4519,6 @@ __metadata: languageName: node linkType: hard -"@szmarczak/http-timer@npm:^1.1.2": - version: 1.1.2 - resolution: "@szmarczak/http-timer@npm:1.1.2" - dependencies: - defer-to-connect: "npm:^1.0.1" - checksum: 0594140e027ce4e98970c6d176457fcbff80900b1b3101ac0d08628ca6d21d70e0b94c6aaada94d4f76c1423fcc7195af83da145ce0fd556fc0595ca74a17b8b - languageName: node - linkType: hard - -"@szmarczak/http-timer@npm:^4.0.0": - version: 4.0.6 - resolution: "@szmarczak/http-timer@npm:4.0.6" - dependencies: - defer-to-connect: "npm:^2.0.0" - checksum: 73946918c025339db68b09abd91fa3001e87fc749c619d2e9c2003a663039d4c3cb89836c98a96598b3d47dec2481284ba85355392644911f5ecd2336536697f - languageName: node - linkType: hard - "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -4622,18 +4565,6 @@ __metadata: languageName: node linkType: hard -"@types/cacheable-request@npm:^6.0.1": - version: 6.0.3 - resolution: "@types/cacheable-request@npm:6.0.3" - dependencies: - "@types/http-cache-semantics": "npm:*" - "@types/keyv": "npm:^3.1.4" - "@types/node": "npm:*" - "@types/responselike": "npm:^1.0.0" - checksum: 10816a88e4e5b144d43c1d15a81003f86d649776c7f410c9b5e6579d0ad9d4ca71c541962fb403077388b446e41af7ae38d313e46692144985f006ac5e11fa03 - languageName: node - linkType: hard - "@types/caseless@npm:*": version: 0.12.5 resolution: "@types/caseless@npm:0.12.5" @@ -4706,13 +4637,6 @@ __metadata: languageName: node linkType: hard -"@types/http-cache-semantics@npm:*": - version: 4.0.4 - resolution: "@types/http-cache-semantics@npm:4.0.4" - checksum: 51b72568b4b2863e0fe8d6ce8aad72a784b7510d72dc866215642da51d84945a9459fa89f49ec48f1e9a1752e6a78e85a4cda0ded06b1c73e727610c925f9ce6 - languageName: node - linkType: hard - "@types/js-levenshtein@npm:^1.1.1": version: 1.1.3 resolution: "@types/js-levenshtein@npm:1.1.3" @@ -4727,13 +4651,6 @@ __metadata: languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: 6bf5337bc447b706bb5b4431d37686aa2ea6d07cfd6f79cc31de80170d6ff9b1c7384a9c0ccbc45b3f512bae9e9f75c2e12109806a15331dc94e8a8db6dbb4ac - languageName: node - linkType: hard - "@types/jsonwebtoken@npm:^9.0.5": version: 9.0.5 resolution: "@types/jsonwebtoken@npm:9.0.5" @@ -4743,15 +4660,6 @@ __metadata: languageName: node linkType: hard -"@types/keyv@npm:^3.1.1, @types/keyv@npm:^3.1.4": - version: 3.1.4 - resolution: "@types/keyv@npm:3.1.4" - dependencies: - "@types/node": "npm:*" - checksum: ff8f54fc49621210291f815fe5b15d809fd7d032941b3180743440bd507ecdf08b9e844625fa346af568c84bf34114eb378dcdc3e921a08ba1e2a08d7e3c809c - languageName: node - linkType: hard - "@types/long@npm:^4.0.0": version: 4.0.2 resolution: "@types/long@npm:4.0.2" @@ -4821,13 +4729,6 @@ __metadata: languageName: node linkType: hard -"@types/parse-json@npm:^4.0.0": - version: 4.0.2 - resolution: "@types/parse-json@npm:4.0.2" - checksum: b1b863ac34a2c2172fbe0807a1ec4d5cb684e48d422d15ec95980b81475fac4fdb3768a8b13eef39130203a7c04340fc167bae057c7ebcafd7dec9fe6c36aeb1 - languageName: node - linkType: hard - "@types/prop-types@npm:*": version: 15.7.11 resolution: "@types/prop-types@npm:15.7.11" @@ -4867,15 +4768,6 @@ __metadata: languageName: node linkType: hard -"@types/responselike@npm:^1.0.0": - version: 1.0.3 - resolution: "@types/responselike@npm:1.0.3" - dependencies: - "@types/node": "npm:*" - checksum: a58ba341cb9e7d74f71810a88862da7b2a6fa42e2a1fc0ce40498f6ea1d44382f0640117057da779f74c47039f7166bf48fad02dc876f94e005c7afa50f5e129 - languageName: node - linkType: hard - "@types/scheduler@npm:*": version: 0.16.8 resolution: "@types/scheduler@npm:0.16.8" @@ -4955,7 +4847,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.21.0, @typescript-eslint/eslint-plugin@npm:^5.32.0": +"@typescript-eslint/eslint-plugin@npm:^5.32.0": version: 5.62.0 resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" dependencies: @@ -5002,7 +4894,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.21.0, @typescript-eslint/parser@npm:^5.32.0": +"@typescript-eslint/parser@npm:^5.32.0": version: 5.62.0 resolution: "@typescript-eslint/parser@npm:5.62.0" dependencies: @@ -5537,13 +5429,6 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^3.0.0, ansi-escapes@npm:^3.2.0": - version: 3.2.0 - resolution: "ansi-escapes@npm:3.2.0" - checksum: 084e1ce38139ad2406f18a8e7efe2b850ddd06ce3c00f633392d1ce67756dab44fe290e573d09ef3c9a0cb13c12881e0e35a8f77a017d39a0a4ab85ae2fae04f - languageName: node - linkType: hard - "ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.2": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -5562,27 +5447,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^2.0.0": - version: 2.1.1 - resolution: "ansi-regex@npm:2.1.1" - checksum: 78cebaf50bce2cb96341a7230adf28d804611da3ce6bf338efa7b72f06cc6ff648e29f80cd95e582617ba58d5fdbec38abfeed3500a98bce8381a9daec7c548b - languageName: node - linkType: hard - -"ansi-regex@npm:^3.0.0": - version: 3.0.1 - resolution: "ansi-regex@npm:3.0.1" - checksum: d108a7498b8568caf4a46eea4f1784ab4e0dfb2e3f3938c697dee21443d622d765c958f2b7e2b9f6b9e55e2e2af0584eaa9915d51782b89a841c28e744e7a167 - languageName: node - linkType: hard - -"ansi-regex@npm:^4.1.0": - version: 4.1.1 - resolution: "ansi-regex@npm:4.1.1" - checksum: d36d34234d077e8770169d980fed7b2f3724bfa2a01da150ccd75ef9707c80e883d27cdf7a0eac2f145ac1d10a785a8a855cffd05b85f778629a0db62e7033da - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -5604,13 +5468,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^2.2.1": - version: 2.2.1 - resolution: "ansi-styles@npm:2.2.1" - checksum: 7c68aed4f1857389e7a12f85537ea5b40d832656babbf511cc7ecd9efc52889b9c3e5653a71a6aade783c3c5e0aa223ad4ff8e83c27ac8a666514e6c79068cab - languageName: node - linkType: hard - "ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" @@ -5636,25 +5493,6 @@ __metadata: languageName: node linkType: hard -"any-observable@npm:^0.3.0": - version: 0.3.0 - resolution: "any-observable@npm:0.3.0" - checksum: 104c2b79c2ac7e6c75b35f8fd62babf73015668f22bd25336c6f848350d91f9e7daf2fddbf1c1b76fe795e89fbc91b49f70a2aec5c69f1acf0562c344f36042b - languageName: node - linkType: hard - -"any-observable@npm:^0.5.1": - version: 0.5.1 - resolution: "any-observable@npm:0.5.1" - peerDependenciesMeta: - rxjs: - optional: true - zen-observable: - optional: true - checksum: df51c63854819fc7b69e7ba22d37f63bd2aa116aef944aa45469476f5182f1489a56a3072f8eaaac78d7077b7343fbf6ae7d37a3759913d9c10e00256089706d - languageName: node - linkType: hard - "any-promise@npm:^1.0.0": version: 1.3.0 resolution: "any-promise@npm:1.3.0" @@ -5858,13 +5696,6 @@ __metadata: languageName: node linkType: hard -"async-exit-hook@npm:^2.0.1": - version: 2.0.1 - resolution: "async-exit-hook@npm:2.0.1" - checksum: 81407a440ef0aab328df2369f1a9d957ee53e9a5a43e3b3dcb2be05151a68de0e4ff5e927f4718c88abf85800731f5b3f69a47a6642ce135f5e7d43ca0fce41d - languageName: node - linkType: hard - "async-lock@npm:1.4.1": version: 1.4.1 resolution: "async-lock@npm:1.4.1" @@ -6177,13 +6008,6 @@ __metadata: languageName: node linkType: hard -"builtins@npm:^1.0.3": - version: 1.0.3 - resolution: "builtins@npm:1.0.3" - checksum: 493afcc1db0a56d174cc85bebe5ca69144f6fdd0007d6cbe6b2434185314c79d83cb867e492b56aa5cf421b4b8a8135bf96ba4c3ce71994cf3da154d1ea59747 - languageName: node - linkType: hard - "bun-types@npm:1.0.18": version: 1.0.18 resolution: "bun-types@npm:1.0.18" @@ -6265,46 +6089,6 @@ __metadata: languageName: node linkType: hard -"cacheable-lookup@npm:^2.0.0": - version: 2.0.1 - resolution: "cacheable-lookup@npm:2.0.1" - dependencies: - "@types/keyv": "npm:^3.1.1" - keyv: "npm:^4.0.0" - checksum: d9ac1e91736939ea619ad9bec50f09347f57308c7d9fb15e0d1de1e8d0d5152df364f6d8c7e611f62a53c35d059fc867858c0431d66366438247557e68f7e4b0 - languageName: node - linkType: hard - -"cacheable-request@npm:^6.0.0": - version: 6.1.0 - resolution: "cacheable-request@npm:6.1.0" - dependencies: - clone-response: "npm:^1.0.2" - get-stream: "npm:^5.1.0" - http-cache-semantics: "npm:^4.0.0" - keyv: "npm:^3.0.0" - lowercase-keys: "npm:^2.0.0" - normalize-url: "npm:^4.1.0" - responselike: "npm:^1.0.2" - checksum: e92f2b2078c014ba097647ab4ff6a6149dc2974a65670ee97ec593ec9f4148ecc988e86b9fcd8ebf7fe255774a53d5dc3db6b01065d44f09a7452c7a7d8e4844 - languageName: node - linkType: hard - -"cacheable-request@npm:^7.0.1": - version: 7.0.4 - resolution: "cacheable-request@npm:7.0.4" - dependencies: - clone-response: "npm:^1.0.2" - get-stream: "npm:^5.1.0" - http-cache-semantics: "npm:^4.0.0" - keyv: "npm:^4.0.0" - lowercase-keys: "npm:^2.0.0" - normalize-url: "npm:^6.0.1" - responselike: "npm:^2.0.0" - checksum: 0834a7d17ae71a177bc34eab06de112a43f9b5ad05ebe929bec983d890a7d9f2bc5f1aa8bb67ea2b65e07a3bc74bea35fa62dd36dbac52876afe36fdcf83da41 - languageName: node - linkType: hard - "call-bind-apply-helpers@npm:^1.0.1": version: 1.0.1 resolution: "call-bind-apply-helpers@npm:1.0.1" @@ -6343,7 +6127,7 @@ __metadata: languageName: node linkType: hard -"callsites@npm:^3.0.0, callsites@npm:^3.1.0": +"callsites@npm:^3.0.0": version: 3.1.0 resolution: "callsites@npm:3.1.0" checksum: fff92277400eb06c3079f9e74f3af120db9f8ea03bad0e84d9aede54bbe2d44a56cccb5f6cf12211f93f52306df87077ecec5b712794c5a9b5dac6d615a3f301 @@ -6425,20 +6209,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^1.0.0, chalk@npm:^1.1.3": - version: 1.1.3 - resolution: "chalk@npm:1.1.3" - dependencies: - ansi-styles: "npm:^2.2.1" - escape-string-regexp: "npm:^1.0.2" - has-ansi: "npm:^2.0.0" - strip-ansi: "npm:^3.0.0" - supports-color: "npm:^2.0.0" - checksum: 28c3e399ec286bb3a7111fd4225ebedb0d7b813aef38a37bca7c498d032459c265ef43404201d5fbb8d888d29090899c95335b4c0cda13e8b126ff15c541cef8 - languageName: node - linkType: hard - -"chalk@npm:^2.1.0, chalk@npm:^2.4.1, chalk@npm:^2.4.2": +"chalk@npm:^2.1.0, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -6631,15 +6402,6 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^2.0.0, cli-cursor@npm:^2.1.0": - version: 2.1.0 - resolution: "cli-cursor@npm:2.1.0" - dependencies: - restore-cursor: "npm:^2.0.0" - checksum: 09ee6d8b5b818d840bf80ec9561eaf696672197d3a02a7daee2def96d5f52ce6e0bbe7afca754ccf14f04830b5a1b4556273e983507d5029f95bba3016618eda - languageName: node - linkType: hard - "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -6694,23 +6456,6 @@ __metadata: languageName: node linkType: hard -"cli-truncate@npm:^0.2.1": - version: 0.2.1 - resolution: "cli-truncate@npm:0.2.1" - dependencies: - slice-ansi: "npm:0.0.4" - string-width: "npm:^1.0.1" - checksum: c6caa5e2b70d841c42f4a2270d6fc7129df915f8911e4afa90c79231ccc857cd819a2c90e0707fde04e51ce56b4d71646b843f6cbaff4f7cdcb3b91ed51f6e89 - languageName: node - linkType: hard - -"cli-width@npm:^2.0.0": - version: 2.2.1 - resolution: "cli-width@npm:2.2.1" - checksum: e3a6d422d657ca111c630f69ee0f1a499e8f114eea158ccb2cdbedd19711edffa217093bbd43dafb34b68d1b1a3b5334126e51d059b9ec1d19afa53b42b3ef86 - languageName: node - linkType: hard - "cli-width@npm:^3.0.0": version: 3.0.0 resolution: "cli-width@npm:3.0.0" @@ -6751,15 +6496,6 @@ __metadata: languageName: node linkType: hard -"clone-response@npm:^1.0.2": - version: 1.0.3 - resolution: "clone-response@npm:1.0.3" - dependencies: - mimic-response: "npm:^1.0.0" - checksum: 06a2b611824efb128810708baee3bd169ec9a1bf5976a5258cd7eb3f7db25f00166c6eee5961f075c7e38e194f373d4fdf86b8166ad5b9c7e82bbd2e333a6087 - languageName: node - linkType: hard - "clone@npm:^1.0.2": version: 1.0.4 resolution: "clone@npm:1.0.4" @@ -6767,13 +6503,6 @@ __metadata: languageName: node linkType: hard -"code-point-at@npm:^1.0.0": - version: 1.1.0 - resolution: "code-point-at@npm:1.1.0" - checksum: 33f6b234084e46e6e369b6f0b07949392651b4dde70fc6a592a8d3dafa08d5bb32e3981a02f31f6fc323a26bc03a4c063a9d56834848695bda7611c2417ea2e6 - languageName: node - linkType: hard - "color-convert@npm:^1.9.0, color-convert@npm:^1.9.3": version: 1.9.3 resolution: "color-convert@npm:1.9.3" @@ -7103,19 +6832,6 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^7.0.0": - version: 7.1.0 - resolution: "cosmiconfig@npm:7.1.0" - dependencies: - "@types/parse-json": "npm:^4.0.0" - import-fresh: "npm:^3.2.1" - parse-json: "npm:^5.0.0" - path-type: "npm:^4.0.0" - yaml: "npm:^1.10.0" - checksum: b923ff6af581638128e5f074a5450ba12c0300b71302398ea38dbeabd33bbcaa0245ca9adbedfcf284a07da50f99ede5658c80bb3e39e2ce770a99d28a21ef03 - languageName: node - linkType: hard - "crc-32@npm:^1.2.0": version: 1.2.2 resolution: "crc-32@npm:1.2.2" @@ -7324,13 +7040,6 @@ __metadata: languageName: node linkType: hard -"date-fns@npm:^1.27.2": - version: 1.30.1 - resolution: "date-fns@npm:1.30.1" - checksum: bad6ad7c15180121e15d61ad62a4a214c108d66f35b35f5eeb6ade837a3c29aa4444b9528a93a5374b95ba11231c142276351bf52f4d168676f9a1e17ce3726a - languageName: node - linkType: hard - "debug@npm:2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" @@ -7423,24 +7132,6 @@ __metadata: languageName: node linkType: hard -"decompress-response@npm:^3.3.0": - version: 3.3.0 - resolution: "decompress-response@npm:3.3.0" - dependencies: - mimic-response: "npm:^1.0.0" - checksum: 5ffaf1d744277fd51c68c94ddc3081cd011b10b7de06637cccc6ecba137d45304a09ba1a776dee1c47fccc60b4a056c4bc74468eeea798ff1f1fca0024b45c9d - languageName: node - linkType: hard - -"decompress-response@npm:^5.0.0": - version: 5.0.0 - resolution: "decompress-response@npm:5.0.0" - dependencies: - mimic-response: "npm:^2.0.0" - checksum: d76c4fc4fa21f4b39a7bf711a655b2b56d37b44c99754c3fb44d64b83a8132cfd916c81951477c94478d2cba47058cf8c73da26bb999b07f1b9c8d466a2b4346 - languageName: node - linkType: hard - "deep-eql@npm:^5.0.1": version: 5.0.2 resolution: "deep-eql@npm:5.0.2" @@ -7488,20 +7179,6 @@ __metadata: languageName: node linkType: hard -"defer-to-connect@npm:^1.0.1": - version: 1.1.3 - resolution: "defer-to-connect@npm:1.1.3" - checksum: 9feb161bd7d21836fdff31eba79c2b11b7aaf844be58faf727121f8b0d9c2e82b494560df0903f41b52dd75027dc7c9455c11b3739f3202b28ca92b56c8f960e - languageName: node - linkType: hard - -"defer-to-connect@npm:^2.0.0": - version: 2.0.1 - resolution: "defer-to-connect@npm:2.0.1" - checksum: 625ce28e1b5ad10cf77057b9a6a727bf84780c17660f6644dab61dd34c23de3001f03cedc401f7d30a4ed9965c2e8a7336e220a329146f2cf85d4eddea429782 - languageName: node - linkType: hard - "define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": version: 1.1.1 resolution: "define-data-property@npm:1.1.1" @@ -7542,22 +7219,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^6.0.0": - version: 6.1.1 - resolution: "del@npm:6.1.1" - dependencies: - globby: "npm:^11.0.1" - graceful-fs: "npm:^4.2.4" - is-glob: "npm:^4.0.1" - is-path-cwd: "npm:^2.2.0" - is-path-inside: "npm:^3.0.2" - p-map: "npm:^4.0.0" - rimraf: "npm:^3.0.2" - slash: "npm:^3.0.0" - checksum: 8a095c5ccade42c867a60252914ae485ec90da243d735d1f63ec1e64c1cfbc2b8810ad69a29ab6326d159d4fddaa2f5bad067808c42072351ec458efff86708f - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -7710,15 +7371,6 @@ __metadata: languageName: node linkType: hard -"dot-prop@npm:^6.0.1": - version: 6.0.1 - resolution: "dot-prop@npm:6.0.1" - dependencies: - is-obj: "npm:^2.0.0" - checksum: 30e51ec6408978a6951b21e7bc4938aad01a86f2fdf779efe52330205c6bb8a8ea12f35925c2029d6dc9d1df22f916f32f828ce1e9b259b1371c580541c22b5a - languageName: node - linkType: hard - "dotenv@npm:^8.1.0": version: 8.6.0 resolution: "dotenv@npm:8.6.0" @@ -7744,13 +7396,6 @@ __metadata: languageName: node linkType: hard -"duplexer3@npm:^0.1.4": - version: 0.1.5 - resolution: "duplexer3@npm:0.1.5" - checksum: 02195030d61c4d6a2a34eca71639f2ea5e05cb963490e5bd9527623c2ac7f50c33842a34d14777ea9cbfd9bc2be5a84065560b897d9fabb99346058a5b86ca98 - languageName: node - linkType: hard - "duplexify@npm:^4.0.0": version: 4.1.2 resolution: "duplexify@npm:4.1.2" @@ -7802,13 +7447,6 @@ __metadata: languageName: node linkType: hard -"elegant-spinner@npm:^1.0.1": - version: 1.0.1 - resolution: "elegant-spinner@npm:1.0.1" - checksum: df607c83c20fc3ce56c514175dd5d1ee7f667da00cee13d04d32c70d55e76555091fa236689e691cf7dedba17b0020fec635e499cdde84dbea2ef8639314e5f8 - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -8617,13 +8255,6 @@ __metadata: languageName: node linkType: hard -"escape-goat@npm:^3.0.0": - version: 3.0.0 - resolution: "escape-goat@npm:3.0.0" - checksum: a2b470bbdb95ccbcd19390576993a2b75735457b1979275f4f0d6da86d2e932a2a12edd9270208e3090299a26df857da1f80555c37bb1bac6fa9135322253ca4 - languageName: node - linkType: hard - "escape-html@npm:~1.0.3": version: 1.0.3 resolution: "escape-html@npm:1.0.3" @@ -8631,7 +8262,7 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": +"escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" checksum: a968ad453dd0c2724e14a4f20e177aaf32bb384ab41b674a8454afe9a41c5e6fe8903323e0a1052f56289d04bd600f81278edf140b0fcc02f5cac98d0f5b5371 @@ -8696,7 +8327,7 @@ __metadata: languageName: node linkType: hard -"eslint-define-config@npm:^1.4.0, eslint-define-config@npm:^1.6.0": +"eslint-define-config@npm:^1.6.0": version: 1.24.1 resolution: "eslint-define-config@npm:1.24.1" checksum: f02873a388d8030d5300f58efe59ef9762b7d2c4edeba4fae25a020db29791eacd48dd17f52f44be1098a18bd3e09b2475f417e22c581818017563792273e7c6 @@ -8721,22 +8352,6 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^2.7.1": - version: 2.7.1 - resolution: "eslint-import-resolver-typescript@npm:2.7.1" - dependencies: - debug: "npm:^4.3.4" - glob: "npm:^7.2.0" - is-glob: "npm:^4.0.3" - resolve: "npm:^1.22.0" - tsconfig-paths: "npm:^3.14.1" - peerDependencies: - eslint: "*" - eslint-plugin-import: "*" - checksum: 42e2af8f86bc39413a1dbd597f9e3c645568e2ba02a960dea2e77e6970f57b3a90193ac7c950e28286404956a9b7d1a69fd5072795afe1b98a76d401a612128e - languageName: node - linkType: hard - "eslint-import-resolver-typescript@npm:^3.4.0, eslint-import-resolver-typescript@npm:^3.6.3": version: 3.6.3 resolution: "eslint-import-resolver-typescript@npm:3.6.3" @@ -9527,25 +9142,6 @@ __metadata: languageName: node linkType: hard -"figures@npm:^1.7.0": - version: 1.7.0 - resolution: "figures@npm:1.7.0" - dependencies: - escape-string-regexp: "npm:^1.0.5" - object-assign: "npm:^4.1.0" - checksum: a10942b0eec3372bf61822ab130d2bbecdf527d551b0b013fbe7175b7a0238ead644ee8930a1a3cb872fb9ab2ec27df30e303765a3b70b97852e2e9ee43bdff3 - languageName: node - linkType: hard - -"figures@npm:^2.0.0": - version: 2.0.0 - resolution: "figures@npm:2.0.0" - dependencies: - escape-string-regexp: "npm:^1.0.5" - checksum: 5dc5a75fec3e7e04ae65d6ce51d28b3e70d4656c51b06996b6fdb2cb5b542df512e3b3c04482f5193a964edddafa5521479ff948fa84e12ff556e53e094ab4ce - languageName: node - linkType: hard - "figures@npm:^3.0.0, figures@npm:^3.2.0": version: 3.2.0 resolution: "figures@npm:3.2.0" @@ -10080,24 +9676,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^4.1.0": - version: 4.1.0 - resolution: "get-stream@npm:4.1.0" - dependencies: - pump: "npm:^3.0.0" - checksum: 294d876f667694a5ca23f0ca2156de67da950433b6fb53024833733975d32582896dbc7f257842d331809979efccf04d5e0b6b75ad4d45744c45f193fd497539 - languageName: node - linkType: hard - -"get-stream@npm:^5.0.0, get-stream@npm:^5.1.0": - version: 5.2.0 - resolution: "get-stream@npm:5.2.0" - dependencies: - pump: "npm:^3.0.0" - checksum: 43797ffd815fbb26685bf188c8cfebecb8af87b3925091dd7b9a9c915993293d78e3c9e1bce125928ff92f2d0796f3889b92b5ec6d58d1041b574682132e0a80 - languageName: node - linkType: hard - "get-stream@npm:^6.0.0": version: 6.0.1 resolution: "get-stream@npm:6.0.1" @@ -10136,13 +9714,6 @@ __metadata: languageName: node linkType: hard -"github-url-from-git@npm:^1.5.0": - version: 1.5.0 - resolution: "github-url-from-git@npm:1.5.0" - checksum: d9af476188a660a289f7f2a32d6f25e5199dc04a31ac6f5b4e0c3749cd0b42db9768571cd72659ecf5cb98ca687a14dc43da315c7b52e53c21702ff534012b28 - languageName: node - linkType: hard - "glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -10231,7 +9802,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.3, glob@npm:^7.2.0": +"glob@npm:^7.1.3": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -10258,15 +9829,6 @@ __metadata: languageName: node linkType: hard -"global-dirs@npm:^2.0.1": - version: 2.1.0 - resolution: "global-dirs@npm:2.1.0" - dependencies: - ini: "npm:1.3.7" - checksum: 2041e590e9d3af313a8a0c9d99eb751c187b4247701322b55786f524879046f4071d5930733f4e172d45ce064a986ecf13b965468e74e4e598cca3b130369c3c - languageName: node - linkType: hard - "global-dirs@npm:^3.0.0": version: 3.0.1 resolution: "global-dirs@npm:3.0.1" @@ -10315,7 +9877,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.0, globby@npm:^11.0.1, globby@npm:^11.0.3, globby@npm:^11.1.0": +"globby@npm:^11.0.0, globby@npm:^11.0.3, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -10393,48 +9955,6 @@ __metadata: languageName: node linkType: hard -"got@npm:^10.6.0": - version: 10.7.0 - resolution: "got@npm:10.7.0" - dependencies: - "@sindresorhus/is": "npm:^2.0.0" - "@szmarczak/http-timer": "npm:^4.0.0" - "@types/cacheable-request": "npm:^6.0.1" - cacheable-lookup: "npm:^2.0.0" - cacheable-request: "npm:^7.0.1" - decompress-response: "npm:^5.0.0" - duplexer3: "npm:^0.1.4" - get-stream: "npm:^5.0.0" - lowercase-keys: "npm:^2.0.0" - mimic-response: "npm:^2.1.0" - p-cancelable: "npm:^2.0.0" - p-event: "npm:^4.0.0" - responselike: "npm:^2.0.0" - to-readable-stream: "npm:^2.0.0" - type-fest: "npm:^0.10.0" - checksum: 3972cbbd2f99b8331f3447596e92849adb0e486c6c4feebbbedbf243e95f0ed79e62c34d8ff354d2e861ba69dd18c8870842aefae15cf3db3d5bb1019e8b837b - languageName: node - linkType: hard - -"got@npm:^9.6.0": - version: 9.6.0 - resolution: "got@npm:9.6.0" - dependencies: - "@sindresorhus/is": "npm:^0.14.0" - "@szmarczak/http-timer": "npm:^1.1.2" - cacheable-request: "npm:^6.0.0" - decompress-response: "npm:^3.3.0" - duplexer3: "npm:^0.1.4" - get-stream: "npm:^4.1.0" - lowercase-keys: "npm:^1.0.1" - mimic-response: "npm:^1.0.1" - p-cancelable: "npm:^1.0.0" - to-readable-stream: "npm:^1.0.0" - url-parse-lax: "npm:^3.0.0" - checksum: 5cb3111e14b48bf4fb8b414627be481ebfb14151ec867e80a74b6d1472489965b9c4f4ac5cf4f3b1f9b90c60a2ce63584d9072b16efd9a3171553e00afc5abc8 - languageName: node - linkType: hard - "graceful-fs@npm:4.2.10": version: 4.2.10 resolution: "graceful-fs@npm:4.2.10" @@ -10487,15 +10007,6 @@ __metadata: languageName: node linkType: hard -"has-ansi@npm:^2.0.0": - version: 2.0.0 - resolution: "has-ansi@npm:2.0.0" - dependencies: - ansi-regex: "npm:^2.0.0" - checksum: f54e4887b9f8f3c4bfefd649c48825b3c093987c92c27880ee9898539e6f01aed261e82e73153c3f920fde0db5bf6ebd58deb498ed1debabcb4bc40113ccdf05 - languageName: node - linkType: hard - "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -10773,24 +10284,6 @@ __metadata: languageName: node linkType: hard -"hosted-git-info@npm:^3.0.7": - version: 3.0.8 - resolution: "hosted-git-info@npm:3.0.8" - dependencies: - lru-cache: "npm:^6.0.0" - checksum: af1392086ab3ab5576aa81af07be2f93ee1588407af18fd9752eb67502558e6ea0ffdd4be35ac6c8bef12fb9017f6e7705757e21b10b5ce7798da9106c9c0d9d - languageName: node - linkType: hard - -"hosted-git-info@npm:^4.0.1": - version: 4.1.0 - resolution: "hosted-git-info@npm:4.1.0" - dependencies: - lru-cache: "npm:^6.0.0" - checksum: 150fbcb001600336d17fdbae803264abed013548eea7946c2264c49ebe2ebd8c4441ba71dd23dd8e18c65de79d637f98b22d4760ba5fb2e0b15d62543d0fff07 - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -10798,7 +10291,7 @@ __metadata: languageName: node linkType: hard -"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.1": +"http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: ce1319b8a382eb3cbb4a37c19f6bfe14e5bb5be3d09079e885e8c513ab2d3cd9214902f8a31c9dc4e37022633ceabfc2d697405deeaf1b8f3552bb4ed996fdfc @@ -10918,15 +10411,6 @@ __metadata: languageName: node linkType: hard -"ignore-walk@npm:^3.0.3": - version: 3.0.4 - resolution: "ignore-walk@npm:3.0.4" - dependencies: - minimatch: "npm:^3.0.4" - checksum: 690372b433887796fa3badd25babab7daf60a1882259dcc130ec78eea79745c2416322e10d1a96b367071204471c532647d20b11cd7ab70bd9b49879e461f956 - languageName: node - linkType: hard - "ignore-walk@npm:^5.0.1": version: 5.0.1 resolution: "ignore-walk@npm:5.0.1" @@ -10976,18 +10460,6 @@ __metadata: languageName: node linkType: hard -"import-local@npm:^3.0.2": - version: 3.1.0 - resolution: "import-local@npm:3.1.0" - dependencies: - pkg-dir: "npm:^4.2.0" - resolve-cwd: "npm:^3.0.0" - bin: - import-local-fixture: fixtures/cli.js - checksum: c67ecea72f775fe8684ca3d057e54bdb2ae28c14bf261d2607c269c18ea0da7b730924c06262eca9aed4b8ab31e31d65bc60b50e7296c85908a56e2f7d41ecd2 - languageName: node - linkType: hard - "imurmurhash@npm:^0.1.4": version: 0.1.4 resolution: "imurmurhash@npm:0.1.4" @@ -10995,13 +10467,6 @@ __metadata: languageName: node linkType: hard -"indent-string@npm:^3.0.0": - version: 3.2.0 - resolution: "indent-string@npm:3.2.0" - checksum: 91b6d61621d24944c5c4d365d6f1ff4a490264ccaf1162a602faa0d323e69231db2180ad4ccc092c2f49cf8888cdb3da7b73e904cc0fdeec40d0bfb41ceb9478 - languageName: node - linkType: hard - "indent-string@npm:^4.0.0": version: 4.0.0 resolution: "indent-string@npm:4.0.0" @@ -11026,13 +10491,6 @@ __metadata: languageName: node linkType: hard -"ini@npm:1.3.7": - version: 1.3.7 - resolution: "ini@npm:1.3.7" - checksum: eec367cd86ed23ebd97a94a4fd6a5d82d87509ef3c4367d3fcab96fc1f4cd9f1ab766ffde82a774b9892d24e0b3c6418782c9f77cf9123785d4e2bb9c2d689b6 - languageName: node - linkType: hard - "ini@npm:2.0.0": version: 2.0.0 resolution: "ini@npm:2.0.0" @@ -11069,59 +10527,6 @@ __metadata: languageName: node linkType: hard -"inquirer-autosubmit-prompt@npm:^0.2.0": - version: 0.2.0 - resolution: "inquirer-autosubmit-prompt@npm:0.2.0" - dependencies: - chalk: "npm:^2.4.1" - inquirer: "npm:^6.2.1" - rxjs: "npm:^6.3.3" - checksum: 334416788513181a1371acc15b0306a73776923244a3c91e88f480eb05eefdcce3f4501f272ca5d4c8abc09cd79304632a7ab85d7ea91a4052fff69f174033e4 - languageName: node - linkType: hard - -"inquirer@npm:^6.2.1": - version: 6.5.2 - resolution: "inquirer@npm:6.5.2" - dependencies: - ansi-escapes: "npm:^3.2.0" - chalk: "npm:^2.4.2" - cli-cursor: "npm:^2.1.0" - cli-width: "npm:^2.0.0" - external-editor: "npm:^3.0.3" - figures: "npm:^2.0.0" - lodash: "npm:^4.17.12" - mute-stream: "npm:0.0.7" - run-async: "npm:^2.2.0" - rxjs: "npm:^6.4.0" - string-width: "npm:^2.1.0" - strip-ansi: "npm:^5.1.0" - through: "npm:^2.3.6" - checksum: a5aa53a8f88405cf1cff63111493f87a5b3b5deb5ea4a0dbcd73ccc06a51a6bba0c3f1a0747f8880e9e3ec2437c69f90417be16368abf636b1d29eebe35db0ac - languageName: node - linkType: hard - -"inquirer@npm:^7.0.0, inquirer@npm:^7.3.3": - version: 7.3.3 - resolution: "inquirer@npm:7.3.3" - dependencies: - ansi-escapes: "npm:^4.2.1" - chalk: "npm:^4.1.0" - cli-cursor: "npm:^3.1.0" - cli-width: "npm:^3.0.0" - external-editor: "npm:^3.0.3" - figures: "npm:^3.0.0" - lodash: "npm:^4.17.19" - mute-stream: "npm:0.0.8" - run-async: "npm:^2.4.0" - rxjs: "npm:^6.6.0" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - through: "npm:^2.3.6" - checksum: 96e75974cfd863fe6653c075e41fa5f1a290896df141189816db945debabcd92d3277145f11aef8d2cfca5409ab003ccdd18a099744814057b52a2f27aeb8c94 - languageName: node - linkType: hard - "inquirer@npm:^8.2.0, inquirer@npm:^8.2.5, inquirer@npm:^8.2.6": version: 8.2.6 resolution: "inquirer@npm:8.2.6" @@ -11298,7 +10703,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0": +"is-core-module@npm:^2.13.0": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -11339,22 +10744,6 @@ __metadata: languageName: node linkType: hard -"is-fullwidth-code-point@npm:^1.0.0": - version: 1.0.0 - resolution: "is-fullwidth-code-point@npm:1.0.0" - dependencies: - number-is-nan: "npm:^1.0.0" - checksum: 12acfcf16142f2d431bf6af25d68569d3198e81b9799b4ae41058247aafcc666b0127d64384ea28e67a746372611fcbe9b802f69175287aba466da3eddd5ba0f - languageName: node - linkType: hard - -"is-fullwidth-code-point@npm:^2.0.0": - version: 2.0.0 - resolution: "is-fullwidth-code-point@npm:2.0.0" - checksum: e58f3e4a601fc0500d8b2677e26e9fe0cd450980e66adb29d85b6addf7969731e38f8e43ed2ec868a09c101a55ac3d8b78902209269f38c5286bc98f5bc1b4d9 - languageName: node - linkType: hard - "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -11378,16 +10767,6 @@ __metadata: languageName: node linkType: hard -"is-installed-globally@npm:^0.3.2": - version: 0.3.2 - resolution: "is-installed-globally@npm:0.3.2" - dependencies: - global-dirs: "npm:^2.0.1" - is-path-inside: "npm:^3.0.1" - checksum: 97e40bc2b4765cd5a71292fe63c671ee01ed72646b7c0b8f945b16d7b149bc5c9f6f522b5a2954a0eea2b2cb5b8faf5c5a6c0b0ff1e593e7131c8bb0e3dbb9e0 - languageName: node - linkType: hard - "is-installed-globally@npm:^0.4.0": version: 0.4.0 resolution: "is-installed-globally@npm:0.4.0" @@ -11465,23 +10844,7 @@ __metadata: languageName: node linkType: hard -"is-observable@npm:^1.1.0": - version: 1.1.0 - resolution: "is-observable@npm:1.1.0" - dependencies: - symbol-observable: "npm:^1.1.0" - checksum: cf3166b0822f70ad06e7851e09430166ce658349d54aaa64c93a03320420b9285735821b23164bdce741ff83a86730ac3e53035ce4e2511ed843dbff4105bfa2 - languageName: node - linkType: hard - -"is-path-cwd@npm:^2.2.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: afce71533a427a759cd0329301c18950333d7589533c2c90205bd3fdcf7b91eb92d1940493190567a433134d2128ec9325de2fd281e05be1920fbee9edd22e0a - languageName: node - linkType: hard - -"is-path-inside@npm:^3.0.1, is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": +"is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" checksum: cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 @@ -11509,13 +10872,6 @@ __metadata: languageName: node linkType: hard -"is-promise@npm:^2.1.0": - version: 2.2.2 - resolution: "is-promise@npm:2.2.2" - checksum: 2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069 - languageName: node - linkType: hard - "is-reference@npm:^3.0.0": version: 3.0.2 resolution: "is-reference@npm:3.0.2" @@ -11535,15 +10891,6 @@ __metadata: languageName: node linkType: hard -"is-scoped@npm:^2.1.0": - version: 2.1.0 - resolution: "is-scoped@npm:2.1.0" - dependencies: - scoped-regex: "npm:^2.0.0" - checksum: 2dca54be0bfe6d2c6c2af651bd476f549042b45dac1ccafdc630a241738de15ee0a12ce2e04fc8d4dd2ae639577b6d4182d3ac68e6ad75ed602a7f4edec996ef - languageName: node - linkType: hard - "is-shared-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "is-shared-array-buffer@npm:1.0.2" @@ -11560,13 +10907,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^1.1.0": - version: 1.1.0 - resolution: "is-stream@npm:1.1.0" - checksum: b8ae7971e78d2e8488d15f804229c6eed7ed36a28f8807a1815938771f4adff0e705218b7dab968270433f67103e4fef98062a0beea55d64835f705ee72c7002 - languageName: node - linkType: hard - "is-stream@npm:^2.0.0, is-stream@npm:^2.0.1": version: 2.0.1 resolution: "is-stream@npm:2.0.1" @@ -11624,13 +10964,6 @@ __metadata: languageName: node linkType: hard -"is-url-superb@npm:^4.0.0": - version: 4.0.0 - resolution: "is-url-superb@npm:4.0.0" - checksum: 354ea8246d5b5a828e41bb4ed66c539a7b74dc878ee4fa84b148df312b14b08118579d64f0893b56a0094e3b4b1e6082d2fbe2e3792998d7edffde1c0f3dfdd9 - languageName: node - linkType: hard - "is-url@npm:^1.2.2, is-url@npm:^1.2.4": version: 1.2.4 resolution: "is-url@npm:1.2.4" @@ -11733,13 +11066,6 @@ __metadata: languageName: node linkType: hard -"issue-regex@npm:^3.1.0": - version: 3.1.0 - resolution: "issue-regex@npm:3.1.0" - checksum: 71d46d9dab878472e4355798825c308d420dcea0a1e8ebc98b4f8357f98b6a887ec8719cb6a60fba7b8df3991b61e0b7d754756f1f0c0d6475f7cb87c5ba0ff8 - languageName: node - linkType: hard - "istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0, istanbul-lib-coverage@npm:^3.2.2": version: 3.2.2 resolution: "istanbul-lib-coverage@npm:3.2.2" @@ -11919,13 +11245,6 @@ __metadata: languageName: node linkType: hard -"json-buffer@npm:3.0.0": - version: 3.0.0 - resolution: "json-buffer@npm:3.0.0" - checksum: 118c060d84430a8ad8376d0c60250830f350a6381bd56541a1ef257ce7ba82d109d1f71a4c4e92e0be0e7ab7da568fad8f7bf02905910a76e8e0aa338621b944 - languageName: node - linkType: hard - "json-buffer@npm:3.0.1": version: 3.0.1 resolution: "json-buffer@npm:3.0.1" @@ -11996,17 +11315,6 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.2": - version: 1.0.2 - resolution: "json5@npm:1.0.2" - dependencies: - minimist: "npm:^1.2.0" - bin: - json5: lib/cli.js - checksum: 9ee316bf21f000b00752e6c2a3b79ecf5324515a5c60ee88983a1910a45426b643a4f3461657586e8aeca87aaf96f0a519b0516d2ae527a6c3e7eed80f68717f - languageName: node - linkType: hard - "json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -12108,16 +11416,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^3.0.0": - version: 3.1.0 - resolution: "keyv@npm:3.1.0" - dependencies: - json-buffer: "npm:3.0.0" - checksum: 6ad784361b4c0213333a8c5bc0bcc59cf46cb7cbbe21fb2f1539ffcc8fe18b8f1562ff913b40552278fdea5f152a15996dfa61ce24ce1a22222560c650be4a1b - languageName: node - linkType: hard - -"keyv@npm:^4.0.0, keyv@npm:^4.5.3, keyv@npm:^4.5.4": +"keyv@npm:^4.5.3, keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -12165,15 +11464,6 @@ __metadata: languageName: node linkType: hard -"latest-version@npm:^5.1.0": - version: 5.1.0 - resolution: "latest-version@npm:5.1.0" - dependencies: - package-json: "npm:^6.3.0" - checksum: 6219631d8651467c54c58ef1b5d5c5c53e146f5ae2b0ecbb78b202da3eaad55b05b043db2d2d6f1d4230ee071b2ae8c2f85089e01377e4338bad97fa76a963b7 - languageName: node - linkType: hard - "lazystream@npm:^1.0.0": version: 1.0.1 resolution: "lazystream@npm:1.0.1" @@ -12244,72 +11534,6 @@ __metadata: languageName: node linkType: hard -"listr-input@npm:^0.2.1": - version: 0.2.1 - resolution: "listr-input@npm:0.2.1" - dependencies: - inquirer: "npm:^7.0.0" - inquirer-autosubmit-prompt: "npm:^0.2.0" - rxjs: "npm:^6.5.3" - through: "npm:^2.3.8" - checksum: 3e0ff822f7770bae176d7291f3320fd760a17b5a0fc79ed395a5c269028d66027759b4c4be57974665cc959ff9d581c7b709357ac124aeb8b64f2fb941ce70e9 - languageName: node - linkType: hard - -"listr-silent-renderer@npm:^1.1.1": - version: 1.1.1 - resolution: "listr-silent-renderer@npm:1.1.1" - checksum: a13e08ebf863516a757bce4887f05290070772113d89095e9f51a07cf0b11a43a7563a67ff3b287c752c08f6d781fdb2123b02957534e3e0675fb564f2a42e1b - languageName: node - linkType: hard - -"listr-update-renderer@npm:^0.5.0": - version: 0.5.0 - resolution: "listr-update-renderer@npm:0.5.0" - dependencies: - chalk: "npm:^1.1.3" - cli-truncate: "npm:^0.2.1" - elegant-spinner: "npm:^1.0.1" - figures: "npm:^1.7.0" - indent-string: "npm:^3.0.0" - log-symbols: "npm:^1.0.2" - log-update: "npm:^2.3.0" - strip-ansi: "npm:^3.0.1" - peerDependencies: - listr: ^0.14.2 - checksum: 8ade44bf3dc6146c8e0178000619439e8889792c4689b66be6ce82bd459f5fe462ecb34b05147fb206a8ad60e6d4e6f34c9f48038e18366f867fd972688b8edc - languageName: node - linkType: hard - -"listr-verbose-renderer@npm:^0.5.0": - version: 0.5.0 - resolution: "listr-verbose-renderer@npm:0.5.0" - dependencies: - chalk: "npm:^2.4.1" - cli-cursor: "npm:^2.1.0" - date-fns: "npm:^1.27.2" - figures: "npm:^2.0.0" - checksum: 041cd1e82da7054f27ae0a914e98b40d15faf9f950ef850578fc6241d3fff3c2d7158a4f6226006e566b4c47bf445be2d254dd1ce5c16569a3a5dcd575bec656 - languageName: node - linkType: hard - -"listr@npm:^0.14.3": - version: 0.14.3 - resolution: "listr@npm:0.14.3" - dependencies: - "@samverschueren/stream-to-observable": "npm:^0.3.0" - is-observable: "npm:^1.1.0" - is-promise: "npm:^2.1.0" - is-stream: "npm:^1.1.0" - listr-silent-renderer: "npm:^1.1.1" - listr-update-renderer: "npm:^0.5.0" - listr-verbose-renderer: "npm:^0.5.0" - p-map: "npm:^2.0.0" - rxjs: "npm:^6.3.3" - checksum: 753d518218c423f46bee8eeacccecadfd2e414ba9c0f602e7f85fe3f6fa18404dfab0812433aeda4683ee2548358488f597ac1a3d321196baec5d3149b200b10 - languageName: node - linkType: hard - "load-tsconfig@npm:^0.2.3": version: 0.2.5 resolution: "load-tsconfig@npm:0.2.5" @@ -12384,13 +11608,6 @@ __metadata: languageName: node linkType: hard -"lodash.isequal@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.isequal@npm:4.5.0" - checksum: dfdb2356db19631a4b445d5f37868a095e2402292d59539a987f134a8778c62a2810c2452d11ae9e6dcac71fc9de40a6fedcb20e2952a15b431ad8b29e50e28f - languageName: node - linkType: hard - "lodash.isinteger@npm:^4.0.4": version: 4.0.4 resolution: "lodash.isinteger@npm:4.0.4" @@ -12470,30 +11687,14 @@ __metadata: languageName: node linkType: hard -"lodash.zip@npm:^4.2.0": - version: 4.2.0 - resolution: "lodash.zip@npm:4.2.0" - checksum: e596da80a6138e369998b50c78b51ed6cf984b4f239e59056aa18dca5972a213c491c511caf5888a2dec603c67265caf942099bec554a86a5c7ff1937d57f0e4 - languageName: node - linkType: hard - -"lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.12, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21": +"lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c languageName: node linkType: hard -"log-symbols@npm:^1.0.2": - version: 1.0.2 - resolution: "log-symbols@npm:1.0.2" - dependencies: - chalk: "npm:^1.0.0" - checksum: c64e1fe41d0d043840f8b592d043b8607a836b846506f525a53d99d578561f02f97b2cba1d2b3c30bae5311d64b308d5a392a9930d252b906a9042fc2877da7a - languageName: node - linkType: hard - -"log-symbols@npm:^4.0.0, log-symbols@npm:^4.1.0": +"log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" dependencies: @@ -12503,17 +11704,6 @@ __metadata: languageName: node linkType: hard -"log-update@npm:^2.3.0": - version: 2.3.0 - resolution: "log-update@npm:2.3.0" - dependencies: - ansi-escapes: "npm:^3.0.0" - cli-cursor: "npm:^2.0.0" - wrap-ansi: "npm:^3.0.1" - checksum: 9bf21b138801ab4770a2bfa735161cf005b869360eaf5003a84ba64ddc5f5c3ce7217f4f1fa79d9c1f510d792213b2c9800327228e94df05859d19b716215d90 - languageName: node - linkType: hard - "logform@npm:^2.3.2, logform@npm:^2.4.0": version: 2.6.0 resolution: "logform@npm:2.6.0" @@ -12569,20 +11759,6 @@ __metadata: languageName: node linkType: hard -"lowercase-keys@npm:^1.0.0, lowercase-keys@npm:^1.0.1": - version: 1.0.1 - resolution: "lowercase-keys@npm:1.0.1" - checksum: 56776a8e1ef1aca98ecf6c19b30352ae1cf257b65b8ac858b7d8a0e8b348774d12a9b41aa7f59bfea51bff44bc7a198ab63ba4406bfba60dba008799618bef66 - languageName: node - linkType: hard - -"lowercase-keys@npm:^2.0.0": - version: 2.0.0 - resolution: "lowercase-keys@npm:2.0.0" - checksum: f82a2b3568910509da4b7906362efa40f5b54ea14c2584778ddb313226f9cbf21020a5db35f9b9a0e95847a9b781d548601f31793d736b22a2b8ae8eb9ab1082 - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": version: 10.1.0 resolution: "lru-cache@npm:10.1.0" @@ -12708,15 +11884,6 @@ __metadata: languageName: node linkType: hard -"map-age-cleaner@npm:^0.1.3": - version: 0.1.3 - resolution: "map-age-cleaner@npm:0.1.3" - dependencies: - p-defer: "npm:^1.0.0" - checksum: 7495236c7b0950956c144fd8b4bc6399d4e78072a8840a4232fe1c4faccbb5eb5d842e5c0a56a60afc36d723f315c1c672325ca03c1b328650f7fcc478f385fd - languageName: node - linkType: hard - "map-obj@npm:^1.0.0": version: 1.0.1 resolution: "map-obj@npm:1.0.1" @@ -12985,25 +12152,6 @@ __metadata: languageName: node linkType: hard -"meow@npm:^8.1.0": - version: 8.1.2 - resolution: "meow@npm:8.1.2" - dependencies: - "@types/minimist": "npm:^1.2.0" - camelcase-keys: "npm:^6.2.2" - decamelize-keys: "npm:^1.1.0" - hard-rejection: "npm:^2.1.0" - minimist-options: "npm:4.1.0" - normalize-package-data: "npm:^3.0.0" - read-pkg-up: "npm:^7.0.1" - redent: "npm:^3.0.0" - trim-newlines: "npm:^3.0.0" - type-fest: "npm:^0.18.0" - yargs-parser: "npm:^20.2.3" - checksum: 9a8d90e616f783650728a90f4ea1e5f763c1c5260369e6596b52430f877f4af8ecbaa8c9d952c93bbefd6d5bda4caed6a96a20ba7d27b511d2971909b01922a2 - languageName: node - linkType: hard - "merge-descriptors@npm:1.0.1": version: 1.0.1 resolution: "merge-descriptors@npm:1.0.1" @@ -13429,13 +12577,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^1.0.0": - version: 1.2.0 - resolution: "mimic-fn@npm:1.2.0" - checksum: ad55214aec6094c0af4c0beec1a13787556f8116ed88807cf3f05828500f21f93a9482326bcd5a077ae91e3e8795b4e76b5b4c8bb12237ff0e4043a365516cba - languageName: node - linkType: hard - "mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" @@ -13443,27 +12584,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^3.0.0": - version: 3.1.0 - resolution: "mimic-fn@npm:3.1.0" - checksum: a07cdd8ed6490c2dff5b11f889b245d9556b80f5a653a552a651d17cff5a2d156e632d235106c2369f00cccef4071704589574cf3601bc1b1400a1f620dff067 - languageName: node - linkType: hard - -"mimic-response@npm:^1.0.0, mimic-response@npm:^1.0.1": - version: 1.0.1 - resolution: "mimic-response@npm:1.0.1" - checksum: c5381a5eae997f1c3b5e90ca7f209ed58c3615caeee850e85329c598f0c000ae7bec40196580eef1781c60c709f47258131dab237cad8786f8f56750594f27fa - languageName: node - linkType: hard - -"mimic-response@npm:^2.0.0, mimic-response@npm:^2.1.0": - version: 2.1.0 - resolution: "mimic-response@npm:2.1.0" - checksum: 717475c840f20deca87a16cb2f7561f9115f5de225ea2377739e09890c81aec72f43c81fd4984650c4044e66be5a846fa7a517ac7908f01009e1e624e19864d5 - languageName: node - linkType: hard - "min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -13568,7 +12688,7 @@ __metadata: languageName: node linkType: hard -"minimist-options@npm:4.1.0, minimist-options@npm:^4.0.2": +"minimist-options@npm:^4.0.2": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" dependencies: @@ -13809,13 +12929,6 @@ __metadata: languageName: node linkType: hard -"mute-stream@npm:0.0.7": - version: 0.0.7 - resolution: "mute-stream@npm:0.0.7" - checksum: c687cfe99289166fe17dcbd0cf49612c5d267410a7819b654a82df45016967d7b2b0b18b35410edef86de6bb089a00413557dc0182c5e78a4af50ba5d61edb42 - languageName: node - linkType: hard - "mute-stream@npm:0.0.8": version: 0.0.8 resolution: "mute-stream@npm:0.0.8" @@ -13906,15 +13019,6 @@ __metadata: languageName: node linkType: hard -"new-github-release-url@npm:^1.0.0": - version: 1.0.0 - resolution: "new-github-release-url@npm:1.0.0" - dependencies: - type-fest: "npm:^0.4.1" - checksum: 114001f700f39f8fec45f046b5f18c0611b2d2299f0970a2b7a826ff2cd99ce2a441e41d81704c8ad3fdf5da2386d901e272071c6368b4bc23000ef11b23c14c - languageName: node - linkType: hard - "nice-try@npm:^1.0.4": version: 1.0.5 resolution: "nice-try@npm:1.0.5" @@ -14008,18 +13112,6 @@ __metadata: languageName: node linkType: hard -"normalize-package-data@npm:^3.0.0": - version: 3.0.3 - resolution: "normalize-package-data@npm:3.0.3" - dependencies: - hosted-git-info: "npm:^4.0.1" - is-core-module: "npm:^2.5.0" - semver: "npm:^7.3.4" - validate-npm-package-license: "npm:^3.0.1" - checksum: e5d0f739ba2c465d41f77c9d950e291ea4af78f8816ddb91c5da62257c40b76d8c83278b0d08ffbcd0f187636ebddad20e181e924873916d03e6e5ea2ef026be - languageName: node - linkType: hard - "normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -14027,69 +13119,6 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^4.1.0": - version: 4.5.1 - resolution: "normalize-url@npm:4.5.1" - checksum: 6362e9274fdcc310f8b17e20de29754c94e1820d864114f03d3bfd6286a0028fc51705fb3fd4e475013357b5cd7421fc17f3aba93f2289056779a9bb23bccf59 - languageName: node - linkType: hard - -"normalize-url@npm:^6.0.1": - version: 6.1.0 - resolution: "normalize-url@npm:6.1.0" - checksum: 95d948f9bdd2cfde91aa786d1816ae40f8262946e13700bf6628105994fe0ff361662c20af3961161c38a119dc977adeb41fc0b41b1745eb77edaaf9cb22db23 - languageName: node - linkType: hard - -"np@npm:^7.6.2": - version: 7.7.0 - resolution: "np@npm:7.7.0" - dependencies: - "@samverschueren/stream-to-observable": "npm:^0.3.1" - any-observable: "npm:^0.5.1" - async-exit-hook: "npm:^2.0.1" - chalk: "npm:^4.1.0" - cosmiconfig: "npm:^7.0.0" - del: "npm:^6.0.0" - escape-goat: "npm:^3.0.0" - escape-string-regexp: "npm:^4.0.0" - execa: "npm:^5.0.0" - github-url-from-git: "npm:^1.5.0" - has-yarn: "npm:^2.1.0" - hosted-git-info: "npm:^3.0.7" - ignore-walk: "npm:^3.0.3" - import-local: "npm:^3.0.2" - inquirer: "npm:^7.3.3" - is-installed-globally: "npm:^0.3.2" - is-interactive: "npm:^1.0.0" - is-scoped: "npm:^2.1.0" - issue-regex: "npm:^3.1.0" - listr: "npm:^0.14.3" - listr-input: "npm:^0.2.1" - log-symbols: "npm:^4.0.0" - meow: "npm:^8.1.0" - minimatch: "npm:^3.0.4" - new-github-release-url: "npm:^1.0.0" - npm-name: "npm:^6.0.1" - onetime: "npm:^5.1.2" - open: "npm:^7.3.0" - ow: "npm:^0.21.0" - p-memoize: "npm:^4.0.1" - p-timeout: "npm:^4.1.0" - pkg-dir: "npm:^5.0.0" - read-pkg-up: "npm:^7.0.1" - rxjs: "npm:^6.6.3" - semver: "npm:^7.3.4" - split: "npm:^1.0.1" - symbol-observable: "npm:^3.0.0" - terminal-link: "npm:^2.1.1" - update-notifier: "npm:^5.0.1" - bin: - np: source/cli.js - checksum: 8dba2142ff905662f357ff145ffeaf2815eea33667de0f37173b500044015656b1ed8a1028261c439d230dfc4ebd3dfa72dad20147dafd8f6fb3705c4aadb29a - languageName: node - linkType: hard - "npm-bundled@npm:^2.0.0": version: 2.0.1 resolution: "npm-bundled@npm:2.0.1" @@ -14099,23 +13128,6 @@ __metadata: languageName: node linkType: hard -"npm-name@npm:^6.0.1": - version: 6.0.1 - resolution: "npm-name@npm:6.0.1" - dependencies: - got: "npm:^10.6.0" - is-scoped: "npm:^2.1.0" - is-url-superb: "npm:^4.0.0" - lodash.zip: "npm:^4.2.0" - org-regex: "npm:^1.0.0" - p-map: "npm:^3.0.0" - registry-auth-token: "npm:^4.0.0" - registry-url: "npm:^5.1.0" - validate-npm-package-name: "npm:^3.0.0" - checksum: 7f95890e557f86f1c5c077be03b76f66d50268fe0dcb83c014a9bfe174cf7dff5c52727f96270f7c8311d298e0df8196d80d44b8a05618c5fd4c51f63d8d0f61 - languageName: node - linkType: hard - "npm-normalize-package-bin@npm:^2.0.0": version: 2.0.0 resolution: "npm-normalize-package-bin@npm:2.0.0" @@ -14182,13 +13194,6 @@ __metadata: languageName: node linkType: hard -"number-is-nan@npm:^1.0.0": - version: 1.0.1 - resolution: "number-is-nan@npm:1.0.1" - checksum: cb97149006acc5cd512c13c1838223abdf202e76ddfa059c5e8e7507aff2c3a78cd19057516885a2f6f5b576543dc4f7b6f3c997cc7df53ae26c260855466df5 - languageName: node - linkType: hard - "oauth4webapi@npm:^2.10.4": version: 2.17.0 resolution: "oauth4webapi@npm:2.17.0" @@ -14203,7 +13208,7 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.0": +"object-assign@npm:^4, object-assign@npm:^4.0.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: 1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414 @@ -14307,15 +13312,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^2.0.0": - version: 2.0.1 - resolution: "onetime@npm:2.0.1" - dependencies: - mimic-fn: "npm:^1.0.0" - checksum: b4e44a8c34e70e02251bfb578a6e26d6de6eedbed106cd78211d2fd64d28b6281d54924696554e4e966559644243753ac5df73c87f283b0927533d3315696215 - languageName: node - linkType: hard - "onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" @@ -14334,7 +13330,7 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.3.0, open@npm:^7.4.2": +"open@npm:^7.4.2": version: 7.4.2 resolution: "open@npm:7.4.2" dependencies: @@ -14393,13 +13389,6 @@ __metadata: languageName: node linkType: hard -"org-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "org-regex@npm:1.0.0" - checksum: 70cd09689fc4a977fd80bc103eac5da8fb5a20899e9c2bf0f05595caf14d56e246477c3ca12aea14b1ac6766ce89efb9b11e6e13a0135722f473b5ce1533ad8c - languageName: node - linkType: hard - "os-tmpdir@npm:~1.0.2": version: 1.0.2 resolution: "os-tmpdir@npm:1.0.2" @@ -14421,41 +13410,6 @@ __metadata: languageName: node linkType: hard -"ow@npm:^0.21.0": - version: 0.21.0 - resolution: "ow@npm:0.21.0" - dependencies: - "@sindresorhus/is": "npm:^4.0.0" - callsites: "npm:^3.1.0" - dot-prop: "npm:^6.0.1" - lodash.isequal: "npm:^4.5.0" - type-fest: "npm:^0.20.2" - vali-date: "npm:^1.0.0" - checksum: e1638c2589833850cbb355239d33ed07f583f1f9119aa377be3048e3e5db052d192761ad54c01e5b660e79bcbb0cb4b40bd1202aace94dcecf900992e4249541 - languageName: node - linkType: hard - -"p-cancelable@npm:^1.0.0": - version: 1.1.0 - resolution: "p-cancelable@npm:1.1.0" - checksum: 9f16d7d58897edb07b1a9234b2bfce3665c747f0f13886e25e2144ecab4595412017cc8cc3b0042f89864b997d6dba76c130724e1c0923fc41ff3c9399b87449 - languageName: node - linkType: hard - -"p-cancelable@npm:^2.0.0": - version: 2.1.1 - resolution: "p-cancelable@npm:2.1.1" - checksum: 8c6dc1f8dd4154fd8b96a10e55a3a832684c4365fb9108056d89e79fbf21a2465027c04a59d0d797b5ffe10b54a61a32043af287d5c4860f1e996cbdbc847f01 - languageName: node - linkType: hard - -"p-defer@npm:^1.0.0": - version: 1.0.0 - resolution: "p-defer@npm:1.0.0" - checksum: ed603c3790e74b061ac2cb07eb6e65802cf58dce0fbee646c113a7b71edb711101329ad38f99e462bd2e343a74f6e9366b496a35f1d766c187084d3109900487 - languageName: node - linkType: hard - "p-defer@npm:^3.0.0": version: 3.0.0 resolution: "p-defer@npm:3.0.0" @@ -14463,15 +13417,6 @@ __metadata: languageName: node linkType: hard -"p-event@npm:^4.0.0": - version: 4.2.0 - resolution: "p-event@npm:4.2.0" - dependencies: - p-timeout: "npm:^3.1.0" - checksum: f1b6a2fb13d47f2a8afc00150da5ece0d28940ce3d8fa562873e091d3337d298e78fee9cb18b768598ff1d11df608b2ae23868309ff6405b864a2451ccd6d25a - languageName: node - linkType: hard - "p-filter@npm:^2.1.0": version: 2.1.0 resolution: "p-filter@npm:2.1.0" @@ -14481,14 +13426,7 @@ __metadata: languageName: node linkType: hard -"p-finally@npm:^1.0.0": - version: 1.0.0 - resolution: "p-finally@npm:1.0.0" - checksum: 6b8552339a71fe7bd424d01d8451eea92d379a711fc62f6b2fe64cad8a472c7259a236c9a22b4733abca0b5666ad503cb497792a0478c5af31ded793d00937e7 - languageName: node - linkType: hard - -"p-limit@npm:^2.2.0, p-limit@npm:^2.2.2": +"p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" dependencies: @@ -14549,15 +13487,6 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^3.0.0": - version: 3.0.0 - resolution: "p-map@npm:3.0.0" - dependencies: - aggregate-error: "npm:^3.0.0" - checksum: 297930737e52412ad9f5787c52774ad6496fad9a8be5f047e75fd0a3dc61930d8f7a9b2bbe1c4d1404e54324228a4f69721da2538208dadaa4ef4c81773c9f20 - languageName: node - linkType: hard - "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -14567,34 +13496,6 @@ __metadata: languageName: node linkType: hard -"p-memoize@npm:^4.0.1": - version: 4.0.4 - resolution: "p-memoize@npm:4.0.4" - dependencies: - map-age-cleaner: "npm:^0.1.3" - mimic-fn: "npm:^3.0.0" - p-settle: "npm:^4.1.1" - checksum: 3486fc1d84c012f145e40c742bdde3028fa0e4fa3a40b2780361b6f99c8f65a969c8115d6a1fd33895c48c2782d51283cb5bf6b6b488eae89a9a4b33fb8221ff - languageName: node - linkType: hard - -"p-reflect@npm:^2.1.0": - version: 2.1.0 - resolution: "p-reflect@npm:2.1.0" - checksum: f8abec0a46f22662929e14df6c8cf7cdbf4dade21c42de0cd4c5f5b6e1be4d668f6406a431da7f97b1e321726b82fb4bb29cf70632d9b698c73e4455170f8f3f - languageName: node - linkType: hard - -"p-settle@npm:^4.1.1": - version: 4.1.1 - resolution: "p-settle@npm:4.1.1" - dependencies: - p-limit: "npm:^2.2.2" - p-reflect: "npm:^2.1.0" - checksum: d58739ce3e691ef70c857f182c7367765456327c12360dd316210c9003d533b09e361a5ee05f5d2a9171c676a2018db0477175f5fbdb2a10a639d4181e23cea8 - languageName: node - linkType: hard - "p-throttle@npm:^7.0.0": version: 7.0.0 resolution: "p-throttle@npm:7.0.0" @@ -14602,22 +13503,6 @@ __metadata: languageName: node linkType: hard -"p-timeout@npm:^3.1.0": - version: 3.2.0 - resolution: "p-timeout@npm:3.2.0" - dependencies: - p-finally: "npm:^1.0.0" - checksum: 524b393711a6ba8e1d48137c5924749f29c93d70b671e6db761afa784726572ca06149c715632da8f70c090073afb2af1c05730303f915604fd38ee207b70a61 - languageName: node - linkType: hard - -"p-timeout@npm:^4.1.0": - version: 4.1.0 - resolution: "p-timeout@npm:4.1.0" - checksum: 25aaf13ae9ebfff4ab45591f6647f3bee1ecede073c367175fb0157c27efb170cfb51259a4d2e9118d2ca595453bc885f086ad0ca7476d1c26cee3d13a7c9f6d - languageName: node - linkType: hard - "p-try@npm:^2.0.0": version: 2.2.0 resolution: "p-try@npm:2.2.0" @@ -14658,18 +13543,6 @@ __metadata: languageName: node linkType: hard -"package-json@npm:^6.3.0": - version: 6.5.0 - resolution: "package-json@npm:6.5.0" - dependencies: - got: "npm:^9.6.0" - registry-auth-token: "npm:^4.0.0" - registry-url: "npm:^5.0.0" - semver: "npm:^6.2.0" - checksum: 60c29fe357af43f96c92c334aa0160cebde44e8e65c1e5f9b065efb3f501af812f268ec967a07757b56447834ef7f71458ebbab94425a9f09c271f348f9b764f - languageName: node - linkType: hard - "package-manager-detector@npm:^0.2.0": version: 0.2.7 resolution: "package-manager-detector@npm:0.2.7" @@ -15064,15 +13937,6 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:^5.0.0": - version: 5.0.0 - resolution: "pkg-dir@npm:5.0.0" - dependencies: - find-up: "npm:^5.0.0" - checksum: 793a496d685dc55bbbdbbb22d884535c3b29241e48e3e8d37e448113a71b9e42f5481a61fdc672d7322de12fbb2c584dd3a68bf89b18fffce5c48a390f911bc5 - languageName: node - linkType: hard - "pkg-dir@npm:^7.0.0": version: 7.0.0 resolution: "pkg-dir@npm:7.0.0" @@ -15234,13 +14098,6 @@ __metadata: languageName: node linkType: hard -"prepend-http@npm:^2.0.0": - version: 2.0.0 - resolution: "prepend-http@npm:2.0.0" - checksum: b023721ffd967728e3a25e3a80dd73827e9444e586800ab90a21b3a8e67f362d28023085406ad53a36db1e4d98cb10e43eb37d45c6b733140a9165ead18a0987 - languageName: node - linkType: hard - "prettier@npm:^2.7.1": version: 2.8.8 resolution: "prettier@npm:2.8.8" @@ -15620,7 +14477,7 @@ __metadata: languageName: node linkType: hard -"rc@npm:1.2.8, rc@npm:^1.2.8": +"rc@npm:^1.2.8": version: 1.2.8 resolution: "rc@npm:1.2.8" dependencies: @@ -15810,15 +14667,6 @@ __metadata: languageName: node linkType: hard -"registry-auth-token@npm:^4.0.0": - version: 4.2.2 - resolution: "registry-auth-token@npm:4.2.2" - dependencies: - rc: "npm:1.2.8" - checksum: 1d0000b8b65e7141a4cc4594926e2551607f48596e01326e7aa2ba2bc688aea86b2aa0471c5cb5de7acc9a59808a3a1ddde9084f974da79bfc67ab67aa48e003 - languageName: node - linkType: hard - "registry-auth-token@npm:^5.0.1": version: 5.0.2 resolution: "registry-auth-token@npm:5.0.2" @@ -15828,7 +14676,7 @@ __metadata: languageName: node linkType: hard -"registry-url@npm:^5.0.0, registry-url@npm:^5.1.0": +"registry-url@npm:^5.1.0": version: 5.1.0 resolution: "registry-url@npm:5.1.0" dependencies: @@ -15898,15 +14746,6 @@ __metadata: languageName: node linkType: hard -"resolve-cwd@npm:^3.0.0": - version: 3.0.0 - resolution: "resolve-cwd@npm:3.0.0" - dependencies: - resolve-from: "npm:^5.0.0" - checksum: e608a3ebd15356264653c32d7ecbc8fd702f94c6703ea4ac2fb81d9c359180cba0ae2e6b71faa446631ed6145454d5a56b227efc33a2d40638ac13f8beb20ee4 - languageName: node - linkType: hard - "resolve-from@npm:^4.0.0": version: 4.0.0 resolution: "resolve-from@npm:4.0.0" @@ -15928,7 +14767,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.22.0, resolve@npm:^1.22.4": +"resolve@npm:^1.10.0, resolve@npm:^1.22.4": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -15941,7 +14780,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": +"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -15954,34 +14793,6 @@ __metadata: languageName: node linkType: hard -"responselike@npm:^1.0.2": - version: 1.0.2 - resolution: "responselike@npm:1.0.2" - dependencies: - lowercase-keys: "npm:^1.0.0" - checksum: 1c2861d1950790da96159ca490eda645130eaf9ccc4d76db20f685ba944feaf30f45714b4318f550b8cd72990710ad68355ff15c41da43ed9a93c102c0ffa403 - languageName: node - linkType: hard - -"responselike@npm:^2.0.0": - version: 2.0.1 - resolution: "responselike@npm:2.0.1" - dependencies: - lowercase-keys: "npm:^2.0.0" - checksum: 360b6deb5f101a9f8a4174f7837c523c3ec78b7ca8a7c1d45a1062b303659308a23757e318b1e91ed8684ad1205721142dd664d94771cd63499353fd4ee732b5 - languageName: node - linkType: hard - -"restore-cursor@npm:^2.0.0": - version: 2.0.0 - resolution: "restore-cursor@npm:2.0.0" - dependencies: - onetime: "npm:^2.0.0" - signal-exit: "npm:^3.0.2" - checksum: f5b335bee06f440445e976a7031a3ef53691f9b7c4a9d42a469a0edaf8a5508158a0d561ff2b26a1f4f38783bcca2c0e5c3a44f927326f6694d5b44d7a4993e6 - languageName: node - linkType: hard - "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -16389,7 +15200,7 @@ __metadata: languageName: node linkType: hard -"run-async@npm:^2.2.0, run-async@npm:^2.4.0, run-async@npm:^2.4.1": +"run-async@npm:^2.4.0, run-async@npm:^2.4.1": version: 2.4.1 resolution: "run-async@npm:2.4.1" checksum: 35a68c8f1d9664f6c7c2e153877ca1d6e4f886e5ca067c25cdd895a6891ff3a1466ee07c63d6a9be306e9619ff7d509494e6d9c129516a36b9fd82263d579ee1 @@ -16405,15 +15216,6 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^6.3.3, rxjs@npm:^6.4.0, rxjs@npm:^6.5.3, rxjs@npm:^6.6.0, rxjs@npm:^6.6.3": - version: 6.6.7 - resolution: "rxjs@npm:6.6.7" - dependencies: - tslib: "npm:^1.9.0" - checksum: e556a13a9aa89395e5c9d825eabcfa325568d9c9990af720f3f29f04a888a3b854f25845c2b55875d875381abcae2d8100af9cacdc57576e7ed6be030a01d2fe - languageName: node - linkType: hard - "rxjs@npm:^7.5.4, rxjs@npm:^7.5.5": version: 7.8.1 resolution: "rxjs@npm:7.8.1" @@ -16492,13 +15294,6 @@ __metadata: languageName: node linkType: hard -"scoped-regex@npm:^2.0.0": - version: 2.1.0 - resolution: "scoped-regex@npm:2.1.0" - checksum: 0568258e9217587f34dee61c644f96b91fcf1ff813426259698f48784ed04c667d8c0524f425b46ed111fae1cc1fdb07a6d8c5ac64c5ae0dae77f2948d1d06e2 - languageName: node - linkType: hard - "semver-diff@npm:^3.1.1": version: 3.1.1 resolution: "semver-diff@npm:3.1.1" @@ -16517,7 +15312,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.2.0, semver@npm:^6.3.0, semver@npm:^6.3.1": +"semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" bin: @@ -16526,7 +15321,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.0.0, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -16925,13 +15720,6 @@ __metadata: languageName: node linkType: hard -"slice-ansi@npm:0.0.4": - version: 0.0.4 - resolution: "slice-ansi@npm:0.0.4" - checksum: 997d4cc73e34aa8c0f60bdb71701b16c062cc4acd7a95e3b10e8c05d790eb5e735d9b470270dc6f443b1ba21492db7ceb849d5c93011d1256061bf7ed7216c7a - languageName: node - linkType: hard - "smart-buffer@npm:^4.2.0": version: 4.2.0 resolution: "smart-buffer@npm:4.2.0" @@ -17108,15 +15896,6 @@ __metadata: languageName: node linkType: hard -"split@npm:^1.0.1": - version: 1.0.1 - resolution: "split@npm:1.0.1" - dependencies: - through: "npm:2" - checksum: 7f489e7ed5ff8a2e43295f30a5197ffcb2d6202c9cf99357f9690d645b19c812bccf0be3ff336fea5054cda17ac96b91d67147d95dbfc31fbb5804c61962af85 - languageName: node - linkType: hard - "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -17293,27 +16072,6 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.1": - version: 1.0.2 - resolution: "string-width@npm:1.0.2" - dependencies: - code-point-at: "npm:^1.0.0" - is-fullwidth-code-point: "npm:^1.0.0" - strip-ansi: "npm:^3.0.0" - checksum: c558438baed23a9ab9370bb6a939acbdb2b2ffc517838d651aad0f5b2b674fb85d460d9b1d0b6a4c210dffd09e3235222d89a5bd4c0c1587f78b2bb7bc00c65e - languageName: node - linkType: hard - -"string-width@npm:^2.1.0, string-width@npm:^2.1.1": - version: 2.1.1 - resolution: "string-width@npm:2.1.1" - dependencies: - is-fullwidth-code-point: "npm:^2.0.0" - strip-ansi: "npm:^4.0.0" - checksum: e5f2b169fcf8a4257a399f95d069522f056e92ec97dbdcb9b0cdf14d688b7ca0b1b1439a1c7b9773cd79446cbafd582727279d6bfdd9f8edd306ea5e90e5b610 - languageName: node - linkType: hard - "string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" @@ -17395,33 +16153,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^3.0.0, strip-ansi@npm:^3.0.1": - version: 3.0.1 - resolution: "strip-ansi@npm:3.0.1" - dependencies: - ansi-regex: "npm:^2.0.0" - checksum: f6e7fbe8e700105dccf7102eae20e4f03477537c74b286fd22cfc970f139002ed6f0d9c10d0e21aa9ed9245e0fa3c9275930e8795c5b947da136e4ecb644a70f - languageName: node - linkType: hard - -"strip-ansi@npm:^4.0.0": - version: 4.0.0 - resolution: "strip-ansi@npm:4.0.0" - dependencies: - ansi-regex: "npm:^3.0.0" - checksum: d75d9681e0637ea316ddbd7d4d3be010b1895a17e885155e0ed6a39755ae0fd7ef46e14b22162e66a62db122d3a98ab7917794e255532ab461bb0a04feb03e7d - languageName: node - linkType: hard - -"strip-ansi@npm:^5.1.0": - version: 5.2.0 - resolution: "strip-ansi@npm:5.2.0" - dependencies: - ansi-regex: "npm:^4.1.0" - checksum: de4658c8a097ce3b15955bc6008f67c0790f85748bdc025b7bc8c52c7aee94bc4f9e50624516150ed173c3db72d851826cd57e7a85fe4e4bb6dbbebd5d297fdf - languageName: node - linkType: hard - "strip-ansi@npm:^7.0.1": version: 7.1.0 resolution: "strip-ansi@npm:7.1.0" @@ -17552,13 +16283,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^2.0.0": - version: 2.0.0 - resolution: "supports-color@npm:2.0.0" - checksum: 570e0b63be36cccdd25186350a6cb2eaad332a95ff162fa06d9499982315f2fe4217e69dd98e862fbcd9c81eaff300a825a1fe7bf5cc752e5b84dfed042b0dda - languageName: node - linkType: hard - "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -17577,16 +16301,6 @@ __metadata: languageName: node linkType: hard -"supports-hyperlinks@npm:^2.0.0": - version: 2.3.0 - resolution: "supports-hyperlinks@npm:2.3.0" - dependencies: - has-flag: "npm:^4.0.0" - supports-color: "npm:^7.0.0" - checksum: 4057f0d86afb056cd799602f72d575b8fdd79001c5894bcb691176f14e870a687e7981e50bc1484980e8b688c6d5bcd4931e1609816abb5a7dc1486b7babf6a1 - languageName: node - linkType: hard - "supports-hyperlinks@npm:^3.1.0": version: 3.1.0 resolution: "supports-hyperlinks@npm:3.1.0" @@ -17632,20 +16346,6 @@ __metadata: languageName: node linkType: hard -"symbol-observable@npm:^1.1.0": - version: 1.2.0 - resolution: "symbol-observable@npm:1.2.0" - checksum: 009fee50798ef80ed4b8195048288f108b03de162db07493f2e1fd993b33fafa72d659e832b584da5a2427daa78e5a738fb2a9ab027ee9454252e0bedbcd1fdc - languageName: node - linkType: hard - -"symbol-observable@npm:^3.0.0": - version: 3.0.0 - resolution: "symbol-observable@npm:3.0.0" - checksum: 4fb3750b90b2edaeeefb2b1cc08859c4ce04642574d23bc19bf976d45e4f73d33abc06d291e09f9f5a2816f4bead77e7297efb78ee3994c303f42dc34d39bf3c - languageName: node - linkType: hard - "tapable@npm:^2.2.0": version: 2.2.1 resolution: "tapable@npm:2.2.1" @@ -17717,16 +16417,6 @@ __metadata: languageName: node linkType: hard -"terminal-link@npm:^2.1.1": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: "npm:^4.2.1" - supports-hyperlinks: "npm:^2.0.0" - checksum: 947458a5cd5408d2ffcdb14aee50bec8fb5022ae683b896b2f08ed6db7b2e7d42780d5c8b51e930e9c322bd7c7a517f4fa7c76983d0873c83245885ac5ee13e3 - languageName: node - linkType: hard - "test-exclude@npm:^7.0.1": version: 7.0.1 resolution: "test-exclude@npm:7.0.1" @@ -17789,7 +16479,7 @@ __metadata: languageName: node linkType: hard -"through@npm:2, through@npm:^2.3.6, through@npm:^2.3.8": +"through@npm:^2.3.6": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: 4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc @@ -17874,20 +16564,6 @@ __metadata: languageName: node linkType: hard -"to-readable-stream@npm:^1.0.0": - version: 1.0.0 - resolution: "to-readable-stream@npm:1.0.0" - checksum: 79cb836e2fb4f2885745a8c212eab7ebc52e93758ff0737feceaed96df98e4d04b8903fe8c27f2e9f3f856a5068ac332918b235c5d801b3efe02a51a3fa0eb36 - languageName: node - linkType: hard - -"to-readable-stream@npm:^2.0.0": - version: 2.1.0 - resolution: "to-readable-stream@npm:2.1.0" - checksum: c0d7269a5232a4c4d254073478a7bfdc302f955999d3afbd417af15cbdf98aeacbc66318957426bbe5b84b681e4d0eba4be640bed6c1ee8cf705f500d4521289 - languageName: node - linkType: hard - "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -18000,18 +16676,6 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^3.14.1": - version: 3.15.0 - resolution: "tsconfig-paths@npm:3.15.0" - dependencies: - "@types/json5": "npm:^0.0.29" - json5: "npm:^1.0.2" - minimist: "npm:^1.2.6" - strip-bom: "npm:^3.0.0" - checksum: 5b4f301a2b7a3766a986baf8fc0e177eb80bdba6e396792ff92dc23b5bca8bb279fc96517dcaaef63a3b49bebc6c4c833653ec58155780bc906bdbcf7dda0ef5 - languageName: node - linkType: hard - "tslib@npm:2.4.1": version: 2.4.1 resolution: "tslib@npm:2.4.1" @@ -18019,7 +16683,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": +"tslib@npm:^1.8.1, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: 69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2 @@ -18321,13 +16985,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.10.0": - version: 0.10.0 - resolution: "type-fest@npm:0.10.0" - checksum: 6c079d80dce172b4c182238c46add55e77549b9e2a360f08d291f64c2eb5bc72aa955a10389cd55bac0da9464044c9f7317069c8b9ce7557c18b5007874fd5fb - languageName: node - linkType: hard - "type-fest@npm:^0.13.1": version: 0.13.1 resolution: "type-fest@npm:0.13.1" @@ -18335,13 +16992,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.18.0": - version: 0.18.1 - resolution: "type-fest@npm:0.18.1" - checksum: 303f5ecf40d03e1d5b635ce7660de3b33c18ed8ebc65d64920c02974d9e684c72483c23f9084587e9dd6466a2ece1da42ddc95b412a461794dd30baca95e2bac - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -18356,13 +17006,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.4.1": - version: 0.4.1 - resolution: "type-fest@npm:0.4.1" - checksum: 2e65f43209492638244842f70d86e7325361c92dd1cc8e3bf5728c96b980305087fa5ba60652e9053d56c302ef4f1beb9652a91b72a50da0ea66c6b851f3b9cb - languageName: node - linkType: hard - "type-fest@npm:^0.6.0": version: 0.6.0 resolution: "type-fest@npm:0.6.0" @@ -18919,28 +17562,6 @@ __metadata: languageName: node linkType: hard -"update-notifier@npm:^5.0.1": - version: 5.1.0 - resolution: "update-notifier@npm:5.1.0" - dependencies: - boxen: "npm:^5.0.0" - chalk: "npm:^4.1.0" - configstore: "npm:^5.0.1" - has-yarn: "npm:^2.1.0" - import-lazy: "npm:^2.1.0" - is-ci: "npm:^2.0.0" - is-installed-globally: "npm:^0.4.0" - is-npm: "npm:^5.0.0" - is-yarn-global: "npm:^0.3.0" - latest-version: "npm:^5.1.0" - pupa: "npm:^2.1.1" - semver: "npm:^7.3.4" - semver-diff: "npm:^3.1.1" - xdg-basedir: "npm:^4.0.0" - checksum: 0dde6db5ac1e5244e1f8bf5b26895a0d53c00797ea2bdbc1302623dd1aecab5cfb88b4f324d482cbd4c8b089464383d8c83db64dec5798ec0136820e22478e47 - languageName: node - linkType: hard - "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -18957,15 +17578,6 @@ __metadata: languageName: node linkType: hard -"url-parse-lax@npm:^3.0.0": - version: 3.0.0 - resolution: "url-parse-lax@npm:3.0.0" - dependencies: - prepend-http: "npm:^2.0.0" - checksum: 16f918634d41a4fab9e03c5f9702968c9930f7c29aa1a8c19a6dc01f97d02d9b700ab9f47f8da0b9ace6e0c0e99c27848994de1465b494bced6940c653481e55 - languageName: node - linkType: hard - "url-template@npm:^2.0.8": version: 2.0.8 resolution: "url-template@npm:2.0.8" @@ -19028,13 +17640,6 @@ __metadata: languageName: node linkType: hard -"vali-date@npm:^1.0.0": - version: 1.0.0 - resolution: "vali-date@npm:1.0.0" - checksum: 5755215f6734caab535f60af0a32bbbf2052c61b1a40668d773df78fd3754e4fe9da2ea5466731505f3e0a599acc209d5578c4b70488ed120fb03f0c2ab06449 - languageName: node - linkType: hard - "valibot@npm:^0.36.0": version: 0.36.0 resolution: "valibot@npm:0.36.0" @@ -19083,15 +17688,6 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-name@npm:^3.0.0": - version: 3.0.0 - resolution: "validate-npm-package-name@npm:3.0.0" - dependencies: - builtins: "npm:^1.0.3" - checksum: 064f21f59aefae6cc286dd4a50b15d14adb0227e0facab4316197dfb8d06801669e997af5081966c15f7828a5e6ff1957bd20886aeb6b9d0fa430e4cb5db9c4a - languageName: node - linkType: hard - "validate-npm-package-name@npm:^5.0.0": version: 5.0.1 resolution: "validate-npm-package-name@npm:5.0.1" @@ -19607,16 +18203,6 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^3.0.1": - version: 3.0.1 - resolution: "wrap-ansi@npm:3.0.1" - dependencies: - string-width: "npm:^2.1.1" - strip-ansi: "npm:^4.0.0" - checksum: ad6fed8f242c26755badaf452da154122d0d862f8b7aab56e758466857f230efafdc5fbffca026650b947ac3fc0eb563df5c05b9e2190a52a4a68f4eef3d4555 - languageName: node - linkType: hard - "wrap-ansi@npm:^6.0.1, wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -19767,13 +18353,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^1.10.0": - version: 1.10.2 - resolution: "yaml@npm:1.10.2" - checksum: 5c28b9eb7adc46544f28d9a8d20c5b3cb1215a886609a2fd41f51628d8aaa5878ccd628b755dbcd29f6bb4921bd04ffbc6dcc370689bb96e594e2f9813d2605f - languageName: node - linkType: hard - "yaml@npm:^2.2.1, yaml@npm:^2.2.2, yaml@npm:^2.3.4": version: 2.3.4 resolution: "yaml@npm:2.3.4" @@ -19809,7 +18388,7 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3": +"yargs-parser@npm:^20.2.2": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" checksum: 0685a8e58bbfb57fab6aefe03c6da904a59769bd803a722bb098bd5b0f29d274a1357762c7258fb487512811b8063fb5d2824a3415a0a4540598335b3b086c72 From 5792504bdfbfe22d0448b0adf539151daf9e6421 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:20:23 +1100 Subject: [PATCH 30/81] build(hello): lint published package (#1050) --- .github/workflows/ci-hello.yml | 1 + packages/hello/package.json | 15 +++++++++------ packages/hello/tsconfig.json | 10 +++------- yarn.lock | 4 +++- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index 77f211df..0438bf4a 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/hello - run: yarn workspace @hono/hello build + - run: yarn workspace @hono/hello publint - run: yarn test --coverage --project @hono/hello - uses: codecov/codecov-action@v5 with: diff --git a/packages/hello/package.json b/packages/hello/package.json index f65438ad..e803aa7d 100644 --- a/packages/hello/package.json +++ b/packages/hello/package.json @@ -9,10 +9,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -33,15 +33,18 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/hello" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.4.12", - "tsup": "^8.1.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/hello/tsconfig.json b/packages/hello/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/hello/tsconfig.json +++ b/packages/hello/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index 285b3ffa..c0ecceb4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2657,8 +2657,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/hello@workspace:packages/hello" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.4.12" - tsup: "npm:^8.1.0" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" From bcbb7e01c5077edeeed248502e39281e65a9e0bd Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:21:43 +1100 Subject: [PATCH 31/81] build(medley-router): lint published package (#1051) --- .github/workflows/ci-medley-router.yml | 1 + packages/medley-router/package.json | 29 ++++++++++++++++++++------ packages/medley-router/tsconfig.json | 4 +--- yarn.lock | 4 +++- 4 files changed, 28 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index c4d46513..1a3003d1 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/medley-router - run: yarn workspace @hono/medley-router build + - run: yarn workspace @hono/medley-router publint - run: yarn test --coverage --project @hono/medley-router - uses: codecov/codecov-action@v5 with: diff --git a/packages/medley-router/package.json b/packages/medley-router/package.json index 91959fa3..2625f076 100644 --- a/packages/medley-router/package.json +++ b/packages/medley-router/package.json @@ -2,16 +2,30 @@ "name": "@hono/medley-router", "version": "0.0.3", "description": "Router using @medley/router", + "type": "module", "main": "dist/index.js", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest", - "build": "rimraf dist && tsc", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" + }, + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } }, "license": "MIT", "publishConfig": { @@ -20,15 +34,18 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/medley-router" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.8.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^3.11.7", - "rimraf": "^5.0.5", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/medley-router/tsconfig.json b/packages/medley-router/tsconfig.json index af5bfa77..103e4e38 100644 --- a/packages/medley-router/tsconfig.json +++ b/packages/medley-router/tsconfig.json @@ -1,9 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index c0ecceb4..cfae60f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2671,9 +2671,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/medley-router@workspace:packages/medley-router" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@medley/router": "npm:^0.2.1" hono: "npm:^3.11.7" - rimraf: "npm:^5.0.5" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.8.0" From 3d7d482affd2814d0d83c0ad1a51dea093fa627c Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:23:05 +1100 Subject: [PATCH 32/81] build(node-ws): lint published package (#1052) --- .github/workflows/ci-node-ws.yml | 1 + packages/node-ws/package.json | 34 +++++++++++++++++++++----------- packages/node-ws/tsconfig.json | 10 ++-------- yarn.lock | 15 ++++++++------ 4 files changed, 34 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci-node-ws.yml b/.github/workflows/ci-node-ws.yml index e6c25685..b7fc027f 100644 --- a/.github/workflows/ci-node-ws.yml +++ b/.github/workflows/ci-node-ws.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/node-ws - run: yarn workspace @hono/node-ws build + - run: yarn workspace @hono/node-ws publint - run: yarn test --coverage --project @hono/node-ws - uses: codecov/codecov-action@v5 with: diff --git a/packages/node-ws/package.json b/packages/node-ws/package.json index d16b1362..66e96167 100644 --- a/packages/node-ws/package.json +++ b/packages/node-ws/package.json @@ -2,23 +2,29 @@ "name": "@hono/node-ws", "version": "1.1.0", "description": "WebSocket helper for Node.js", + "type": "module", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "tsc --noEmit && vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -28,14 +34,18 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/node-ws" }, "homepage": "https://github.com/honojs/middleware", "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@hono/node-server": "^1.11.1", - "@types/ws": "^8", + "@types/node": "^20.14.8", + "@types/ws": "^8.18.0", "hono": "^4.6.0", - "tsup": "^8.0.1", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "dependencies": { @@ -48,4 +58,4 @@ "engines": { "node": ">=18.14.1" } -} +} \ No newline at end of file diff --git a/packages/node-ws/tsconfig.json b/packages/node-ws/tsconfig.json index c4bdc510..869e4530 100644 --- a/packages/node-ws/tsconfig.json +++ b/packages/node-ws/tsconfig.json @@ -1,13 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", - "types": [ - "vitest/globals" - ] - }, - "include": [ - "src/**/*.ts" - ] + "types": ["node", "vitest/globals", "ws"] + } } diff --git a/yarn.lock b/yarn.lock index cfae60f4..2ab858b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2693,10 +2693,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/node-ws@workspace:packages/node-ws" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@hono/node-server": "npm:^1.11.1" - "@types/ws": "npm:^8" + "@types/node": "npm:^20.14.8" + "@types/ws": "npm:^8.18.0" hono: "npm:^4.6.0" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" ws: "npm:^8.17.0" peerDependencies: @@ -4842,12 +4845,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8": - version: 8.5.10 - resolution: "@types/ws@npm:8.5.10" +"@types/ws@npm:^8.18.0": + version: 8.18.0 + resolution: "@types/ws@npm:8.18.0" dependencies: "@types/node": "npm:*" - checksum: e9af279b984c4a04ab53295a40aa95c3e9685f04888df5c6920860d1dd073fcc57c7bd33578a04b285b2c655a0b52258d34bee0a20569dca8defb8393e1e5d29 + checksum: a56d2e0d1da7411a1f3548ce02b51a50cbe9e23f025677d03df48f87e4a3c72e1342fbf1d12e487d7eafa8dc670c605152b61bbf9165891ec0e9694b0d3ea8d4 languageName: node linkType: hard From 8424b1d4200f0a6877b0df57cd0b5bd3e089a797 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:30:17 +1100 Subject: [PATCH 33/81] build(oauth-providers): lint published package (#1053) --- .github/workflows/ci-oauth-providers.yml | 1 + packages/oauth-providers/package.json | 96 +++++------------------- packages/oauth-providers/tsconfig.json | 4 +- packages/oauth-providers/tsup.config.ts | 9 --- yarn.lock | 10 +-- 5 files changed, 25 insertions(+), 95 deletions(-) delete mode 100644 packages/oauth-providers/tsup.config.ts diff --git a/.github/workflows/ci-oauth-providers.yml b/.github/workflows/ci-oauth-providers.yml index 8c87cf00..b286d585 100644 --- a/.github/workflows/ci-oauth-providers.yml +++ b/.github/workflows/ci-oauth-providers.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/oauth-providers - run: yarn workspace @hono/oauth-providers build + - run: yarn workspace @hono/oauth-providers publint - run: yarn test --coverage --project @hono/oauth-providers - uses: codecov/codecov-action@v5 with: diff --git a/packages/oauth-providers/package.json b/packages/oauth-providers/package.json index 7be1ad20..2fbf8757 100644 --- a/packages/oauth-providers/package.json +++ b/packages/oauth-providers/package.json @@ -2,96 +2,38 @@ "name": "@hono/oauth-providers", "version": "0.7.0", "description": "Social login for Hono JS, integrate authentication with facebook, github, google and linkedin to your projects.", + "type": "module", "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", "files": [ "./dist" ], "scripts": { - "test": "vitest", - "build": "tsup && publint", - "watch": "tsup --watch", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts ./src/providers/**/index.ts ./src/providers/**/types.ts --no-splitting", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { "import": { - "types": "./dist/index.d.mts", - "default": "./dist/index.mjs" - }, - "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" - } - }, - "./google": { - "import": { - "types": "./dist/providers/google/index.d.mts", - "default": "./dist/providers/google/index.mjs" }, "require": { - "types": "./dist/providers/google/index.d.ts", - "default": "./dist/providers/google/index.js" + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, - "./facebook": { + "./*": { "import": { - "types": "./dist/providers/facebook/index.d.mts", - "default": "./dist/providers/facebook/index.mjs" + "types": "./dist/providers/*/index.d.ts", + "default": "./dist/providers/*/index.js" }, "require": { - "types": "./dist/providers/facebook/index.d.ts", - "default": "./dist/providers/facebook/index.js" - } - }, - "./github": { - "import": { - "types": "./dist/providers/github/index.d.mts", - "default": "./dist/providers/github/index.mjs" - }, - "require": { - "types": "./dist/providers/github/index.d.ts", - "default": "./dist/providers/github/index.js" - } - }, - "./linkedin": { - "import": { - "types": "./dist/providers/linkedin/index.d.mts", - "default": "./dist/providers/linkedin/index.mjs" - }, - "require": { - "types": "./dist/providers/linkedin/index.d.ts", - "default": "./dist/providers/linkedin/index.js" - } - }, - "./x": { - "import": { - "types": "./dist/providers/x/index.d.mts", - "default": "./dist/providers/x/index.mjs" - }, - "require": { - "types": "./dist/providers/x/index.d.ts", - "default": "./dist/providers/x/index.js" - } - }, - "./discord": { - "import": { - "types": "./dist/providers/discord/index.d.mts", - "default": "./dist/providers/discord/index.mjs" - }, - "require": { - "types": "./dist/providers/discord/index.d.ts", - "default": "./dist/providers/discord/index.js" - } - }, - "./twitch": { - "import": { - "types": "./dist/providers/twitch/index.d.mts", - "default": "./dist/providers/twitch/index.mjs" - }, - "require": { - "types": "./dist/providers/twitch/index.d.ts", - "default": "./dist/providers/twitch/index.js" + "types": "./dist/providers/*/index.d.cts", + "default": "./dist/providers/*/index.cjs" } } }, @@ -124,16 +66,14 @@ "hono": ">=3.*" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20231025.0", + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.5.1", "msw": "^2.0.11", - "patch-package": "^8.0.0", - "publint": "^0.2.6", - "tsup": "^8.0.0", - "typescript": "^5.2.2", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { "node": ">=18.4.0" } -} +} \ No newline at end of file diff --git a/packages/oauth-providers/tsconfig.json b/packages/oauth-providers/tsconfig.json index af5bfa77..103e4e38 100644 --- a/packages/oauth-providers/tsconfig.json +++ b/packages/oauth-providers/tsconfig.json @@ -1,9 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/packages/oauth-providers/tsup.config.ts b/packages/oauth-providers/tsup.config.ts deleted file mode 100644 index 146d6e33..00000000 --- a/packages/oauth-providers/tsup.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from 'tsup' - -export default defineConfig({ - entry: ['src/index.ts', 'src/providers/**/index.ts', 'src/providers/**/types.ts'], - format: ['esm', 'cjs'], - dts: true, - splitting: false, - clean: true, -}) diff --git a/yarn.lock b/yarn.lock index 2ab858b0..c610c1e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2712,13 +2712,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/oauth-providers@workspace:packages/oauth-providers" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@cloudflare/workers-types": "npm:^4.20231025.0" hono: "npm:^4.5.1" msw: "npm:^2.0.11" patch-package: "npm:^8.0.0" - publint: "npm:^0.2.6" - tsup: "npm:^8.0.0" - typescript: "npm:^5.2.2" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -14291,7 +14291,7 @@ __metadata: languageName: node linkType: hard -"publint@npm:^0.2.2, publint@npm:^0.2.6": +"publint@npm:^0.2.2": version: 0.2.6 resolution: "publint@npm:0.2.6" dependencies: @@ -16747,7 +16747,7 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.0.0, tsup@npm:^8.0.1": +"tsup@npm:^8.0.1": version: 8.0.1 resolution: "tsup@npm:8.0.1" dependencies: From 33c3faae5949d8655b48194e7f9fbb9115d74acd Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 27 Mar 2025 11:34:20 +0900 Subject: [PATCH 34/81] chore: update the lockfile (#1072) --- packages/esbuild-transpiler/package.json | 2 +- packages/graphql-server/package.json | 2 +- packages/node-ws/package.json | 2 +- packages/oauth-providers/package.json | 2 +- yarn.lock | 140 +---------------------- 5 files changed, 6 insertions(+), 142 deletions(-) diff --git a/packages/esbuild-transpiler/package.json b/packages/esbuild-transpiler/package.json index 64d6ce6d..4428c844 100644 --- a/packages/esbuild-transpiler/package.json +++ b/packages/esbuild-transpiler/package.json @@ -82,4 +82,4 @@ "engines": { "node": ">=18.14.1" } -} \ No newline at end of file +} diff --git a/packages/graphql-server/package.json b/packages/graphql-server/package.json index 5618262a..d84ac005 100644 --- a/packages/graphql-server/package.json +++ b/packages/graphql-server/package.json @@ -50,4 +50,4 @@ "engines": { "node": ">=16.0.0" } -} \ No newline at end of file +} diff --git a/packages/node-ws/package.json b/packages/node-ws/package.json index 66e96167..7c4e8d87 100644 --- a/packages/node-ws/package.json +++ b/packages/node-ws/package.json @@ -58,4 +58,4 @@ "engines": { "node": ">=18.14.1" } -} \ No newline at end of file +} diff --git a/packages/oauth-providers/package.json b/packages/oauth-providers/package.json index 2fbf8757..5e52f652 100644 --- a/packages/oauth-providers/package.json +++ b/packages/oauth-providers/package.json @@ -76,4 +76,4 @@ "engines": { "node": ">=18.4.0" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index c610c1e8..95ac85e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -848,7 +848,7 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workers-types@npm:^4.20230307.0, @cloudflare/workers-types@npm:^4.20231025.0": +"@cloudflare/workers-types@npm:^4.20230307.0": version: 4.20231121.0 resolution: "@cloudflare/workers-types@npm:4.20231121.0" checksum: 096729103bc02fed641a636bad501b8dd9b4f76ad25bd50b5ea32a2c4aa7d90f55c626a6abf86c20e13fe1398690667bd7428d07da972760c8d207dd8d16dcf5 @@ -2713,10 +2713,8 @@ __metadata: resolution: "@hono/oauth-providers@workspace:packages/oauth-providers" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - "@cloudflare/workers-types": "npm:^4.20231025.0" hono: "npm:^4.5.1" msw: "npm:^2.0.11" - patch-package: "npm:^8.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -5259,13 +5257,6 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0" - checksum: 0bfa50a3d756623d1f3409bc23f225a1d069424dbc77c6fd2f14fb377390cd57ec703dc70286e081c564be9051ead9ba85d81d66a3e68eeb6eb506d4e0c0fbda - languageName: node - linkType: hard - "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -5733,13 +5724,6 @@ __metadata: languageName: node linkType: hard -"at-least-node@npm:^1.0.0": - version: 1.0.0 - resolution: "at-least-node@npm:1.0.0" - checksum: 4c058baf6df1bc5a1697cf182e2029c58cd99975288a13f9e70068ef5d6f4e1f1fd7c4d2c3c4912eae44797d1725be9700995736deca441b39f3e66d8dee97ef - languageName: node - linkType: hard - "available-typed-arrays@npm:^1.0.5": version: 1.0.5 resolution: "available-typed-arrays@npm:1.0.5" @@ -9272,15 +9256,6 @@ __metadata: languageName: node linkType: hard -"find-yarn-workspace-root@npm:^2.0.0": - version: 2.0.0 - resolution: "find-yarn-workspace-root@npm:2.0.0" - dependencies: - micromatch: "npm:^4.0.2" - checksum: b0d3843013fbdaf4e57140e0165889d09fa61745c9e85da2af86e54974f4cc9f1967e40f0d8fc36a79d53091f0829c651d06607d552582e53976f3cd8f4e5689 - languageName: node - linkType: hard - "firebase-auth-cloudflare-workers@npm:^2.0.6": version: 2.0.6 resolution: "firebase-auth-cloudflare-workers@npm:2.0.6" @@ -9500,18 +9475,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^9.0.0": - version: 9.1.0 - resolution: "fs-extra@npm:9.1.0" - dependencies: - at-least-node: "npm:^1.0.0" - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 9b808bd884beff5cb940773018179a6b94a966381d005479f00adda6b44e5e3d4abf765135773d849cc27efe68c349e4a7b86acd7d3306d5932c14f3a4b17a92 - languageName: node - linkType: hard - "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -9969,7 +9932,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -10735,15 +10698,6 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^2.0.0": - version: 2.2.1 - resolution: "is-docker@npm:2.2.1" - bin: - is-docker: cli.js - checksum: e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -11001,15 +10955,6 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.1.1": - version: 2.2.0 - resolution: "is-wsl@npm:2.2.0" - dependencies: - is-docker: "npm:^2.0.0" - checksum: a6fa2d370d21be487c0165c7a440d567274fbba1a817f2f0bfa41cc5e3af25041d84267baa22df66696956038a43973e72fca117918c91431920bdef490fa25e - languageName: node - linkType: hard - "is-yarn-global@npm:^0.3.0": version: 0.3.0 resolution: "is-yarn-global@npm:0.3.0" @@ -11310,18 +11255,6 @@ __metadata: languageName: node linkType: hard -"json-stable-stringify@npm:^1.0.2": - version: 1.1.0 - resolution: "json-stable-stringify@npm:1.1.0" - dependencies: - call-bind: "npm:^1.0.5" - isarray: "npm:^2.0.5" - jsonify: "npm:^0.0.1" - object-keys: "npm:^1.1.1" - checksum: 8888ac86dbf55c1d494bdf40705171c30884686911c37383d3aab777754bf5c1d60dc7a4dfd67f32ba37b184da5c99948a382f1c2912895a35453002e253314b - languageName: node - linkType: hard - "json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -11356,13 +11289,6 @@ __metadata: languageName: node linkType: hard -"jsonify@npm:^0.0.1": - version: 0.0.1 - resolution: "jsonify@npm:0.0.1" - checksum: 7f5499cdd59a0967ed35bda48b7cec43d850bbc8fb955cdd3a1717bb0efadbe300724d5646de765bb7a99fc1c3ab06eb80d93503c6faaf99b4ff50a3326692f6 - languageName: node - linkType: hard - "jsonwebtoken@npm:^9.0.0, jsonwebtoken@npm:^9.0.2": version: 9.0.2 resolution: "jsonwebtoken@npm:9.0.2" @@ -11448,15 +11374,6 @@ __metadata: languageName: node linkType: hard -"klaw-sync@npm:^6.0.0": - version: 6.0.0 - resolution: "klaw-sync@npm:6.0.0" - dependencies: - graceful-fs: "npm:^4.1.11" - checksum: 00d8e4c48d0d699b743b3b028e807295ea0b225caf6179f51029e19783a93ad8bb9bccde617d169659fbe99559d73fb35f796214de031d0023c26b906cecd70a - languageName: node - linkType: hard - "kleur@npm:^4.0.3, kleur@npm:^4.1.5": version: 4.1.5 resolution: "kleur@npm:4.1.5" @@ -13337,16 +13254,6 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.4.2": - version: 7.4.2 - resolution: "open@npm:7.4.2" - dependencies: - is-docker: "npm:^2.0.0" - is-wsl: "npm:^2.1.1" - checksum: 77573a6a68f7364f3a19a4c80492712720746b63680ee304555112605ead196afe91052bd3c3d165efdf4e9d04d255e87de0d0a77acec11ef47fd5261251813f - languageName: node - linkType: hard - "openapi3-ts@npm:^3.1.1": version: 3.2.0 resolution: "openapi3-ts@npm:3.2.0" @@ -13633,31 +13540,6 @@ __metadata: languageName: node linkType: hard -"patch-package@npm:^8.0.0": - version: 8.0.0 - resolution: "patch-package@npm:8.0.0" - dependencies: - "@yarnpkg/lockfile": "npm:^1.1.0" - chalk: "npm:^4.1.2" - ci-info: "npm:^3.7.0" - cross-spawn: "npm:^7.0.3" - find-yarn-workspace-root: "npm:^2.0.0" - fs-extra: "npm:^9.0.0" - json-stable-stringify: "npm:^1.0.2" - klaw-sync: "npm:^6.0.0" - minimist: "npm:^1.2.6" - open: "npm:^7.4.2" - rimraf: "npm:^2.6.3" - semver: "npm:^7.5.3" - slash: "npm:^2.0.0" - tmp: "npm:^0.0.33" - yaml: "npm:^2.2.2" - bin: - patch-package: index.js - checksum: 690eab0537e953a3fd7d32bb23f0e82f97cd448f8244c3227ed55933611a126f9476397325c06ad2c11d881a19b427a02bd1881bee78d89f1731373fc4fe0fee - languageName: node - linkType: hard - "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -14856,17 +14738,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.6.3": - version: 2.7.1 - resolution: "rimraf@npm:2.7.1" - dependencies: - glob: "npm:^7.1.3" - bin: - rimraf: ./bin.js - checksum: 4eef73d406c6940927479a3a9dee551e14a54faf54b31ef861250ac815172bade86cc6f7d64a4dc5e98b65e4b18a2e1c9ff3b68d296be0c748413f092bb0dd40 - languageName: node - linkType: hard - "rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" @@ -15713,13 +15584,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^2.0.0": - version: 2.0.0 - resolution: "slash@npm:2.0.0" - checksum: f83dbd3cb62c41bb8fcbbc6bf5473f3234b97fa1d008f571710a9d3757a28c7169e1811cad1554ccb1cc531460b3d221c9a7b37f549398d9a30707f0a5af9193 - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" From c0ee9a4f5add245c90ef4168dfa6d117fe782acf Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:38:15 +1100 Subject: [PATCH 35/81] build(otel): lint published package (#1055) --- .github/workflows/ci-otel.yml | 1 + packages/otel/package.json | 17 ++++++++++------- packages/otel/src/index.ts | 3 ++- packages/otel/tsconfig.json | 7 +++---- yarn.lock | 4 +++- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-otel.yml b/.github/workflows/ci-otel.yml index 2ac0d21e..92b8cf47 100644 --- a/.github/workflows/ci-otel.yml +++ b/.github/workflows/ci-otel.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/otel - run: yarn workspace @hono/otel build + - run: yarn workspace @hono/otel publint - run: yarn test --coverage --project @hono/otel - uses: codecov/codecov-action@v5 with: diff --git a/packages/otel/package.json b/packages/otel/package.json index e21219bb..88c0dbe6 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -9,10 +9,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -33,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/otel" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -44,10 +45,12 @@ "@opentelemetry/semantic-conventions": "^1.28.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@opentelemetry/sdk-trace-base": "^1.30.0", "@opentelemetry/sdk-trace-node": "^1.30.0", "hono": "^4.4.12", - "tsup": "^8.1.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/otel/src/index.ts b/packages/otel/src/index.ts index fe9c7802..55bfe7a8 100644 --- a/packages/otel/src/index.ts +++ b/packages/otel/src/index.ts @@ -1,4 +1,5 @@ -import { SpanKind, SpanStatusCode, type TracerProvider, trace } from '@opentelemetry/api' +import type { TracerProvider } from '@opentelemetry/api' +import { SpanKind, SpanStatusCode, trace } from '@opentelemetry/api' import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, diff --git a/packages/otel/tsconfig.json b/packages/otel/tsconfig.json index 09c66e24..4aa90bfc 100644 --- a/packages/otel/tsconfig.json +++ b/packages/otel/tsconfig.json @@ -1,10 +1,9 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "module": "ESNext", - "resolveJsonModule": true - }, - "include": ["src/**/*.ts"] + "resolveJsonModule": true, + "types": ["vitest/globals"] + } } diff --git a/yarn.lock b/yarn.lock index 95ac85e9..72473857 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2743,12 +2743,14 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/otel@workspace:packages/otel" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@opentelemetry/api": "npm:^1.9.0" "@opentelemetry/sdk-trace-base": "npm:^1.30.0" "@opentelemetry/sdk-trace-node": "npm:^1.30.0" "@opentelemetry/semantic-conventions": "npm:^1.28.0" hono: "npm:^4.4.12" - tsup: "npm:^8.1.0" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" From ee53464b8797f4396c7f1c92cc15af48053be310 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 13:43:10 +1100 Subject: [PATCH 36/81] build(prometheus): lint published package (#1056) --- .github/workflows/ci-prometheus.yml | 1 + packages/prometheus/package.json | 32 ++++++++++++++++++----------- packages/prometheus/tsconfig.json | 9 +++----- yarn.lock | 4 +++- 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index 11224351..7c046732 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/prometheus - run: yarn workspace @hono/prometheus build + - run: yarn workspace @hono/prometheus publint - run: yarn test --coverage --project @hono/prometheus - uses: codecov/codecov-action@v5 with: diff --git a/packages/prometheus/package.json b/packages/prometheus/package.json index 36e07c38..abfa031f 100644 --- a/packages/prometheus/package.json +++ b/packages/prometheus/package.json @@ -2,23 +2,28 @@ "name": "@hono/prometheus", "version": "1.0.1", "description": "Prometheus metrics middleware for Hono", - "main": "dist/index.js", - "module": "dist/index.mjs", + "type": "module", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -28,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/prometheus" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -36,9 +42,11 @@ "prom-client": "^15.0.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.2.7", "prom-client": "^15.0.0", - "tsup": "^8.0.1", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/prometheus/tsconfig.json b/packages/prometheus/tsconfig.json index acfcd843..103e4e38 100644 --- a/packages/prometheus/tsconfig.json +++ b/packages/prometheus/tsconfig.json @@ -1,10 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "types": ["vitest/globals"] + } +} diff --git a/yarn.lock b/yarn.lock index 72473857..241f9600 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2761,9 +2761,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/prometheus@workspace:packages/prometheus" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.2.7" prom-client: "npm:^15.0.0" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" From 7c0f04486dbd08264a390f2905d66fd19407d3b0 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 14:32:05 +1100 Subject: [PATCH 37/81] build(qwik-city): lint published package (#1057) * build(qwik-city): lint published package * ci(qwik-city): add workflow to run build and publint --- .github/workflows/ci-qwik-city.yml | 30 +++++++++++++++++++++++++ packages/qwik-city/package.json | 33 +++++++++++++++++++--------- packages/qwik-city/tsconfig.cjs.json | 8 ------- packages/qwik-city/tsconfig.esm.json | 8 ------- packages/qwik-city/tsconfig.json | 9 +++----- yarn.lock | 4 +++- 6 files changed, 59 insertions(+), 33 deletions(-) create mode 100644 .github/workflows/ci-qwik-city.yml delete mode 100644 packages/qwik-city/tsconfig.cjs.json delete mode 100644 packages/qwik-city/tsconfig.esm.json diff --git a/.github/workflows/ci-qwik-city.yml b/.github/workflows/ci-qwik-city.yml new file mode 100644 index 00000000..72cf0247 --- /dev/null +++ b/.github/workflows/ci-qwik-city.yml @@ -0,0 +1,30 @@ +name: ci-qwik-city +on: + push: + branches: [main] + paths: + - 'packages/qwik-city/**' + pull_request: + branches: ['*'] + paths: + - 'packages/qwik-city/**' + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - run: yarn workspaces focus hono-middleware @hono/qwik-city + - run: yarn workspace @hono/qwik-city build + - run: yarn workspace @hono/qwik-city publint + # - run: yarn test --coverage --project @hono/qwik-city + # - uses: codecov/codecov-action@v5 + # with: + # fail_ci_if_error: true + # directory: ./coverage + # flags: qwik-city + # env: + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/packages/qwik-city/package.json b/packages/qwik-city/package.json index 81027df3..18983aee 100644 --- a/packages/qwik-city/package.json +++ b/packages/qwik-city/package.json @@ -2,18 +2,28 @@ "name": "@hono/qwik-city", "version": "0.0.5", "description": "Qwik City middleware for Hono", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/esm/index.d.ts", + "type": "module", + "module": "dist/index.js", + "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:esm": "tsc -p tsconfig.esm.json", - "build": "rimraf dist && yarn build:cjs && yarn build:esm", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint" + }, + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } }, "license": "MIT", "publishConfig": { @@ -22,7 +32,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/qwik-city" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -31,10 +42,12 @@ "hono": "^3.1.5" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@builder.io/qwik": "^1.2.0", "@builder.io/qwik-city": "^1.2.0", "hono": "^3.11.7", - "rimraf": "^5.0.5" + "publint": "^0.3.9", + "tsup": "^8.4.0" }, "engines": { "node": ">=18" diff --git a/packages/qwik-city/tsconfig.cjs.json b/packages/qwik-city/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/qwik-city/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/qwik-city/tsconfig.esm.json b/packages/qwik-city/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/qwik-city/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/qwik-city/tsconfig.json b/packages/qwik-city/tsconfig.json index 6c1a3990..b4e69ae1 100644 --- a/packages/qwik-city/tsconfig.json +++ b/packages/qwik-city/tsconfig.json @@ -1,9 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "dist" + } +} diff --git a/yarn.lock b/yarn.lock index 241f9600..ef815312 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2777,10 +2777,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/qwik-city@workspace:packages/qwik-city" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@builder.io/qwik": "npm:^1.2.0" "@builder.io/qwik-city": "npm:^1.2.0" hono: "npm:^3.11.7" - rimraf: "npm:^5.0.5" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" peerDependencies: "@builder.io/qwik": ^1.2.0 "@builder.io/qwik-city": ^1.2.0 From 5234436db89fd6de1623902869d9362c5b4fbc71 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 14:56:33 +1100 Subject: [PATCH 38/81] build(oidc-auth): lint published package (#1054) * build(oidc-auth): lint published package * build(oidc-auth): include require condition in subpath exports --- .github/workflows/ci-oidc-auth.yml | 1 + packages/oidc-auth/package.json | 22 ++++++++++++++-------- packages/oidc-auth/tsconfig.json | 4 +--- yarn.lock | 5 +++-- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-oidc-auth.yml b/.github/workflows/ci-oidc-auth.yml index 40ef352f..d9636eb7 100644 --- a/.github/workflows/ci-oidc-auth.yml +++ b/.github/workflows/ci-oidc-auth.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/oidc-auth - run: yarn workspace @hono/oidc-auth build + - run: yarn workspace @hono/oidc-auth publint - run: yarn test --coverage --project @hono/oidc-auth - uses: codecov/codecov-action@v5 with: diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index b929955d..5ee98b06 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -3,22 +3,26 @@ "version": "1.6.0", "description": "OpenID Connect Authentication middleware for Hono", "type": "module", - "main": "dist/index.js", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest", - "build": "tsup ./src/index.ts --format esm --dts", - "prerelease": "yarn build && yarn test", - "release": "yarn prerelease && yarn npm publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } } }, @@ -29,18 +33,20 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/oidc-auth" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@types/jsonwebtoken": "^9.0.5", "hono": "^4.0.1", "jsonwebtoken": "^9.0.2", - "tsup": "^8.0.1", - "typescript": "^5.3.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/oidc-auth/tsconfig.json b/packages/oidc-auth/tsconfig.json index f375b769..26687d28 100644 --- a/packages/oidc-auth/tsconfig.json +++ b/packages/oidc-auth/tsconfig.json @@ -2,9 +2,7 @@ "extends": "../../tsconfig.json", "compilerOptions": { "module": "ESNext", - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index ef815312..d218b4d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2727,12 +2727,13 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/oidc-auth@workspace:packages/oidc-auth" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@types/jsonwebtoken": "npm:^9.0.5" hono: "npm:^4.0.1" jsonwebtoken: "npm:^9.0.2" oauth4webapi: "npm:^2.6.0" - tsup: "npm:^8.0.1" - typescript: "npm:^5.3.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" From ee540d95fe2d847621c408ac1246bacf6baaa5ff Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 15:05:11 +1100 Subject: [PATCH 39/81] build(swagger-editor): lint published package (#1062) --- .github/workflows/ci-swagger-editor.yml | 1 + packages/swagger-editor/package.json | 15 +++++++++------ packages/swagger-editor/tsconfig.json | 3 +-- yarn.lock | 4 +++- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-swagger-editor.yml b/.github/workflows/ci-swagger-editor.yml index a7178b28..8355b5b6 100644 --- a/.github/workflows/ci-swagger-editor.yml +++ b/.github/workflows/ci-swagger-editor.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/swagger-editor - run: yarn workspace @hono/swagger-editor build + - run: yarn workspace @hono/swagger-editor publint - run: yarn test --coverage --project @hono/swagger-editor - uses: codecov/codecov-action@v5 with: diff --git a/packages/swagger-editor/package.json b/packages/swagger-editor/package.json index 06b984f6..53a145e6 100644 --- a/packages/swagger-editor/package.json +++ b/packages/swagger-editor/package.json @@ -22,10 +22,10 @@ "dist" ], "scripts": { - "test": "vitest run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -34,15 +34,18 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/swagger-editor" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^3.11.7", - "tsup": "^7.2.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/swagger-editor/tsconfig.json b/packages/swagger-editor/tsconfig.json index af751bf5..dcc1e9e9 100644 --- a/packages/swagger-editor/tsconfig.json +++ b/packages/swagger-editor/tsconfig.json @@ -2,6 +2,5 @@ "extends": "../../tsconfig.json", "compilerOptions": { "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts", "src/**/*.tsx"] + } } diff --git a/yarn.lock b/yarn.lock index d218b4d3..81a40a00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2870,8 +2870,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/swagger-editor@workspace:packages/swagger-editor" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^3.11.7" - tsup: "npm:^7.2.0" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" From d9671a58913e3496fb3c36b557b30664dbe6666b Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 15:07:16 +1100 Subject: [PATCH 40/81] build(trpc-server): lint published package (#1064) --- .github/workflows/ci-trpc-server.yml | 1 + packages/trpc-server/package.json | 39 +++++++++++++++++--------- packages/trpc-server/tsconfig.cjs.json | 8 ------ packages/trpc-server/tsconfig.esm.json | 8 ------ packages/trpc-server/tsconfig.json | 4 +-- yarn.lock | 16 +++++++---- 6 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 packages/trpc-server/tsconfig.cjs.json delete mode 100644 packages/trpc-server/tsconfig.esm.json diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index eac584b8..b130b52c 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/trpc-server - run: yarn workspace @hono/trpc-server build + - run: yarn workspace @hono/trpc-server publint - run: yarn test --coverage --project @hono/trpc-server - uses: codecov/codecov-action@v5 with: diff --git a/packages/trpc-server/package.json b/packages/trpc-server/package.json index 18b8945c..60929c30 100644 --- a/packages/trpc-server/package.json +++ b/packages/trpc-server/package.json @@ -2,19 +2,29 @@ "name": "@hono/trpc-server", "version": "0.3.4", "description": "tRPC Server Middleware for Hono", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/esm/index.d.ts", + "type": "module", + "module": "dist/index.js", + "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:esm": "tsc -p tsconfig.esm.json", - "build": "rimraf dist && yarn build:cjs && yarn build:esm", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" + }, + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } }, "license": "MIT", "publishConfig": { @@ -23,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/trpc-server" }, "homepage": "https://honojs.dev", "peerDependencies": { @@ -31,13 +42,15 @@ "hono": ">=4.*" }, "devDependencies": { - "@trpc/server": "^10.10.0 || >11.0.0-rc", + "@arethetypeswrong/cli": "^0.17.4", + "@trpc/server": "^11.0.0", "hono": "^4.3.6", - "rimraf": "^5.0.5", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8", "zod": "^3.20.2" }, "engines": { "node": ">=16.0.0" } -} +} \ No newline at end of file diff --git a/packages/trpc-server/tsconfig.cjs.json b/packages/trpc-server/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/trpc-server/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/trpc-server/tsconfig.esm.json b/packages/trpc-server/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/trpc-server/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/trpc-server/tsconfig.json b/packages/trpc-server/tsconfig.json index efd0b896..dcc1e9e9 100644 --- a/packages/trpc-server/tsconfig.json +++ b/packages/trpc-server/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index 81a40a00..1bff5d44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2898,9 +2898,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/trpc-server@workspace:packages/trpc-server" dependencies: - "@trpc/server": "npm:^10.10.0 || >11.0.0-rc" + "@arethetypeswrong/cli": "npm:^0.17.4" + "@trpc/server": "npm:^11.0.0" hono: "npm:^4.3.6" - rimraf: "npm:^5.0.5" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" zod: "npm:^3.20.2" peerDependencies: @@ -4547,10 +4549,12 @@ __metadata: languageName: node linkType: hard -"@trpc/server@npm:^10.10.0 || >11.0.0-rc": - version: 11.0.0-rc.433 - resolution: "@trpc/server@npm:11.0.0-rc.433" - checksum: feb96e58b049566ab4b10ab563130db360ddd80f211a0048e92f5cbbefa0bf174befe776a7fbd8dd799eece61578b3a8d7ce4eca122e1257e49b99f2bd467cd3 +"@trpc/server@npm:^11.0.0": + version: 11.0.0 + resolution: "@trpc/server@npm:11.0.0" + peerDependencies: + typescript: ">=5.7.2" + checksum: 0fa6b9fd44d0378471df827fa1f35623d2ef463fe1af7c89de9433b22c81d0db5d60695a77a5ca723e91d2b77be08a48dee77703851109151c8e9febab478125 languageName: node linkType: hard From 85e67a12c00786e8a52628568524d30b59409bad Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 15:13:54 +1100 Subject: [PATCH 41/81] build(tsyringe): lint published package (#1065) --- .github/workflows/ci-tsyringe.yml | 1 + packages/tsyringe/package.json | 16 +++++++++------- packages/tsyringe/tsconfig.json | 9 +++------ yarn.lock | 14 +++----------- 4 files changed, 16 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci-tsyringe.yml b/.github/workflows/ci-tsyringe.yml index bfb50d06..ce5baf1b 100644 --- a/.github/workflows/ci-tsyringe.yml +++ b/.github/workflows/ci-tsyringe.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/tsyringe - run: yarn workspace @hono/tsyringe build + - run: yarn workspace @hono/tsyringe publint - run: yarn test --coverage --project @hono/tsyringe - uses: codecov/codecov-action@v5 with: diff --git a/packages/tsyringe/package.json b/packages/tsyringe/package.json index a4f221e3..ac11672b 100644 --- a/packages/tsyringe/package.json +++ b/packages/tsyringe/package.json @@ -9,10 +9,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { @@ -33,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/tsyringe" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -41,10 +42,11 @@ "tsyringe": ">=4.*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.4.12", - "prettier": "^3.3.3", + "publint": "^0.3.9", "reflect-metadata": "^0.2.2", - "tsup": "^8.1.0", + "tsup": "^8.4.0", "tsyringe": "^4.8.0", "vitest": "^3.0.8" } diff --git a/packages/tsyringe/tsconfig.json b/packages/tsyringe/tsconfig.json index 3cbc5a07..d0f6fbf3 100644 --- a/packages/tsyringe/tsconfig.json +++ b/packages/tsyringe/tsconfig.json @@ -1,12 +1,9 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "experimentalDecorators": true, - "emitDecoratorMetadata": true - }, - "include": [ - "src/**/*.ts" - ], + "emitDecoratorMetadata": true, + "types": ["vitest/globals"] + } } diff --git a/yarn.lock b/yarn.lock index 1bff5d44..fa2aad02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2915,10 +2915,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/tsyringe@workspace:packages/tsyringe" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.4.12" - prettier: "npm:^3.3.3" + publint: "npm:^0.3.9" reflect-metadata: "npm:^0.2.2" - tsup: "npm:^8.1.0" + tsup: "npm:^8.4.0" tsyringe: "npm:^4.8.0" vitest: "npm:^3.0.8" peerDependencies: @@ -14018,15 +14019,6 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.3.3": - version: 3.3.3 - resolution: "prettier@npm:3.3.3" - bin: - prettier: bin/prettier.cjs - checksum: b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26 - languageName: node - linkType: hard - "pretty-format@npm:^3.8.0": version: 3.8.0 resolution: "pretty-format@npm:3.8.0" From 568f407452818668c59c959490efd8692e6ffac0 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:06:50 +1100 Subject: [PATCH 42/81] build(typebox-validator): lint published package (#1066) --- .github/workflows/ci-typebox-validator.yml | 1 + packages/typebox-validator/package.json | 36 +++++++++++++------- packages/typebox-validator/tsconfig.cjs.json | 8 ----- packages/typebox-validator/tsconfig.esm.json | 8 ----- packages/typebox-validator/tsconfig.json | 4 +-- yarn.lock | 4 ++- 6 files changed, 28 insertions(+), 33 deletions(-) delete mode 100644 packages/typebox-validator/tsconfig.cjs.json delete mode 100644 packages/typebox-validator/tsconfig.esm.json diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index f46078cb..c5e22d27 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/typebox-validator - run: yarn workspace @hono/typebox-validator build + - run: yarn workspace @hono/typebox-validator publint - run: yarn test --coverage --project @hono/typebox-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/typebox-validator/package.json b/packages/typebox-validator/package.json index 31bd6562..8f9d6ec6 100644 --- a/packages/typebox-validator/package.json +++ b/packages/typebox-validator/package.json @@ -2,22 +2,29 @@ "name": "@hono/typebox-validator", "version": "0.3.2", "description": "Validator middleware using TypeBox", - "types": "dist/esm/index.d.ts", + "type": "module", + "module": "dist/index.js", + "types": "dist/index.d.ts", "exports": { - "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js", - "types": "./dist/esm/index.d.ts" + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } }, "files": [ "dist" ], "scripts": { - "test": "vitest", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > dist/esm/package.json", - "build": "rimraf dist && yarn build:cjs && yarn build:esm", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -26,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/typebox-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -34,9 +42,11 @@ "hono": ">=3.9.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@sinclair/typebox": "^0.31.15", "hono": "^3.11.7", - "rimraf": "^5.0.5", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } -} +} \ No newline at end of file diff --git a/packages/typebox-validator/tsconfig.cjs.json b/packages/typebox-validator/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/typebox-validator/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/typebox-validator/tsconfig.esm.json b/packages/typebox-validator/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/typebox-validator/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/typebox-validator/tsconfig.json b/packages/typebox-validator/tsconfig.json index efd0b896..dcc1e9e9 100644 --- a/packages/typebox-validator/tsconfig.json +++ b/packages/typebox-validator/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index fa2aad02..1c2044d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2932,9 +2932,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/typebox-validator@workspace:packages/typebox-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@sinclair/typebox": "npm:^0.31.15" hono: "npm:^3.11.7" - rimraf: "npm:^5.0.5" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: "@sinclair/typebox": ">=0.31.15 <1" From ff2c1cd2fc332ad7d9ad52407997911ac8116cef Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:08:49 +1100 Subject: [PATCH 43/81] build(zod-openapi): lint published package (#1069) --- .github/workflows/ci-zod-openapi.yml | 1 + package.json | 2 +- packages/zod-openapi/package.json | 29 ++++++++++++----------- packages/zod-openapi/tsconfig.json | 11 ++------- packages/zod-openapi/tsconfig.vitest.json | 12 ---------- packages/zod-openapi/vitest.config.ts | 3 ++- yarn.lock | 15 ++++-------- 7 files changed, 25 insertions(+), 48 deletions(-) delete mode 100644 packages/zod-openapi/tsconfig.vitest.json diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index 8d1f8f1c..5f1c6725 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/zod-openapi - run: yarn workspace @hono/zod-openapi build + - run: yarn workspace @hono/zod-openapi publint - run: yarn test --coverage --project @hono/zod-openapi - uses: codecov/codecov-action@v5 with: diff --git a/package.json b/package.json index 4a4b0506..0d792a25 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "npm-run-all2": "^6.2.2", "prettier": "^2.7.1", "tsup": "^8.4.0", - "typescript": "^5.2.2", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "packageManager": "yarn@4.0.2" diff --git a/packages/zod-openapi/package.json b/packages/zod-openapi/package.json index 7036d0d2..90f83a22 100644 --- a/packages/zod-openapi/package.json +++ b/packages/zod-openapi/package.json @@ -2,27 +2,27 @@ "name": "@hono/zod-openapi", "version": "0.19.2", "description": "A wrapper class of Hono which supports OpenAPI.", - "main": "dist/index.js", - "module": "dist/index.mjs", + "type": "module", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest run && vitest --typecheck --run --passWithNoTests", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { "import": { - "types": "./dist/index.d.mts", - "default": "./dist/index.mjs" - }, - "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } } }, @@ -33,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/zod-openapi" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -41,10 +42,10 @@ "zod": "3.*" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20240117.0", + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.6.10", - "tsup": "^8.0.1", - "typescript": "^5.8.2", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8", "yaml": "^2.4.3", "zod": "^3.22.1" diff --git a/packages/zod-openapi/tsconfig.json b/packages/zod-openapi/tsconfig.json index 28c65532..dcc1e9e9 100644 --- a/packages/zod-openapi/tsconfig.json +++ b/packages/zod-openapi/tsconfig.json @@ -1,13 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - }, - "include": [ - "src/", - ], - "exclude": [ - "node_modules", - "dist" - ] + "types": ["vitest/globals"] + } } diff --git a/packages/zod-openapi/tsconfig.vitest.json b/packages/zod-openapi/tsconfig.vitest.json deleted file mode 100644 index f48fdba3..00000000 --- a/packages/zod-openapi/tsconfig.vitest.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": [ - "vitest/globals", - ], - }, - "include": [ - "src/", - "test/" - ], -} diff --git a/packages/zod-openapi/vitest.config.ts b/packages/zod-openapi/vitest.config.ts index e406a162..5cc451db 100644 --- a/packages/zod-openapi/vitest.config.ts +++ b/packages/zod-openapi/vitest.config.ts @@ -4,7 +4,8 @@ export default defineProject({ test: { globals: true, typecheck: { - tsconfig: './tsconfig.vitest.json', + tsconfig: './tsconfig.json', + enabled: true, }, }, }) diff --git a/yarn.lock b/yarn.lock index 1c2044d5..a0b151d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -855,13 +855,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workers-types@npm:^4.20240117.0": - version: 4.20240117.0 - resolution: "@cloudflare/workers-types@npm:4.20240117.0" - checksum: 900b796af2ae97257e1f6171b9c37d718c5f8ae064cea8f8d1c48e52ccde01492c5cfa61716fc703d05a6bd92e50a55f7d9e525d2c91919db76e42458c3e8e76 - languageName: node - linkType: hard - "@cloudflare/workers-types@npm:^4.20240222.0": version: 4.20240222.0 resolution: "@cloudflare/workers-types@npm:4.20240222.0" @@ -2977,12 +2970,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/zod-openapi@workspace:packages/zod-openapi" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@asteasolutions/zod-to-openapi": "npm:^7.1.0" - "@cloudflare/workers-types": "npm:^4.20240117.0" "@hono/zod-validator": "npm:0.4.2" hono: "npm:^4.6.10" - tsup: "npm:^8.0.1" - typescript: "npm:^5.8.2" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" yaml: "npm:^2.4.3" zod: "npm:^3.22.1" @@ -10153,7 +10146,7 @@ __metadata: npm-run-all2: "npm:^6.2.2" prettier: "npm:^2.7.1" tsup: "npm:^8.4.0" - typescript: "npm:^5.2.2" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" languageName: unknown linkType: soft From c39d47d6f056677f6605aa5412f906e4f5af41f2 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:09:49 +1100 Subject: [PATCH 44/81] build(zod-validator): lint published package (#1070) --- .github/workflows/ci-zod-validator.yml | 1 + packages/zod-validator/package.json | 18 +++++++++--------- packages/zod-validator/tsconfig.json | 9 +++------ yarn.lock | 6 +++--- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index ffea7a93..956005a8 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/zod-validator - run: yarn workspace @hono/zod-validator build + - run: yarn workspace @hono/zod-validator publint - run: yarn test --coverage --project @hono/zod-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/zod-validator/package.json b/packages/zod-validator/package.json index 7f1bf310..f1662013 100644 --- a/packages/zod-validator/package.json +++ b/packages/zod-validator/package.json @@ -16,11 +16,10 @@ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -29,7 +28,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/zod-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -37,10 +37,10 @@ "zod": "^3.19.1" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.0.10", - "publint": "^0.2.7", - "tsup": "^8.1.0", - "typescript": "^5.3.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8", "zod": "^3.22.4" } diff --git a/packages/zod-validator/tsconfig.json b/packages/zod-validator/tsconfig.json index 6c1a3990..dcc1e9e9 100644 --- a/packages/zod-validator/tsconfig.json +++ b/packages/zod-validator/tsconfig.json @@ -1,9 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "types": ["vitest/globals"] + } +} diff --git a/yarn.lock b/yarn.lock index a0b151d2..18021c69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2999,10 +2999,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/zod-validator@workspace:packages/zod-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.0.10" - publint: "npm:^0.2.7" - tsup: "npm:^8.1.0" - typescript: "npm:^5.3.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" zod: "npm:^3.22.4" peerDependencies: From 0e43d03cd44785b483d212db8e0a73cb7ceec620 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 27 Mar 2025 15:13:19 +0900 Subject: [PATCH 45/81] chore: update the lockfile (#1073) --- packages/otel/package.json | 2 +- packages/prometheus/package.json | 2 +- packages/trpc-server/package.json | 2 +- packages/typebox-validator/package.json | 2 +- yarn.lock | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/otel/package.json b/packages/otel/package.json index 88c0dbe6..024d6e3c 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -53,4 +53,4 @@ "tsup": "^8.4.0", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/packages/prometheus/package.json b/packages/prometheus/package.json index abfa031f..990dba35 100644 --- a/packages/prometheus/package.json +++ b/packages/prometheus/package.json @@ -49,4 +49,4 @@ "tsup": "^8.4.0", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/packages/trpc-server/package.json b/packages/trpc-server/package.json index 60929c30..bd95aeb3 100644 --- a/packages/trpc-server/package.json +++ b/packages/trpc-server/package.json @@ -53,4 +53,4 @@ "engines": { "node": ">=16.0.0" } -} \ No newline at end of file +} diff --git a/packages/typebox-validator/package.json b/packages/typebox-validator/package.json index 8f9d6ec6..7d931faf 100644 --- a/packages/typebox-validator/package.json +++ b/packages/typebox-validator/package.json @@ -49,4 +49,4 @@ "tsup": "^8.4.0", "vitest": "^3.0.8" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 18021c69..57050a29 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16991,7 +16991,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.2.2, typescript@npm:^5.3.3": +"typescript@npm:^5.3.3": version: 5.3.3 resolution: "typescript@npm:5.3.3" bin: @@ -17061,7 +17061,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin, typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": +"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": version: 5.3.3 resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" bin: From 780cb787d13350af9cb70cac0c22ed80f47f6f64 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:18:15 +1100 Subject: [PATCH 46/81] build(typia-validator): lint published package (#1067) --- .github/workflows/ci-typia-validator.yml | 1 + packages/typia-validator/package.json | 47 +++++++++++++--------- packages/typia-validator/tsconfig.cjs.json | 8 ---- packages/typia-validator/tsconfig.esm.json | 8 ---- packages/typia-validator/tsconfig.json | 2 - yarn.lock | 25 ++---------- 6 files changed, 31 insertions(+), 60 deletions(-) delete mode 100644 packages/typia-validator/tsconfig.cjs.json delete mode 100644 packages/typia-validator/tsconfig.esm.json diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index 5a40ecc4..9146a07b 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/typia-validator - run: yarn workspace @hono/typia-validator build + - run: yarn workspace @hono/typia-validator publint - run: yarn test --coverage --project @hono/typia-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 0aec36e4..6d68e004 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -3,33 +3,38 @@ "version": "0.1.2", "description": "Validator middleware using Typia", "type": "module", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/esm/index.d.ts", + "module": "dist/index.js", + "types": "dist/index.d.ts", "exports": { ".": { - "require": "./dist/cjs/index.js", - "import": "./dist/esm/index.js", - "types": "./dist/esm/index.d.ts", - "default": "./dist/cjs/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } }, "./http": { - "require": "./dist/cjs/http.js", - "import": "./dist/esm/http.js", - "types": "./dist/esm/http.d.ts", - "default": "./dist/cjs/http.js" + "import": { + "types": "./dist/http.d.ts", + "default": "./dist/http.js" + }, + "require": { + "types": "./dist/http.d.cts", + "default": "./dist/http.cjs" + } } }, "files": [ "dist" ], "scripts": { - "test": "vitest", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:esm": "tsc -p tsconfig.esm.json", - "build": "rimraf dist && yarn build:cjs && yarn build:esm", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts ./src/http.ts", + "prepack": "yarn build", + "publint": "attw --pack --profile node16 && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -38,7 +43,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/typia-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -46,9 +52,10 @@ "typia": "^7.0.0 || ^8.0.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^3.11.7", - "rimraf": "^5.0.5", - "typescript": "^5.4.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "typia": "^8.0.3", "vitest": "^3.0.8" } diff --git a/packages/typia-validator/tsconfig.cjs.json b/packages/typia-validator/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/typia-validator/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/typia-validator/tsconfig.esm.json b/packages/typia-validator/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/typia-validator/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/typia-validator/tsconfig.json b/packages/typia-validator/tsconfig.json index df14967d..6409810a 100644 --- a/packages/typia-validator/tsconfig.json +++ b/packages/typia-validator/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "types": ["vitest/globals"] }, - "include": ["src/**/*.ts"], "plugins": [ { "transform": "typia/lib/transform" diff --git a/yarn.lock b/yarn.lock index 57050a29..031b0c24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2941,9 +2941,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/typia-validator@workspace:packages/typia-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^3.11.7" - rimraf: "npm:^5.0.5" - typescript: "npm:^5.4.0" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" typia: "npm:^8.0.3" vitest: "npm:^3.0.8" peerDependencies: @@ -17001,16 +17002,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.4.0": - version: 5.7.2 - resolution: "typescript@npm:5.7.2" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: a873118b5201b2ef332127ef5c63fb9d9c155e6fdbe211cbd9d8e65877283797cca76546bad742eea36ed7efbe3424a30376818f79c7318512064e8625d61622 - languageName: node - linkType: hard - "typescript@npm:^5.7.3": version: 5.7.3 resolution: "typescript@npm:5.7.3" @@ -17071,16 +17062,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.4.0#optional!builtin": - version: 5.7.2 - resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=e012d7" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: c891ccf04008bc1305ba34053db951f8a4584b4a1bf2f68fd972c4a354df3dc5e62c8bfed4f6ac2d12e5b3b1c49af312c83a651048f818cd5b4949d17baacd79 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.7.3#optional!builtin": version: 5.7.3 resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=e012d7" From 6a69f92bc14a18ee26be1e63bfb555451ec59321 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:21:17 +1100 Subject: [PATCH 47/81] build(valibot-validator): lint published package (#1068) --- .github/workflows/ci-valibot-validator.yml | 1 + packages/valibot-validator/package.json | 17 +- packages/valibot-validator/tsconfig.json | 9 +- packages/valibot-validator/tsup.config.ts | 9 - yarn.lock | 525 +-------------------- 5 files changed, 24 insertions(+), 537 deletions(-) delete mode 100644 packages/valibot-validator/tsup.config.ts diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index eb026183..72ced19a 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/valibot-validator - run: yarn workspace @hono/valibot-validator build + - run: yarn workspace @hono/valibot-validator publint - run: yarn test --coverage --project @hono/valibot-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/valibot-validator/package.json b/packages/valibot-validator/package.json index 3ce0c121..4fd384ee 100644 --- a/packages/valibot-validator/package.json +++ b/packages/valibot-validator/package.json @@ -15,10 +15,10 @@ "dist" ], "scripts": { - "test": "vitest", - "build": "tsup", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -27,7 +27,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/valibot-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -35,9 +36,11 @@ "valibot": "^1.0.0 || ^1.0.0-beta.4 || ^1.0.0-rc" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.5.1", - "tsup": "^8.3.0", - "valibot": "^1.0.0-beta.5", + "publint": "^0.3.9", + "tsup": "^8.4.0", + "valibot": "^1.0.0", "vitest": "^3.0.8" } } diff --git a/packages/valibot-validator/tsconfig.json b/packages/valibot-validator/tsconfig.json index 6c1a3990..dcc1e9e9 100644 --- a/packages/valibot-validator/tsconfig.json +++ b/packages/valibot-validator/tsconfig.json @@ -1,9 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "types": ["vitest/globals"] + } +} diff --git a/packages/valibot-validator/tsup.config.ts b/packages/valibot-validator/tsup.config.ts deleted file mode 100644 index 33194da7..00000000 --- a/packages/valibot-validator/tsup.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from 'tsup' - -export default defineConfig({ - entryPoints: ['src/index.ts'], - format: ['cjs', 'esm'], - dts: true, - outDir: 'dist', - clean: true, -}) diff --git a/yarn.lock b/yarn.lock index 031b0c24..a7a8d3e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -985,13 +985,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/aix-ppc64@npm:0.23.0" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/aix-ppc64@npm:0.25.0" @@ -1034,13 +1027,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/android-arm64@npm:0.23.0" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm64@npm:0.25.0" @@ -1083,13 +1069,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/android-arm@npm:0.23.0" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm@npm:0.25.0" @@ -1132,13 +1111,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/android-x64@npm:0.23.0" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-x64@npm:0.25.0" @@ -1181,13 +1153,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/darwin-arm64@npm:0.23.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-arm64@npm:0.25.0" @@ -1230,13 +1195,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/darwin-x64@npm:0.23.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-x64@npm:0.25.0" @@ -1279,13 +1237,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/freebsd-arm64@npm:0.23.0" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-arm64@npm:0.25.0" @@ -1328,13 +1279,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/freebsd-x64@npm:0.23.0" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-x64@npm:0.25.0" @@ -1377,13 +1321,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-arm64@npm:0.23.0" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm64@npm:0.25.0" @@ -1426,13 +1363,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-arm@npm:0.23.0" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm@npm:0.25.0" @@ -1475,13 +1405,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-ia32@npm:0.23.0" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ia32@npm:0.25.0" @@ -1524,13 +1447,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-loong64@npm:0.23.0" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-loong64@npm:0.25.0" @@ -1573,13 +1489,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-mips64el@npm:0.23.0" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-mips64el@npm:0.25.0" @@ -1622,13 +1531,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-ppc64@npm:0.23.0" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ppc64@npm:0.25.0" @@ -1671,13 +1573,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-riscv64@npm:0.23.0" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-riscv64@npm:0.25.0" @@ -1720,13 +1615,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-s390x@npm:0.23.0" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-s390x@npm:0.25.0" @@ -1769,13 +1657,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/linux-x64@npm:0.23.0" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-x64@npm:0.25.0" @@ -1825,13 +1706,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/netbsd-x64@npm:0.23.0" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/netbsd-x64@npm:0.25.0" @@ -1839,13 +1713,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/openbsd-arm64@npm:0.23.0" - conditions: os=openbsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/openbsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-arm64@npm:0.25.0" @@ -1888,13 +1755,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/openbsd-x64@npm:0.23.0" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-x64@npm:0.25.0" @@ -1937,13 +1797,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/sunos-x64@npm:0.23.0" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/sunos-x64@npm:0.25.0" @@ -1986,13 +1839,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/win32-arm64@npm:0.23.0" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-arm64@npm:0.25.0" @@ -2035,13 +1881,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/win32-ia32@npm:0.23.0" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-ia32@npm:0.25.0" @@ -2084,13 +1923,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.23.0": - version: 0.23.0 - resolution: "@esbuild/win32-x64@npm:0.23.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-x64@npm:0.25.0" @@ -2957,9 +2789,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/valibot-validator@workspace:packages/valibot-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.5.1" - tsup: "npm:^8.3.0" - valibot: "npm:^1.0.0-beta.5" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" + valibot: "npm:^1.0.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.0" @@ -3981,13 +3815,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.19.1" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@rollup/rollup-android-arm-eabi@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-android-arm-eabi@npm:4.34.9" @@ -4009,13 +3836,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-android-arm64@npm:4.19.1" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-android-arm64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-android-arm64@npm:4.34.9" @@ -4037,13 +3857,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-darwin-arm64@npm:4.19.1" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-arm64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-darwin-arm64@npm:4.34.9" @@ -4065,13 +3878,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-darwin-x64@npm:4.19.1" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-x64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-darwin-x64@npm:4.34.9" @@ -4121,13 +3927,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.19.1" - conditions: os=linux & cpu=arm & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9" @@ -4149,13 +3948,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.19.1" - conditions: os=linux & cpu=arm & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-musleabihf@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.34.9" @@ -4170,13 +3962,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.19.1" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.9" @@ -4198,13 +3983,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.19.1" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-musl@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.34.9" @@ -4240,13 +4018,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.1" - conditions: os=linux & cpu=ppc64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9" @@ -4261,13 +4032,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.19.1" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9" @@ -4289,13 +4053,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.19.1" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-s390x-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.34.9" @@ -4310,13 +4067,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.19.1" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.9" @@ -4338,13 +4088,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.19.1" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-musl@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-x64-musl@npm:4.34.9" @@ -4366,13 +4109,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.19.1" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-win32-arm64-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.34.9" @@ -4394,13 +4130,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.19.1" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@rollup/rollup-win32-ia32-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.34.9" @@ -4422,13 +4151,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.19.1": - version: 4.19.1 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.19.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-win32-x64-msvc@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.34.9" @@ -4629,7 +4351,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": +"@types/estree@npm:*, @types/estree@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d @@ -6027,17 +5749,6 @@ __metadata: languageName: node linkType: hard -"bundle-require@npm:^5.0.0": - version: 5.0.0 - resolution: "bundle-require@npm:5.0.0" - dependencies: - load-tsconfig: "npm:^0.2.3" - peerDependencies: - esbuild: ">=0.18" - checksum: 92c46df02586e0ebd66ee4831c9b5775adb3c32a43fe2b2aaf7bc675135c141f751de6a9a26b146d64c607c5b40f9eef5f10dce3c364f602d4bed268444c32c6 - languageName: node - linkType: hard - "bundle-require@npm:^5.1.0": version: 5.1.0 resolution: "bundle-require@npm:5.1.0" @@ -8066,89 +7777,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.23.0": - version: 0.23.0 - resolution: "esbuild@npm:0.23.0" - dependencies: - "@esbuild/aix-ppc64": "npm:0.23.0" - "@esbuild/android-arm": "npm:0.23.0" - "@esbuild/android-arm64": "npm:0.23.0" - "@esbuild/android-x64": "npm:0.23.0" - "@esbuild/darwin-arm64": "npm:0.23.0" - "@esbuild/darwin-x64": "npm:0.23.0" - "@esbuild/freebsd-arm64": "npm:0.23.0" - "@esbuild/freebsd-x64": "npm:0.23.0" - "@esbuild/linux-arm": "npm:0.23.0" - "@esbuild/linux-arm64": "npm:0.23.0" - "@esbuild/linux-ia32": "npm:0.23.0" - "@esbuild/linux-loong64": "npm:0.23.0" - "@esbuild/linux-mips64el": "npm:0.23.0" - "@esbuild/linux-ppc64": "npm:0.23.0" - "@esbuild/linux-riscv64": "npm:0.23.0" - "@esbuild/linux-s390x": "npm:0.23.0" - "@esbuild/linux-x64": "npm:0.23.0" - "@esbuild/netbsd-x64": "npm:0.23.0" - "@esbuild/openbsd-arm64": "npm:0.23.0" - "@esbuild/openbsd-x64": "npm:0.23.0" - "@esbuild/sunos-x64": "npm:0.23.0" - "@esbuild/win32-arm64": "npm:0.23.0" - "@esbuild/win32-ia32": "npm:0.23.0" - "@esbuild/win32-x64": "npm:0.23.0" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-arm64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 08c148c067795165798c0467ce02d2d1ecedc096989bded5f0d795c61a1fcbec6c14d0a3c9f4ad6185cc29ec52087acaa335ed6d98be6ad57f7fa4264626bde0 - languageName: node - linkType: hard - "esbuild@npm:^0.25.0": version: 0.25.0 resolution: "esbuild@npm:0.25.0" @@ -8853,7 +8481,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:^5.0.0, execa@npm:^5.1.1": +"execa@npm:^5.0.0": version: 5.1.1 resolution: "execa@npm:5.1.1" dependencies: @@ -9105,18 +8733,6 @@ __metadata: languageName: node linkType: hard -"fdir@npm:^6.3.0": - version: 6.3.0 - resolution: "fdir@npm:6.3.0" - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true - checksum: be91cd6ab2edbc6df457a69b79672ee9345996986821918ef01908ce9619b8cbecd9c6c13d4ca5d0aeb548b162050d68c599f45bb3fbff194a91e16f25e646b5 - languageName: node - linkType: hard - "fdir@npm:^6.4.3": version: 6.4.3 resolution: "fdir@npm:6.4.3" @@ -13776,13 +13392,6 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.1": - version: 1.0.1 - resolution: "picocolors@npm:1.0.1" - checksum: c63cdad2bf812ef0d66c8db29583802355d4ca67b9285d846f390cc15c2f6ccb94e8cb7eb6a6e97fc5990a6d3ad4ae42d86c84d3146e667c739a4234ed50d400 - languageName: node - linkType: hard - "picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" @@ -14857,69 +14466,6 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.19.0": - version: 4.19.1 - resolution: "rollup@npm:4.19.1" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.19.1" - "@rollup/rollup-android-arm64": "npm:4.19.1" - "@rollup/rollup-darwin-arm64": "npm:4.19.1" - "@rollup/rollup-darwin-x64": "npm:4.19.1" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.19.1" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.19.1" - "@rollup/rollup-linux-arm64-gnu": "npm:4.19.1" - "@rollup/rollup-linux-arm64-musl": "npm:4.19.1" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.19.1" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.19.1" - "@rollup/rollup-linux-s390x-gnu": "npm:4.19.1" - "@rollup/rollup-linux-x64-gnu": "npm:4.19.1" - "@rollup/rollup-linux-x64-musl": "npm:4.19.1" - "@rollup/rollup-win32-arm64-msvc": "npm:4.19.1" - "@rollup/rollup-win32-ia32-msvc": "npm:4.19.1" - "@rollup/rollup-win32-x64-msvc": "npm:4.19.1" - "@types/estree": "npm:1.0.5" - fsevents: "npm:~2.3.2" - dependenciesMeta: - "@rollup/rollup-android-arm-eabi": - optional: true - "@rollup/rollup-android-arm64": - optional: true - "@rollup/rollup-darwin-arm64": - optional: true - "@rollup/rollup-darwin-x64": - optional: true - "@rollup/rollup-linux-arm-gnueabihf": - optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true - "@rollup/rollup-linux-arm64-gnu": - optional: true - "@rollup/rollup-linux-arm64-musl": - optional: true - "@rollup/rollup-linux-powerpc64le-gnu": - optional: true - "@rollup/rollup-linux-riscv64-gnu": - optional: true - "@rollup/rollup-linux-s390x-gnu": - optional: true - "@rollup/rollup-linux-x64-gnu": - optional: true - "@rollup/rollup-linux-x64-musl": - optional: true - "@rollup/rollup-win32-arm64-msvc": - optional: true - "@rollup/rollup-win32-ia32-msvc": - optional: true - "@rollup/rollup-win32-x64-msvc": - optional: true - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 2e526c38b4bcb22a058cf95e40c8c105a86f27d582c677c47df9315a17b18e75c772edc0773ca4d12d58ceca254bb5d63d4172041f6fd9f01e1a613d8bba6d09 - languageName: node - linkType: hard - "rollup@npm:^4.30.1": version: 4.34.9 resolution: "rollup@npm:4.34.9" @@ -16379,16 +15925,6 @@ __metadata: languageName: node linkType: hard -"tinyglobby@npm:^0.2.1": - version: 0.2.6 - resolution: "tinyglobby@npm:0.2.6" - dependencies: - fdir: "npm:^6.3.0" - picomatch: "npm:^4.0.2" - checksum: d7b5eb4c5b9c341f961c1d3c30624f9a1e22b27b48a79a65b48120245a77c143827f75f5854628fef1a4bd4bc3cfaf06ce76497f3a574e3f933229c5e556e5fe - languageName: node - linkType: hard - "tinyglobby@npm:^0.2.11": version: 0.2.12 resolution: "tinyglobby@npm:0.2.12" @@ -16729,47 +16265,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.3.0": - version: 8.3.0 - resolution: "tsup@npm:8.3.0" - dependencies: - bundle-require: "npm:^5.0.0" - cac: "npm:^6.7.14" - chokidar: "npm:^3.6.0" - consola: "npm:^3.2.3" - debug: "npm:^4.3.5" - esbuild: "npm:^0.23.0" - execa: "npm:^5.1.1" - joycon: "npm:^3.1.1" - picocolors: "npm:^1.0.1" - postcss-load-config: "npm:^6.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.19.0" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.35.0" - tinyglobby: "npm:^0.2.1" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 7f7132e48fca2284fd721077c6462c440dabdc95bcacf2e9837f81d2ca9771f804ff4f8b81a743e8fc6c3def856cf3ae99421c0568a7f030196abdc9e12e97e8 - languageName: node - linkType: hard - "tsup@npm:^8.4.0": version: 8.4.0 resolution: "tsup@npm:8.4.0" @@ -17499,15 +16994,15 @@ __metadata: languageName: node linkType: hard -"valibot@npm:^1.0.0-beta.5": - version: 1.0.0-beta.5 - resolution: "valibot@npm:1.0.0-beta.5" +"valibot@npm:^1.0.0": + version: 1.0.0 + resolution: "valibot@npm:1.0.0" peerDependencies: typescript: ">=5" peerDependenciesMeta: typescript: optional: true - checksum: 9c433f6a6ba5d1761a42801d76ae87e9d81ade16908d8a74643d0f7c6f9f744f289b042c80cf619757a72c57891ab7e73b8d6b5d24e9e89bb4a78f0a9936552d + checksum: fd80529ce5445e2340b0a2c3d88a61a86180b652eb6bc24da7d0da476b214d8a04f7621ee355f627a1a2dc2b29f39d179effb60e8067b7cf58e300d77dae8f51 languageName: node linkType: hard From 93b544fba058ee6b31520eb61ebffdff1ad0959c Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:21:50 +1100 Subject: [PATCH 48/81] build(swagger-ui): lint published package (#1063) --- .github/workflows/ci-swagger-ui.yml | 1 + packages/swagger-ui/package.json | 16 +++++++++------- packages/swagger-ui/tsconfig.json | 3 +-- yarn.lock | 18 +++--------------- 4 files changed, 14 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci-swagger-ui.yml b/.github/workflows/ci-swagger-ui.yml index e67a9e83..2673e3a2 100644 --- a/.github/workflows/ci-swagger-ui.yml +++ b/.github/workflows/ci-swagger-ui.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/swagger-ui - run: yarn workspace @hono/swagger-ui build + - run: yarn workspace @hono/swagger-ui publint - run: yarn test --coverage --project @hono/swagger-ui - uses: codecov/codecov-action@v5 with: diff --git a/packages/swagger-ui/package.json b/packages/swagger-ui/package.json index 874bf208..42f18925 100644 --- a/packages/swagger-ui/package.json +++ b/packages/swagger-ui/package.json @@ -22,10 +22,10 @@ "dist" ], "scripts": { - "test": "vitest run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -34,17 +34,19 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/swagger-ui" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@types/swagger-ui-dist": "^3.30.5", "hono": "^3.11.7", - "publint": "^0.2.2", - "tsup": "^7.2.0", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/swagger-ui/tsconfig.json b/packages/swagger-ui/tsconfig.json index af751bf5..dcc1e9e9 100644 --- a/packages/swagger-ui/tsconfig.json +++ b/packages/swagger-ui/tsconfig.json @@ -2,6 +2,5 @@ "extends": "../../tsconfig.json", "compilerOptions": { "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts", "src/**/*.tsx"] + } } diff --git a/yarn.lock b/yarn.lock index a7a8d3e2..a014e2db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2709,10 +2709,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/swagger-ui@workspace:packages/swagger-ui" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@types/swagger-ui-dist": "npm:^3.30.5" hono: "npm:^3.11.7" - publint: "npm:^0.2.2" - tsup: "npm:^7.2.0" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -13783,19 +13784,6 @@ __metadata: languageName: node linkType: hard -"publint@npm:^0.2.2": - version: 0.2.6 - resolution: "publint@npm:0.2.6" - dependencies: - npm-packlist: "npm:^5.1.3" - picocolors: "npm:^1.0.0" - sade: "npm:^1.8.1" - bin: - publint: lib/cli.js - checksum: 105c2bea40adc9c0cbf4cf8433528cb786cf8d0389e8c7d469ccacd8caec2b2bf5341e74de19bc42aa6b036906b3ed6f474259bf4e36b7f68adfbc38de4a9563 - languageName: node - linkType: hard - "publint@npm:^0.2.7": version: 0.2.7 resolution: "publint@npm:0.2.7" From 6f66ea35598c2b6cbc99c8c22be2e923df847aec Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 27 Mar 2025 15:25:20 +0900 Subject: [PATCH 49/81] chore: update the lockfile (#1074) --- yarn.lock | 294 +----------------------------------------------------- 1 file changed, 1 insertion(+), 293 deletions(-) diff --git a/yarn.lock b/yarn.lock index a014e2db..d80e5df2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -999,13 +999,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-arm64@npm:0.18.20" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/android-arm64@npm:0.19.9" @@ -1041,13 +1034,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-arm@npm:0.18.20" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/android-arm@npm:0.19.9" @@ -1083,13 +1069,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-x64@npm:0.18.20" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/android-x64@npm:0.19.9" @@ -1125,13 +1104,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/darwin-arm64@npm:0.18.20" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/darwin-arm64@npm:0.19.9" @@ -1167,13 +1139,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/darwin-x64@npm:0.18.20" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/darwin-x64@npm:0.19.9" @@ -1209,13 +1174,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/freebsd-arm64@npm:0.18.20" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/freebsd-arm64@npm:0.19.9" @@ -1251,13 +1209,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/freebsd-x64@npm:0.18.20" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/freebsd-x64@npm:0.19.9" @@ -1293,13 +1244,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-arm64@npm:0.18.20" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-arm64@npm:0.19.9" @@ -1335,13 +1279,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-arm@npm:0.18.20" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-arm@npm:0.19.9" @@ -1377,13 +1314,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-ia32@npm:0.18.20" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-ia32@npm:0.19.9" @@ -1419,13 +1349,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-loong64@npm:0.18.20" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-loong64@npm:0.19.9" @@ -1461,13 +1384,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-mips64el@npm:0.18.20" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-mips64el@npm:0.19.9" @@ -1503,13 +1419,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-ppc64@npm:0.18.20" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-ppc64@npm:0.19.9" @@ -1545,13 +1454,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-riscv64@npm:0.18.20" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-riscv64@npm:0.19.9" @@ -1587,13 +1489,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-s390x@npm:0.18.20" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-s390x@npm:0.19.9" @@ -1629,13 +1524,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-x64@npm:0.18.20" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/linux-x64@npm:0.19.9" @@ -1678,13 +1566,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/netbsd-x64@npm:0.18.20" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/netbsd-x64@npm:0.19.9" @@ -1727,13 +1608,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/openbsd-x64@npm:0.18.20" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/openbsd-x64@npm:0.19.9" @@ -1769,13 +1643,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/sunos-x64@npm:0.18.20" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/sunos-x64@npm:0.19.9" @@ -1811,13 +1678,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-arm64@npm:0.18.20" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/win32-arm64@npm:0.19.9" @@ -1853,13 +1713,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-ia32@npm:0.18.20" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/win32-ia32@npm:0.19.9" @@ -1895,13 +1748,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-x64@npm:0.18.20" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.19.9": version: 0.19.9 resolution: "@esbuild/win32-x64@npm:0.19.9" @@ -7464,83 +7310,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.18.2": - version: 0.18.20 - resolution: "esbuild@npm:0.18.20" - dependencies: - "@esbuild/android-arm": "npm:0.18.20" - "@esbuild/android-arm64": "npm:0.18.20" - "@esbuild/android-x64": "npm:0.18.20" - "@esbuild/darwin-arm64": "npm:0.18.20" - "@esbuild/darwin-x64": "npm:0.18.20" - "@esbuild/freebsd-arm64": "npm:0.18.20" - "@esbuild/freebsd-x64": "npm:0.18.20" - "@esbuild/linux-arm": "npm:0.18.20" - "@esbuild/linux-arm64": "npm:0.18.20" - "@esbuild/linux-ia32": "npm:0.18.20" - "@esbuild/linux-loong64": "npm:0.18.20" - "@esbuild/linux-mips64el": "npm:0.18.20" - "@esbuild/linux-ppc64": "npm:0.18.20" - "@esbuild/linux-riscv64": "npm:0.18.20" - "@esbuild/linux-s390x": "npm:0.18.20" - "@esbuild/linux-x64": "npm:0.18.20" - "@esbuild/netbsd-x64": "npm:0.18.20" - "@esbuild/openbsd-x64": "npm:0.18.20" - "@esbuild/sunos-x64": "npm:0.18.20" - "@esbuild/win32-arm64": "npm:0.18.20" - "@esbuild/win32-ia32": "npm:0.18.20" - "@esbuild/win32-x64": "npm:0.18.20" - dependenciesMeta: - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 473b1d92842f50a303cf948a11ebd5f69581cd254d599dd9d62f9989858e0533f64e83b723b5e1398a5b488c0f5fd088795b4235f65ecaf4f007d4b79f04bc88 - languageName: node - linkType: hard - "esbuild@npm:^0.19.2, esbuild@npm:^0.19.3, esbuild@npm:^0.19.9": version: 0.19.9 resolution: "esbuild@npm:0.19.9" @@ -9384,7 +9153,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": +"glob@npm:^10.2.2, glob@npm:^10.3.10": version: 10.3.10 resolution: "glob@npm:10.3.10" dependencies: @@ -14347,17 +14116,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^5.0.5": - version: 5.0.5 - resolution: "rimraf@npm:5.0.5" - dependencies: - glob: "npm:^10.3.7" - bin: - rimraf: dist/esm/bin.mjs - checksum: d50dbe724f33835decd88395b25ed35995077c60a50ae78ded06e0185418914e555817aad1b4243edbff2254548c2f6ad6f70cc850040bebb4da9e8cc016f586 - languageName: node - linkType: hard - "rollup-plugin-inject@npm:^3.0.0": version: 3.0.2 resolution: "rollup-plugin-inject@npm:3.0.2" @@ -14387,20 +14145,6 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.2.5": - version: 3.29.4 - resolution: "rollup@npm:3.29.4" - dependencies: - fsevents: "npm:~2.3.2" - dependenciesMeta: - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 65eddf84bf389ea8e4d4c1614b1c6a298d08f8ae785c0c087e723a879190c8aaddbab4aa3b8a0524551b9036750c9f8bfea27b377798accfd2ba5084ceff5aaa - languageName: node - linkType: hard - "rollup@npm:^4.0.2, rollup@npm:^4.2.0": version: 4.9.0 resolution: "rollup@npm:4.9.0" @@ -16100,42 +15844,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^7.2.0": - version: 7.2.0 - resolution: "tsup@npm:7.2.0" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.18.2" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^3.2.5" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.1.0" - peerDependenciesMeta: - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 935d975a7711ced103b35ce9fc2555a0dbd19afcd1ec4e48b0b3204e632d7f5a9863d18422e19a83cc4ee30b4677f98a1d40e82e47bece9412819f65d231d269 - languageName: node - linkType: hard - "tsup@npm:^8.0.1": version: 8.0.1 resolution: "tsup@npm:8.0.1" From d911e624a8990a32e6da11efe189ef9ea4df94ee Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:30:30 +1100 Subject: [PATCH 50/81] build(standard-validator): lint published package (#1061) Co-authored-by: Yusuke Wada --- .github/workflows/ci-standard-validator.yml | 1 + packages/standard-validator/package.json | 29 +- packages/standard-validator/tsconfig.json | 13 +- yarn.lock | 306 +------------------- 4 files changed, 24 insertions(+), 325 deletions(-) diff --git a/.github/workflows/ci-standard-validator.yml b/.github/workflows/ci-standard-validator.yml index baffa4f7..a082b561 100644 --- a/.github/workflows/ci-standard-validator.yml +++ b/.github/workflows/ci-standard-validator.yml @@ -19,6 +19,7 @@ jobs: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/standard-validator - run: yarn workspace @hono/standard-validator build + - run: yarn workspace @hono/standard-validator publint - run: yarn test --coverage --project @hono/standard-validator - uses: codecov/codecov-action@v5 with: diff --git a/packages/standard-validator/package.json b/packages/standard-validator/package.json index 3886351e..d1bdad20 100644 --- a/packages/standard-validator/package.json +++ b/packages/standard-validator/package.json @@ -8,20 +8,24 @@ "types": "dist/index.d.ts", "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "files": [ "dist" ], "scripts": { - "test": "tsc --noEmit && vitest --run", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "publint": "publint", - "prerelease": "yarn build && yarn test", - "release": "yarn publish" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "license": "MIT", "publishConfig": { @@ -30,7 +34,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/standard-validator" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { @@ -38,12 +43,12 @@ "hono": ">=3.9.0" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "@standard-schema/spec": "1.0.0", "arktype": "^2.0.0-rc.26", "hono": "^4.0.10", - "publint": "^0.2.7", - "tsup": "^8.1.0", - "typescript": "^5.7.3", + "publint": "^0.3.9", + "tsup": "^8.4.0", "valibot": "^1.0.0-beta.9", "vitest": "^3.0.8", "zod": "^3.24.0" diff --git a/packages/standard-validator/tsconfig.json b/packages/standard-validator/tsconfig.json index 95d381d7..dcc1e9e9 100644 --- a/packages/standard-validator/tsconfig.json +++ b/packages/standard-validator/tsconfig.json @@ -1,13 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./", - "types": [ - "vitest/globals" - ] - }, - "include": [ - "src/**/*.ts", - "test/**/*.ts" - ], -} \ No newline at end of file + "types": ["vitest/globals"] + } +} diff --git a/yarn.lock b/yarn.lock index d80e5df2..e6702782 100644 --- a/yarn.lock +++ b/yarn.lock @@ -978,13 +978,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/aix-ppc64@npm:0.21.5" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/aix-ppc64@npm:0.25.0" @@ -1013,13 +1006,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm64@npm:0.21.5" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm64@npm:0.25.0" @@ -1048,13 +1034,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm@npm:0.21.5" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm@npm:0.25.0" @@ -1083,13 +1062,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-x64@npm:0.21.5" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-x64@npm:0.25.0" @@ -1118,13 +1090,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-arm64@npm:0.21.5" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-arm64@npm:0.25.0" @@ -1153,13 +1118,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-x64@npm:0.21.5" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-x64@npm:0.25.0" @@ -1188,13 +1146,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-arm64@npm:0.21.5" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-arm64@npm:0.25.0" @@ -1223,13 +1174,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-x64@npm:0.21.5" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-x64@npm:0.25.0" @@ -1258,13 +1202,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm64@npm:0.21.5" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm64@npm:0.25.0" @@ -1293,13 +1230,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm@npm:0.21.5" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm@npm:0.25.0" @@ -1328,13 +1258,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ia32@npm:0.21.5" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ia32@npm:0.25.0" @@ -1363,13 +1286,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-loong64@npm:0.21.5" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-loong64@npm:0.25.0" @@ -1398,13 +1314,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-mips64el@npm:0.21.5" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-mips64el@npm:0.25.0" @@ -1433,13 +1342,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ppc64@npm:0.21.5" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ppc64@npm:0.25.0" @@ -1468,13 +1370,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-riscv64@npm:0.21.5" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-riscv64@npm:0.25.0" @@ -1503,13 +1398,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-s390x@npm:0.21.5" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-s390x@npm:0.25.0" @@ -1538,13 +1426,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-x64@npm:0.21.5" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-x64@npm:0.25.0" @@ -1580,13 +1461,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/netbsd-x64@npm:0.21.5" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/netbsd-x64@npm:0.25.0" @@ -1622,13 +1496,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/openbsd-x64@npm:0.21.5" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-x64@npm:0.25.0" @@ -1657,13 +1524,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/sunos-x64@npm:0.21.5" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/sunos-x64@npm:0.25.0" @@ -1692,13 +1552,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-arm64@npm:0.21.5" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-arm64@npm:0.25.0" @@ -1727,13 +1580,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-ia32@npm:0.21.5" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-ia32@npm:0.25.0" @@ -1762,13 +1608,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-x64@npm:0.21.5" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-x64@npm:0.25.0" @@ -2522,12 +2361,12 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/standard-validator@workspace:packages/standard-validator" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" "@standard-schema/spec": "npm:1.0.0" arktype: "npm:^2.0.0-rc.26" hono: "npm:^4.0.10" - publint: "npm:^0.2.7" - tsup: "npm:^8.1.0" - typescript: "npm:^5.7.3" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" valibot: "npm:^1.0.0-beta.9" vitest: "npm:^3.0.8" zod: "npm:^3.24.0" @@ -7467,86 +7306,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.21.4": - version: 0.21.5 - resolution: "esbuild@npm:0.21.5" - dependencies: - "@esbuild/aix-ppc64": "npm:0.21.5" - "@esbuild/android-arm": "npm:0.21.5" - "@esbuild/android-arm64": "npm:0.21.5" - "@esbuild/android-x64": "npm:0.21.5" - "@esbuild/darwin-arm64": "npm:0.21.5" - "@esbuild/darwin-x64": "npm:0.21.5" - "@esbuild/freebsd-arm64": "npm:0.21.5" - "@esbuild/freebsd-x64": "npm:0.21.5" - "@esbuild/linux-arm": "npm:0.21.5" - "@esbuild/linux-arm64": "npm:0.21.5" - "@esbuild/linux-ia32": "npm:0.21.5" - "@esbuild/linux-loong64": "npm:0.21.5" - "@esbuild/linux-mips64el": "npm:0.21.5" - "@esbuild/linux-ppc64": "npm:0.21.5" - "@esbuild/linux-riscv64": "npm:0.21.5" - "@esbuild/linux-s390x": "npm:0.21.5" - "@esbuild/linux-x64": "npm:0.21.5" - "@esbuild/netbsd-x64": "npm:0.21.5" - "@esbuild/openbsd-x64": "npm:0.21.5" - "@esbuild/sunos-x64": "npm:0.21.5" - "@esbuild/win32-arm64": "npm:0.21.5" - "@esbuild/win32-ia32": "npm:0.21.5" - "@esbuild/win32-x64": "npm:0.21.5" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de - languageName: node - linkType: hard - "esbuild@npm:^0.25.0": version: 0.25.0 resolution: "esbuild@npm:0.25.0" @@ -15922,45 +15681,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.1.0": - version: 8.1.0 - resolution: "tsup@npm:8.1.0" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.21.4" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.0.2" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 93f36680f56cb5e3645fa298e49c0736d1596de4b77d21bda304491e4f157d2ce5cf7195b30e76f2cf9de7e5709f66a251ec92c75268e6dcd9e1d523e4d3004a - languageName: node - linkType: hard - "tsup@npm:^8.4.0": version: 8.4.0 resolution: "tsup@npm:8.4.0" @@ -16193,16 +15913,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.7.3": - version: 5.7.3 - resolution: "typescript@npm:5.7.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: b7580d716cf1824736cc6e628ab4cd8b51877408ba2be0869d2866da35ef8366dd6ae9eb9d0851470a39be17cbd61df1126f9e211d8799d764ea7431d5435afa - languageName: node - linkType: hard - "typescript@npm:^5.8.2": version: 5.8.2 resolution: "typescript@npm:5.8.2" @@ -16253,16 +15963,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.7.3#optional!builtin": - version: 5.7.3 - resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=e012d7" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 3b56d6afa03d9f6172d0b9cdb10e6b1efc9abc1608efd7a3d2f38773d5d8cfb9bbc68dfb72f0a7de5e8db04fc847f4e4baeddcd5ad9c9feda072234f0d788896 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.8.2#optional!builtin": version: 5.8.2 resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin::version=5.8.2&hash=e012d7" From cee0c83bc802d4f1b0337955542d2dedc3ace869 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:33:45 +1100 Subject: [PATCH 51/81] build(react-compat): lint published package (#1060) --- .github/workflows/ci-react-compat.yml | 30 +++++++++++++++++++++++++++ packages/react-compat/package.json | 17 ++++++++------- packages/react-compat/tsconfig.json | 10 +++------ yarn.lock | 4 +++- 4 files changed, 46 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/ci-react-compat.yml diff --git a/.github/workflows/ci-react-compat.yml b/.github/workflows/ci-react-compat.yml new file mode 100644 index 00000000..4beb43e9 --- /dev/null +++ b/.github/workflows/ci-react-compat.yml @@ -0,0 +1,30 @@ +name: ci-react-compat +on: + push: + branches: [main] + paths: + - 'packages/react-compat/**' + pull_request: + branches: ['*'] + paths: + - 'packages/react-compat/**' + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18.x + - run: yarn workspaces focus hono-middleware @hono/react-compat + - run: yarn workspace @hono/react-compat build + - run: yarn workspace @hono/react-compat publint + # - run: yarn test --coverage --project @hono/react-compat + # - uses: codecov/codecov-action@v5 + # with: + # fail_ci_if_error: true + # directory: ./coverage + # flags: react-compat + # env: + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/packages/react-compat/package.json b/packages/react-compat/package.json index 5a9e793a..1dfbee7b 100644 --- a/packages/react-compat/package.json +++ b/packages/react-compat/package.json @@ -6,19 +6,20 @@ "license": "MIT", "module": "dist/index.js", "types": "dist/index.d.ts", + "files": [ + "dist" + ], "scripts": { - "build": "tsup ./src --format esm,cjs --dts", - "publint": "publint", - "release": "yarn build && yarn test && yarn publint && yarn publish" + "build": "tsup ./src", + "prepack": "yarn build", + "publint": "attw --pack && publint" }, "exports": { ".": { - "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./*": { - "types": "./dist/*.d.ts", "import": "./dist/*.js", "require": "./dist/*.cjs" } @@ -27,7 +28,9 @@ "hono": ">=4.5.*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", "hono": "^4.5.0", - "tsup": "^8.0.1" + "publint": "^0.3.9", + "tsup": "^8.4.0" } -} +} \ No newline at end of file diff --git a/packages/react-compat/tsconfig.json b/packages/react-compat/tsconfig.json index acfcd843..9f275945 100644 --- a/packages/react-compat/tsconfig.json +++ b/packages/react-compat/tsconfig.json @@ -1,10 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - }, - "include": [ - "src/**/*.ts" - ], -} \ No newline at end of file + "outDir": "./dist" + } +} diff --git a/yarn.lock b/yarn.lock index e6702782..d57285e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2305,8 +2305,10 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/react-compat@workspace:packages/react-compat" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^4.5.0" - tsup: "npm:^8.0.1" + publint: "npm:^0.3.9" + tsup: "npm:^8.4.0" peerDependencies: hono: ">=4.5.*" languageName: unknown From bf16ecc7a36a2b6b278677d7c444b5ba28efa693 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:36:00 +1100 Subject: [PATCH 52/81] build(sentry): lint published package (#1059) Co-authored-by: Yusuke Wada --- .github/workflows/ci-sentry.yml | 1 + packages/sentry/package.json | 44 ++- packages/sentry/tsconfig.json | 4 +- yarn.lock | 555 +------------------------------- 4 files changed, 33 insertions(+), 571 deletions(-) diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index f44bc9eb..dcc75a28 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/sentry - run: yarn workspace @hono/sentry build + - run: yarn workspace @hono/sentry publint - run: yarn test --coverage --project @hono/sentry - uses: codecov/codecov-action@v5 with: diff --git a/packages/sentry/package.json b/packages/sentry/package.json index e721823b..7844515a 100644 --- a/packages/sentry/package.json +++ b/packages/sentry/package.json @@ -2,29 +2,35 @@ "name": "@hono/sentry", "version": "1.2.0", "description": "Sentry Middleware for Hono", - "main": "dist/index.js", - "type": "commonjs", - "module": "dist/index.mjs", + "type": "module", + "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest", - "build": "tsup ./src/index.ts --format esm,cjs --dts", - "prerelease": "yarn build && yarn test:all" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.mts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/sentry" }, "homepage": "https://github.com/honojs/middleware", "author": "Samuel Lippert (https://github.com/sam-lippert)", @@ -39,22 +45,10 @@ "toucan-js": "^4.0.0" }, "devDependencies": { - "@cloudflare/workers-types": "^3.14.0", - "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0", - "@typescript-eslint/eslint-plugin": "^5.32.0", - "@typescript-eslint/parser": "^5.32.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^8.5.0", - "eslint-define-config": "^1.6.0", - "eslint-import-resolver-typescript": "^3.4.0", - "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import-x": "^4.1.1", - "eslint-plugin-n": "^17.10.2", + "@arethetypeswrong/cli": "^0.17.4", "hono": "^3.11.7", - "prettier": "^2.7.1", - "publint": "^0.2.7", - "tsup": "^8.0.2", - "typescript": "^4.7.4", + "publint": "^0.3.9", + "tsup": "^8.4.0", "vitest": "^3.0.8" } } diff --git a/packages/sentry/tsconfig.json b/packages/sentry/tsconfig.json index af5bfa77..103e4e38 100644 --- a/packages/sentry/tsconfig.json +++ b/packages/sentry/tsconfig.json @@ -1,9 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", "outDir": "./dist", "types": ["vitest/globals"] - }, - "include": ["src/**/*.ts"] + } } diff --git a/yarn.lock b/yarn.lock index d57285e4..d2ee3c9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1615,18 +1615,6 @@ __metadata: languageName: node linkType: hard -"@eslint-community/eslint-plugin-eslint-comments@npm:^4.4.0": - version: 4.4.0 - resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:4.4.0" - dependencies: - escape-string-regexp: "npm:^4.0.0" - ignore: "npm:^5.2.4" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 - checksum: 26ef5a2aea65ba9c7ee542f784af9cbc1627e167002fe6c908a36e7baed7d14df0af565d7d09745ce8a624c92bdcefbc5075007b61285e33e753879994c5cafc - languageName: node - linkType: hard - "@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -1652,20 +1640,6 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.4.0": - version: 4.11.1 - resolution: "@eslint-community/regexpp@npm:4.11.1" - checksum: fbcc1cb65ef5ed5b92faa8dc542e035269065e7ebcc0b39c81a4fe98ad35cfff20b3c8df048641de15a7757e07d69f85e2579c1a5055f993413ba18c055654f8 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.6.1": - version: 4.10.0 - resolution: "@eslint-community/regexpp@npm:4.10.0" - checksum: c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4 - languageName: node - linkType: hard - "@eslint/config-array@npm:^0.18.0": version: 0.18.0 resolution: "@eslint/config-array@npm:0.18.0" @@ -1697,23 +1671,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" - dependencies: - ajv: "npm:^6.12.4" - debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" - ignore: "npm:^5.2.0" - import-fresh: "npm:^3.2.1" - js-yaml: "npm:^4.1.0" - minimatch: "npm:^3.1.2" - strip-json-comments: "npm:^3.1.1" - checksum: 32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 - languageName: node - linkType: hard - "@eslint/eslintrc@npm:^3.1.0": version: 3.1.0 resolution: "@eslint/eslintrc@npm:3.1.0" @@ -1748,13 +1705,6 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 - languageName: node - linkType: hard - "@eslint/js@npm:9.10.0, @eslint/js@npm:^9.10.0": version: 9.10.0 resolution: "@eslint/js@npm:9.10.0" @@ -2336,23 +2286,11 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/sentry@workspace:packages/sentry" dependencies: - "@cloudflare/workers-types": "npm:^3.14.0" - "@eslint-community/eslint-plugin-eslint-comments": "npm:^4.4.0" - "@typescript-eslint/eslint-plugin": "npm:^5.32.0" - "@typescript-eslint/parser": "npm:^5.32.0" - eslint: "npm:^8.57.0" - eslint-config-prettier: "npm:^8.5.0" - eslint-define-config: "npm:^1.6.0" - eslint-import-resolver-typescript: "npm:^3.4.0" - eslint-plugin-flowtype: "npm:^8.0.3" - eslint-plugin-import-x: "npm:^4.1.1" - eslint-plugin-n: "npm:^17.10.2" + "@arethetypeswrong/cli": "npm:^0.17.4" hono: "npm:^3.11.7" - prettier: "npm:^2.7.1" - publint: "npm:^0.2.7" + publint: "npm:^0.3.9" toucan-js: "npm:^4.0.0" - tsup: "npm:^8.0.2" - typescript: "npm:^4.7.4" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -2551,17 +2489,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" - dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" - debug: "npm:^4.3.1" - minimatch: "npm:^3.0.5" - checksum: 66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -2569,13 +2496,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: 80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c - languageName: node - linkType: hard - "@humanwhocodes/retry@npm:^0.3.0": version: 0.3.0 resolution: "@humanwhocodes/retry@npm:0.3.0" @@ -4069,7 +3989,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.6, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.6": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -4200,13 +4120,6 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.3.12": - version: 7.5.8 - resolution: "@types/semver@npm:7.5.8" - checksum: 8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa - languageName: node - linkType: hard - "@types/semver@npm:^7.5.0": version: 7.5.6 resolution: "@types/semver@npm:7.5.6" @@ -4272,30 +4185,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.32.0": - version: 5.62.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/type-utils": "npm:5.62.0" - "@typescript-eslint/utils": "npm:5.62.0" - debug: "npm:^4.3.4" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.0" - natural-compare-lite: "npm:^1.4.0" - semver: "npm:^7.3.7" - tsutils: "npm:^3.21.0" - peerDependencies: - "@typescript-eslint/parser": ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 3f40cb6bab5a2833c3544e4621b9fdacd8ea53420cadc1c63fac3b89cdf5c62be1e6b7bcf56976dede5db4c43830de298ced3db60b5494a3b961ca1b4bff9f2a - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:^8.7.0": version: 8.7.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.7.0" @@ -4319,23 +4208,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.32.0": - version: 5.62.0 - resolution: "@typescript-eslint/parser@npm:5.62.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 315194b3bf39beb9bd16c190956c46beec64b8371e18d6bb72002108b250983eb1e186a01d34b77eb4045f4941acbb243b16155fbb46881105f65e37dc9e24d4 - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:^8.7.0": version: 8.7.0 resolution: "@typescript-eslint/parser@npm:8.7.0" @@ -4354,16 +4226,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/scope-manager@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - checksum: 861253235576c1c5c1772d23cdce1418c2da2618a479a7de4f6114a12a7ca853011a1e530525d0931c355a8fd237b9cd828fac560f85f9623e24054fd024726f - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.3.0": version: 8.3.0 resolution: "@typescript-eslint/scope-manager@npm:8.3.0" @@ -4384,23 +4246,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/type-utils@npm:5.62.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:5.62.0" - "@typescript-eslint/utils": "npm:5.62.0" - debug: "npm:^4.3.4" - tsutils: "npm:^3.21.0" - peerDependencies: - eslint: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: 93112e34026069a48f0484b98caca1c89d9707842afe14e08e7390af51cdde87378df29d213d3bbd10a7cfe6f91b228031b56218515ce077bdb62ddea9d9f474 - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.7.0": version: 8.7.0 resolution: "@typescript-eslint/type-utils@npm:8.7.0" @@ -4416,13 +4261,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/types@npm:5.62.0" - checksum: 7febd3a7f0701c0b927e094f02e82d8ee2cada2b186fcb938bc2b94ff6fbad88237afc304cbaf33e82797078bbbb1baf91475f6400912f8b64c89be79bfa4ddf - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.3.0": version: 8.3.0 resolution: "@typescript-eslint/types@npm:8.3.0" @@ -4437,24 +4275,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - semver: "npm:^7.3.7" - tsutils: "npm:^3.21.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.3.0, @typescript-eslint/typescript-estree@npm:^8.1.0": version: 8.3.0 resolution: "@typescript-eslint/typescript-estree@npm:8.3.0" @@ -4493,24 +4313,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/utils@npm:5.62.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@types/json-schema": "npm:^7.0.9" - "@types/semver": "npm:^7.3.12" - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - eslint-scope: "npm:^5.1.1" - semver: "npm:^7.3.7" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 - languageName: node - linkType: hard - "@typescript-eslint/utils@npm:8.7.0": version: 8.7.0 resolution: "@typescript-eslint/utils@npm:8.7.0" @@ -4539,16 +4341,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - eslint-visitor-keys: "npm:^3.3.0" - checksum: 7c3b8e4148e9b94d9b7162a596a1260d7a3efc4e65199693b8025c71c4652b8042501c0bc9f57654c1e2943c26da98c0f77884a746c6ae81389fcb0b513d995d - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.3.0": version: 8.3.0 resolution: "@typescript-eslint/visitor-keys@npm:8.3.0" @@ -4569,13 +4361,6 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d - languageName: node - linkType: hard - "@vitest/coverage-istanbul@npm:^3.0.8": version: 3.0.8 resolution: "@vitest/coverage-istanbul@npm:3.0.8" @@ -4735,7 +4520,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.8.0, acorn@npm:^8.9.0": +"acorn@npm:^8.0.0, acorn@npm:^8.8.0": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -7465,17 +7250,6 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^8.5.0": - version: 8.10.0 - resolution: "eslint-config-prettier@npm:8.10.0" - peerDependencies: - eslint: ">=7.0.0" - bin: - eslint-config-prettier: bin/cli.js - checksum: 19f8c497d9bdc111a17a61b25ded97217be3755bbc4714477dfe535ed539dddcaf42ef5cf8bb97908b058260cf89a3d7c565cb0be31096cbcd39f4c2fa5fe43c - languageName: node - linkType: hard - "eslint-config-prettier@npm:^9.1.0": version: 9.1.0 resolution: "eslint-config-prettier@npm:9.1.0" @@ -7487,13 +7261,6 @@ __metadata: languageName: node linkType: hard -"eslint-define-config@npm:^1.6.0": - version: 1.24.1 - resolution: "eslint-define-config@npm:1.24.1" - checksum: f02873a388d8030d5300f58efe59ef9762b7d2c4edeba4fae25a020db29791eacd48dd17f52f44be1098a18bd3e09b2475f417e22c581818017563792273e7c6 - languageName: node - linkType: hard - "eslint-define-config@npm:^2.1.0": version: 2.1.0 resolution: "eslint-define-config@npm:2.1.0" @@ -7512,7 +7279,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.4.0, eslint-import-resolver-typescript@npm:^3.6.3": +"eslint-import-resolver-typescript@npm:^3.6.3": version: 3.6.3 resolution: "eslint-import-resolver-typescript@npm:3.6.3" dependencies: @@ -7562,20 +7329,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-flowtype@npm:^8.0.3": - version: 8.0.3 - resolution: "eslint-plugin-flowtype@npm:8.0.3" - dependencies: - lodash: "npm:^4.17.21" - string-natural-compare: "npm:^3.0.1" - peerDependencies: - "@babel/plugin-syntax-flow": ^7.14.5 - "@babel/plugin-transform-react-jsx": ^7.14.9 - eslint: ^8.1.0 - checksum: a4596ba1cb80c19a06f1ddef6c36e6a671769da8d056d4a8f3482a2c46f475c547e78f82c3233099dba3759dc9a29e36d0ca07019cf6deb666db17f49d8f566d - languageName: node - linkType: hard - "eslint-plugin-import-x@npm:^4.1.1": version: 4.1.1 resolution: "eslint-plugin-import-x@npm:4.1.1" @@ -7615,26 +7368,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^5.1.1": - version: 5.1.1 - resolution: "eslint-scope@npm:5.1.1" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^4.1.1" - checksum: d30ef9dc1c1cbdece34db1539a4933fe3f9b14e1ffb27ecc85987902ee663ad7c9473bbd49a9a03195a373741e62e2f807c4938992e019b511993d163450e70a - languageName: node - linkType: hard - -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^5.2.0" - checksum: 613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 - languageName: node - linkType: hard - "eslint-scope@npm:^8.0.2": version: 8.0.2 resolution: "eslint-scope@npm:8.0.2" @@ -7655,7 +7388,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 @@ -7676,54 +7409,6 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.57.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.0" - "@humanwhocodes/config-array": "npm:^0.11.14" - "@humanwhocodes/module-importer": "npm:^1.0.1" - "@nodelib/fs.walk": "npm:^1.2.8" - "@ungap/structured-clone": "npm:^1.2.0" - ajv: "npm:^6.12.4" - chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.2" - debug: "npm:^4.3.2" - doctrine: "npm:^3.0.0" - escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.3" - espree: "npm:^9.6.1" - esquery: "npm:^1.4.2" - esutils: "npm:^2.0.2" - fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^6.0.1" - find-up: "npm:^5.0.0" - glob-parent: "npm:^6.0.2" - globals: "npm:^13.19.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.0" - imurmurhash: "npm:^0.1.4" - is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" - js-yaml: "npm:^4.1.0" - json-stable-stringify-without-jsonify: "npm:^1.0.1" - levn: "npm:^0.4.1" - lodash.merge: "npm:^4.6.2" - minimatch: "npm:^3.1.2" - natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" - text-table: "npm:^0.2.0" - bin: - eslint: bin/eslint.js - checksum: 00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 - languageName: node - linkType: hard - "eslint@npm:^9.10.0": version: 9.10.0 resolution: "eslint@npm:9.10.0" @@ -7844,17 +7529,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" - dependencies: - acorn: "npm:^8.9.0" - acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460 - languageName: node - linkType: hard - "esprima@npm:^4.0.0, esprima@npm:^4.0.1": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -7865,15 +7539,6 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": - version: 1.5.0 - resolution: "esquery@npm:1.5.0" - dependencies: - estraverse: "npm:^5.1.0" - checksum: a084bd049d954cc88ac69df30534043fb2aee5555b56246493f42f27d1e168f00d9e5d4192e46f10290d312dc30dc7d58994d61a609c579c1219d636996f9213 - languageName: node - linkType: hard - "esquery@npm:^1.5.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" @@ -7892,13 +7557,6 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^4.1.1": - version: 4.3.0 - resolution: "estraverse@npm:4.3.0" - checksum: 9cb46463ef8a8a4905d3708a652d60122a0c20bb58dec7e0e12ab0e7235123d74214fc0141d743c381813e1b992767e2708194f6f6e0f9fd00c1b4e0887b8b6d - languageName: node - linkType: hard - "estraverse@npm:^5.1.0, estraverse@npm:^5.2.0": version: 5.3.0 resolution: "estraverse@npm:5.3.0" @@ -8299,15 +7957,6 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" - dependencies: - flat-cache: "npm:^3.0.4" - checksum: 58473e8a82794d01b38e5e435f6feaf648e3f36fdb3a56e98f417f4efae71ad1c0d4ebd8a9a7c50c3ad085820a93fc7494ad721e0e4ebc1da3573f4e1c3c7cdd - languageName: node - linkType: hard - "file-entry-cache@npm:^8.0.0": version: 8.0.0 resolution: "file-entry-cache@npm:8.0.0" @@ -8497,17 +8146,6 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" - dependencies: - flatted: "npm:^3.2.9" - keyv: "npm:^4.5.3" - rimraf: "npm:^3.0.2" - checksum: b76f611bd5f5d68f7ae632e3ae503e678d205cf97a17c6ab5b12f6ca61188b5f1f7464503efae6dc18683ed8f0b41460beb48ac4b9ac63fe6201296a91ba2f75 - languageName: node - linkType: hard - "flat-cache@npm:^4.0.0": version: 4.0.1 resolution: "flat-cache@npm:4.0.1" @@ -8943,19 +8581,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.1": - version: 8.1.0 - resolution: "glob@npm:8.1.0" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^5.0.1" - once: "npm:^1.3.0" - checksum: cb0b5cab17a59c57299376abe5646c7070f8acb89df5595b492dba3bfb43d301a46c01e5695f01154e6553168207cb60d4eaf07d3be4bc3eb9b0457c5c561d0f - languageName: node - linkType: hard - "global-dirs@npm:^3.0.0": version: 3.0.1 resolution: "global-dirs@npm:3.0.1" @@ -8972,15 +8597,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: "npm:^0.20.2" - checksum: d3c11aeea898eb83d5ec7a99508600fbe8f83d2cf00cbb77f873dbf2bcb39428eff1b538e4915c993d8a3b3473fa71eeebfe22c9bb3a3003d1e26b1f2c8a42cd - languageName: node - linkType: hard - "globals@npm:^14.0.0": version: 14.0.0 resolution: "globals@npm:14.0.0" @@ -9004,7 +8620,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.0, globby@npm:^11.0.3, globby@npm:^11.1.0": +"globby@npm:^11.0.0, globby@npm:^11.0.3": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -9538,15 +9154,6 @@ __metadata: languageName: node linkType: hard -"ignore-walk@npm:^5.0.1": - version: 5.0.1 - resolution: "ignore-walk@npm:5.0.1" - dependencies: - minimatch: "npm:^5.0.1" - checksum: 0d157a54d6d11af0c3059fdc7679eef3b074e9a663d110a76c72788e2fb5b22087e08b21ab767718187ac3396aca4d0aa6c6473f925b19a74d9a00480ca7a76e - languageName: node - linkType: hard - "ignore@npm:^5.2.0, ignore@npm:^5.2.4": version: 5.3.0 resolution: "ignore@npm:5.3.0" @@ -10506,7 +10113,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3, keyv@npm:^4.5.4": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -11715,7 +11322,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -11724,7 +11331,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^5.0.1, minimatch@npm:^5.1.0": +"minimatch@npm:^5.1.0": version: 5.1.6 resolution: "minimatch@npm:5.1.6" dependencies: @@ -12055,13 +11662,6 @@ __metadata: languageName: node linkType: hard -"natural-compare-lite@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare-lite@npm:1.4.0" - checksum: f6cef26f5044515754802c0fc475d81426f3b90fe88c20fabe08771ce1f736ce46e0397c10acb569a4dd0acb84c7f1ee70676122f95d5bfdd747af3a6c6bbaa8 - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -12200,22 +11800,6 @@ __metadata: languageName: node linkType: hard -"npm-bundled@npm:^2.0.0": - version: 2.0.1 - resolution: "npm-bundled@npm:2.0.1" - dependencies: - npm-normalize-package-bin: "npm:^2.0.0" - checksum: 5b2dc1de455d38200e49c6205dee185ce919ea6b608672c693bec8907116bc5686dabcc150347630d351c1c533315fd60a1910ce00bdad6bb204cef016b90b7d - languageName: node - linkType: hard - -"npm-normalize-package-bin@npm:^2.0.0": - version: 2.0.0 - resolution: "npm-normalize-package-bin@npm:2.0.0" - checksum: 9b5283a2e423124c60fbc14244d36686b59e517d29156eacf9df8d3dc5d5bf4d9444b7669c607567ed2e089bbdbef5a2b3678cbf567284eeff3612da6939514b - languageName: node - linkType: hard - "npm-normalize-package-bin@npm:^3.0.0": version: 3.0.1 resolution: "npm-normalize-package-bin@npm:3.0.1" @@ -12223,20 +11807,6 @@ __metadata: languageName: node linkType: hard -"npm-packlist@npm:^5.1.3": - version: 5.1.3 - resolution: "npm-packlist@npm:5.1.3" - dependencies: - glob: "npm:^8.0.1" - ignore-walk: "npm:^5.0.1" - npm-bundled: "npm:^2.0.0" - npm-normalize-package-bin: "npm:^2.0.0" - bin: - npm-packlist: bin/index.js - checksum: a8bea97661b2a7132bc8832d5560da24f823ee5324429bd16eb82b7873557de14641bc3fed8a7611b0d88b9771e59e99e01a9e551a53adb164327ded6128aada - languageName: node - linkType: hard - "npm-run-all2@npm:^6.2.2": version: 6.2.2 resolution: "npm-run-all2@npm:6.2.2" @@ -13314,19 +12884,6 @@ __metadata: languageName: node linkType: hard -"publint@npm:^0.2.7": - version: 0.2.7 - resolution: "publint@npm:0.2.7" - dependencies: - npm-packlist: "npm:^5.1.3" - picocolors: "npm:^1.0.0" - sade: "npm:^1.8.1" - bin: - publint: lib/cli.js - checksum: dfa476c77c2644de6986ef94616780cc44398bbfe6f56a790aadbfa0ec9d41a136c8a0c5a0a999ceb8bcee0d5736c3e93a5f28662c515c47ad6eba03244edea0 - languageName: node - linkType: hard - "publint@npm:^0.3.9": version: 0.3.9 resolution: "publint@npm:0.3.9" @@ -13866,17 +13423,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: "npm:^7.1.3" - bin: - rimraf: bin.js - checksum: 9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 - languageName: node - linkType: hard - "rollup-plugin-inject@npm:^3.0.0": version: 3.0.2 resolution: "rollup-plugin-inject@npm:3.0.2" @@ -14965,13 +14511,6 @@ __metadata: languageName: node linkType: hard -"string-natural-compare@npm:^3.0.1": - version: 3.0.1 - resolution: "string-natural-compare@npm:3.0.1" - checksum: 85a6a9195736be500af5d817c7ea36b7e1ac278af079a807f70f79a56602359ee6743ca409af6291b94557de550ff60d1ec31b3c4fc8e7a08d0e12cdab57c149 - languageName: node - linkType: hard - "string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" @@ -15584,7 +15123,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.8.1, tslib@npm:^1.9.3": +"tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: 69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2 @@ -15644,45 +15183,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.0.2": - version: 8.0.2 - resolution: "tsup@npm:8.0.2" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.19.2" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.0.2" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: de3e8b2d9a7a504afb9394f2409ef88fd21dd338a78ebb572dd5c1719d73db816baa7ae4b7867016f08ba6a67560daec13a85768efff1d70e380972e39e27ce6 - languageName: node - linkType: hard - "tsup@npm:^8.4.0": version: 8.4.0 resolution: "tsup@npm:8.4.0" @@ -15724,17 +15224,6 @@ __metadata: languageName: node linkType: hard -"tsutils@npm:^3.21.0": - version: 3.21.0 - resolution: "tsutils@npm:3.21.0" - dependencies: - tslib: "npm:^1.8.1" - peerDependencies: - typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - checksum: 02f19e458ec78ead8fffbf711f834ad8ecd2cc6ade4ec0320790713dccc0a412b99e7fd907c4cda2a1dc602c75db6f12e0108e87a5afad4b2f9e90a24cabd5a2 - languageName: node - linkType: hard - "tsyringe@npm:^4.8.0": version: 4.8.0 resolution: "tsyringe@npm:4.8.0" @@ -15895,16 +15384,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.7.4": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 5f6cad2e728a8a063521328e612d7876e12f0d8a8390d3b3aaa452a6a65e24e9ac8ea22beb72a924fd96ea0a49ea63bb4e251fb922b12eedfb7f7a26475e5c56 - languageName: node - linkType: hard - "typescript@npm:^5.3.3": version: 5.3.3 resolution: "typescript@npm:5.3.3" @@ -15945,16 +15424,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^4.7.4#optional!builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: e3333f887c6829dfe0ab6c1dbe0dd1e3e2aeb56c66460cb85c5440c566f900c833d370ca34eb47558c0c69e78ced4bfe09b8f4f98b6de7afed9b84b8d1dd06a1 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": version: 5.3.3 resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" From 5fac2ef09c8b4e856024a6df1a9d9a09112c8d38 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Thu, 27 Mar 2025 17:49:10 +1100 Subject: [PATCH 53/81] build(react-renderer): lint published package (#1058) Co-authored-by: Yusuke Wada --- .github/workflows/ci-react-renderer.yml | 1 + package.json | 1 - packages/react-compat/package.json | 2 +- packages/react-renderer/package.json | 33 +- packages/react-renderer/tsconfig.json | 15 +- yarn.lock | 432 +----------------------- 6 files changed, 43 insertions(+), 441 deletions(-) diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index e40c2878..f00381be 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -19,6 +19,7 @@ jobs: node-version: 18.x - run: yarn workspaces focus hono-middleware @hono/react-renderer - run: yarn workspace @hono/react-renderer build + - run: yarn workspace @hono/react-renderer publint - run: yarn test --coverage --project @hono/react-renderer - uses: codecov/codecov-action@v5 with: diff --git a/package.json b/package.json index 0d792a25..b2d954e0 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.0", - "@cloudflare/vitest-pool-workers": "^0.7.8", "@cloudflare/workers-types": "^4.20230307.0", "@ryoppippi/unplugin-typia": "^1.2.0", "@types/node": "^20.14.8", diff --git a/packages/react-compat/package.json b/packages/react-compat/package.json index 1dfbee7b..1e6d0c7b 100644 --- a/packages/react-compat/package.json +++ b/packages/react-compat/package.json @@ -33,4 +33,4 @@ "publint": "^0.3.9", "tsup": "^8.4.0" } -} \ No newline at end of file +} diff --git a/packages/react-renderer/package.json b/packages/react-renderer/package.json index 26f4e35a..69798473 100644 --- a/packages/react-renderer/package.json +++ b/packages/react-renderer/package.json @@ -3,22 +3,27 @@ "version": "0.3.0", "description": "React Renderer Middleware for Hono", "type": "module", - "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { - "test": "vitest --run", - "build": "tsup ./src/index.ts --external hono,react,react-dom --format esm,cjs --dts", - "publint": "publint" + "build": "tsup ./src/index.ts", + "prepack": "yarn build", + "publint": "attw --pack && publint", + "test": "vitest" }, "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "license": "MIT", @@ -28,21 +33,25 @@ }, "repository": { "type": "git", - "url": "https://github.com/honojs/middleware.git" + "url": "git+https://github.com/honojs/middleware.git", + "directory": "packages/react-renderer" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { - "hono": "*" + "hono": "*", + "react": "*", + "react-dom": "*" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.17.4", + "@cloudflare/vitest-pool-workers": "^0.7.8", "@types/react": "^18", "@types/react-dom": "^18.2.17", - "esbuild": "^0.20.2", "hono": "^4.2.3", + "publint": "^0.3.9", "react": "^18.2.0", "react-dom": "^18.2.0", - "tsup": "^8.0.1", - "typescript": "^5.8.2", + "tsup": "^8.4.0", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/react-renderer/tsconfig.json b/packages/react-renderer/tsconfig.json index 97afc1ed..8db7eb41 100644 --- a/packages/react-renderer/tsconfig.json +++ b/packages/react-renderer/tsconfig.json @@ -1,17 +1,10 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "target": "ESNext", "module": "ESNext", - "moduleResolution": "Bundler", - "rootDir": "./", "outDir": "./dist", "jsx": "react-jsx", - "jsxImportSource": "react" - }, - "include": [ - "vitest.config.ts", - "src/**/*.ts", - "test/**/*.tsx", - ], -} \ No newline at end of file + "jsxImportSource": "react", + "types": ["vitest/globals"] + } +} diff --git a/yarn.lock b/yarn.lock index d2ee3c9f..19a699c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -971,13 +971,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/aix-ppc64@npm:0.20.2" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/aix-ppc64@npm:0.25.0" @@ -999,13 +992,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-arm64@npm:0.20.2" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm64@npm:0.25.0" @@ -1027,13 +1013,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-arm@npm:0.20.2" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-arm@npm:0.25.0" @@ -1055,13 +1034,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-x64@npm:0.20.2" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/android-x64@npm:0.25.0" @@ -1083,13 +1055,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/darwin-arm64@npm:0.20.2" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-arm64@npm:0.25.0" @@ -1111,13 +1076,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/darwin-x64@npm:0.20.2" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/darwin-x64@npm:0.25.0" @@ -1139,13 +1097,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/freebsd-arm64@npm:0.20.2" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-arm64@npm:0.25.0" @@ -1167,13 +1118,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/freebsd-x64@npm:0.20.2" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/freebsd-x64@npm:0.25.0" @@ -1195,13 +1139,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-arm64@npm:0.20.2" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm64@npm:0.25.0" @@ -1223,13 +1160,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-arm@npm:0.20.2" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-arm@npm:0.25.0" @@ -1251,13 +1181,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-ia32@npm:0.20.2" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ia32@npm:0.25.0" @@ -1279,13 +1202,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-loong64@npm:0.20.2" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-loong64@npm:0.25.0" @@ -1307,13 +1223,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-mips64el@npm:0.20.2" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-mips64el@npm:0.25.0" @@ -1335,13 +1244,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-ppc64@npm:0.20.2" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-ppc64@npm:0.25.0" @@ -1363,13 +1265,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-riscv64@npm:0.20.2" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-riscv64@npm:0.25.0" @@ -1391,13 +1286,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-s390x@npm:0.20.2" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-s390x@npm:0.25.0" @@ -1419,13 +1307,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-x64@npm:0.20.2" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/linux-x64@npm:0.25.0" @@ -1454,13 +1335,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/netbsd-x64@npm:0.20.2" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/netbsd-x64@npm:0.25.0" @@ -1489,13 +1363,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/openbsd-x64@npm:0.20.2" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/openbsd-x64@npm:0.25.0" @@ -1517,13 +1384,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/sunos-x64@npm:0.20.2" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/sunos-x64@npm:0.25.0" @@ -1545,13 +1405,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-arm64@npm:0.20.2" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-arm64@npm:0.25.0" @@ -1573,13 +1426,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-ia32@npm:0.20.2" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-ia32@npm:0.25.0" @@ -1601,13 +1447,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-x64@npm:0.20.2" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.25.0": version: 0.25.0 resolution: "@esbuild/win32-x64@npm:0.25.0" @@ -2268,17 +2107,20 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/react-renderer@workspace:packages/react-renderer" dependencies: + "@arethetypeswrong/cli": "npm:^0.17.4" + "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@types/react": "npm:^18" "@types/react-dom": "npm:^18.2.17" - esbuild: "npm:^0.20.2" hono: "npm:^4.2.3" + publint: "npm:^0.3.9" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" - tsup: "npm:^8.0.1" - typescript: "npm:^5.8.2" + tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" peerDependencies: hono: "*" + react: "*" + react-dom: "*" languageName: unknown linkType: soft @@ -5211,17 +5053,6 @@ __metadata: languageName: node linkType: hard -"bundle-require@npm:^4.0.0": - version: 4.0.2 - resolution: "bundle-require@npm:4.0.2" - dependencies: - load-tsconfig: "npm:^0.2.3" - peerDependencies: - esbuild: ">=0.17" - checksum: 984735cfcb1c61931e9325220ef8f9684c7d6905be1b45373a7ff42893910121c655f907cc96192a589da66d79a7d6fc8ddf11144628ee1593208a88bbd3929d - languageName: node - linkType: hard - "bundle-require@npm:^5.1.0": version: 5.1.0 resolution: "bundle-require@npm:5.1.0" @@ -5247,7 +5078,7 @@ __metadata: languageName: node linkType: hard -"cac@npm:^6.7.12, cac@npm:^6.7.14": +"cac@npm:^6.7.14": version: 6.7.14 resolution: "cac@npm:6.7.14" checksum: 4ee06aaa7bab8981f0d54e5f5f9d4adcd64058e9697563ce336d8a3878ed018ee18ebe5359b2430eceae87e0758e62ea2019c3f52ae6e211b1bd2e133856cd10 @@ -5471,7 +5302,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.2, chokidar@npm:^3.5.1": +"chokidar@npm:^3.4.2": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -6936,7 +6767,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.2, esbuild@npm:^0.19.3, esbuild@npm:^0.19.9": +"esbuild@npm:^0.19.3, esbuild@npm:^0.19.9": version: 0.19.9 resolution: "esbuild@npm:0.19.9" dependencies: @@ -7013,86 +6844,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.20.2": - version: 0.20.2 - resolution: "esbuild@npm:0.20.2" - dependencies: - "@esbuild/aix-ppc64": "npm:0.20.2" - "@esbuild/android-arm": "npm:0.20.2" - "@esbuild/android-arm64": "npm:0.20.2" - "@esbuild/android-x64": "npm:0.20.2" - "@esbuild/darwin-arm64": "npm:0.20.2" - "@esbuild/darwin-x64": "npm:0.20.2" - "@esbuild/freebsd-arm64": "npm:0.20.2" - "@esbuild/freebsd-x64": "npm:0.20.2" - "@esbuild/linux-arm": "npm:0.20.2" - "@esbuild/linux-arm64": "npm:0.20.2" - "@esbuild/linux-ia32": "npm:0.20.2" - "@esbuild/linux-loong64": "npm:0.20.2" - "@esbuild/linux-mips64el": "npm:0.20.2" - "@esbuild/linux-ppc64": "npm:0.20.2" - "@esbuild/linux-riscv64": "npm:0.20.2" - "@esbuild/linux-s390x": "npm:0.20.2" - "@esbuild/linux-x64": "npm:0.20.2" - "@esbuild/netbsd-x64": "npm:0.20.2" - "@esbuild/openbsd-x64": "npm:0.20.2" - "@esbuild/sunos-x64": "npm:0.20.2" - "@esbuild/win32-arm64": "npm:0.20.2" - "@esbuild/win32-ia32": "npm:0.20.2" - "@esbuild/win32-x64": "npm:0.20.2" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 66398f9fb2c65e456a3e649747b39af8a001e47963b25e86d9c09d2a48d61aa641b27da0ce5cad63df95ad246105e1d83e7fee0e1e22a0663def73b1c5101112 - languageName: node - linkType: hard - "esbuild@npm:^0.25.0": version: 0.25.0 resolution: "esbuild@npm:0.25.0" @@ -7670,23 +7421,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^5.0.0": - version: 5.1.1 - resolution: "execa@npm:5.1.1" - dependencies: - cross-spawn: "npm:^7.0.3" - get-stream: "npm:^6.0.0" - human-signals: "npm:^2.1.0" - is-stream: "npm:^2.0.0" - merge-stream: "npm:^2.0.0" - npm-run-path: "npm:^4.0.1" - onetime: "npm:^5.1.2" - signal-exit: "npm:^3.0.3" - strip-final-newline: "npm:^2.0.0" - checksum: c8e615235e8de4c5addf2fa4c3da3e3aa59ce975a3e83533b4f6a71750fb816a2e79610dc5f1799b6e28976c9ae86747a36a606655bf8cb414a74d8d507b304f - languageName: node - linkType: hard - "exegesis-express@npm:^4.0.0": version: 4.0.0 resolution: "exegesis-express@npm:4.0.0" @@ -8441,13 +8175,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^6.0.0": - version: 6.0.1 - resolution: "get-stream@npm:6.0.1" - checksum: 49825d57d3fd6964228e6200a58169464b8e8970489b3acdc24906c782fb7f01f9f56f8e6653c4a50713771d6658f7cfe051e5eb8c12e334138c9c918b296341 - languageName: node - linkType: hard - "get-symbol-description@npm:^1.0.0": version: 1.0.0 resolution: "get-symbol-description@npm:1.0.0" @@ -8522,20 +8249,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:7.1.6": - version: 7.1.6 - resolution: "glob@npm:7.1.6" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.0.4" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 2575cce9306ac534388db751f0aa3e78afedb6af8f3b529ac6b2354f66765545145dba8530abf7bff49fb399a047d3f9b6901c38ee4c9503f592960d9af67763 - languageName: node - linkType: hard - "glob@npm:^10.0.0, glob@npm:^10.4.1": version: 10.4.5 resolution: "glob@npm:10.4.5" @@ -8620,7 +8333,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.0, globby@npm:^11.0.3": +"globby@npm:^11.0.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -8899,7 +8612,6 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:^0.4.8" "@changesets/cli": "npm:^2.26.0" - "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@cloudflare/workers-types": "npm:^4.20230307.0" "@ryoppippi/unplugin-typia": "npm:^1.2.0" "@types/node": "npm:^20.14.8" @@ -9122,13 +8834,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^2.1.0": - version: 2.1.0 - resolution: "human-signals@npm:2.1.0" - checksum: 695edb3edfcfe9c8b52a76926cd31b36978782062c0ed9b1192b36bebc75c4c87c82e178dfcb0ed0fc27ca59d434198aac0bd0be18f5781ded775604db22304a - languageName: node - linkType: hard - "iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" @@ -9885,7 +9590,7 @@ __metadata: languageName: node linkType: hard -"joycon@npm:^3.0.1, joycon@npm:^3.1.1": +"joycon@npm:^3.1.1": version: 3.1.1 resolution: "joycon@npm:3.1.1" checksum: 131fb1e98c9065d067fd49b6e685487ac4ad4d254191d7aa2c9e3b90f4e9ca70430c43cad001602bdbdabcf58717d3b5c5b7461c1bd8e39478c8de706b3fe6ae @@ -10201,13 +9906,6 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^3.0.0": - version: 3.0.0 - resolution: "lilconfig@npm:3.0.0" - checksum: 7f5ee7a658dc016cacf146815e8d88b06f06f4402823b8b0934e305a57a197f55ccc9c5cd4fb5ea1b2b821c8ccaf2d54abd59602a4931af06eabda332388d3e6 - languageName: node - linkType: hard - "lilconfig@npm:^3.1.1": version: 3.1.2 resolution: "lilconfig@npm:3.1.2" @@ -10847,13 +10545,6 @@ __metadata: languageName: node linkType: hard -"merge-stream@npm:^2.0.0": - version: 2.0.0 - resolution: "merge-stream@npm:2.0.0" - checksum: 867fdbb30a6d58b011449b8885601ec1690c3e41c759ecd5a9d609094f7aed0096c37823ff4a7190ef0b8f22cc86beb7049196ff68c016e3b3c671d0dac91ce5 - languageName: node - linkType: hard - "merge2@npm:^1.3.0, merge2@npm:^1.4.1": version: 1.4.1 resolution: "merge2@npm:1.4.1" @@ -11827,15 +11518,6 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^4.0.1": - version: 4.0.1 - resolution: "npm-run-path@npm:4.0.1" - dependencies: - path-key: "npm:^3.0.0" - checksum: 6f9353a95288f8455cf64cbeb707b28826a7f29690244c1e4bb61ec573256e021b6ad6651b394eb1ccfd00d6ec50147253aba2c5fe58a57ceb111fad62c519ac - languageName: node - linkType: hard - "nth-check@npm:^2.0.1": version: 2.1.1 resolution: "nth-check@npm:2.1.1" @@ -11963,7 +11645,7 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^5.1.0, onetime@npm:^5.1.2": +"onetime@npm:^5.1.0": version: 5.1.2 resolution: "onetime@npm:5.1.2" dependencies: @@ -12295,7 +11977,7 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^3.0.0, path-key@npm:^3.1.0": +"path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" checksum: 748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c @@ -12577,24 +12259,6 @@ __metadata: languageName: node linkType: hard -"postcss-load-config@npm:^4.0.1": - version: 4.0.2 - resolution: "postcss-load-config@npm:4.0.2" - dependencies: - lilconfig: "npm:^3.0.0" - yaml: "npm:^2.3.4" - peerDependencies: - postcss: ">=8.0.9" - ts-node: ">=9.0.0" - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - checksum: 3d7939acb3570b0e4b4740e483d6e555a3e2de815219cb8a3c8fc03f575a6bde667443aa93369c0be390af845cb84471bf623e24af833260de3a105b78d42519 - languageName: node - linkType: hard - "postcss-load-config@npm:^6.0.1": version: 6.0.1 resolution: "postcss-load-config@npm:6.0.1" @@ -13452,7 +13116,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.0.2, rollup@npm:^4.2.0": +"rollup@npm:^4.2.0": version: 4.9.0 resolution: "rollup@npm:4.9.0" dependencies: @@ -14138,7 +13802,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3": +"signal-exit@npm:^3.0.2": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: 25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 @@ -14619,13 +14283,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^2.0.0": - version: 2.0.0 - resolution: "strip-final-newline@npm:2.0.0" - checksum: bddf8ccd47acd85c0e09ad7375409d81653f645fda13227a9d459642277c253d877b68f2e5e4d819fe75733b0e626bac7e954c04f3236f6d196f79c94fa4a96f - languageName: node - linkType: hard - "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -14665,24 +14322,6 @@ __metadata: languageName: node linkType: hard -"sucrase@npm:^3.20.3": - version: 3.34.0 - resolution: "sucrase@npm:3.34.0" - dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.2" - commander: "npm:^4.0.0" - glob: "npm:7.1.6" - lines-and-columns: "npm:^1.1.6" - mz: "npm:^2.7.0" - pirates: "npm:^4.0.1" - ts-interface-checker: "npm:^0.1.9" - bin: - sucrase: bin/sucrase - sucrase-node: bin/sucrase-node - checksum: 83e524f2b9386c7029fc9e46b8d608485866d08bea5a0a71e9e3442dc12e1d05a5ab555808d1922f45dd012fc71043479d778aac07391d9740daabe45730a056 - languageName: node - linkType: hard - "sucrase@npm:^3.35.0": version: 3.35.0 resolution: "sucrase@npm:3.35.0" @@ -15144,45 +14783,6 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.0.1": - version: 8.0.1 - resolution: "tsup@npm:8.0.1" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.19.2" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^4.0.2" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" - tree-kill: "npm:^1.2.2" - peerDependencies: - "@microsoft/api-extractor": ^7.36.0 - "@swc/core": ^1 - postcss: ^8.4.12 - typescript: ">=4.5.0" - peerDependenciesMeta: - "@microsoft/api-extractor": - optional: true - "@swc/core": - optional: true - postcss: - optional: true - typescript: - optional: true - bin: - tsup: dist/cli-default.js - tsup-node: dist/cli-node.js - checksum: 2869187881fd30ce883d2069a1948b80946fc09a1bedb2ceb5ec20ea29602a897177dc3d19617c489b0811b86a902f5c52f51cc0b2d7e1892cb5328c3a197bfe - languageName: node - linkType: hard - "tsup@npm:^8.4.0": version: 8.4.0 resolution: "tsup@npm:8.4.0" @@ -16567,7 +16167,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.2.1, yaml@npm:^2.2.2, yaml@npm:^2.3.4": +"yaml@npm:^2.2.1, yaml@npm:^2.2.2": version: 2.3.4 resolution: "yaml@npm:2.3.4" checksum: cf03b68f8fef5e8516b0f0b54edaf2459f1648317fc6210391cf606d247e678b449382f4bd01f77392538429e306c7cba8ff46ff6b37cac4de9a76aff33bd9e1 From 4f9bb1dd8eeb16212936820e859e67e3c1316960 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Fri, 28 Mar 2025 20:50:19 +1100 Subject: [PATCH 54/81] test: move tests to src directory (#1075) * test(react-renderer): move tests to src directory * test: move tests to src directory * test: ensure vitest-pool-workers is installed at the root --- package.json | 1 + .../ajv-validator/{test => src}/index.test.ts | 4 +- packages/auth-js/{test => src}/index.test.ts | 4 +- packages/casbin/{test => src}/index.test.ts | 4 +- .../{test => src}/index.test.ts | 2 +- packages/cloudflare-access/src/index.test.ts | 2 +- .../{test => src}/common.test.ts | 2 +- .../{test => src}/hook.test.ts | 2 +- .../{test => src}/valibot.test.ts | 2 +- .../{test => src}/yup.test.ts | 2 +- .../{test => src}/zod.test.ts | 2 +- .../{test => src}/index.test.ts | 2 +- .../{test => src/transpilers}/node.test.ts | 2 +- .../firebase-auth/{test => src}/index.test.ts | 4 +- packages/hello/src/index.test.ts | 2 +- packages/medley-router/src/index.test.ts | 2 +- .../{test/handlers.ts => mocks.ts} | 41 ++++++---- .../{test => src}/index.test.ts | 74 +++++++++---------- packages/oidc-auth/src/index.test.ts | 25 ++++--- packages/otel/src/index.test.ts | 2 +- .../{test => src}/react-renderer.test.tsx | 2 +- .../{test => src}/__schemas__/arktype.ts | 0 .../{test => src}/__schemas__/valibot.ts | 0 .../{test => src}/__schemas__/zod.ts | 0 .../{test => src}/index.test.ts | 2 +- .../{test => src}/index.test.ts | 2 +- .../swagger-ui/{test => src}/index.test.ts | 2 +- .../{test => src}/option-renderer.test.ts | 30 +++----- .../{test => src}/remote-assets.test.ts | 2 +- packages/trpc-server/src/context.test.ts | 2 +- packages/trpc-server/src/index.test.ts | 2 +- packages/tsyringe/src/index.test.ts | 2 +- .../{test => src}/createRoute.test.ts | 2 +- .../{test => src}/handler.test-d.ts | 4 +- .../zod-openapi/{test => src}/index.test-d.ts | 4 +- .../zod-openapi/{test => src}/index.test.ts | 9 +-- .../zod-validator/{test => src}/index.test.ts | 2 +- yarn.lock | 1 + 38 files changed, 129 insertions(+), 120 deletions(-) rename packages/ajv-validator/{test => src}/index.test.ts (98%) rename packages/auth-js/{test => src}/index.test.ts (99%) rename packages/casbin/{test => src}/index.test.ts (99%) rename packages/class-validator/{test => src}/index.test.ts (99%) rename packages/conform-validator/{test => src}/common.test.ts (96%) rename packages/conform-validator/{test => src}/hook.test.ts (98%) rename packages/conform-validator/{test => src}/valibot.test.ts (98%) rename packages/conform-validator/{test => src}/yup.test.ts (98%) rename packages/conform-validator/{test => src}/zod.test.ts (98%) rename packages/effect-validator/{test => src}/index.test.ts (98%) rename packages/esbuild-transpiler/{test => src/transpilers}/node.test.ts (97%) rename packages/firebase-auth/{test => src}/index.test.ts (99%) rename packages/oauth-providers/{test/handlers.ts => mocks.ts} (95%) rename packages/oauth-providers/{test => src}/index.test.ts (95%) rename packages/react-renderer/{test => src}/react-renderer.test.tsx (98%) rename packages/standard-validator/{test => src}/__schemas__/arktype.ts (100%) rename packages/standard-validator/{test => src}/__schemas__/valibot.ts (100%) rename packages/standard-validator/{test => src}/__schemas__/zod.ts (100%) rename packages/standard-validator/{test => src}/index.test.ts (99%) rename packages/swagger-editor/{test => src}/index.test.ts (95%) rename packages/swagger-ui/{test => src}/index.test.ts (99%) rename packages/swagger-ui/{test => src}/option-renderer.test.ts (92%) rename packages/swagger-ui/{test => src}/remote-assets.test.ts (93%) rename packages/zod-openapi/{test => src}/createRoute.test.ts (96%) rename packages/zod-openapi/{test => src}/handler.test-d.ts (98%) rename packages/zod-openapi/{test => src}/index.test-d.ts (98%) rename packages/zod-openapi/{test => src}/index.test.ts (99%) rename packages/zod-validator/{test => src}/index.test.ts (99%) diff --git a/package.json b/package.json index b2d954e0..0d792a25 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.0", + "@cloudflare/vitest-pool-workers": "^0.7.8", "@cloudflare/workers-types": "^4.20230307.0", "@ryoppippi/unplugin-typia": "^1.2.0", "@types/node": "^20.14.8", diff --git a/packages/ajv-validator/test/index.test.ts b/packages/ajv-validator/src/index.test.ts similarity index 98% rename from packages/ajv-validator/test/index.test.ts rename to packages/ajv-validator/src/index.test.ts index 9ca834b9..81af94a1 100644 --- a/packages/ajv-validator/test/index.test.ts +++ b/packages/ajv-validator/src/index.test.ts @@ -1,7 +1,7 @@ import type { JSONSchemaType, type ErrorObject } from 'ajv' import { Hono } from 'hono' import type { Equal, Expect } from 'hono/utils/types' -import { ajvValidator } from '../src' +import { ajvValidator } from '.' type ExtractSchema = T extends Hono ? S : never @@ -193,7 +193,7 @@ describe('With Hook', () => { { keyword: 'required', instancePath: '', - message: 'must have required property \'title\'', + message: "must have required property 'title'", }, ]) }) diff --git a/packages/auth-js/test/index.test.ts b/packages/auth-js/src/index.test.ts similarity index 99% rename from packages/auth-js/test/index.test.ts rename to packages/auth-js/src/index.test.ts index a343d2d3..cfd82224 100644 --- a/packages/auth-js/test/index.test.ts +++ b/packages/auth-js/src/index.test.ts @@ -3,8 +3,8 @@ import type { Adapter } from '@auth/core/adapters' import Credentials from '@auth/core/providers/credentials' import { Hono } from 'hono' import { describe, expect, it, vi } from 'vitest' -import type { AuthConfig } from '../src' -import { authHandler, verifyAuth, initAuthConfig, reqWithEnvUrl } from '../src' +import type { AuthConfig } from '.' +import { authHandler, verifyAuth, initAuthConfig, reqWithEnvUrl } from '.' describe('Config', () => { it('Should return 500 if AUTH_SECRET is missing', async () => { diff --git a/packages/casbin/test/index.test.ts b/packages/casbin/src/index.test.ts similarity index 99% rename from packages/casbin/test/index.test.ts rename to packages/casbin/src/index.test.ts index b3841192..22bf1683 100644 --- a/packages/casbin/test/index.test.ts +++ b/packages/casbin/src/index.test.ts @@ -3,8 +3,8 @@ import { Hono } from 'hono' import { basicAuth } from 'hono/basic-auth' import { jwt, sign } from 'hono/jwt' import { describe, it, expect } from 'vitest' -import { casbin } from '../src' -import { basicAuthorizer, jwtAuthorizer } from '../src/helper' +import { basicAuthorizer, jwtAuthorizer } from './helper' +import { casbin } from '.' describe('Casbin Middleware Tests', () => { describe('BasicAuthorizer', () => { diff --git a/packages/class-validator/test/index.test.ts b/packages/class-validator/src/index.test.ts similarity index 99% rename from packages/class-validator/test/index.test.ts rename to packages/class-validator/src/index.test.ts index 4fce5b1c..9025fc3c 100644 --- a/packages/class-validator/test/index.test.ts +++ b/packages/class-validator/src/index.test.ts @@ -4,7 +4,7 @@ import { IsInt, IsString, ValidateNested } from 'class-validator' import { Hono } from 'hono' import type { ExtractSchema } from 'hono/types' import type { Equal, Expect } from 'hono/utils/types' -import { classValidator } from '../src' +import { classValidator } from '.' describe('Basic', () => { const app = new Hono() diff --git a/packages/cloudflare-access/src/index.test.ts b/packages/cloudflare-access/src/index.test.ts index 80264d3c..c51e65d4 100644 --- a/packages/cloudflare-access/src/index.test.ts +++ b/packages/cloudflare-access/src/index.test.ts @@ -3,7 +3,7 @@ import { describe, expect, it, vi } from 'vitest' import crypto from 'crypto' import { promisify } from 'util' -import { cloudflareAccess } from '../src' +import { cloudflareAccess } from '.' const generateKeyPair = promisify(crypto.generateKeyPair) diff --git a/packages/conform-validator/test/common.test.ts b/packages/conform-validator/src/common.test.ts similarity index 96% rename from packages/conform-validator/test/common.test.ts rename to packages/conform-validator/src/common.test.ts index a41b184d..149c19b6 100644 --- a/packages/conform-validator/test/common.test.ts +++ b/packages/conform-validator/src/common.test.ts @@ -1,7 +1,7 @@ import { parseWithZod } from '@conform-to/zod' import { Hono } from 'hono' import { z } from 'zod' -import { conformValidator } from '../src' +import { conformValidator } from '.' describe('Validate common processing', () => { const app = new Hono() diff --git a/packages/conform-validator/test/hook.test.ts b/packages/conform-validator/src/hook.test.ts similarity index 98% rename from packages/conform-validator/test/hook.test.ts rename to packages/conform-validator/src/hook.test.ts index 4dfcc915..459f96d2 100644 --- a/packages/conform-validator/test/hook.test.ts +++ b/packages/conform-validator/src/hook.test.ts @@ -3,7 +3,7 @@ import { Hono } from 'hono' import { hc } from 'hono/client' import { vi } from 'vitest' import * as z from 'zod' -import { conformValidator } from '../src' +import { conformValidator } from '.' describe('Validate the hook option processing', () => { const app = new Hono() diff --git a/packages/conform-validator/test/valibot.test.ts b/packages/conform-validator/src/valibot.test.ts similarity index 98% rename from packages/conform-validator/test/valibot.test.ts rename to packages/conform-validator/src/valibot.test.ts index 324cb15e..faed1f74 100644 --- a/packages/conform-validator/test/valibot.test.ts +++ b/packages/conform-validator/src/valibot.test.ts @@ -5,7 +5,7 @@ import type { ExtractSchema, ParsedFormValue } from 'hono/types' import type { StatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as v from 'valibot' -import { conformValidator } from '../src' +import { conformValidator } from '.' describe('Validate requests using a Valibot schema', () => { const app = new Hono() diff --git a/packages/conform-validator/test/yup.test.ts b/packages/conform-validator/src/yup.test.ts similarity index 98% rename from packages/conform-validator/test/yup.test.ts rename to packages/conform-validator/src/yup.test.ts index e83f9c8a..e17243b3 100644 --- a/packages/conform-validator/test/yup.test.ts +++ b/packages/conform-validator/src/yup.test.ts @@ -5,7 +5,7 @@ import type { ExtractSchema, ParsedFormValue } from 'hono/types' import type { StatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as y from 'yup' -import { conformValidator } from '../src' +import { conformValidator } from '.' describe('Validate requests using a Yup schema', () => { const app = new Hono() diff --git a/packages/conform-validator/test/zod.test.ts b/packages/conform-validator/src/zod.test.ts similarity index 98% rename from packages/conform-validator/test/zod.test.ts rename to packages/conform-validator/src/zod.test.ts index f46d536d..d8a0ee5b 100644 --- a/packages/conform-validator/test/zod.test.ts +++ b/packages/conform-validator/src/zod.test.ts @@ -5,7 +5,7 @@ import type { ExtractSchema, ParsedFormValue } from 'hono/types' import type { StatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as z from 'zod' -import { conformValidator } from '../src' +import { conformValidator } from '.' describe('Validate requests using a Zod schema', () => { const app = new Hono() diff --git a/packages/effect-validator/test/index.test.ts b/packages/effect-validator/src/index.test.ts similarity index 98% rename from packages/effect-validator/test/index.test.ts rename to packages/effect-validator/src/index.test.ts index fd762264..d2e3bedd 100644 --- a/packages/effect-validator/test/index.test.ts +++ b/packages/effect-validator/src/index.test.ts @@ -2,7 +2,7 @@ import { Schema as S } from 'effect' import { Hono } from 'hono' import type { StatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' -import { effectValidator } from '../src' +import { effectValidator } from '.' // eslint-disable-next-line @typescript-eslint/no-unused-vars type ExtractSchema = T extends Hono ? S : never diff --git a/packages/esbuild-transpiler/test/node.test.ts b/packages/esbuild-transpiler/src/transpilers/node.test.ts similarity index 97% rename from packages/esbuild-transpiler/test/node.test.ts rename to packages/esbuild-transpiler/src/transpilers/node.test.ts index df883cbe..90356f6f 100644 --- a/packages/esbuild-transpiler/test/node.test.ts +++ b/packages/esbuild-transpiler/src/transpilers/node.test.ts @@ -1,6 +1,6 @@ import { Hono } from 'hono' import { describe, it, expect } from 'vitest' -import { esbuildTranspiler } from '../src/transpilers/node' +import { esbuildTranspiler } from './node' const TS = 'function add(a: number, b: number) { return a + b; }' const BAD = 'function { !!! !@#$ add(a: INT) return a + b + c; }' diff --git a/packages/firebase-auth/test/index.test.ts b/packages/firebase-auth/src/index.test.ts similarity index 99% rename from packages/firebase-auth/test/index.test.ts rename to packages/firebase-auth/src/index.test.ts index 79267de7..d2e7a94c 100644 --- a/packages/firebase-auth/test/index.test.ts +++ b/packages/firebase-auth/src/index.test.ts @@ -6,8 +6,8 @@ import { setCookie } from 'hono/cookie' import { HTTPException } from 'hono/http-exception' import { Miniflare } from 'miniflare' import { describe, it, expect, beforeAll, vi } from 'vitest' -import type { VerifyFirebaseAuthEnv } from '../src' -import { verifyFirebaseAuth, getFirebaseToken, verifySessionCookieFirebaseAuth } from '../src' +import type { VerifyFirebaseAuthEnv } from '.' +import { verifyFirebaseAuth, getFirebaseToken, verifySessionCookieFirebaseAuth } from '.' describe('verifyFirebaseAuth middleware', () => { const emulatorHost = '127.0.0.1:9099' diff --git a/packages/hello/src/index.test.ts b/packages/hello/src/index.test.ts index f831779e..f4dd1ae4 100644 --- a/packages/hello/src/index.test.ts +++ b/packages/hello/src/index.test.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { hello } from '../src' +import { hello } from '.' describe('Hello middleware', () => { const app = new Hono() diff --git a/packages/medley-router/src/index.test.ts b/packages/medley-router/src/index.test.ts index 98486c49..0c2d0abe 100644 --- a/packages/medley-router/src/index.test.ts +++ b/packages/medley-router/src/index.test.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { MedleyRouter } from '../src' +import { MedleyRouter } from '.' describe('Basic', () => { const app = new Hono({ router: new MedleyRouter() }) diff --git a/packages/oauth-providers/test/handlers.ts b/packages/oauth-providers/mocks.ts similarity index 95% rename from packages/oauth-providers/test/handlers.ts rename to packages/oauth-providers/mocks.ts index bcde2b98..34873182 100644 --- a/packages/oauth-providers/test/handlers.ts +++ b/packages/oauth-providers/mocks.ts @@ -1,17 +1,21 @@ import type { DefaultBodyType, StrictResponse } from 'msw' import { HttpResponse, http } from 'msw' -import type { DiscordErrorResponse, DiscordTokenResponse } from '../src/providers/discord' +import type { DiscordErrorResponse, DiscordTokenResponse } from './src/providers/discord' import type { FacebookErrorResponse, FacebookTokenResponse, FacebookUser, -} from '../src/providers/facebook' -import type { GitHubErrorResponse, GitHubTokenResponse } from '../src/providers/github' -import type { GoogleErrorResponse, GoogleTokenResponse, GoogleUser } from '../src/providers/google' -import type { LinkedInErrorResponse, LinkedInTokenResponse } from '../src/providers/linkedin' -import type { TwitchErrorResponse, TwitchTokenResponse, TwitchTokenSuccess } from '../src/providers/twitch' -import type { XErrorResponse, XRevokeResponse, XTokenResponse } from '../src/providers/x' +} from './src/providers/facebook' +import type { GitHubErrorResponse, GitHubTokenResponse } from './src/providers/github' +import type { GoogleErrorResponse, GoogleTokenResponse, GoogleUser } from './src/providers/google' +import type { LinkedInErrorResponse, LinkedInTokenResponse } from './src/providers/linkedin' +import type { + TwitchErrorResponse, + TwitchTokenResponse, + TwitchTokenSuccess, +} from './src/providers/twitch' +import type { XErrorResponse, XRevokeResponse, XTokenResponse } from './src/providers/x' export const handlers = [ // Google @@ -150,7 +154,9 @@ export const handlers = [ // Twitch http.post( 'https://id.twitch.tv/oauth2/token', - async ({ request }): Promise | TwitchErrorResponse>> => { + async ({ + request, + }): Promise | TwitchErrorResponse>> => { const params = new URLSearchParams(await request.text()) const code = params.get('code') const grant_type = params.get('grant_type') @@ -174,7 +180,9 @@ export const handlers = [ const params = new URLSearchParams(await request.text()) const token = params.get('token') if (token === 'wrong-token') { - return HttpResponse.json<{ status: number; message?: string }>(twitchRevokeTokenError, { status: 400 }) + return HttpResponse.json<{ status: number; message?: string }>(twitchRevokeTokenError, { + status: 400, + }) } return HttpResponse.json(null, { status: 200 }) // Return 200 with empty body } @@ -182,17 +190,19 @@ export const handlers = [ // Twitch validate token handler http.get( 'https://id.twitch.tv/oauth2/validate', - async ({ request }): Promise> => { + async ({ + request, + }): Promise> => { const authHeader = request.headers.get('authorization') if (!authHeader || !authHeader.startsWith('Bearer ')) { return HttpResponse.json(twitchValidateError, { status: 401 }) } - + const token = authHeader.split(' ')[1] if (token === 'twitchr4nd0m4cc3sst0k3n') { return HttpResponse.json(twitchValidateSuccess) } - + return HttpResponse.json(twitchValidateError, { status: 401 }) } ), @@ -509,7 +519,8 @@ export const twitchUser = { type: '', broadcaster_type: 'partner', description: 'Supporting third-party developers building Twitch integrations', - profile_image_url: 'https://static-cdn.jtvnw.net/jtv_user_pictures/example-profile-picture.png', + profile_image_url: + 'https://static-cdn.jtvnw.net/jtv_user_pictures/example-profile-picture.png', offline_image_url: 'https://static-cdn.jtvnw.net/jtv_user_pictures/example-offline-image.png', view_count: 5980557, email: 'example@twitch.tv', @@ -540,10 +551,10 @@ export const twitchValidateSuccess = { login: 'younis', scopes: ['user:read:email', 'channel:read:subscriptions', 'bits:read'], user_id: '12345678', - expires_in: 14400 + expires_in: 14400, } export const twitchValidateError = { status: 401, - message: 'invalid access token' + message: 'invalid access token', } diff --git a/packages/oauth-providers/test/index.test.ts b/packages/oauth-providers/src/index.test.ts similarity index 95% rename from packages/oauth-providers/test/index.test.ts rename to packages/oauth-providers/src/index.test.ts index 88da9391..b63c7ce5 100644 --- a/packages/oauth-providers/test/index.test.ts +++ b/packages/oauth-providers/src/index.test.ts @@ -1,29 +1,5 @@ import { Hono } from 'hono' import { setupServer } from 'msw/node' -import type { DiscordUser } from '../src/providers/discord' -import { - discordAuth, - refreshToken as discordRefresh, - revokeToken as discordRevoke, -} from '../src/providers/discord' -import { facebookAuth } from '../src/providers/facebook' -import type { FacebookUser } from '../src/providers/facebook' -import { githubAuth } from '../src/providers/github' -import type { GitHubUser } from '../src/providers/github' -import { googleAuth } from '../src/providers/google' -import type { GoogleUser } from '../src/providers/google' -import { linkedinAuth } from '../src/providers/linkedin' -import type { LinkedInUser } from '../src/providers/linkedin' -import type { TwitchUser } from '../src/providers/twitch' -import { - twitchAuth, - refreshToken as twitchRefresh, - revokeToken as twitchRevoke, - validateToken as twitchValidate -} from '../src/providers/twitch' -import type { XUser } from '../src/providers/x' -import { refreshToken, revokeToken, xAuth } from '../src/providers/x' -import type { Token } from '../src/types' import { discordCodeError, discordRefreshToken, @@ -57,7 +33,31 @@ import { twitchUser, twitchValidateSuccess, twitchValidateError, -} from './handlers' +} from '../mocks' +import type { DiscordUser } from './providers/discord' +import { + discordAuth, + refreshToken as discordRefresh, + revokeToken as discordRevoke, +} from './providers/discord' +import { facebookAuth } from './providers/facebook' +import type { FacebookUser } from './providers/facebook' +import { githubAuth } from './providers/github' +import type { GitHubUser } from './providers/github' +import { googleAuth } from './providers/google' +import type { GoogleUser } from './providers/google' +import { linkedinAuth } from './providers/linkedin' +import type { LinkedInUser } from './providers/linkedin' +import type { TwitchUser } from './providers/twitch' +import { + twitchAuth, + refreshToken as twitchRefresh, + revokeToken as twitchRevoke, + validateToken as twitchValidate, +} from './providers/twitch' +import type { XUser } from './providers/x' +import { refreshToken, revokeToken, xAuth } from './providers/x' +import type { Token } from './types' const server = setupServer(...handlers) server.listen() @@ -405,11 +405,7 @@ describe('OAuth Middleware', () => { }) }) app.get('/twitch/refresh', async (c) => { - const response = await twitchRefresh( - client_id, - client_secret, - 'twitchr4nd0mr3fr3sht0k3n' - ) + const response = await twitchRefresh(client_id, client_secret, 'twitchr4nd0mr3fr3sht0k3n') return c.json(response) }) app.get('/twitch/refresh/error', async (c) => { @@ -858,14 +854,14 @@ describe('OAuth Middleware', () => { }) describe('twitchAuth middleware', () => { - it('Should work with custom state', async () => { - const res = await app.request('/twitch-custom-state') - expect(res).not.toBeNull() - expect(res.status).toBe(302) - const redirectLocation = res.headers.get('location')! - const redirectUrl = new URL(redirectLocation) - expect(redirectUrl.searchParams.get('state')).toBe('test-state') - }) + it('Should work with custom state', async () => { + const res = await app.request('/twitch-custom-state') + expect(res).not.toBeNull() + expect(res.status).toBe(302) + const redirectLocation = res.headers.get('location')! + const redirectUrl = new URL(redirectLocation) + expect(redirectUrl.searchParams.get('state')).toBe('test-state') + }) }) describe('twitchAuth middleware', () => { @@ -970,7 +966,7 @@ describe('OAuth Middleware', () => { const res = await twitchValidate('twitchr4nd0m4cc3sst0k3n') expect(res).toEqual(twitchValidateSuccess) }) - + it('Should throw error for invalid token', async () => { const res = twitchValidate('invalid-token') await expect(res).rejects.toThrow(twitchValidateError.message) diff --git a/packages/oidc-auth/src/index.test.ts b/packages/oidc-auth/src/index.test.ts index 6573cb7d..a8875216 100644 --- a/packages/oidc-auth/src/index.test.ts +++ b/packages/oidc-auth/src/index.test.ts @@ -157,7 +157,14 @@ vi.mock(import('oauth4webapi'), async (importOriginal) => { } }) -const { oidcAuthMiddleware, getAuth, processOAuthCallback, revokeSession, initOidcAuthMiddleware, getClient } = await import('../src') +const { + oidcAuthMiddleware, + getAuth, + processOAuthCallback, + revokeSession, + initOidcAuthMiddleware, + getClient, +} = await import('.') const app = new Hono() app.get('/logout', async (c) => { @@ -516,9 +523,7 @@ describe('processOAuthCallback()', () => { expect(res).not.toBeNull() expect(res.status).toBe(302) expect(res.headers.get('set-cookie')).toMatch( - new RegExp( - `${MOCK_COOKIE_NAME}=[^;]+; Path=${defaultOidcAuthCookiePath}; HttpOnly; Secure` - ) + new RegExp(`${MOCK_COOKIE_NAME}=[^;]+; Path=${defaultOidcAuthCookiePath}; HttpOnly; Secure`) ) }) test('Should return an error if the state parameter does not match', async () => { @@ -600,16 +605,18 @@ describe('initOidcAuthMiddleware()', () => { const CUSTOM_OIDC_CLIENT_ID = 'custom-client-id' const CUSTOM_OIDC_CLIENT_SECRET = 'custom-client-secret' const app = new Hono() - app.use(initOidcAuthMiddleware({ - OIDC_CLIENT_ID: CUSTOM_OIDC_CLIENT_ID, - OIDC_CLIENT_SECRET: CUSTOM_OIDC_CLIENT_SECRET - })) + app.use( + initOidcAuthMiddleware({ + OIDC_CLIENT_ID: CUSTOM_OIDC_CLIENT_ID, + OIDC_CLIENT_SECRET: CUSTOM_OIDC_CLIENT_SECRET, + }) + ) app.use(async (c) => { client = getClient(c) return c.text('finished') }) const req = new Request('http://localhost/', { - method: 'GET' + method: 'GET', }) const res = await app.request(req, {}, {}) expect(res).not.toBeNull() diff --git a/packages/otel/src/index.test.ts b/packages/otel/src/index.test.ts index 52123d30..7f73cbab 100644 --- a/packages/otel/src/index.test.ts +++ b/packages/otel/src/index.test.ts @@ -9,7 +9,7 @@ import { ATTR_HTTP_ROUTE, } from '@opentelemetry/semantic-conventions' import { Hono } from 'hono' -import { otel } from '../src' +import { otel } from '.' describe('OpenTelemetry middleware', () => { const app = new Hono() diff --git a/packages/react-renderer/test/react-renderer.test.tsx b/packages/react-renderer/src/react-renderer.test.tsx similarity index 98% rename from packages/react-renderer/test/react-renderer.test.tsx rename to packages/react-renderer/src/react-renderer.test.tsx index 81a649bb..bafa7768 100644 --- a/packages/react-renderer/test/react-renderer.test.tsx +++ b/packages/react-renderer/src/react-renderer.test.tsx @@ -1,6 +1,6 @@ import { Hono } from 'hono' -import { reactRenderer, useRequestContext } from '../src/react-renderer' +import { reactRenderer, useRequestContext } from '.' const RequestUrl = () => { const c = useRequestContext() diff --git a/packages/standard-validator/test/__schemas__/arktype.ts b/packages/standard-validator/src/__schemas__/arktype.ts similarity index 100% rename from packages/standard-validator/test/__schemas__/arktype.ts rename to packages/standard-validator/src/__schemas__/arktype.ts diff --git a/packages/standard-validator/test/__schemas__/valibot.ts b/packages/standard-validator/src/__schemas__/valibot.ts similarity index 100% rename from packages/standard-validator/test/__schemas__/valibot.ts rename to packages/standard-validator/src/__schemas__/valibot.ts diff --git a/packages/standard-validator/test/__schemas__/zod.ts b/packages/standard-validator/src/__schemas__/zod.ts similarity index 100% rename from packages/standard-validator/test/__schemas__/zod.ts rename to packages/standard-validator/src/__schemas__/zod.ts diff --git a/packages/standard-validator/test/index.test.ts b/packages/standard-validator/src/index.test.ts similarity index 99% rename from packages/standard-validator/test/index.test.ts rename to packages/standard-validator/src/index.test.ts index f6849540..5cee33ff 100644 --- a/packages/standard-validator/test/index.test.ts +++ b/packages/standard-validator/src/index.test.ts @@ -2,11 +2,11 @@ import type { StandardSchemaV1 } from '@standard-schema/spec' import { Hono } from 'hono' import type { Equal, Expect, UnionToIntersection } from 'hono/utils/types' import { vi } from 'vitest' -import { sValidator } from '../src' import * as arktypeSchemas from './__schemas__/arktype' import * as valibotSchemas from './__schemas__/valibot' import * as zodSchemas from './__schemas__/zod' +import { sValidator } from '.' type ExtractSchema = T extends Hono ? S : never type MergeDiscriminatedUnion = UnionToIntersection extends infer O diff --git a/packages/swagger-editor/test/index.test.ts b/packages/swagger-editor/src/index.test.ts similarity index 95% rename from packages/swagger-editor/test/index.test.ts rename to packages/swagger-editor/src/index.test.ts index c9f79910..0c062da5 100644 --- a/packages/swagger-editor/test/index.test.ts +++ b/packages/swagger-editor/src/index.test.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { swaggerEditor } from '../src' +import { swaggerEditor } from '.' describe('Swagger Editor Middleware', () => { let app: Hono diff --git a/packages/swagger-ui/test/index.test.ts b/packages/swagger-ui/src/index.test.ts similarity index 99% rename from packages/swagger-ui/test/index.test.ts rename to packages/swagger-ui/src/index.test.ts index 0549b0aa..3852e281 100644 --- a/packages/swagger-ui/test/index.test.ts +++ b/packages/swagger-ui/src/index.test.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { SwaggerUI, swaggerUI } from '../src' +import { SwaggerUI, swaggerUI } from '.' describe('SwaggerUI Rendering', () => { const url = 'https://petstore3.swagger.io/api/v3/openapi.json' diff --git a/packages/swagger-ui/test/option-renderer.test.ts b/packages/swagger-ui/src/option-renderer.test.ts similarity index 92% rename from packages/swagger-ui/test/option-renderer.test.ts rename to packages/swagger-ui/src/option-renderer.test.ts index 0af5341d..abb9422e 100644 --- a/packages/swagger-ui/test/option-renderer.test.ts +++ b/packages/swagger-ui/src/option-renderer.test.ts @@ -1,7 +1,7 @@ /*eslint quotes: ["off", "single"]*/ -import type { DistSwaggerUIOptions } from '../src/swagger/renderer' -import { renderSwaggerUIOptions } from '../src/swagger/renderer' +import type { DistSwaggerUIOptions } from './swagger/renderer' +import { renderSwaggerUIOptions } from './swagger/renderer' type TestCase = [description: string, config: DistSwaggerUIOptions, expected: string] @@ -189,29 +189,23 @@ describe('SwaggerUIOption Rendering', () => { ], [ 'filters out properties not in RENDER_TYPE_MAP', - { url: baseUrl, title: 'My API', customProperty: 'value' } as DistSwaggerUIOptions & { title: string }, - `url: '${baseUrl}'` - ], - [ - 'filters out undefined values', - { url: baseUrl, layout: undefined }, - `url: '${baseUrl}'` + { url: baseUrl, title: 'My API', customProperty: 'value' } as DistSwaggerUIOptions & { + title: string + }, + `url: '${baseUrl}'`, ], + ['filters out undefined values', { url: baseUrl, layout: undefined }, `url: '${baseUrl}'`], [ 'handles multiple invalid properties gracefully', - { - url: baseUrl, + { + url: baseUrl, title: 'My API', // Not in RENDER_TYPE_MAP but used in HTML presets: null as unknown, // Invalid type - withCredentials: true + withCredentials: true, } as DistSwaggerUIOptions & { title: string }, - `url: '${baseUrl}',withCredentials: true` + `url: '${baseUrl}',withCredentials: true`, ], - [ - 'handles empty input gracefully', - { url: '' }, - `url: ''` - ] + ['handles empty input gracefully', { url: '' }, `url: ''`], ] it.each(commonTests)('renders correctly with %s', (_, input, expected) => { diff --git a/packages/swagger-ui/test/remote-assets.test.ts b/packages/swagger-ui/src/remote-assets.test.ts similarity index 93% rename from packages/swagger-ui/test/remote-assets.test.ts rename to packages/swagger-ui/src/remote-assets.test.ts index 5daddd33..d091b8d4 100644 --- a/packages/swagger-ui/test/remote-assets.test.ts +++ b/packages/swagger-ui/src/remote-assets.test.ts @@ -1,4 +1,4 @@ -import { remoteAssets } from '../src/swagger/resource' +import { remoteAssets } from './swagger/resource' describe('remoteAssets', () => { it('should return default assets when no version is provided', () => { diff --git a/packages/trpc-server/src/context.test.ts b/packages/trpc-server/src/context.test.ts index c556db97..02911133 100644 --- a/packages/trpc-server/src/context.test.ts +++ b/packages/trpc-server/src/context.test.ts @@ -1,6 +1,6 @@ import { initTRPC } from '@trpc/server' import { Hono } from 'hono' -import { trpcServer } from '../src' +import { trpcServer } from '.' describe('tRPC Adapter Middleware passing synchronous Context', () => { type Env = { diff --git a/packages/trpc-server/src/index.test.ts b/packages/trpc-server/src/index.test.ts index 99e7f276..89e64612 100644 --- a/packages/trpc-server/src/index.test.ts +++ b/packages/trpc-server/src/index.test.ts @@ -1,7 +1,7 @@ import { initTRPC } from '@trpc/server' import { Hono } from 'hono' import { z } from 'zod' -import { trpcServer } from '../src' +import { trpcServer } from '.' describe('tRPC Adapter Middleware', () => { const t = initTRPC.create() diff --git a/packages/tsyringe/src/index.test.ts b/packages/tsyringe/src/index.test.ts index 0bea2687..9c7ba53b 100644 --- a/packages/tsyringe/src/index.test.ts +++ b/packages/tsyringe/src/index.test.ts @@ -1,7 +1,7 @@ import 'reflect-metadata' import { Hono } from 'hono' import { injectable, inject } from 'tsyringe' -import { tsyringe } from '../src' +import { tsyringe } from '.' class Config { constructor(public readonly tenantName: string) {} diff --git a/packages/zod-openapi/test/createRoute.test.ts b/packages/zod-openapi/src/createRoute.test.ts similarity index 96% rename from packages/zod-openapi/test/createRoute.test.ts rename to packages/zod-openapi/src/createRoute.test.ts index a0445232..d54dd4b8 100644 --- a/packages/zod-openapi/test/createRoute.test.ts +++ b/packages/zod-openapi/src/createRoute.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, expectTypeOf } from 'vitest' -import { createRoute, z } from '../src/index' +import { createRoute, z } from '.' describe('createRoute', () => { it.each([ diff --git a/packages/zod-openapi/test/handler.test-d.ts b/packages/zod-openapi/src/handler.test-d.ts similarity index 98% rename from packages/zod-openapi/test/handler.test-d.ts rename to packages/zod-openapi/src/handler.test-d.ts index c79843e3..4ab7bef4 100644 --- a/packages/zod-openapi/test/handler.test-d.ts +++ b/packages/zod-openapi/src/handler.test-d.ts @@ -1,8 +1,8 @@ import type { MiddlewareHandler } from 'hono' import type { Equal, Expect } from 'hono/utils/types' -import type { MiddlewareToHandlerType, OfHandlerType, RouteHandler } from '../src' +import type { MiddlewareToHandlerType, OfHandlerType, RouteHandler } from '.' -import { OpenAPIHono, createRoute, z } from '../src' +import { OpenAPIHono, createRoute, z } from '.' describe('supports async handler', () => { const route = createRoute({ diff --git a/packages/zod-openapi/test/index.test-d.ts b/packages/zod-openapi/src/index.test-d.ts similarity index 98% rename from packages/zod-openapi/test/index.test-d.ts rename to packages/zod-openapi/src/index.test-d.ts index ec9354ef..349ed13e 100644 --- a/packages/zod-openapi/test/index.test-d.ts +++ b/packages/zod-openapi/src/index.test-d.ts @@ -2,8 +2,8 @@ import { createMiddleware } from 'hono/factory' import type { ExtractSchema } from 'hono/types' import type { Equal, Expect } from 'hono/utils/types' import { assertType, describe, it } from 'vitest' -import { OpenAPIHono, createRoute, z } from '../src/index' -import type { MiddlewareToHandlerType, OfHandlerType } from '../src/index' +import { OpenAPIHono, createRoute, z } from './index' +import type { MiddlewareToHandlerType, OfHandlerType } from './index' describe('Types', () => { const RequestSchema = z.object({ diff --git a/packages/zod-openapi/test/index.test.ts b/packages/zod-openapi/src/index.test.ts similarity index 99% rename from packages/zod-openapi/test/index.test.ts rename to packages/zod-openapi/src/index.test.ts index 3d056832..67dd3ad3 100644 --- a/packages/zod-openapi/test/index.test.ts +++ b/packages/zod-openapi/src/index.test.ts @@ -7,8 +7,8 @@ import type { ServerErrorStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { describe, expect, expectTypeOf, it, vi } from 'vitest' import { stringify } from 'yaml' -import type { RouteConfigToTypedResponse } from '../src/index' -import { OpenAPIHono, createRoute, z } from '../src/index' +import type { RouteConfigToTypedResponse } from './index' +import { OpenAPIHono, createRoute, z } from './index' describe('Constructor', () => { it('Should not require init object', () => { @@ -1073,7 +1073,6 @@ describe('Multi params', () => { }, responses: { 200: { - // eslint-disable-next-line quotes description: "Get the user's tag", }, }, @@ -1293,7 +1292,7 @@ describe('basePath()', () => { return c.json({ param1: c.req.param('param1'), param2: c.req.param('param2'), - param3: c.req.param('param3') + param3: c.req.param('param3'), }) } ) @@ -1318,7 +1317,7 @@ describe('basePath()', () => { expect(await res.json()).toEqual({ param1: 'foo', param2: 'bar', - param3: 'baz' + param3: 'baz', }) }) }) diff --git a/packages/zod-validator/test/index.test.ts b/packages/zod-validator/src/index.test.ts similarity index 99% rename from packages/zod-validator/test/index.test.ts rename to packages/zod-validator/src/index.test.ts index 390862dd..5ab21389 100644 --- a/packages/zod-validator/test/index.test.ts +++ b/packages/zod-validator/src/index.test.ts @@ -2,7 +2,7 @@ import { Hono } from 'hono' import type { Equal, Expect } from 'hono/utils/types' import { vi } from 'vitest' import { z } from 'zod' -import { zValidator } from '../src' +import { zValidator } from '.' // eslint-disable-next-line @typescript-eslint/no-unused-vars type ExtractSchema<T> = T extends Hono<infer _, infer S> ? S : never diff --git a/yarn.lock b/yarn.lock index 19a699c9..3bd2bbe4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8612,6 +8612,7 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:^0.4.8" "@changesets/cli": "npm:^2.26.0" + "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@cloudflare/workers-types": "npm:^4.20230307.0" "@ryoppippi/unplugin-typia": "npm:^1.2.0" "@types/node": "npm:^20.14.8" From 8d663e4f9b572b36830b85e861dbd22e64fbcf8f Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Sat, 29 Mar 2025 09:59:31 +1100 Subject: [PATCH 55/81] ci: use node v20 (#1076) --- .github/workflows/ci-arktype-validator.yml | 2 +- .github/workflows/ci-clerk-auth.yml | 2 +- .github/workflows/ci-firebase-auth.yml | 2 +- .github/workflows/ci-graphql-server.yml | 2 +- .github/workflows/ci-medley-router.yml | 2 +- .github/workflows/ci-prometheus.yml | 2 +- .github/workflows/ci-react-compat.yml | 2 +- .github/workflows/ci-react-renderer.yml | 2 +- .github/workflows/ci-sentry.yml | 2 +- .github/workflows/ci-trpc-server.yml | 2 +- .github/workflows/ci-typebox-validator.yml | 2 +- .github/workflows/ci-typia-validator.yml | 2 +- .github/workflows/ci-valibot-validator.yml | 2 +- .github/workflows/ci-zod-openapi.yml | 2 +- .github/workflows/ci-zod-validator.yml | 2 +- .github/workflows/release.yml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index 9e6686ab..3d8a31aa 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/arktype-validator - run: yarn workspace @hono/arktype-validator build - run: yarn workspace @hono/arktype-validator publint diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index 9b830d08..49134115 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/clerk-auth - run: yarn workspace @hono/clerk-auth build - run: yarn workspace @hono/clerk-auth publint diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index d9114624..d3127ea3 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/firebase-auth - run: yarn workspace @hono/firebase-auth build - run: yarn workspace @hono/firebase-auth publint diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index 0a458b69..8e3d393f 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/graphql-server - run: yarn workspace @hono/graphql-server build - run: yarn workspace @hono/graphql-server publint diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index 1a3003d1..ec9374f7 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/medley-router - run: yarn workspace @hono/medley-router build - run: yarn workspace @hono/medley-router publint diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index 7c046732..3d8dcbbd 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/prometheus - run: yarn workspace @hono/prometheus build - run: yarn workspace @hono/prometheus publint diff --git a/.github/workflows/ci-react-compat.yml b/.github/workflows/ci-react-compat.yml index 4beb43e9..fd9325f8 100644 --- a/.github/workflows/ci-react-compat.yml +++ b/.github/workflows/ci-react-compat.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/react-compat - run: yarn workspace @hono/react-compat build - run: yarn workspace @hono/react-compat publint diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index f00381be..658ec81a 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/react-renderer - run: yarn workspace @hono/react-renderer build - run: yarn workspace @hono/react-renderer publint diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index dcc75a28..588eaf35 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/sentry - run: yarn workspace @hono/sentry build - run: yarn workspace @hono/sentry publint diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index b130b52c..3cd0ebf8 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/trpc-server - run: yarn workspace @hono/trpc-server build - run: yarn workspace @hono/trpc-server publint diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index c5e22d27..b59e43dc 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/typebox-validator - run: yarn workspace @hono/typebox-validator build - run: yarn workspace @hono/typebox-validator publint diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index 9146a07b..19a6f2bf 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/typia-validator - run: yarn workspace @hono/typia-validator build - run: yarn workspace @hono/typia-validator publint diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index 72ced19a..3ba6d5fe 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/valibot-validator - run: yarn workspace @hono/valibot-validator build - run: yarn workspace @hono/valibot-validator publint diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index 5f1c6725..ffe2dc05 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/zod-openapi - run: yarn workspace @hono/zod-openapi build - run: yarn workspace @hono/zod-openapi publint diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index 956005a8..5823991c 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/zod-validator - run: yarn workspace @hono/zod-validator build - run: yarn workspace @hono/zod-validator publint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36aeba75..ed029c7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js 18.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Install Dependencies run: yarn From 0d6c13b1a339dc17028548cde10ba7ef9e1dd7fd Mon Sep 17 00:00:00 2001 From: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com> Date: Sat, 29 Mar 2025 04:48:02 +0530 Subject: [PATCH 56/81] feat: updated @hono/eslint-config package (#1031) * chore(eslint-config): update dependencies and improve configuration * chore(eslint-config): replace @typescript-eslint packages with typescript-eslint * chore: completed changes suggested by @BarryThePenguin * chore: updated the repo eslint config * chore: updated the lockfile * feat: added ci and minor changes * chore: updated the eslint version in package.json * chore: updated the lockfile * add changeset * `@ryoppippi/unplugin-typia` as devDependencies --------- Co-authored-by: Yusuke Wada <yusuke@kamawada.com> --- .changeset/chilly-tips-repeat.md | 9 + .github/workflows/ci-lint.yml | 17 + eslint.config.mjs | 10 +- packages/eslint-config/index.js | 187 +- packages/eslint-config/package.json | 13 +- .../src/__schemas__/arktype.ts | 2 +- packages/typia-validator/package.json | 1 + yarn.lock | 7657 ++++++++--------- 8 files changed, 3508 insertions(+), 4388 deletions(-) create mode 100644 .changeset/chilly-tips-repeat.md create mode 100644 .github/workflows/ci-lint.yml diff --git a/.changeset/chilly-tips-repeat.md b/.changeset/chilly-tips-repeat.md new file mode 100644 index 00000000..0333daff --- /dev/null +++ b/.changeset/chilly-tips-repeat.md @@ -0,0 +1,9 @@ +--- +'@hono/eslint-config': minor +--- + +feat: updated `@hono/eslint-config` package + +- upgrading eslint plugins +- removing @eslint/eslintrc and the legacy FlatCompat +- cleanup migration to typescript-eslint diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml new file mode 100644 index 00000000..9a802583 --- /dev/null +++ b/.github/workflows/ci-lint.yml @@ -0,0 +1,17 @@ +name: ci-lint +on: + push: + branches: [main] + pull_request: + branches: ['*'] + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - run: yarn install + - run: yarn lint \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs index b3364b0e..7897a883 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,8 +1,6 @@ +import { defineConfig, globalIgnores } from 'eslint/config' import baseConfig from './packages/eslint-config/index.js' -export default [ - ...baseConfig, - { - ignores: ['**/dist/*'], - }, -] +export default defineConfig(globalIgnores(['.yarn', '**/dist']), { + extends: baseConfig, +}) diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index f2affdc6..108af5e9 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -1,110 +1,103 @@ -import path from 'node:path' -import { fileURLToPath } from 'node:url' -import { FlatCompat } from '@eslint/eslintrc' import js from '@eslint/js' -import typescriptEslint from '@typescript-eslint/eslint-plugin' -import tsParser from '@typescript-eslint/parser' +import prettier from 'eslint-config-prettier/flat' import importX from 'eslint-plugin-import-x' - -const __filename = fileURLToPath(import.meta.url) -const __dirname = path.dirname(__filename) -const compat = new FlatCompat({ - baseDirectory: __dirname, - recommendedConfig: js.configs.recommended, - allConfig: js.configs.all, -}) +import nodePlugin from 'eslint-plugin-n' +import tseslint from 'typescript-eslint' export default [ - ...compat.extends( - 'eslint:recommended', - 'plugin:n/recommended', - 'plugin:@typescript-eslint/recommended', - 'prettier' - ), - { - plugins: { - '@typescript-eslint': typescriptEslint, - 'import-x': importX, - }, + js.configs.recommended, + nodePlugin.configs["flat/recommended"], + tseslint.configs.recommended, + { + plugins: { + '@typescript-eslint': tseslint.plugin, + 'import-x': importX, + }, + languageOptions: { + globals: { + fetch: false, + Response: false, + Request: false, + addEventListener: false, + }, - languageOptions: { - globals: { - fetch: false, - Response: false, - Request: false, - addEventListener: false, - }, + ecmaVersion: 2021, + sourceType: 'module', + }, - parser: tsParser, - ecmaVersion: 2021, - sourceType: 'module', - }, + rules: { + curly: ['error', 'all'], + quotes: ['error', 'single'], + semi: ['error', 'never'], + 'no-debugger': ['error'], - rules: { - curly: ['error', 'all'], - quotes: ['error', 'single'], - semi: ['error', 'never'], - 'no-debugger': ['error'], + 'no-empty': [ + 'warn', + { + allowEmptyCatch: true, + }, + ], - 'no-empty': [ - 'warn', - { - allowEmptyCatch: true, - }, - ], + 'no-process-exit': 'off', + 'no-useless-escape': 'off', - 'no-process-exit': 'off', - 'no-useless-escape': 'off', + 'prefer-const': [ + 'warn', + { + destructuring: 'all', + }, + ], - 'prefer-const': [ - 'warn', - { - destructuring: 'all', - }, - ], + 'import-x/consistent-type-specifier-style': ['error', 'prefer-top-level'], + 'import-x/order': [ + 'error', + { + groups: [ + 'external', + 'builtin', + 'internal', + 'parent', + 'sibling', + 'index', + ], + alphabetize: { + order: 'asc', + caseInsensitive: true, + }, + }, + ], + 'import-x/no-duplicates': 'error', - 'import-x/consistent-type-specifier-style': ['error', 'prefer-top-level'], - 'import-x/order': [ - 'error', - { - groups: ['external', 'builtin', 'internal', 'parent', 'sibling', 'index'], - alphabetize: { - order: 'asc', - caseInsensitive: true, - }, - }, - ], - 'import-x/no-duplicates': 'error', + 'n/no-missing-import': 'off', + 'n/no-missing-require': 'off', + 'n/no-deprecated-api': 'off', + 'n/no-unpublished-import': 'off', + 'n/no-unpublished-require': 'off', + 'n/no-unsupported-features/es-syntax': 'off', + 'n/no-unsupported-features/node-builtins': 'off', - 'n/no-missing-import': 'off', - 'n/no-missing-require': 'off', - 'n/no-deprecated-api': 'off', - 'n/no-unpublished-import': 'off', - 'n/no-unpublished-require': 'off', - 'n/no-unsupported-features/es-syntax': 'off', - 'n/no-unsupported-features/node-builtins': 'off', - - '@typescript-eslint/consistent-type-imports': [ - 'error', - { - prefer: 'type-imports', - }, - ], - '@typescript-eslint/no-empty-object-type': 'off', - '@typescript-eslint/no-unsafe-function-type': 'off', - '@typescript-eslint/no-empty-function': [ - 'error', - { - allow: ['arrowFunctions'], - }, - ], - '@typescript-eslint/no-unused-expressions': 'off', - '@typescript-eslint/no-empty-interface': 'off', - '@typescript-eslint/no-explicit-any': 'warn', - '@typescript-eslint/no-inferrable-types': 'off', - '@typescript-eslint/no-require-imports': 'off', - '@typescript-eslint/no-unused-vars': 'warn', - '@typescript-eslint/no-var-requires': 'off', - }, - }, + '@typescript-eslint/consistent-type-imports': [ + 'error', + { + prefer: 'type-imports', + }, + ], + '@typescript-eslint/no-empty-object-type': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off', + '@typescript-eslint/no-empty-function': [ + 'error', + { + allow: ['arrowFunctions'], + }, + ], + '@typescript-eslint/no-unused-expressions': 'off', + '@typescript-eslint/no-empty-interface': 'off', + '@typescript-eslint/no-explicit-any': 'warn', + '@typescript-eslint/no-inferrable-types': 'off', + '@typescript-eslint/no-require-imports': 'off', + '@typescript-eslint/no-unused-vars': 'warn', + '@typescript-eslint/no-var-requires': 'off', + }, + }, + prettier, ] diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index d90a8ab2..0fcdab70 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -24,17 +24,14 @@ "dependencies": { "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.10.0", - "@typescript-eslint/eslint-plugin": "^8.7.0", - "@typescript-eslint/parser": "^8.7.0", - "eslint-config-prettier": "^9.1.0", - "eslint-define-config": "^2.1.0", - "eslint-import-resolver-typescript": "^3.6.3", + "eslint-config-prettier": "^10.1.1", + "eslint-import-resolver-typescript": "^4.2.2", "eslint-plugin-import-x": "^4.1.1", - "eslint-plugin-n": "^17.10.2" + "eslint-plugin-n": "^17.10.2", + "typescript-eslint": "^8.27.0" }, "devDependencies": { - "@types/eslint": "^8", - "eslint": "^9.10.0", + "eslint": "^9.23.0", "typescript": "^5.3.3" } } diff --git a/packages/standard-validator/src/__schemas__/arktype.ts b/packages/standard-validator/src/__schemas__/arktype.ts index 4e2a62f1..33167f31 100644 --- a/packages/standard-validator/src/__schemas__/arktype.ts +++ b/packages/standard-validator/src/__schemas__/arktype.ts @@ -23,7 +23,7 @@ const queryPaginationSchema = type({ }) const querySortSchema = type({ - // eslint-disable-next-line quotes + order: "'asc'|'desc'", }) diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 6d68e004..41444f26 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -53,6 +53,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", + "@ryoppippi/unplugin-typia": "^2.1.4", "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", diff --git a/yarn.lock b/yarn.lock index 3bd2bbe4..ce6e9751 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,13 +5,6 @@ __metadata: version: 8 cacheKey: 10c0 -"@aashutoshrathi/word-wrap@npm:^1.2.3": - version: 1.2.6 - resolution: "@aashutoshrathi/word-wrap@npm:1.2.6" - checksum: 53c2b231a61a46792b39a0d43bc4f4f776bb4542aa57ee04930676802e5501282c2fc8aac14e4cd1f1120ff8b52616b6ff5ab539ad30aa2277d726444b71619f - languageName: node - linkType: hard - "@ampproject/remapping@npm:^2.2.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" @@ -83,6 +76,15 @@ __metadata: languageName: node linkType: hard +"@ark/schema@npm:0.45.2": + version: 0.45.2 + resolution: "@ark/schema@npm:0.45.2" + dependencies: + "@ark/util": "npm:0.45.2" + checksum: e2dbac994f9fc9e10ee85fda8dd78bbcac044a8b874ed7fa8664b572d7b33d0aae7bf66071fa5b6222a9da295c84ac4cecf1552992b57bf38da444fc315d6d85 + languageName: node + linkType: hard + "@ark/util@npm:0.26.0": version: 0.26.0 resolution: "@ark/util@npm:0.26.0" @@ -90,30 +92,21 @@ __metadata: languageName: node linkType: hard -"@arktype/schema@npm:0.1.4-cjs": - version: 0.1.4-cjs - resolution: "@arktype/schema@npm:0.1.4-cjs" - dependencies: - "@arktype/util": "npm:0.0.41-cjs" - checksum: dd83edcbd29ab8b1faf4c8aee3d03b7d75a4cc7848c44cffd0580b89cfa0cabd280916fcd94317b89fc9d730a0fb6c9e7f53db9088788f54dd9077d5479c1b2f - languageName: node - linkType: hard - -"@arktype/util@npm:0.0.41-cjs": - version: 0.0.41-cjs - resolution: "@arktype/util@npm:0.0.41-cjs" - checksum: 77013353924d4f1d81eacc782b7bf07ac21fd5e96368505e05f75dfc822933cb3fc65ba055cc60105f5a86f89c9f4d60aa8be8f0942ebee93f0165cbe4e4b2b9 +"@ark/util@npm:0.45.2": + version: 0.45.2 + resolution: "@ark/util@npm:0.45.2" + checksum: 9785dc9e4e467797256d14510655881f78762e07ed9be5738679b4e2090b7defcbbaab20fc70d3cc7b0f6ef26056fafc6d02f4666542c23dd003d2a5b87bb891 languageName: node linkType: hard "@asteasolutions/zod-to-openapi@npm:^7.1.0": - version: 7.1.0 - resolution: "@asteasolutions/zod-to-openapi@npm:7.1.0" + version: 7.3.0 + resolution: "@asteasolutions/zod-to-openapi@npm:7.3.0" dependencies: openapi3-ts: "npm:^4.1.2" peerDependencies: zod: ^3.20.2 - checksum: cd2931826073004c240ce8272a390107299881b9ad96fe10a31e824de0ec1b6c97c2949270c09dec9c71c25c45e00de8f03019bb47c8c41f85006a9018fc2d78 + checksum: f0a68a89929cdeaa3e21d2027489689f982824d676a9332c680e119f60881dd39b571324b24ad4837fda49bf6fe7c3e2af2199268b281bf1aec923d7a7cbfc40 languageName: node linkType: hard @@ -143,16 +136,6 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0": - version: 7.23.5 - resolution: "@babel/code-frame@npm:7.23.5" - dependencies: - "@babel/highlight": "npm:^7.23.4" - chalk: "npm:^2.4.2" - checksum: a10e843595ddd9f97faa99917414813c06214f4d9205294013e20c70fbdf4f943760da37dec1d998bf3e6fc20fa2918a47c0e987a7e458663feb7698063ad7c6 - languageName: node - linkType: hard - "@babel/code-frame@npm:^7.26.2": version: 7.26.2 resolution: "@babel/code-frame@npm:7.26.2" @@ -164,7 +147,7 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.26.5": +"@babel/compat-data@npm:^7.26.8": version: 7.26.8 resolution: "@babel/compat-data@npm:7.26.8" checksum: 66408a0388c3457fff1c2f6c3a061278dd7b3d2f0455ea29bb7b187fa52c60ae8b4054b3c0a184e21e45f0eaac63cf390737bc7504d1f4a088a6e7f652c068ca @@ -194,29 +177,29 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.26.10": - version: 7.26.10 - resolution: "@babel/generator@npm:7.26.10" +"@babel/generator@npm:^7.26.10, @babel/generator@npm:^7.27.0": + version: 7.27.0 + resolution: "@babel/generator@npm:7.27.0" dependencies: - "@babel/parser": "npm:^7.26.10" - "@babel/types": "npm:^7.26.10" + "@babel/parser": "npm:^7.27.0" + "@babel/types": "npm:^7.27.0" "@jridgewell/gen-mapping": "npm:^0.3.5" "@jridgewell/trace-mapping": "npm:^0.3.25" jsesc: "npm:^3.0.2" - checksum: 88b3b3ea80592fc89349c4e1a145e1386e4042866d2507298adf452bf972f68d13bf699a845e6ab8c028bd52c2247013eb1221b86e1db5c9779faacba9c4b10e + checksum: 7cb10693d2b365c278f109a745dc08856cae139d262748b77b70ce1d97da84627f79648cab6940d847392c0e5d180441669ed958b3aee98d9c7d274b37c553bd languageName: node linkType: hard "@babel/helper-compilation-targets@npm:^7.26.5": - version: 7.26.5 - resolution: "@babel/helper-compilation-targets@npm:7.26.5" + version: 7.27.0 + resolution: "@babel/helper-compilation-targets@npm:7.27.0" dependencies: - "@babel/compat-data": "npm:^7.26.5" + "@babel/compat-data": "npm:^7.26.8" "@babel/helper-validator-option": "npm:^7.25.9" browserslist: "npm:^4.24.0" lru-cache: "npm:^5.1.1" semver: "npm:^6.3.1" - checksum: 9da5c77e5722f1a2fcb3e893049a01d414124522bbf51323bb1a0c9dcd326f15279836450fc36f83c9e8a846f3c40e88be032ed939c5a9840922bed6073edfb4 + checksum: 375c9f80e6540118f41bd53dd54d670b8bf91235d631bdead44c8b313b26e9cd89aed5c6df770ad13a87a464497b5346bb72b9462ba690473da422f5402618b6 languageName: node linkType: hard @@ -250,13 +233,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20": - version: 7.22.20 - resolution: "@babel/helper-validator-identifier@npm:7.22.20" - checksum: dcad63db345fb110e032de46c3688384b0008a42a4845180ce7cd62b1a9c0507a1bed727c4d1060ed1a03ae57b4d918570259f81724aaac1a5b776056f37504e - languageName: node - linkType: hard - "@babel/helper-validator-identifier@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-identifier@npm:7.25.9" @@ -272,27 +248,16 @@ __metadata: linkType: hard "@babel/helpers@npm:^7.26.10": - version: 7.26.10 - resolution: "@babel/helpers@npm:7.26.10" + version: 7.27.0 + resolution: "@babel/helpers@npm:7.27.0" dependencies: - "@babel/template": "npm:^7.26.9" - "@babel/types": "npm:^7.26.10" - checksum: f99e1836bcffce96db43158518bb4a24cf266820021f6461092a776cba2dc01d9fc8b1b90979d7643c5c2ab7facc438149064463a52dd528b21c6ab32509784f + "@babel/template": "npm:^7.27.0" + "@babel/types": "npm:^7.27.0" + checksum: a3c64fd2d8b164c041808826cc00769d814074ea447daaacaf2e3714b66d3f4237ef6e420f61d08f463d6608f3468c2ac5124ab7c68f704e20384def5ade95f4 languageName: node linkType: hard -"@babel/highlight@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/highlight@npm:7.23.4" - dependencies: - "@babel/helper-validator-identifier": "npm:^7.22.20" - chalk: "npm:^2.4.2" - js-tokens: "npm:^4.0.0" - checksum: fbff9fcb2f5539289c3c097d130e852afd10d89a3a08ac0b5ebebbc055cc84a4bcc3dcfed463d488cde12dd0902ef1858279e31d7349b2e8cee43913744bda33 - languageName: node - linkType: hard - -"@babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.26.9": +"@babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10": version: 7.26.10 resolution: "@babel/parser@npm:7.26.10" dependencies: @@ -314,38 +279,49 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.5.5": - version: 7.23.6 - resolution: "@babel/runtime@npm:7.23.6" +"@babel/parser@npm:^7.27.0": + version: 7.27.0 + resolution: "@babel/parser@npm:7.27.0" dependencies: - regenerator-runtime: "npm:^0.14.0" - checksum: d886954e985ef8e421222f7a2848884d96a752e0020d3078b920dd104e672fdf23bcc6f51a44313a048796319f1ac9d09c2c88ec8cbb4e1f09174bcd3335b9ff + "@babel/types": "npm:^7.27.0" + bin: + parser: ./bin/babel-parser.js + checksum: ba2ed3f41735826546a3ef2a7634a8d10351df221891906e59b29b0a0cd748f9b0e7a6f07576858a9de8e77785aad925c8389ddef146de04ea2842047c9d2859 languageName: node linkType: hard -"@babel/template@npm:^7.26.9": - version: 7.26.9 - resolution: "@babel/template@npm:7.26.9" +"@babel/runtime@npm:^7.5.5": + version: 7.27.0 + resolution: "@babel/runtime@npm:7.27.0" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: 35091ea9de48bd7fd26fb177693d64f4d195eb58ab2b142b893b7f3fa0f1d7c677604d36499ae0621a3703f35ba0c6a8f6c572cc8f7dc0317213841e493cf663 + languageName: node + linkType: hard + +"@babel/template@npm:^7.26.9, @babel/template@npm:^7.27.0": + version: 7.27.0 + resolution: "@babel/template@npm:7.27.0" dependencies: "@babel/code-frame": "npm:^7.26.2" - "@babel/parser": "npm:^7.26.9" - "@babel/types": "npm:^7.26.9" - checksum: 019b1c4129cc01ad63e17529089c2c559c74709d225f595eee017af227fee11ae8a97a6ab19ae6768b8aa22d8d75dcb60a00b28f52e9fa78140672d928bc1ae9 + "@babel/parser": "npm:^7.27.0" + "@babel/types": "npm:^7.27.0" + checksum: 13af543756127edb5f62bf121f9b093c09a2b6fe108373887ccffc701465cfbcb17e07cf48aa7f440415b263f6ec006e9415c79dfc2e8e6010b069435f81f340 languageName: node linkType: hard "@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10": - version: 7.26.10 - resolution: "@babel/traverse@npm:7.26.10" + version: 7.27.0 + resolution: "@babel/traverse@npm:7.27.0" dependencies: "@babel/code-frame": "npm:^7.26.2" - "@babel/generator": "npm:^7.26.10" - "@babel/parser": "npm:^7.26.10" - "@babel/template": "npm:^7.26.9" - "@babel/types": "npm:^7.26.10" + "@babel/generator": "npm:^7.27.0" + "@babel/parser": "npm:^7.27.0" + "@babel/template": "npm:^7.27.0" + "@babel/types": "npm:^7.27.0" debug: "npm:^4.3.1" globals: "npm:^11.1.0" - checksum: 4e86bb4e3c30a6162bb91df86329df79d96566c3e2d9ccba04f108c30473a3a4fd360d9990531493d90f6a12004f10f616bf9b9229ca30c816b708615e9de2ac + checksum: c7af29781960dacaae51762e8bc6c4b13d6ab4b17312990fbca9fc38e19c4ad7fecaae24b1cf52fb844e8e6cdc76c70ad597f90e496bcb3cc0a1d66b41a0aa5b languageName: node linkType: hard @@ -369,6 +345,16 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.27.0": + version: 7.27.0 + resolution: "@babel/types@npm:7.27.0" + dependencies: + "@babel/helper-string-parser": "npm:^7.25.9" + "@babel/helper-validator-identifier": "npm:^7.25.9" + checksum: 6f1592eabe243c89a608717b07b72969be9d9d2fce1dee21426238757ea1fa60fdfc09b29de9e48d8104311afc6e6fb1702565a9cc1e09bc1e76f2b2ddb0f6e1 + languageName: node + linkType: hard + "@braidai/lang@npm:^1.0.0": version: 1.1.0 resolution: "@braidai/lang@npm:1.1.0" @@ -377,51 +363,44 @@ __metadata: linkType: hard "@builder.io/qwik-city@npm:^1.2.0": - version: 1.3.1 - resolution: "@builder.io/qwik-city@npm:1.3.1" + version: 1.12.1 + resolution: "@builder.io/qwik-city@npm:1.12.1" dependencies: - "@mdx-js/mdx": "npm:2.3.0" - "@types/mdx": "npm:^2.0.8" - source-map: "npm:0.7.4" - svgo: "npm:^3.0.2" - undici: "npm:^5.26.0" - vfile: "npm:^6.0.1" - vite: "npm:^5.0.0" - vite-imagetools: "npm:^6.2.7" - zod: "npm:^3.22.4" - checksum: 35d501a1fe5b7569feeed03b9a1387458c4280bf2b5437c7b77a18cf18aeb5cce73e10667ed87300c1704e7f69e388574dd359f9c2f00a77071ee433db121b3e + "@mdx-js/mdx": "npm:^3" + "@types/mdx": "npm:^2" + source-map: "npm:^0.7.4" + svgo: "npm:^3.3" + undici: "npm:*" + valibot: "npm:>=0.36.0 <2" + vfile: "npm:6.0.2" + vite: "npm:^5" + vite-imagetools: "npm:^7" + zod: "npm:3.22.4" + peerDependencies: + vite: ^5 + checksum: cf4d0b7300e249e33ca45569fd8f1da5e19dbad29dc66a2720390eff87a0a50b1f5550aabfb6e52edd40424d41d16a42d9e5efc6842fc213f3e4ca216df628e1 languageName: node linkType: hard "@builder.io/qwik@npm:^1.2.0": - version: 1.3.1 - resolution: "@builder.io/qwik@npm:1.3.1" + version: 1.12.1 + resolution: "@builder.io/qwik@npm:1.12.1" dependencies: - csstype: "npm:^3.1.2" - vite: "npm:^5.0.0" + csstype: "npm:^3.1" peerDependencies: - undici: ^5.14.0 + vite: ^5 bin: - qwik: qwik.cjs - checksum: 80a9e4a1ac9d3fbe5a81217dc69861582e26a38e1bd0bc9ec96685333d2b409d9d56ee4f0f76d34b8e021633cc307581112734ac49de0f4cf2547a60949e58bd + qwik: qwik-cli.cjs + checksum: e7ff5945403fb35c4034ad7380efe779d09bf831e0ecfa3cf6444e778bfd80deae1ecfcca464a6ca344fa770c5dbf18912d28902d8935806b75a4281ce684ebc languageName: node linkType: hard -"@bundled-es-modules/cookie@npm:^2.0.0": - version: 2.0.0 - resolution: "@bundled-es-modules/cookie@npm:2.0.0" - dependencies: - cookie: "npm:^0.5.0" - checksum: 0655dd331b35d7b5b6dd2301c3bcfb7233018c0e3235a40ced1d53f00463ab92dc01f0091f153812867bc0ef0f8e0a157a30acb16e8d7ef149702bf8db9fe7a6 - languageName: node - linkType: hard - -"@bundled-es-modules/js-levenshtein@npm:^2.0.1": +"@bundled-es-modules/cookie@npm:^2.0.1": version: 2.0.1 - resolution: "@bundled-es-modules/js-levenshtein@npm:2.0.1" + resolution: "@bundled-es-modules/cookie@npm:2.0.1" dependencies: - js-levenshtein: "npm:^1.1.6" - checksum: 9c9a794a8f1412fe9f285a20aa38b91933ab1879e905be29acc4898932f245d20819e0fad04012d743eabb24ed153533a0deb1f9b46816aafe426db18042a9ae + cookie: "npm:^0.7.2" + checksum: dfac5e36127e827c5557b8577f17a8aa94c057baff6d38555917927b99da0ecf0b1357e7fedadc8853ecdbd4a8a7fa1f5e64111b2a656612f4a36376f5bdbe8d languageName: node linkType: hard @@ -434,15 +413,34 @@ __metadata: languageName: node linkType: hard -"@changesets/apply-release-plan@npm:^7.0.0": - version: 7.0.0 - resolution: "@changesets/apply-release-plan@npm:7.0.0" +"@bundled-es-modules/tough-cookie@npm:^0.1.6": + version: 0.1.6 + resolution: "@bundled-es-modules/tough-cookie@npm:0.1.6" dependencies: - "@babel/runtime": "npm:^7.20.1" - "@changesets/config": "npm:^3.0.0" + "@types/tough-cookie": "npm:^4.0.5" + tough-cookie: "npm:^4.1.4" + checksum: 28bcac878bff6b34719ba3aa8341e9924772ee55de5487680ebe784981ec9fccb70ed5d46f563e2404855a04de606f9e56aa4202842d4f5835bc04a4fe820571 + languageName: node + linkType: hard + +"@casbin/expression-eval@npm:^5.3.0": + version: 5.3.0 + resolution: "@casbin/expression-eval@npm:5.3.0" + dependencies: + jsep: "npm:^0.3.0" + checksum: 1fa2fd703036b065821fbeb8d0f0c274ba50331737d19b3a77b7c9cd571f5df2580145bda1d90f2dd46863a66aae9f5256974eb168b7ccbb9facbcb796f5cb7a + languageName: node + linkType: hard + +"@changesets/apply-release-plan@npm:^7.0.10": + version: 7.0.10 + resolution: "@changesets/apply-release-plan@npm:7.0.10" + dependencies: + "@changesets/config": "npm:^3.1.1" "@changesets/get-version-range-type": "npm:^0.4.0" - "@changesets/git": "npm:^3.0.0" - "@changesets/types": "npm:^6.0.0" + "@changesets/git": "npm:^3.0.2" + "@changesets/should-skip-package": "npm:^0.1.2" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" detect-indent: "npm:^6.0.0" fs-extra: "npm:^7.0.1" @@ -451,30 +449,30 @@ __metadata: prettier: "npm:^2.7.1" resolve-from: "npm:^5.0.0" semver: "npm:^7.5.3" - checksum: 5f4c2d6b500d0ade51b31bc03b2475dd0bcaf3a31995f2ad953a6c3b05d3fb588568470bad3093d052f351ecdc6f8e2124d38941210361692b81bf62afbba7d7 + checksum: 4ee5951448c26bbf73fac5c9a0785d5bb0cc3f2e6c1ffc9337766b446fe79a7b018834be2a4723938faec0d331aa30f1d6c7ea47db48d7a7babe37862645dd57 languageName: node linkType: hard -"@changesets/assemble-release-plan@npm:^6.0.0": - version: 6.0.0 - resolution: "@changesets/assemble-release-plan@npm:6.0.0" +"@changesets/assemble-release-plan@npm:^6.0.6": + version: 6.0.6 + resolution: "@changesets/assemble-release-plan@npm:6.0.6" dependencies: - "@babel/runtime": "npm:^7.20.1" "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.0.0" - "@changesets/types": "npm:^6.0.0" + "@changesets/get-dependents-graph": "npm:^2.1.3" + "@changesets/should-skip-package": "npm:^0.1.2" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" semver: "npm:^7.5.3" - checksum: 7ccff4dba07fd5c7d219b69d6f5e5ec4ea942b3f3482a76be6f9caa072ae5b2128b4d6c561030cb488ca1bc23416a2f8f638daa784f4ae9792c89c9b571231b3 + checksum: 292c6570310818f5427b97f1ddfd518ae4493f47e2674ca40bb11251808a20d7f07bff548c4277b1ad5ddfe53602b69ae6628fc45864286e34edfb5f7c2e19a0 languageName: node linkType: hard -"@changesets/changelog-git@npm:^0.2.0": - version: 0.2.0 - resolution: "@changesets/changelog-git@npm:0.2.0" +"@changesets/changelog-git@npm:^0.2.1": + version: 0.2.1 + resolution: "@changesets/changelog-git@npm:0.2.1" dependencies: - "@changesets/types": "npm:^6.0.0" - checksum: d94df555656ac4ac9698d87a173b1955227ac0f1763d59b9b4d4f149ab3f879ca67603e48407b1dfdadaef4e7882ae7bbc7b7be160a45a55f05442004bdc61bd + "@changesets/types": "npm:^6.1.0" + checksum: 6a6fb315ffb2266fcb8f32ae9a60ccdb5436e52350a2f53beacf9822d3355f9052aba5001a718e12af472b4a8fabd69b408d0b11c02ac909ba7a183d27a9f7fd languageName: node linkType: hard @@ -490,59 +488,55 @@ __metadata: linkType: hard "@changesets/cli@npm:^2.26.0": - version: 2.27.1 - resolution: "@changesets/cli@npm:2.27.1" + version: 2.28.1 + resolution: "@changesets/cli@npm:2.28.1" dependencies: - "@babel/runtime": "npm:^7.20.1" - "@changesets/apply-release-plan": "npm:^7.0.0" - "@changesets/assemble-release-plan": "npm:^6.0.0" - "@changesets/changelog-git": "npm:^0.2.0" - "@changesets/config": "npm:^3.0.0" + "@changesets/apply-release-plan": "npm:^7.0.10" + "@changesets/assemble-release-plan": "npm:^6.0.6" + "@changesets/changelog-git": "npm:^0.2.1" + "@changesets/config": "npm:^3.1.1" "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.0.0" - "@changesets/get-release-plan": "npm:^4.0.0" - "@changesets/git": "npm:^3.0.0" - "@changesets/logger": "npm:^0.1.0" - "@changesets/pre": "npm:^2.0.0" - "@changesets/read": "npm:^0.6.0" - "@changesets/types": "npm:^6.0.0" - "@changesets/write": "npm:^0.3.0" + "@changesets/get-dependents-graph": "npm:^2.1.3" + "@changesets/get-release-plan": "npm:^4.0.8" + "@changesets/git": "npm:^3.0.2" + "@changesets/logger": "npm:^0.1.1" + "@changesets/pre": "npm:^2.0.2" + "@changesets/read": "npm:^0.6.3" + "@changesets/should-skip-package": "npm:^0.1.2" + "@changesets/types": "npm:^6.1.0" + "@changesets/write": "npm:^0.4.0" "@manypkg/get-packages": "npm:^1.1.3" - "@types/semver": "npm:^7.5.0" ansi-colors: "npm:^4.1.3" - chalk: "npm:^2.1.0" ci-info: "npm:^3.7.0" - enquirer: "npm:^2.3.0" + enquirer: "npm:^2.4.1" external-editor: "npm:^3.1.0" fs-extra: "npm:^7.0.1" - human-id: "npm:^1.0.2" - meow: "npm:^6.0.0" - outdent: "npm:^0.5.0" + mri: "npm:^1.2.0" p-limit: "npm:^2.2.0" - preferred-pm: "npm:^3.0.0" + package-manager-detector: "npm:^0.2.0" + picocolors: "npm:^1.1.0" resolve-from: "npm:^5.0.0" semver: "npm:^7.5.3" - spawndamnit: "npm:^2.0.0" + spawndamnit: "npm:^3.0.1" term-size: "npm:^2.1.0" - tty-table: "npm:^4.1.5" bin: changeset: bin.js - checksum: c7adc35f22983be9b0f6a8e4c3bc7013208ddf341b637530b88267e78469f0b7af9e36b138bea9f2fe29bb7b44294cd08aa0301a5cba0c6a928824f11d024e04 + checksum: f965b56fa533f91b5de0f5fd5b09fac46662f023dafbe474d3fc7ceb71629dce4783a37429a927d50292a7ea95c0694e5a8f0c143d9cbba95d28a4d11ab8106b languageName: node linkType: hard -"@changesets/config@npm:^3.0.0": - version: 3.0.0 - resolution: "@changesets/config@npm:3.0.0" +"@changesets/config@npm:^3.1.1": + version: 3.1.1 + resolution: "@changesets/config@npm:3.1.1" dependencies: "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.0.0" - "@changesets/logger": "npm:^0.1.0" - "@changesets/types": "npm:^6.0.0" + "@changesets/get-dependents-graph": "npm:^2.1.3" + "@changesets/logger": "npm:^0.1.1" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" fs-extra: "npm:^7.0.1" - micromatch: "npm:^4.0.2" - checksum: c64463a92b99986e42657c3b8804851aab8b592bb64532177ce35769a7fedfad3ce1395ad0e2ab3e357e3029fd23333bff1ce51bc3634e6f43223724398639d3 + micromatch: "npm:^4.0.8" + checksum: e6e529ca9525d1550cc2155a01a477c5b923e084985cb5cb15b6efc06da543c2faf623dd67d305688ffa8a8fc9d48f1ba74ad6653ce230183e40f10ffaa0c2dc languageName: node linkType: hard @@ -555,16 +549,15 @@ __metadata: languageName: node linkType: hard -"@changesets/get-dependents-graph@npm:^2.0.0": - version: 2.0.0 - resolution: "@changesets/get-dependents-graph@npm:2.0.0" +"@changesets/get-dependents-graph@npm:^2.1.3": + version: 2.1.3 + resolution: "@changesets/get-dependents-graph@npm:2.1.3" dependencies: - "@changesets/types": "npm:^6.0.0" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" - chalk: "npm:^2.1.0" - fs-extra: "npm:^7.0.1" + picocolors: "npm:^1.1.0" semver: "npm:^7.5.3" - checksum: 68ac8f7f0b7b6f671b9809541238798aebe9250b083f6d9dace1305c436b565a71634412e83f642c6b21ed8656f4d548c92f583d2f4c6bf7a8665f6dddf14309 + checksum: b9d9992440b7e09dcaf22f57d28f1d8e0e31996e1bc44dbbfa1801e44f93fa49ebba6f9356c60f6ff0bd85cd0f0d0b8602f7e0f2addc5be647b686e6f8985f70 languageName: node linkType: hard @@ -578,18 +571,17 @@ __metadata: languageName: node linkType: hard -"@changesets/get-release-plan@npm:^4.0.0": - version: 4.0.0 - resolution: "@changesets/get-release-plan@npm:4.0.0" +"@changesets/get-release-plan@npm:^4.0.8": + version: 4.0.8 + resolution: "@changesets/get-release-plan@npm:4.0.8" dependencies: - "@babel/runtime": "npm:^7.20.1" - "@changesets/assemble-release-plan": "npm:^6.0.0" - "@changesets/config": "npm:^3.0.0" - "@changesets/pre": "npm:^2.0.0" - "@changesets/read": "npm:^0.6.0" - "@changesets/types": "npm:^6.0.0" + "@changesets/assemble-release-plan": "npm:^6.0.6" + "@changesets/config": "npm:^3.1.1" + "@changesets/pre": "npm:^2.0.2" + "@changesets/read": "npm:^0.6.3" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" - checksum: d77140ca1d45a6e70c3ed8a3859986a7d1ae40c015a8ca85910acec6455e333311c78e3664d9cee02ed540020f7bacde1846d3cff58ec2ffd64edd55bf8a114b + checksum: b638f83683264818ea6cb729a3fd10f9edf29c61c7acee15ce321287cacbe03700706a20c0b531fdb3bbb23bda8967f4c6cbef08db207189fb7289313f473a1a languageName: node linkType: hard @@ -600,66 +592,72 @@ __metadata: languageName: node linkType: hard -"@changesets/git@npm:^3.0.0": - version: 3.0.0 - resolution: "@changesets/git@npm:3.0.0" +"@changesets/git@npm:^3.0.2": + version: 3.0.2 + resolution: "@changesets/git@npm:3.0.2" dependencies: - "@babel/runtime": "npm:^7.20.1" "@changesets/errors": "npm:^0.2.0" - "@changesets/types": "npm:^6.0.0" "@manypkg/get-packages": "npm:^1.1.3" is-subdir: "npm:^1.1.1" - micromatch: "npm:^4.0.2" - spawndamnit: "npm:^2.0.0" - checksum: 75b0ce2d8c52c8141a2d07be1cc05da15463d6f93a8a95351e171c6c3d48345b3134f33bfeb695a11467adbcc51ff3d87487995a61fba99af89063eac4a8ce7a + micromatch: "npm:^4.0.8" + spawndamnit: "npm:^3.0.1" + checksum: a3a9c9ab71e3cd8ecd804e2965790efa40bdcd29804bdf873c5d38f7cfd8cd6ae1c23a6eb5a16796a3e05c4dbfeb0eb04f4be988049f31173adbbeac9e7cf566 languageName: node linkType: hard -"@changesets/logger@npm:^0.1.0": - version: 0.1.0 - resolution: "@changesets/logger@npm:0.1.0" +"@changesets/logger@npm:^0.1.1": + version: 0.1.1 + resolution: "@changesets/logger@npm:0.1.1" dependencies: - chalk: "npm:^2.1.0" - checksum: b40365a4e62be4bf7a75c5900e8f95b1abd8fb9ff9f2cf71a7b567532377ddd5490b0ee1d566189a91e8c8250c9e875d333cfb3e44a34c230a11fd61337f923e + picocolors: "npm:^1.1.0" + checksum: a0933b5bd4d99e10730b22612dc1bdfd25b8804c5b48f8cada050bf5c7a89b2ae9a61687f846a5e9e5d379a95b59fef795c8d5d91e49a251f8da2be76133f83f languageName: node linkType: hard -"@changesets/parse@npm:^0.4.0": - version: 0.4.0 - resolution: "@changesets/parse@npm:0.4.0" +"@changesets/parse@npm:^0.4.1": + version: 0.4.1 + resolution: "@changesets/parse@npm:0.4.1" dependencies: - "@changesets/types": "npm:^6.0.0" + "@changesets/types": "npm:^6.1.0" js-yaml: "npm:^3.13.1" - checksum: 8e76f8540aceb2263eb76c97f027c1990fc069bf275321ad0aabf843cb51bc6711b13118eda35c701a30a36d26f48e75f7afc14e9a5c863f8a98091021fd5d61 + checksum: 8caf73b48addb1add246f0287f0dcbd47ca0444b33f251b6208dad36de9c21d2654f0ae0527e5bf14b075be23144b59f48a36e2d87850fb7c004050f07461fdc languageName: node linkType: hard -"@changesets/pre@npm:^2.0.0": - version: 2.0.0 - resolution: "@changesets/pre@npm:2.0.0" +"@changesets/pre@npm:^2.0.2": + version: 2.0.2 + resolution: "@changesets/pre@npm:2.0.2" dependencies: - "@babel/runtime": "npm:^7.20.1" "@changesets/errors": "npm:^0.2.0" - "@changesets/types": "npm:^6.0.0" + "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" fs-extra: "npm:^7.0.1" - checksum: 3971fb9b3f8b1719a983b82fcd34aab573151d0765ff38ae44f31d66d040ca40d33e80808b3694ae40331ebf6d654d479352c3bc0a964ad553200ebf5d1ec44f + checksum: 0af9396d84c47a88d79b757e9db4e3579b6620260f92c243b8349e7fcefca3c2652583f6d215c13115bed5d5cdc30c975f307fd6acbb89d205b1ba2ae403b918 languageName: node linkType: hard -"@changesets/read@npm:^0.6.0": - version: 0.6.0 - resolution: "@changesets/read@npm:0.6.0" +"@changesets/read@npm:^0.6.3": + version: 0.6.3 + resolution: "@changesets/read@npm:0.6.3" dependencies: - "@babel/runtime": "npm:^7.20.1" - "@changesets/git": "npm:^3.0.0" - "@changesets/logger": "npm:^0.1.0" - "@changesets/parse": "npm:^0.4.0" - "@changesets/types": "npm:^6.0.0" - chalk: "npm:^2.1.0" + "@changesets/git": "npm:^3.0.2" + "@changesets/logger": "npm:^0.1.1" + "@changesets/parse": "npm:^0.4.1" + "@changesets/types": "npm:^6.1.0" fs-extra: "npm:^7.0.1" p-filter: "npm:^2.1.0" - checksum: ec2914fb89de923145a3482e00a2930b011c9c7a7c5690b053e344e8e8941ab06087bd3fe3b6cc01a651656c0438b5f9b96c616c7df1ad146f87b8751701bf5a + picocolors: "npm:^1.1.0" + checksum: 4c2eac60aab0a6b14ad5a2ed2f57427019fe567dd6d2c6e122bd3cbf7f69903dcec6c864a67c39544ed011369223c838e498212303404a7f884428f4366f10da + languageName: node + linkType: hard + +"@changesets/should-skip-package@npm:^0.1.2": + version: 0.1.2 + resolution: "@changesets/should-skip-package@npm:0.1.2" + dependencies: + "@changesets/types": "npm:^6.1.0" + "@manypkg/get-packages": "npm:^1.1.3" + checksum: 484e339e7d6e6950e12bff4eda6e8eccb077c0fbb1f09dd95d2ae948b715226a838c71eaf50cd2d7e0e631ce3bfb1ca93ac752436e6feae5b87aece2e917b440 languageName: node linkType: hard @@ -677,55 +675,66 @@ __metadata: languageName: node linkType: hard -"@changesets/types@npm:^6.0.0": - version: 6.0.0 - resolution: "@changesets/types@npm:6.0.0" - checksum: e755f208792547e3b9ece15ce4da22466267da810c6fd87d927a1b8cec4d7fb7f0eea0d1a7585747676238e3e4ba1ffdabe016ccb05cfa537b4e4b03ec399f41 +"@changesets/types@npm:^6.1.0": + version: 6.1.0 + resolution: "@changesets/types@npm:6.1.0" + checksum: b4cea3a4465d1eaf0bbd7be1e404aca5a055a61d4cc72aadcb73bbbda1670b4022736b8d3052616cbf1f451afa0637545d077697f4b923236539af9cd5abce6c languageName: node linkType: hard -"@changesets/write@npm:^0.3.0": - version: 0.3.0 - resolution: "@changesets/write@npm:0.3.0" +"@changesets/write@npm:^0.4.0": + version: 0.4.0 + resolution: "@changesets/write@npm:0.4.0" dependencies: - "@babel/runtime": "npm:^7.20.1" - "@changesets/types": "npm:^6.0.0" + "@changesets/types": "npm:^6.1.0" fs-extra: "npm:^7.0.1" - human-id: "npm:^1.0.2" + human-id: "npm:^4.1.1" prettier: "npm:^2.7.1" - checksum: 537f419d854946cce5694696b6a48ffee0ea1f7b5c97c5246836931886db18153c42a7dea1e74b0e8bf571fcded527e2f443ab362fdb1e4129bd95a61b2d0fe5 + checksum: 311f4d0e536d1b5f2d3f9053537d62b2d4cdbd51e1d2767807ac9d1e0f380367f915d2ad370e5c73902d5a54bffd282d53fff5418c8ad31df51751d652bea826 languageName: node linkType: hard "@clerk/backend@npm:^1.0.0": - version: 1.0.0 - resolution: "@clerk/backend@npm:1.0.0" + version: 1.25.5 + resolution: "@clerk/backend@npm:1.25.5" dependencies: - "@clerk/shared": "npm:2.0.0" - cookie: "npm:0.5.0" - snakecase-keys: "npm:5.4.4" - tslib: "npm:2.4.1" - checksum: 95c03aabba87abd60427aa59e91706a61075cc00ad02ef3dd3760abe76761a4358c5e45d1c17c8f85e8ec859a60fff66b6d0f9beeaadc51e4c2bbc0f2af77af9 + "@clerk/shared": "npm:^3.2.0" + "@clerk/types": "npm:^4.49.1" + cookie: "npm:1.0.2" + snakecase-keys: "npm:8.0.1" + tslib: "npm:2.8.1" + checksum: d32df44aba38ab4188da78b9a850b945a1a97c866d4e8d7832e9f9eeba57683b3cacf37ba7f09afa4d03900a387134c55f8f73ffb9b1f89a05e782f0f4d7ce93 languageName: node linkType: hard -"@clerk/shared@npm:2.0.0": - version: 2.0.0 - resolution: "@clerk/shared@npm:2.0.0" +"@clerk/shared@npm:^3.2.0": + version: 3.2.0 + resolution: "@clerk/shared@npm:3.2.0" dependencies: + "@clerk/types": "npm:^4.49.1" + dequal: "npm:2.0.3" glob-to-regexp: "npm:0.4.1" - js-cookie: "npm:3.0.1" + js-cookie: "npm:3.0.5" std-env: "npm:^3.7.0" - swr: "npm:2.2.0" + swr: "npm:^2.2.0" peerDependencies: - react: ">=18" - react-dom: ">=18" + react: ^18.0.0 || ^19.0.0 || ^19.0.0-0 + react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-0 peerDependenciesMeta: react: optional: true react-dom: optional: true - checksum: 3423ac83d8b2dad30135ada38dc0b2d065f087c2315f80e94dc8fe8ba0b525a9c2aab8a4b57ad1c5cbef917759377d5175dc4a4faabf0917b6f28a8e19efeca5 + checksum: 4d084a7e3215f8c548ed53b1403bee29c686bc37f51a6a108b59ad4414db9056d0cc767a0bdc5bcf9672636de4cdaf775ab328ac60205c7b124d76955fcd5937 + languageName: node + linkType: hard + +"@clerk/types@npm:^4.49.1": + version: 4.49.1 + resolution: "@clerk/types@npm:4.49.1" + dependencies: + csstype: "npm:3.1.3" + checksum: f2f7ce372c889513d4f5ab00de26264c9abb9c873c863fc56bbb795542ea2aedf1ad97bf5e88d2aca106fa71b7109ab4309befa9b26e3b5c9db7495aff970e7c languageName: node linkType: hard @@ -771,13 +780,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-darwin-64@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "@cloudflare/workerd-darwin-64@npm:1.20240208.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@cloudflare/workerd-darwin-64@npm:1.20250310.0": version: 1.20250310.0 resolution: "@cloudflare/workerd-darwin-64@npm:1.20250310.0" @@ -785,13 +787,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-darwin-arm64@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20240208.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@cloudflare/workerd-darwin-arm64@npm:1.20250310.0": version: 1.20250310.0 resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20250310.0" @@ -799,13 +794,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-linux-64@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "@cloudflare/workerd-linux-64@npm:1.20240208.0" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@cloudflare/workerd-linux-64@npm:1.20250310.0": version: 1.20250310.0 resolution: "@cloudflare/workerd-linux-64@npm:1.20250310.0" @@ -813,13 +801,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-linux-arm64@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "@cloudflare/workerd-linux-arm64@npm:1.20240208.0" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@cloudflare/workerd-linux-arm64@npm:1.20250310.0": version: 1.20250310.0 resolution: "@cloudflare/workerd-linux-arm64@npm:1.20250310.0" @@ -827,13 +808,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-windows-64@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "@cloudflare/workerd-windows-64@npm:1.20240208.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@cloudflare/workerd-windows-64@npm:1.20250310.0": version: 1.20250310.0 resolution: "@cloudflare/workerd-windows-64@npm:1.20250310.0" @@ -849,9 +823,9 @@ __metadata: linkType: hard "@cloudflare/workers-types@npm:^4.20230307.0": - version: 4.20231121.0 - resolution: "@cloudflare/workers-types@npm:4.20231121.0" - checksum: 096729103bc02fed641a636bad501b8dd9b4f76ad25bd50b5ea32a2c4aa7d90f55c626a6abf86c20e13fe1398690667bd7428d07da972760c8d207dd8d16dcf5 + version: 4.20250321.0 + resolution: "@cloudflare/workers-types@npm:4.20250321.0" + checksum: 15f89a9b29e55727dc9d3c5270eb01da9fbd024eb5d7f6ea1c5437a13d5ee1263d34e8d9dd4145e9e3a274597d23d5d12cf0b43ce7c9c5138edd0782fefc417a languageName: node linkType: hard @@ -876,32 +850,32 @@ __metadata: languageName: node linkType: hard -"@conform-to/dom@npm:1.1.5, @conform-to/dom@npm:^1.1.5": - version: 1.1.5 - resolution: "@conform-to/dom@npm:1.1.5" - checksum: 8297852ec422630a01a401842a994a0e19f8585df820ab26df3bbb4687fd97812acbb6ebce7ddc38c6b9197ee1d45ddf136f42a3f33703613c52710de4cf026a +"@conform-to/dom@npm:1.3.0, @conform-to/dom@npm:^1.1.5": + version: 1.3.0 + resolution: "@conform-to/dom@npm:1.3.0" + checksum: 1b00c9a072c27484efb2832fd5e04e791fe8926cd551732108889979cae1e3bef88a420cae0a8f813370d686d5b44dfff910c4638a486223ccac654574c68a04 languageName: node linkType: hard "@conform-to/yup@npm:^1.1.5": - version: 1.1.5 - resolution: "@conform-to/yup@npm:1.1.5" + version: 1.3.0 + resolution: "@conform-to/yup@npm:1.3.0" dependencies: - "@conform-to/dom": "npm:1.1.5" + "@conform-to/dom": "npm:1.3.0" peerDependencies: yup: ">=0.32.0" - checksum: 31849faaf1b9c4e0368547b0174aadd9fd0c2c4e9d38c63b7455806c721ccf8f56e3826f2b979bb795f55b793492de7ff3f445ac45302acd1f82c74100a24dbf + checksum: 451df6abc959c5461056d745b11fd1c38bc57a91ab83a936c66cc5c5005395d50b5a1a387b8fd5b2722cbcf002bd58f7b048ac34a1fe5572c95009f6d6013abd languageName: node linkType: hard "@conform-to/zod@npm:^1.1.5": - version: 1.1.5 - resolution: "@conform-to/zod@npm:1.1.5" + version: 1.3.0 + resolution: "@conform-to/zod@npm:1.3.0" dependencies: - "@conform-to/dom": "npm:1.1.5" + "@conform-to/dom": "npm:1.3.0" peerDependencies: zod: ^3.21.0 - checksum: 047ddb45be8d156f0b0cddf4b6db7a3612e04f7c4b194502f29230a6c720d2e841058afe13838e2daac0804db1bb236ed8ba673fc4737c46589b90ec73935e4d + checksum: c7f8d50ba054d9a62d744fb8b0a3a605efaf1468190843cff2e6219bae1268b34d0811df19e584ae8a648854a7b193941154e1e33fd79082e807f3f0cccae605 languageName: node linkType: hard @@ -925,23 +899,24 @@ __metadata: languageName: node linkType: hard -"@electric-sql/pglite@npm:^0.2.0": - version: 0.2.15 - resolution: "@electric-sql/pglite@npm:0.2.15" - checksum: 26908b12097350a89106cdb6720d3c0991102b56efcc7a7131e761a1ce74fd8e845ef20ceaefdc853d2ac4f613ec07570cd9fc822928902707c4e0bd1e4f184c +"@electric-sql/pglite@npm:^0.2.16": + version: 0.2.17 + resolution: "@electric-sql/pglite@npm:0.2.17" + checksum: 4358eccb2a3de5148b8995c7dbf3cad2d80a2a193885838ec19e0381ca204c0e37f721d006ad23fcad0b694ec6089a6786b82f2ad87f18344c82e059ff37017f languageName: node linkType: hard -"@emnapi/runtime@npm:^0.44.0": - version: 0.44.0 - resolution: "@emnapi/runtime@npm:0.44.0" +"@emnapi/core@npm:^1.3.1": + version: 1.3.1 + resolution: "@emnapi/core@npm:1.3.1" dependencies: + "@emnapi/wasi-threads": "npm:1.0.1" tslib: "npm:^2.4.0" - checksum: 68133f288a5f413787610232c90194ab0b692b859a130866f4869483217d94f71ac3fd23aacfb428e0eb438e4882d0e04874690a1f06386b7b35ebae330e698a + checksum: d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0 languageName: node linkType: hard -"@emnapi/runtime@npm:^1.2.0": +"@emnapi/runtime@npm:^1.2.0, @emnapi/runtime@npm:^1.3.1": version: 1.3.1 resolution: "@emnapi/runtime@npm:1.3.1" dependencies: @@ -950,6 +925,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/wasi-threads@npm:1.0.1": + version: 1.0.1 + resolution: "@emnapi/wasi-threads@npm:1.0.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 1e0c8036b8d53e9b07cc9acf021705ef6c86ab6b13e1acda7fffaf541a2d3565072afb92597419173ced9ea14f6bf32fce149106e669b5902b825e8b499e5c6c + languageName: node + linkType: hard + "@esbuild-plugins/node-globals-polyfill@npm:0.2.3": version: 0.2.3 resolution: "@esbuild-plugins/node-globals-polyfill@npm:0.2.3" @@ -971,9 +955,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/aix-ppc64@npm:0.25.0" +"@esbuild/aix-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/aix-ppc64@npm:0.19.12" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/aix-ppc64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/aix-ppc64@npm:0.25.1" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard @@ -985,16 +983,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/android-arm64@npm:0.19.9" +"@esbuild/android-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm64@npm:0.19.12" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/android-arm64@npm:0.25.0" +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/android-arm64@npm:0.25.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -1006,16 +1011,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/android-arm@npm:0.19.9" +"@esbuild/android-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm@npm:0.19.12" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-arm@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/android-arm@npm:0.25.0" +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/android-arm@npm:0.25.1" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -1027,16 +1039,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/android-x64@npm:0.19.9" +"@esbuild/android-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-x64@npm:0.19.12" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/android-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/android-x64@npm:0.25.0" +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/android-x64@npm:0.25.1" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -1048,16 +1067,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/darwin-arm64@npm:0.19.9" +"@esbuild/darwin-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-arm64@npm:0.19.12" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/darwin-arm64@npm:0.25.0" +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/darwin-arm64@npm:0.25.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -1069,16 +1095,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/darwin-x64@npm:0.19.9" +"@esbuild/darwin-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-x64@npm:0.19.12" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/darwin-x64@npm:0.25.0" +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/darwin-x64@npm:0.25.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -1090,16 +1123,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/freebsd-arm64@npm:0.19.9" +"@esbuild/freebsd-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-arm64@npm:0.19.12" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/freebsd-arm64@npm:0.25.0" +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/freebsd-arm64@npm:0.25.1" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -1111,16 +1151,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/freebsd-x64@npm:0.19.9" +"@esbuild/freebsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-x64@npm:0.19.12" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/freebsd-x64@npm:0.25.0" +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/freebsd-x64@npm:0.25.1" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -1132,16 +1179,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-arm64@npm:0.19.9" +"@esbuild/linux-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm64@npm:0.19.12" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-arm64@npm:0.25.0" +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-arm64@npm:0.25.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -1153,16 +1207,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-arm@npm:0.19.9" +"@esbuild/linux-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm@npm:0.19.12" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-arm@npm:0.25.0" +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-arm@npm:0.25.1" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -1174,16 +1235,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-ia32@npm:0.19.9" +"@esbuild/linux-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ia32@npm:0.19.12" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-ia32@npm:0.25.0" +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-ia32@npm:0.25.1" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -1195,16 +1263,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-loong64@npm:0.19.9" +"@esbuild/linux-loong64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-loong64@npm:0.19.12" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-loong64@npm:0.25.0" +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-loong64@npm:0.25.1" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -1216,16 +1291,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-mips64el@npm:0.19.9" +"@esbuild/linux-mips64el@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-mips64el@npm:0.19.12" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-mips64el@npm:0.25.0" +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-mips64el@npm:0.25.1" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -1237,16 +1319,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-ppc64@npm:0.19.9" +"@esbuild/linux-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ppc64@npm:0.19.12" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-ppc64@npm:0.25.0" +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-ppc64@npm:0.25.1" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -1258,16 +1347,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-riscv64@npm:0.19.9" +"@esbuild/linux-riscv64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-riscv64@npm:0.19.12" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-riscv64@npm:0.25.0" +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-riscv64@npm:0.25.1" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -1279,16 +1375,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-s390x@npm:0.19.9" +"@esbuild/linux-s390x@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-s390x@npm:0.19.12" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-s390x@npm:0.25.0" +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-s390x@npm:0.25.1" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -1300,23 +1403,30 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/linux-x64@npm:0.19.9" +"@esbuild/linux-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-x64@npm:0.19.12" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/linux-x64@npm:0.25.0" +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/netbsd-arm64@npm:0.25.0" +"@esbuild/linux-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/linux-x64@npm:0.25.1" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/netbsd-arm64@npm:0.25.1" conditions: os=netbsd & cpu=arm64 languageName: node linkType: hard @@ -1328,23 +1438,30 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/netbsd-x64@npm:0.19.9" +"@esbuild/netbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/netbsd-x64@npm:0.19.12" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/netbsd-x64@npm:0.25.0" +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/openbsd-arm64@npm:0.25.0" +"@esbuild/netbsd-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/netbsd-x64@npm:0.25.1" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/openbsd-arm64@npm:0.25.1" conditions: os=openbsd & cpu=arm64 languageName: node linkType: hard @@ -1356,16 +1473,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/openbsd-x64@npm:0.19.9" +"@esbuild/openbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/openbsd-x64@npm:0.19.12" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/openbsd-x64@npm:0.25.0" +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/openbsd-x64@npm:0.25.1" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -1377,16 +1501,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/sunos-x64@npm:0.19.9" +"@esbuild/sunos-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/sunos-x64@npm:0.19.12" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/sunos-x64@npm:0.25.0" +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/sunos-x64@npm:0.25.1" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -1398,16 +1529,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/win32-arm64@npm:0.19.9" +"@esbuild/win32-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-arm64@npm:0.19.12" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/win32-arm64@npm:0.25.0" +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/win32-arm64@npm:0.25.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -1419,16 +1557,23 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/win32-ia32@npm:0.19.9" +"@esbuild/win32-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-ia32@npm:0.19.12" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/win32-ia32@npm:0.25.0" +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/win32-ia32@npm:0.25.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -1440,79 +1585,75 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.19.9": - version: 0.19.9 - resolution: "@esbuild/win32-x64@npm:0.19.9" +"@esbuild/win32-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-x64@npm:0.19.12" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.25.0": - version: 0.25.0 - resolution: "@esbuild/win32-x64@npm:0.25.0" +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": - version: 4.4.0 - resolution: "@eslint-community/eslint-utils@npm:4.4.0" +"@esbuild/win32-x64@npm:0.25.1": + version: 0.25.1 + resolution: "@esbuild/win32-x64@npm:0.25.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0, @eslint-community/eslint-utils@npm:^4.4.1": + version: 4.5.1 + resolution: "@eslint-community/eslint-utils@npm:4.5.1" dependencies: - eslint-visitor-keys: "npm:^3.3.0" + eslint-visitor-keys: "npm:^3.4.3" peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: 7e559c4ce59cd3a06b1b5a517b593912e680a7f981ae7affab0d01d709e99cd5647019be8fafa38c350305bc32f1f7d42c7073edde2ab536c745e365f37b607e + checksum: b520ae1b7bd04531a5c5da2021071815df4717a9f7d13720e3a5ddccf5c9c619532039830811fcbae1c2f1c9d133e63af2435ee69e0fc0fabbd6d928c6800fb2 languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0": - version: 4.11.0 - resolution: "@eslint-community/regexpp@npm:4.11.0" - checksum: 0f6328869b2741e2794da4ad80beac55cba7de2d3b44f796a60955b0586212ec75e6b0253291fd4aad2100ad471d1480d8895f2b54f1605439ba4c875e05e523 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.12.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.12.1": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 languageName: node linkType: hard -"@eslint/config-array@npm:^0.18.0": - version: 0.18.0 - resolution: "@eslint/config-array@npm:0.18.0" +"@eslint/config-array@npm:^0.19.2": + version: 0.19.2 + resolution: "@eslint/config-array@npm:0.19.2" dependencies: - "@eslint/object-schema": "npm:^2.1.4" + "@eslint/object-schema": "npm:^2.1.6" debug: "npm:^4.3.1" minimatch: "npm:^3.1.2" - checksum: 0234aeb3e6b052ad2402a647d0b4f8a6aa71524bafe1adad0b8db1dfe94d7f5f26d67c80f79bb37ac61361a1d4b14bb8fb475efe501de37263cf55eabb79868f + checksum: dd68da9abb32d336233ac4fe0db1e15a0a8d794b6e69abb9e57545d746a97f6f542496ff9db0d7e27fab1438546250d810d90b1904ac67677215b8d8e7573f3d languageName: node linkType: hard -"@eslint/config-array@npm:^0.19.0": - version: 0.19.1 - resolution: "@eslint/config-array@npm:0.19.1" - dependencies: - "@eslint/object-schema": "npm:^2.1.5" - debug: "npm:^4.3.1" - minimatch: "npm:^3.1.2" - checksum: 43b01f596ddad404473beae5cf95c013d29301c72778d0f5bf8a6699939c8a9a5663dbd723b53c5f476b88b0c694f76ea145d1aa9652230d140fe1161e4a4b49 +"@eslint/config-helpers@npm:^0.2.0": + version: 0.2.0 + resolution: "@eslint/config-helpers@npm:0.2.0" + checksum: 743a64653e13177029108f57ab47460ded08e3412c86216a14b7e8ab2dc79c2b64be45bf55c5ef29f83692a707dc34cf1e9217e4b8b4b272a0d9b691fdaf6a2a languageName: node linkType: hard -"@eslint/core@npm:^0.9.0": - version: 0.9.1 - resolution: "@eslint/core@npm:0.9.1" +"@eslint/core@npm:^0.12.0": + version: 0.12.0 + resolution: "@eslint/core@npm:0.12.0" dependencies: "@types/json-schema": "npm:^7.0.15" - checksum: 638104b1b5833a9bbf2329f0c0ddf322e4d6c0410b149477e02cd2b78c04722be90c14b91b8ccdef0d63a2404dff72a17b6b412ce489ea429ae6a8fcb8abff28 + checksum: d032af81195bb28dd800c2b9617548c6c2a09b9490da3c5537fd2a1201501666d06492278bb92cfccac1f7ac249e58601dd87f813ec0d6a423ef0880434fa0c3 languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.1.0": - version: 3.1.0 - resolution: "@eslint/eslintrc@npm:3.1.0" +"@eslint/eslintrc@npm:^3.1.0, @eslint/eslintrc@npm:^3.3.1": + version: 3.3.1 + resolution: "@eslint/eslintrc@npm:3.3.1" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" @@ -1523,89 +1664,50 @@ __metadata: js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 5b7332ed781edcfc98caa8dedbbb843abfb9bda2e86538529c843473f580e40c69eb894410eddc6702f487e9ee8f8cfa8df83213d43a8fdb549f23ce06699167 + checksum: b0e63f3bc5cce4555f791a4e487bf999173fcf27c65e1ab6e7d63634d8a43b33c3693e79f192cbff486d7df1be8ebb2bd2edc6e70ddd486cbfa84a359a3e3b41 languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.2.0": - version: 3.2.0 - resolution: "@eslint/eslintrc@npm:3.2.0" - dependencies: - ajv: "npm:^6.12.4" - debug: "npm:^4.3.2" - espree: "npm:^10.0.1" - globals: "npm:^14.0.0" - ignore: "npm:^5.2.0" - import-fresh: "npm:^3.2.1" - js-yaml: "npm:^4.1.0" - minimatch: "npm:^3.1.2" - strip-json-comments: "npm:^3.1.1" - checksum: 43867a07ff9884d895d9855edba41acf325ef7664a8df41d957135a81a477ff4df4196f5f74dc3382627e5cc8b7ad6b815c2cea1b58f04a75aced7c43414ab8b - languageName: node - linkType: hard - -"@eslint/js@npm:9.10.0, @eslint/js@npm:^9.10.0": - version: 9.10.0 - resolution: "@eslint/js@npm:9.10.0" - checksum: 2ac45a002dc1ccf25be46ea61001ada8d77248d1313ab4e53f3735e5ae00738a757874e41f62ad6fbd49df7dffeece66e5f53ff0d7b78a99ce4c68e8fea66753 - languageName: node - linkType: hard - -"@eslint/js@npm:9.17.0": - version: 9.17.0 - resolution: "@eslint/js@npm:9.17.0" - checksum: a0fda8657a01c60aa540f95397754267ba640ffb126e011b97fd65c322a94969d161beeaef57c1441c495da2f31167c34bd38209f7c146c7225072378c3a933d - languageName: node - linkType: hard - -"@eslint/object-schema@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/object-schema@npm:2.1.4" - checksum: e9885532ea70e483fb007bf1275968b05bb15ebaa506d98560c41a41220d33d342e19023d5f2939fed6eb59676c1bda5c847c284b4b55fce521d282004da4dda - languageName: node - linkType: hard - -"@eslint/object-schema@npm:^2.1.5": - version: 2.1.5 - resolution: "@eslint/object-schema@npm:2.1.5" - checksum: 5320691ed41ecd09a55aff40ce8e56596b4eb81f3d4d6fe530c50fdd6552d88102d1c1a29d970ae798ce30849752a708772de38ded07a6f25b3da32ebea081d8 - languageName: node - linkType: hard - -"@eslint/plugin-kit@npm:^0.1.0": - version: 0.1.0 - resolution: "@eslint/plugin-kit@npm:0.1.0" +"@eslint/js@npm:9.23.0, @eslint/js@npm:^9.10.0": + version: 9.23.0 + resolution: "@eslint/js@npm:9.23.0" + checksum: 4e70869372b6325389e0ab51cac6d3062689807d1cef2c3434857571422ce11dde3c62777af85c382b9f94d937127598d605d2086787f08611351bf99faded81 + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.6": + version: 2.1.6 + resolution: "@eslint/object-schema@npm:2.1.6" + checksum: b8cdb7edea5bc5f6a96173f8d768d3554a628327af536da2fc6967a93b040f2557114d98dbcdbf389d5a7b290985ad6a9ce5babc547f36fc1fde42e674d11a56 + languageName: node + linkType: hard + +"@eslint/plugin-kit@npm:^0.2.7": + version: 0.2.7 + resolution: "@eslint/plugin-kit@npm:0.2.7" dependencies: + "@eslint/core": "npm:^0.12.0" levn: "npm:^0.4.1" - checksum: fae97cd4efc1c32501c286abba1b5409848ce8c989e1ca6a5bb057a304a2cd721e6e957f6bc35ce95cfd0871e822ed42df3c759fecdad72c30e70802e26f83c7 - languageName: node - linkType: hard - -"@eslint/plugin-kit@npm:^0.2.3": - version: 0.2.4 - resolution: "@eslint/plugin-kit@npm:0.2.4" - dependencies: - levn: "npm:^0.4.1" - checksum: 1bcfc0a30b1df891047c1d8b3707833bded12a057ba01757a2a8591fdc8d8fe0dbb8d51d4b0b61b2af4ca1d363057abd7d2fb4799f1706b105734f4d3fa0dbf1 + checksum: 0a1aff1ad63e72aca923217e556c6dfd67d7cd121870eb7686355d7d1475d569773528a8b2111b9176f3d91d2ea81f7413c34600e8e5b73d59e005d70780b633 languageName: node linkType: hard "@fastify/busboy@npm:^2.0.0": - version: 2.1.0 - resolution: "@fastify/busboy@npm:2.1.0" - checksum: 7bb641080aac7cf01d88749ad331af10ba9ec3713ec07cabbe833908c75df21bd56249bb6173bdec07f5a41896b21e3689316f86684c06635da45f91ff4565a2 + version: 2.1.1 + resolution: "@fastify/busboy@npm:2.1.1" + checksum: 6f8027a8cba7f8f7b736718b013f5a38c0476eea67034c94a0d3c375e2b114366ad4419e6a6fa7ffc2ef9c6d3e0435d76dd584a7a1cbac23962fda7650b579e3 languageName: node linkType: hard "@google-cloud/cloud-sql-connector@npm:^1.3.3": - version: 1.5.0 - resolution: "@google-cloud/cloud-sql-connector@npm:1.5.0" + version: 1.7.0 + resolution: "@google-cloud/cloud-sql-connector@npm:1.7.0" dependencies: - "@googleapis/sqladmin": "npm:^24.0.0" + "@googleapis/sqladmin": "npm:^27.0.0" gaxios: "npm:^6.1.1" google-auth-library: "npm:^9.2.0" p-throttle: "npm:^7.0.0" - checksum: cbce689742515360f4520b3849f5795615166fe22768239428773169b6fd68e76e8eb227e3a35f791515f4b2ca31d8b28e8961a0313672d696f09e54e6c37302 + checksum: f779ce3c18fed65b0ba5c8991bf0db3dc6037ebeda4f2bd667a71d0cf58b897670ef4b08464588f34821fdb9583d0af33ed7a11b4bc0ef9c67be849d06f4cfb2 languageName: node linkType: hard @@ -1634,22 +1736,22 @@ __metadata: linkType: hard "@google-cloud/promisify@npm:^4.0.0": - version: 4.0.0 - resolution: "@google-cloud/promisify@npm:4.0.0" - checksum: 4332cbd923d7c6943ecdf46f187f1417c84bb9c801525cd74d719c766bfaad650f7964fb74576345f6537b6d6273a4f2992c8d79ebec6c8b8401b23d626b8dd3 + version: 4.1.0 + resolution: "@google-cloud/promisify@npm:4.1.0" + checksum: 8b09a79ff33acafac5b4f71b461925e1c5b1a40636057b7e0233214e278d30fab10406597ad86e4037f392f365bdecdbb839a65bdd95a31da0e992a21aaa26e1 languageName: node linkType: hard "@google-cloud/pubsub@npm:^4.5.0": - version: 4.9.0 - resolution: "@google-cloud/pubsub@npm:4.9.0" + version: 4.10.0 + resolution: "@google-cloud/pubsub@npm:4.10.0" dependencies: "@google-cloud/paginator": "npm:^5.0.0" "@google-cloud/precise-date": "npm:^4.0.0" "@google-cloud/projectify": "npm:^4.0.0" "@google-cloud/promisify": "npm:^4.0.0" "@opentelemetry/api": "npm:~1.9.0" - "@opentelemetry/semantic-conventions": "npm:~1.26.0" + "@opentelemetry/semantic-conventions": "npm:~1.28.0" arrify: "npm:^2.0.0" extend: "npm:^3.0.2" google-auth-library: "npm:^9.3.0" @@ -1658,26 +1760,26 @@ __metadata: is-stream-ended: "npm:^0.1.4" lodash.snakecase: "npm:^4.1.1" p-defer: "npm:^3.0.0" - checksum: 575e0a890623e99932fed9ebfde75bc66eb97218e249c8bb090b29fa6f24489d8cd25f36de794aebcabfb1a1e7e2c7c39cb2f38dc60f125ea94f21968bf9441c + checksum: 01248613cadd55fcebbc1a263469483db88a6cef42e9e0a0701bbaab8c65bce1aec9f3aba949a2872263b7c5a77a0fb0537631eeccd898e006c1c9da88e8ba4a languageName: node linkType: hard -"@googleapis/sqladmin@npm:^24.0.0": - version: 24.0.0 - resolution: "@googleapis/sqladmin@npm:24.0.0" +"@googleapis/sqladmin@npm:^27.0.0": + version: 27.0.0 + resolution: "@googleapis/sqladmin@npm:27.0.0" dependencies: googleapis-common: "npm:^7.0.0" - checksum: 7d993fc29c328815877886c7cdf99589e09e1f6b33219aa161fa906c26c08a76d44fdf3316595fc0aa5467171df678092f73c5b79a1929bbcd6a74e097683e52 + checksum: 985153cf2829b08199b4d7c6d571a68894ab13a1c238b6b6b74b3f8720523d9c8c471e0d7fede68295d7d248e65ed34fcb399c40b30e3eddc18a2d3ada28957c languageName: node linkType: hard "@grpc/grpc-js@npm:^1.10.9": - version: 1.12.5 - resolution: "@grpc/grpc-js@npm:1.12.5" + version: 1.13.1 + resolution: "@grpc/grpc-js@npm:1.13.1" dependencies: "@grpc/proto-loader": "npm:^0.7.13" "@js-sdsl/ordered-map": "npm:^4.4.2" - checksum: 1e539d98951e6ff6611e3cedc8eec343625fdab76c7683aa7fca605b3de17d8aabaf2f78d7e95400e68dc8e249cda498781e9a3481bb6b713fc167da3fe59a8e + checksum: 0123363064350094553bd6d22469d039887eeb2e23b246947c302e7e079d5ad273955e08c74c478ac5c00b97d1138766886503010109adc3298148e7866aa4cc languageName: node linkType: hard @@ -1887,16 +1989,13 @@ __metadata: dependencies: "@eslint/eslintrc": "npm:^3.1.0" "@eslint/js": "npm:^9.10.0" - "@types/eslint": "npm:^8" - "@typescript-eslint/eslint-plugin": "npm:^8.7.0" - "@typescript-eslint/parser": "npm:^8.7.0" - eslint: "npm:^9.10.0" - eslint-config-prettier: "npm:^9.1.0" - eslint-define-config: "npm:^2.1.0" - eslint-import-resolver-typescript: "npm:^3.6.3" + eslint: "npm:^9.23.0" + eslint-config-prettier: "npm:^10.1.1" + eslint-import-resolver-typescript: "npm:^4.2.2" eslint-plugin-import-x: "npm:^4.1.1" eslint-plugin-n: "npm:^17.10.2" typescript: "npm:^5.3.3" + typescript-eslint: "npm:^8.27.0" peerDependencies: eslint: ^9.0.0 typescript: ^5.0.0 @@ -1982,9 +2081,11 @@ __metadata: linkType: soft "@hono/node-server@npm:^1.11.1": - version: 1.11.1 - resolution: "@hono/node-server@npm:1.11.1" - checksum: 87ad10b0e79c5434935cd83172d1923eb04c7ac1853e79b60303cae983876fc3c736e1826b824b34adae7a3e7289c99d764ecefe13b650f81b1f9d5baea3ed4a + version: 1.14.0 + resolution: "@hono/node-server@npm:1.14.0" + peerDependencies: + hono: ^4 + checksum: 8a012f07afd17afa40b48dc2684e6023233cd84c89cd862b97bae284a979471ce442ccd5709f06a76115e29cee1665b349984b9aa3321bde8be3081a4b043e4f languageName: node linkType: hard @@ -2242,6 +2343,7 @@ __metadata: resolution: "@hono/typia-validator@workspace:packages/typia-validator" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" + "@ryoppippi/unplugin-typia": "npm:^2.1.4" hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" @@ -2339,28 +2441,16 @@ __metadata: linkType: hard "@humanwhocodes/retry@npm:^0.3.0": - version: 0.3.0 - resolution: "@humanwhocodes/retry@npm:0.3.0" - checksum: 7111ec4e098b1a428459b4e3be5a5d2a13b02905f805a2468f4fa628d072f0de2da26a27d04f65ea2846f73ba51f4204661709f05bfccff645e3cedef8781bb6 + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: f0da1282dfb45e8120480b9e2e275e2ac9bbe1cf016d046fdad8e27cc1285c45bb9e711681237944445157b430093412b4446c1ab3fc4bb037861b5904101d3b languageName: node linkType: hard -"@humanwhocodes/retry@npm:^0.4.1": - version: 0.4.1 - resolution: "@humanwhocodes/retry@npm:0.4.1" - checksum: be7bb6841c4c01d0b767d9bb1ec1c9359ee61421ce8ba66c249d035c5acdfd080f32d55a5c9e859cdd7868788b8935774f65b2caf24ec0b7bd7bf333791f063b - languageName: node - linkType: hard - -"@img/sharp-darwin-arm64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-darwin-arm64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-darwin-arm64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-darwin-arm64": - optional: true - conditions: os=darwin & cpu=arm64 +"@humanwhocodes/retry@npm:^0.4.2": + version: 0.4.2 + resolution: "@humanwhocodes/retry@npm:0.4.2" + checksum: 0235525d38f243bee3bf8b25ed395fbf957fb51c08adae52787e1325673071abe856c7e18e530922ed2dd3ce12ed82ba01b8cee0279ac52a3315fcdc3a69ef0c languageName: node linkType: hard @@ -2376,18 +2466,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-darwin-x64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-darwin-x64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-darwin-x64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-darwin-x64": - optional: true - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@img/sharp-darwin-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-darwin-x64@npm:0.33.5" @@ -2400,13 +2478,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-darwin-arm64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@img/sharp-libvips-darwin-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.4" @@ -2414,13 +2485,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-darwin-x64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@img/sharp-libvips-darwin-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.4" @@ -2428,13 +2492,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linux-arm64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.0" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@img/sharp-libvips-linux-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.4" @@ -2442,13 +2499,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linux-arm@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linux-arm@npm:1.0.0" - conditions: os=linux & cpu=arm & libc=glibc - languageName: node - linkType: hard - "@img/sharp-libvips-linux-arm@npm:1.0.5": version: 1.0.5 resolution: "@img/sharp-libvips-linux-arm@npm:1.0.5" @@ -2456,13 +2506,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linux-s390x@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.0" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@img/sharp-libvips-linux-s390x@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.4" @@ -2470,13 +2513,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linux-x64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linux-x64@npm:1.0.0" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@img/sharp-libvips-linux-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-x64@npm:1.0.4" @@ -2484,13 +2520,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.0" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4" @@ -2498,13 +2527,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-libvips-linuxmusl-x64@npm:1.0.0": - version: 1.0.0 - resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.0" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4" @@ -2512,18 +2534,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linux-arm64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linux-arm64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linux-arm64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linux-arm64": - optional: true - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@img/sharp-linux-arm64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-arm64@npm:0.33.5" @@ -2536,18 +2546,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linux-arm@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linux-arm@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linux-arm": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linux-arm": - optional: true - conditions: os=linux & cpu=arm & libc=glibc - languageName: node - linkType: hard - "@img/sharp-linux-arm@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-arm@npm:0.33.5" @@ -2560,18 +2558,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linux-s390x@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linux-s390x@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linux-s390x": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linux-s390x": - optional: true - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@img/sharp-linux-s390x@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-s390x@npm:0.33.5" @@ -2584,18 +2570,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linux-x64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linux-x64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linux-x64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linux-x64": - optional: true - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@img/sharp-linux-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-x64@npm:0.33.5" @@ -2608,18 +2582,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linuxmusl-arm64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linuxmusl-arm64": - optional: true - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@img/sharp-linuxmusl-arm64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.5" @@ -2632,18 +2594,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-linuxmusl-x64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-linuxmusl-x64@npm:0.33.0" - dependencies: - "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.0" - dependenciesMeta: - "@img/sharp-libvips-linuxmusl-x64": - optional: true - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@img/sharp-linuxmusl-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linuxmusl-x64@npm:0.33.5" @@ -2656,15 +2606,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-wasm32@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-wasm32@npm:0.33.0" - dependencies: - "@emnapi/runtime": "npm:^0.44.0" - conditions: cpu=wasm32 - languageName: node - linkType: hard - "@img/sharp-wasm32@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-wasm32@npm:0.33.5" @@ -2674,13 +2615,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-win32-ia32@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-win32-ia32@npm:0.33.0" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@img/sharp-win32-ia32@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-win32-ia32@npm:0.33.5" @@ -2688,13 +2622,6 @@ __metadata: languageName: node linkType: hard -"@img/sharp-win32-x64@npm:0.33.0": - version: 0.33.0 - resolution: "@img/sharp-win32-x64@npm:0.33.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@img/sharp-win32-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-win32-x64@npm:0.33.5" @@ -2702,6 +2629,61 @@ __metadata: languageName: node linkType: hard +"@inquirer/confirm@npm:^5.0.0": + version: 5.1.8 + resolution: "@inquirer/confirm@npm:5.1.8" + dependencies: + "@inquirer/core": "npm:^10.1.9" + "@inquirer/type": "npm:^3.0.5" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: e4d3e3ef2c46db3235ead8c149fda442fb7e8ef5049d070803a3d9fbc7bd07a4c67175c66283b545a96944737c4567b4203502482ab3497a0575e35a42f5dcfd + languageName: node + linkType: hard + +"@inquirer/core@npm:^10.1.9": + version: 10.1.9 + resolution: "@inquirer/core@npm:10.1.9" + dependencies: + "@inquirer/figures": "npm:^1.0.11" + "@inquirer/type": "npm:^3.0.5" + ansi-escapes: "npm:^4.3.2" + cli-width: "npm:^4.1.0" + mute-stream: "npm:^2.0.0" + signal-exit: "npm:^4.1.0" + wrap-ansi: "npm:^6.2.0" + yoctocolors-cjs: "npm:^2.1.2" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 36eae788713a9ad67172a86cda9b782481df5663c760dddb0b620292b78374720e6f86b662038e32bcee6fd0ffb4c0ae0c48e84ceb27c7641984a5deff1ade1f + languageName: node + linkType: hard + +"@inquirer/figures@npm:^1.0.11": + version: 1.0.11 + resolution: "@inquirer/figures@npm:1.0.11" + checksum: 6270e24eebbe42bbc4e7f8e761e906be66b4896787f31ab3e7484ad271c8edc90bce4ec20e232a5da447aee4fc73803397b2dda8cf645f4f7eea83e773b44e1e + languageName: node + linkType: hard + +"@inquirer/type@npm:^3.0.5": + version: 3.0.5 + resolution: "@inquirer/type@npm:3.0.5" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: d6aec3e69bbd5b79ec7e5f4b7b7d2afadd6d6c0566f5fb2b3964a7d72bae89e1736f8d092df15bfdc5cb520678db02f2bde469931c7139e8402ea7ad4d3bdd80 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -2716,6 +2698,15 @@ __metadata: languageName: node linkType: hard +"@isaacs/fs-minipass@npm:^4.0.0": + version: 4.0.1 + resolution: "@isaacs/fs-minipass@npm:4.0.1" + dependencies: + minipass: "npm:^7.0.4" + checksum: c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2 + languageName: node + linkType: hard + "@istanbuljs/schema@npm:^0.1.2, @istanbuljs/schema@npm:^0.1.3": version: 0.1.3 resolution: "@istanbuljs/schema@npm:0.1.3" @@ -2724,13 +2715,13 @@ __metadata: linkType: hard "@jridgewell/gen-mapping@npm:^0.3.2": - version: 0.3.3 - resolution: "@jridgewell/gen-mapping@npm:0.3.3" + version: 0.3.8 + resolution: "@jridgewell/gen-mapping@npm:0.3.8" dependencies: - "@jridgewell/set-array": "npm:^1.0.1" + "@jridgewell/set-array": "npm:^1.2.1" "@jridgewell/sourcemap-codec": "npm:^1.4.10" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 376fc11cf5a967318ba3ddd9d8e91be528eab6af66810a713c49b0c3f8dc67e9949452c51c38ab1b19aa618fb5e8594da5a249977e26b1e7fea1ee5a1fcacc74 + "@jridgewell/trace-mapping": "npm:^0.3.24" + checksum: c668feaf86c501d7c804904a61c23c67447b2137b813b9ce03eca82cb9d65ac7006d766c218685d76e3d72828279b6ee26c347aa1119dab23fbaf36aed51585a languageName: node linkType: hard @@ -2759,13 +2750,6 @@ __metadata: languageName: node linkType: hard -"@jridgewell/set-array@npm:^1.0.1": - version: 1.1.2 - resolution: "@jridgewell/set-array@npm:1.1.2" - checksum: bc7ab4c4c00470de4e7562ecac3c0c84f53e7ee8a711e546d67c47da7febe7c45cd67d4d84ee3c9b2c05ae8e872656cdded8a707a283d30bd54fbc65aef821ab - languageName: node - linkType: hard - "@jridgewell/set-array@npm:^1.2.1": version: 1.2.1 resolution: "@jridgewell/set-array@npm:1.2.1" @@ -2773,14 +2757,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14": - version: 1.4.15 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" - checksum: 0c6b5ae663087558039052a626d2d7ed5208da36cfd707dcc5cea4a07cfc918248403dcb5989a8f7afaf245ce0573b7cc6fd94c4a30453bd10e44d9363940ba5 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.5.0": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0": version: 1.5.0 resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" checksum: 2eb864f276eb1096c3c11da3e9bb518f6d9fc0023c78344cdc037abadc725172c70314bdb360f2d4b7bffec7f5d657ce006816bc5d4ecb35e61b66132db00c18 @@ -2807,16 +2784,6 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.20 - resolution: "@jridgewell/trace-mapping@npm:0.3.20" - dependencies: - "@jridgewell/resolve-uri": "npm:^3.1.0" - "@jridgewell/sourcemap-codec": "npm:^1.4.14" - checksum: 0ea0b2675cf513ec44dc25605616a3c9b808b9832e74b5b63c44260d66b58558bba65764f81928fc1033ead911f8718dca1134049c3e7a93937faf436671df31 - languageName: node - linkType: hard - "@js-sdsl/ordered-map@npm:^4.4.2": version: 4.4.2 resolution: "@js-sdsl/ordered-map@npm:4.4.2" @@ -2866,28 +2833,35 @@ __metadata: languageName: node linkType: hard -"@mdx-js/mdx@npm:2.3.0": - version: 2.3.0 - resolution: "@mdx-js/mdx@npm:2.3.0" +"@mdx-js/mdx@npm:^3": + version: 3.1.0 + resolution: "@mdx-js/mdx@npm:3.1.0" dependencies: + "@types/estree": "npm:^1.0.0" "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" "@types/mdx": "npm:^2.0.0" - estree-util-build-jsx: "npm:^2.0.0" - estree-util-is-identifier-name: "npm:^2.0.0" - estree-util-to-js: "npm:^1.1.0" + collapse-white-space: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + estree-util-scope: "npm:^1.0.0" estree-walker: "npm:^3.0.0" - hast-util-to-estree: "npm:^2.0.0" - markdown-extensions: "npm:^1.0.0" - periscopic: "npm:^3.0.0" - remark-mdx: "npm:^2.0.0" - remark-parse: "npm:^10.0.0" - remark-rehype: "npm:^10.0.0" - unified: "npm:^10.0.0" - unist-util-position-from-estree: "npm:^1.0.0" - unist-util-stringify-position: "npm:^3.0.0" - unist-util-visit: "npm:^4.0.0" - vfile: "npm:^5.0.0" - checksum: 719384d8e72abd3e83aa2fd3010394636e32cc0e5e286b6414427ef03121397586ce97ec816afcc4d2b22ba65939c3801a8198e04cf921dd597c0aa9fd75dbb4 + hast-util-to-jsx-runtime: "npm:^2.0.0" + markdown-extensions: "npm:^2.0.0" + recma-build-jsx: "npm:^1.0.0" + recma-jsx: "npm:^1.0.0" + recma-stringify: "npm:^1.0.0" + rehype-recma: "npm:^1.0.0" + remark-mdx: "npm:^3.0.0" + remark-parse: "npm:^11.0.0" + remark-rehype: "npm:^11.0.0" + source-map: "npm:^0.7.0" + unified: "npm:^11.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + unist-util-stringify-position: "npm:^4.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + checksum: e586ab772dcfee2bab334d5aac54c711e6d6d550085271c38a49c629b3e3954b5f41f488060761284a5e00649d0638d6aba6c0a7c66f91db80dee0ccc304ab32 languageName: node linkType: hard @@ -2900,24 +2874,28 @@ __metadata: languageName: node linkType: hard -"@mswjs/cookies@npm:^1.1.0": - version: 1.1.0 - resolution: "@mswjs/cookies@npm:1.1.0" - checksum: c8442b77f4d4f72c63a29049bbd33e7f9d85517471c09e1a1a71f424e5261feee5311b096d42d4447a51f199017b2227feb2b5dd77da83b733917560ace58940 - languageName: node - linkType: hard - -"@mswjs/interceptors@npm:^0.25.13": - version: 0.25.13 - resolution: "@mswjs/interceptors@npm:0.25.13" +"@mswjs/interceptors@npm:^0.37.0": + version: 0.37.6 + resolution: "@mswjs/interceptors@npm:0.37.6" dependencies: "@open-draft/deferred-promise": "npm:^2.2.0" "@open-draft/logger": "npm:^0.3.0" "@open-draft/until": "npm:^2.0.0" is-node-process: "npm:^1.2.0" - outvariant: "npm:^1.2.1" + outvariant: "npm:^1.4.3" strict-event-emitter: "npm:^0.5.1" - checksum: b08ae12f32e4c85c656dad06e96133020dd2388b111184a9c4313de6855c56d7f85b9e57bb0cf0a313253a0a7c37f29257c1c37bcf1b6bb9e99decf0726c80ea + checksum: 74f52c09c84fcbba9f1a06e462aa25b1567cf078ed27d396c76a8059c002fa9c361e711dcada0ac2aad4298f247d8e236a4fcc861c08ddf6e2ce0889368596fd + languageName: node + linkType: hard + +"@napi-rs/wasm-runtime@npm:^0.2.7": + version: 0.2.7 + resolution: "@napi-rs/wasm-runtime@npm:0.2.7" + dependencies: + "@emnapi/core": "npm:^1.3.1" + "@emnapi/runtime": "npm:^1.3.1" + "@tybys/wasm-util": "npm:^0.9.0" + checksum: 04a5edd79144bfa4e821a373fb6d4939f10c578c5f3633b5e67a57d0f5e36a593f595834d26654ea757bba7cd80b6c42d0d1405d6a8460c5d774e8cd5c9548a4 languageName: node linkType: hard @@ -2938,7 +2916,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -2948,32 +2926,47 @@ __metadata: languageName: node linkType: hard -"@nolyfill/is-core-module@npm:1.0.39": - version: 1.0.39 - resolution: "@nolyfill/is-core-module@npm:1.0.39" - checksum: 34ab85fdc2e0250879518841f74a30c276bca4f6c3e13526d2d1fe515e1adf6d46c25fcd5989d22ea056d76f7c39210945180b4859fc83b050e2da411aa86289 - languageName: node - linkType: hard - "@npmcli/agent@npm:^2.0.0": - version: 2.2.0 - resolution: "@npmcli/agent@npm:2.2.0" + version: 2.2.2 + resolution: "@npmcli/agent@npm:2.2.2" dependencies: agent-base: "npm:^7.1.0" http-proxy-agent: "npm:^7.0.0" https-proxy-agent: "npm:^7.0.1" lru-cache: "npm:^10.0.1" - socks-proxy-agent: "npm:^8.0.1" - checksum: 7b89590598476dda88e79c473766b67c682aae6e0ab0213491daa6083dcc0c171f86b3868f5506f22c09aa5ea69ad7dfb78f4bf39a8dca375d89a42f408645b3 + socks-proxy-agent: "npm:^8.0.3" + checksum: 325e0db7b287d4154ecd164c0815c08007abfb07653cc57bceded17bb7fd240998a3cbdbe87d700e30bef494885eccc725ab73b668020811d56623d145b524ae + languageName: node + linkType: hard + +"@npmcli/agent@npm:^3.0.0": + version: 3.0.0 + resolution: "@npmcli/agent@npm:3.0.0" + dependencies: + agent-base: "npm:^7.1.0" + http-proxy-agent: "npm:^7.0.0" + https-proxy-agent: "npm:^7.0.1" + lru-cache: "npm:^10.0.1" + socks-proxy-agent: "npm:^8.0.3" + checksum: efe37b982f30740ee77696a80c196912c274ecd2cb243bc6ae7053a50c733ce0f6c09fda085145f33ecf453be19654acca74b69e81eaad4c90f00ccffe2f9271 languageName: node linkType: hard "@npmcli/fs@npm:^3.1.0": - version: 3.1.0 - resolution: "@npmcli/fs@npm:3.1.0" + version: 3.1.1 + resolution: "@npmcli/fs@npm:3.1.1" dependencies: semver: "npm:^7.3.5" - checksum: 162b4a0b8705cd6f5c2470b851d1dc6cd228c86d2170e1769d738c1fbb69a87160901411c3c035331e9e99db72f1f1099a8b734bf1637cc32b9a5be1660e4e1e + checksum: c37a5b4842bfdece3d14dfdb054f73fe15ed2d3da61b34ff76629fb5b1731647c49166fd2a8bf8b56fcfa51200382385ea8909a3cbecdad612310c114d3f6c99 + languageName: node + linkType: hard + +"@npmcli/fs@npm:^4.0.0": + version: 4.0.0 + resolution: "@npmcli/fs@npm:4.0.0" + dependencies: + semver: "npm:^7.3.5" + checksum: c90935d5ce670c87b6b14fab04a965a3b8137e585f8b2a6257263bd7f97756dd736cb165bb470e5156a9e718ecd99413dccc54b1138c1a46d6ec7cf325982fe5 languageName: node linkType: hard @@ -3001,121 +2994,114 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/api@npm:^1.4.0": - version: 1.7.0 - resolution: "@opentelemetry/api@npm:1.7.0" - checksum: b5468115d1cec45dd2b86b39210fdc03620a93b9f07c3d20b14081f75e2f7c9b37ceceeb60d5f35c6d4f9819ae07eee0b4874e53e7362376db21db1e00f483f8 - languageName: node - linkType: hard - -"@opentelemetry/api@npm:^1.9.0, @opentelemetry/api@npm:~1.9.0": +"@opentelemetry/api@npm:^1.4.0, @opentelemetry/api@npm:^1.9.0, @opentelemetry/api@npm:~1.9.0": version: 1.9.0 resolution: "@opentelemetry/api@npm:1.9.0" checksum: 9aae2fe6e8a3a3eeb6c1fdef78e1939cf05a0f37f8a4fae4d6bf2e09eb1e06f966ece85805626e01ba5fab48072b94f19b835449e58b6d26720ee19a58298add languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/context-async-hooks@npm:1.30.0" +"@opentelemetry/context-async-hooks@npm:1.30.1": + version: 1.30.1 + resolution: "@opentelemetry/context-async-hooks@npm:1.30.1" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 46fef8f3af37227c16cf4e3d9264bfc7cfbe7357cb4266fa10ef32aa3256da6782110bea997d7a6b6815afb540da0a937fb5ecbaaed248c0234f8872bf25e8df + checksum: 3e8114d360060a5225226d2fcd8df08cd542246003790a7f011c0774bc60b8a931f46f4c6673f3977a7d9bba717de6ee028cae51b752c2567053d7f46ed3eba3 languageName: node linkType: hard -"@opentelemetry/core@npm:1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/core@npm:1.30.0" +"@opentelemetry/core@npm:1.30.1": + version: 1.30.1 + resolution: "@opentelemetry/core@npm:1.30.1" dependencies: "@opentelemetry/semantic-conventions": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 52d17b5ddb06ab4241b977ff89b81f69f140edb5c2a78b2188d95fa7bdfdd1aa2dcafb1e2830ab77d557876682ab8f08727ba8f165ea3c39fbb6bf3b86ef33c8 + checksum: 4c25ba50a6137c2ba9ca563fb269378f3c9ca6fd1b3f15dbb6eff78eebf5656f281997cbb7be8e51c01649fd6ad091083fcd8a42dd9b5dfac907dc06d7cfa092 languageName: node linkType: hard -"@opentelemetry/propagator-b3@npm:1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/propagator-b3@npm:1.30.0" +"@opentelemetry/propagator-b3@npm:1.30.1": + version: 1.30.1 + resolution: "@opentelemetry/propagator-b3@npm:1.30.1" dependencies: - "@opentelemetry/core": "npm:1.30.0" + "@opentelemetry/core": "npm:1.30.1" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 2378d9527247982ad09c08f51b90364913640a72519df3b65fbd694a666f4e13ce035b3a42d3651f5d707e85b3f48b7837e4aa50fbbfe3fcb8f6af47e0af5c34 + checksum: aeeaa6325e2d970a207a396b98562e05578688ffd047e64544c441456702c593a74b614216c0360ee0f63bb7c3cf39b63f74c0f59c8580a1aac067970cee9bc2 languageName: node linkType: hard -"@opentelemetry/propagator-jaeger@npm:1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/propagator-jaeger@npm:1.30.0" +"@opentelemetry/propagator-jaeger@npm:1.30.1": + version: 1.30.1 + resolution: "@opentelemetry/propagator-jaeger@npm:1.30.1" dependencies: - "@opentelemetry/core": "npm:1.30.0" + "@opentelemetry/core": "npm:1.30.1" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: a2cd68d3ca08ba84b62427d363f7054a8d51922805376987d67bbf7d61513cde9665a4f5df262f46ed2affae0557d3bc13b0ec3aa68f84088f092f007849f781 + checksum: e828d67768150bb23b4e75589bc6e9a3ae28e50a6ba6f6e737cf14fd33ab4108fb0aa84d363045e7e591b89a55bef4b8823fbd1734f64f7bb918338b78b86881 languageName: node linkType: hard -"@opentelemetry/resources@npm:1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/resources@npm:1.30.0" +"@opentelemetry/resources@npm:1.30.1": + version: 1.30.1 + resolution: "@opentelemetry/resources@npm:1.30.1" dependencies: - "@opentelemetry/core": "npm:1.30.0" + "@opentelemetry/core": "npm:1.30.1" "@opentelemetry/semantic-conventions": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 2b298193de85f8d7d05f9d71e5ea63189668f99248486246a4cfdc8667a5face205d650ef1ee6204a9f9c16d0b0e7704bb89a5d47537279c8e3378231ed35d1d + checksum: 688e73258283c80662bfa9a858aaf73bf3b832a18d96e546d0dddfa6dcec556cdfa087a1d0df643435293406009e4122d7fb7eeea69aa87b539d3bab756fba74 languageName: node linkType: hard -"@opentelemetry/sdk-trace-base@npm:1.30.0, @opentelemetry/sdk-trace-base@npm:^1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/sdk-trace-base@npm:1.30.0" +"@opentelemetry/sdk-trace-base@npm:1.30.1, @opentelemetry/sdk-trace-base@npm:^1.30.0": + version: 1.30.1 + resolution: "@opentelemetry/sdk-trace-base@npm:1.30.1" dependencies: - "@opentelemetry/core": "npm:1.30.0" - "@opentelemetry/resources": "npm:1.30.0" + "@opentelemetry/core": "npm:1.30.1" + "@opentelemetry/resources": "npm:1.30.1" "@opentelemetry/semantic-conventions": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 3d8dcb0ec4e70405593421ea4df8b9a5e7faceea16cb900f30747eaeaa1f96059d40312ff2171208bb627deab6a6f32024681128cfba45af2671c6cfba528af1 + checksum: 77019dc3efaeceb41b4c54dd83b92f0ccd81ecceca544cbbe8e0aee4b2c8727724bdb9dcecfe00622c16d60946ae4beb69a5c0e7d85c4bc7ef425bd84f8b970c languageName: node linkType: hard "@opentelemetry/sdk-trace-node@npm:^1.30.0": - version: 1.30.0 - resolution: "@opentelemetry/sdk-trace-node@npm:1.30.0" + version: 1.30.1 + resolution: "@opentelemetry/sdk-trace-node@npm:1.30.1" dependencies: - "@opentelemetry/context-async-hooks": "npm:1.30.0" - "@opentelemetry/core": "npm:1.30.0" - "@opentelemetry/propagator-b3": "npm:1.30.0" - "@opentelemetry/propagator-jaeger": "npm:1.30.0" - "@opentelemetry/sdk-trace-base": "npm:1.30.0" + "@opentelemetry/context-async-hooks": "npm:1.30.1" + "@opentelemetry/core": "npm:1.30.1" + "@opentelemetry/propagator-b3": "npm:1.30.1" + "@opentelemetry/propagator-jaeger": "npm:1.30.1" + "@opentelemetry/sdk-trace-base": "npm:1.30.1" semver: "npm:^7.5.2" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 284b314c8c5b6da6e7e2b6c6814d6ef7cdfeeb3bce211bc1c38dc1e4b092f811727040265a75b5f6b67c287429cbd23661210b253429370918cb111bef1b57ac + checksum: 8ae1c2b49389d45bc9419e106c47fa3b91cb39708281dc7dfb7dab8e4d98d5bb27c1758a5521722840bca37bb825d4b8b1571e19ab88a7884867f994e29a5989 languageName: node linkType: hard -"@opentelemetry/semantic-conventions@npm:1.28.0, @opentelemetry/semantic-conventions@npm:^1.28.0": +"@opentelemetry/semantic-conventions@npm:1.28.0, @opentelemetry/semantic-conventions@npm:~1.28.0": version: 1.28.0 resolution: "@opentelemetry/semantic-conventions@npm:1.28.0" checksum: deb8a0f744198071e70fea27143cf7c9f7ecb7e4d7b619488c917834ea09b31543c1c2bcea4ec5f3cf68797f0ef3549609c14e859013d9376400ac1499c2b9cb languageName: node linkType: hard -"@opentelemetry/semantic-conventions@npm:~1.26.0": - version: 1.26.0 - resolution: "@opentelemetry/semantic-conventions@npm:1.26.0" - checksum: 99068641898e1db1ce84d8f6b83a3d16acc1f395498c2215316be71b58aa280267a67fee1196f553a91d31b6853fe3452e12b26bd802c7d599b9387ee00fb41c +"@opentelemetry/semantic-conventions@npm:^1.28.0": + version: 1.30.0 + resolution: "@opentelemetry/semantic-conventions@npm:1.30.0" + checksum: 0bf99552e3b4b7e8b7eb504b678d52f59c6f259df88e740a2011a0d858e523d36fee86047ae1b7f45849c77f00f970c3059ba58e0a06a7d47d6f01dbe8c455bd languageName: node linkType: hard "@panva/hkdf@npm:^1.1.1": - version: 1.1.1 - resolution: "@panva/hkdf@npm:1.1.1" - checksum: 34f98068a33c031ba112cdfa0c8e29b28336e173a4f93532a24b3196c9f25b2cbd1477cf54a30293f760f909369a725fb645dabb9ed132aec7dedde263a2263e + version: 1.2.1 + resolution: "@panva/hkdf@npm:1.2.1" + checksum: 1fabdec9bd2c19b8e88a3fa6fd0c25e25823c5000d9efdf4b6dfe32e9f370f8b9603cf776d120d160bec15fba17e079974cc34f0f52cebb24602cd832dfde19c languageName: node linkType: hard @@ -3143,13 +3129,13 @@ __metadata: linkType: hard "@pnpm/npm-conf@npm:^2.1.0": - version: 2.2.2 - resolution: "@pnpm/npm-conf@npm:2.2.2" + version: 2.3.1 + resolution: "@pnpm/npm-conf@npm:2.3.1" dependencies: "@pnpm/config.env-replace": "npm:^1.1.0" "@pnpm/network.ca-file": "npm:^1.0.1" config-chain: "npm:^1.1.11" - checksum: 71393dcfce85603fddd8484b486767163000afab03918303253ae97992615b91d25942f83751366cb40ad2ee32b0ae0a033561de9d878199a024286ff98b0296 + checksum: 778a3a34ff7d6000a2594d2a9821f873f737bc56367865718b2cf0ba5d366e49689efe7975148316d7afd8e6f1dcef7d736fbb6ea7ef55caadd1dc93a36bb302 languageName: node linkType: hard @@ -3233,23 +3219,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^5.0.5": - version: 5.1.0 - resolution: "@rollup/pluginutils@npm:5.1.0" - dependencies: - "@types/estree": "npm:^1.0.0" - estree-walker: "npm:^2.0.2" - picomatch: "npm:^2.3.1" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: c7bed15711f942d6fdd3470fef4105b73991f99a478605e13d41888963330a6f9e32be37e6ddb13f012bc7673ff5e54f06f59fd47109436c1c513986a8a7612d - languageName: node - linkType: hard - -"@rollup/pluginutils@npm:^5.1.3": +"@rollup/pluginutils@npm:^5.0.5, @rollup/pluginutils@npm:^5.1.3, @rollup/pluginutils@npm:^5.1.4": version: 5.1.4 resolution: "@rollup/pluginutils@npm:5.1.4" dependencies: @@ -3279,9 +3249,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.0" +"@rollup/rollup-android-arm-eabi@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.37.0" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -3300,9 +3270,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-android-arm64@npm:4.9.0" +"@rollup/rollup-android-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-android-arm64@npm:4.37.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -3321,9 +3291,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.9.0" +"@rollup/rollup-darwin-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.37.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -3342,9 +3312,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.9.0" +"@rollup/rollup-darwin-x64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.37.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -3363,6 +3333,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.37.0" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-freebsd-x64@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-freebsd-x64@npm:4.34.9" @@ -3377,6 +3354,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-x64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-freebsd-x64@npm:4.37.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.9" @@ -3391,10 +3375,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0" - conditions: os=linux & cpu=arm +"@rollup/rollup-linux-arm-gnueabihf@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.37.0" + conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -3412,6 +3396,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-musleabihf@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.37.0" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.9" @@ -3426,9 +3417,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.0" +"@rollup/rollup-linux-arm64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.37.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -3447,9 +3438,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.0" +"@rollup/rollup-linux-arm64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.37.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -3468,6 +3459,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-loongarch64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.37.0" + conditions: os=linux & cpu=loong64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.9" @@ -3482,6 +3480,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.37.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.34.9" @@ -3496,13 +3501,20 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.0" +"@rollup/rollup-linux-riscv64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.37.0" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard +"@rollup/rollup-linux-riscv64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.37.0" + conditions: os=linux & cpu=riscv64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-s390x-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.34.9" @@ -3517,6 +3529,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-s390x-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.37.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-gnu@npm:4.34.9": version: 4.34.9 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.9" @@ -3531,9 +3550,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.0" +"@rollup/rollup-linux-x64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.37.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -3552,9 +3571,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.0" +"@rollup/rollup-linux-x64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.37.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -3573,9 +3592,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.0" +"@rollup/rollup-win32-arm64-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.37.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -3594,9 +3613,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.0" +"@rollup/rollup-win32-ia32-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.37.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -3615,9 +3634,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.9.0": - version: 4.9.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.0" +"@rollup/rollup-win32-x64-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.37.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3643,6 +3662,34 @@ __metadata: languageName: node linkType: hard +"@ryoppippi/unplugin-typia@npm:^2.1.4": + version: 2.1.4 + resolution: "@ryoppippi/unplugin-typia@npm:2.1.4" + dependencies: + "@rollup/pluginutils": "npm:^5.1.4" + consola: "npm:^3.4.2" + defu: "npm:^6.1.4" + diff-match-patch-es: "npm:^1.0.1" + find-cache-dir: "npm:^5.0.0" + magic-string: "npm:^0.30.17" + pathe: "npm:^2.0.3" + pkg-types: "npm:^2.1.0" + type-fest: "npm:^4.37.0" + unplugin: "npm:^2.2.2" + peerDependencies: + svelte: ^5.25.2 + typescript: ">=4.8.0 <5.9.0" + typia: ">=8.0.0 <9.0.0" + vite: ">=3.0.0" + peerDependenciesMeta: + svelte: + optional: true + vite: + optional: true + checksum: 07f8ad9ac0d16a76f504f08d9367e7a905404062820280c875c9ccd964deca09ee3c8dee005740ce01eff7fb0e5d3b864ced1e65e757e74b7a8c0cdccf01f776 + languageName: node + linkType: hard + "@samchon/openapi@npm:^2.4.2": version: 2.5.3 resolution: "@samchon/openapi@npm:2.5.3" @@ -3734,21 +3781,21 @@ __metadata: languageName: node linkType: hard -"@types/acorn@npm:^4.0.0": - version: 4.0.6 - resolution: "@types/acorn@npm:4.0.6" +"@tybys/wasm-util@npm:^0.9.0": + version: 0.9.0 + resolution: "@tybys/wasm-util@npm:0.9.0" dependencies: - "@types/estree": "npm:*" - checksum: 5a65a1d7e91fc95703f0a717897be60fa7ccd34b17f5462056274a246e6690259fe0a1baabc86fd3260354f87245cb3dc483346d7faad2b78fc199763978ede9 + tslib: "npm:^2.4.0" + checksum: f9fde5c554455019f33af6c8215f1a1435028803dc2a2825b077d812bed4209a1a64444a4ca0ce2ea7e1175c8d88e2f9173a36a33c199e8a5c671aa31de8242d languageName: node linkType: hard "@types/bun@npm:^1.0.0": - version: 1.0.0 - resolution: "@types/bun@npm:1.0.0" + version: 1.2.5 + resolution: "@types/bun@npm:1.2.5" dependencies: - bun-types: "npm:1.0.18" - checksum: 01784df20c982da2a5e41f4e84733436472e6d897bdb01c5b4154cf8bc38ff102718ce2d66d6e34ca2217683499c5a3767e542147efbdf510baaf4b72a854008 + bun-types: "npm:1.2.5" + checksum: 228fbaee32c91353696740361e7ab4b3650906d85e10d3d8ea0c8b2669e529b756e67f444609ca98ee400a5774c3cedfa611ca2b51d7d8db37f5c1db42d654cd languageName: node linkType: hard @@ -3759,20 +3806,13 @@ __metadata: languageName: node linkType: hard -"@types/cookie@npm:0.6.0": +"@types/cookie@npm:0.6.0, @types/cookie@npm:^0.6.0": version: 0.6.0 resolution: "@types/cookie@npm:0.6.0" checksum: 5b326bd0188120fb32c0be086b141b1481fec9941b76ad537f9110e10d61ee2636beac145463319c71e4be67a17e85b81ca9e13ceb6e3bb63b93d16824d6c149 languageName: node linkType: hard -"@types/cookie@npm:^0.4.1": - version: 0.4.1 - resolution: "@types/cookie@npm:0.4.1" - checksum: f96afe12bd51be1ec61410b0641243d93fa3a494702407c787a4c872b5c8bcd39b224471452055e44a9ce42af1a636e87d161994226eaf4c2be9c30f60418409 - languageName: node - linkType: hard - "@types/debug@npm:^4.0.0": version: 4.1.12 resolution: "@types/debug@npm:4.1.12" @@ -3782,29 +3822,26 @@ __metadata: languageName: node linkType: hard -"@types/eslint@npm:^8": - version: 8.44.9 - resolution: "@types/eslint@npm:8.44.9" - dependencies: - "@types/estree": "npm:*" - "@types/json-schema": "npm:*" - checksum: e9da4e4c7b7c9014b17d40007e36f02f3b5dd55c43bb05928b52dd9c19f2a8fb7971a851a4e7a11625c3c69da286c5baf55de2f8bb900b1a4cfb5145a4491b37 +"@types/doctrine@npm:^0.0.9": + version: 0.0.9 + resolution: "@types/doctrine@npm:0.0.9" + checksum: cdaca493f13c321cf0cacd1973efc0ae74569633145d9e6fc1128f32217a6968c33bea1f858275239fe90c98f3be57ec8f452b416a9ff48b8e8c1098b20fa51c languageName: node linkType: hard "@types/estree-jsx@npm:^1.0.0": - version: 1.0.3 - resolution: "@types/estree-jsx@npm:1.0.3" + version: 1.0.5 + resolution: "@types/estree-jsx@npm:1.0.5" dependencies: "@types/estree": "npm:*" - checksum: 41742a7b0874f63e61396d87a46d3ca531850a0e2cd7cec304339b8df439b6371d5e8758f34de9b5d9e940486ea21305b2f74cb420754838ecdfdaba918afc66 + checksum: 07b354331516428b27a3ab99ee397547d47eb223c34053b48f84872fafb841770834b90cc1a0068398e7c7ccb15ec51ab00ec64b31dc5e3dbefd624638a35c6d languageName: node linkType: hard "@types/estree@npm:*, @types/estree@npm:^1.0.0": - version: 1.0.5 - resolution: "@types/estree@npm:1.0.5" - checksum: b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d + version: 1.0.7 + resolution: "@types/estree@npm:1.0.7" + checksum: be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8c languageName: node linkType: hard @@ -3815,23 +3852,16 @@ __metadata: languageName: node linkType: hard -"@types/hast@npm:^2.0.0": - version: 2.3.8 - resolution: "@types/hast@npm:2.3.8" +"@types/hast@npm:^3.0.0": + version: 3.0.4 + resolution: "@types/hast@npm:3.0.4" dependencies: - "@types/unist": "npm:^2" - checksum: 0b358a65135922df8465f5daabed08602afc9098cf9065439f2fa46a5757d1630c88c4ad208b9ff0114bed95d468a75eeed49a099615096a9ad3bb1a85d8a3a1 + "@types/unist": "npm:*" + checksum: 3249781a511b38f1d330fd1e3344eed3c4e7ea8eff82e835d35da78e637480d36fad37a78be5a7aed8465d237ad0446abc1150859d0fde395354ea634decf9f7 languageName: node linkType: hard -"@types/js-levenshtein@npm:^1.1.1": - version: 1.1.3 - resolution: "@types/js-levenshtein@npm:1.1.3" - checksum: 025f2bd8d865cfa7a996799a1a2f2a77fa2fc74a28971aa035a103de35d7c1e3d949721a88f57fdb532815bbcb2bf7019196a608ed0a8bbd1023d64c52bb251b - languageName: node - linkType: hard - -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.6": +"@types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.6": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -3839,11 +3869,12 @@ __metadata: linkType: hard "@types/jsonwebtoken@npm:^9.0.5": - version: 9.0.5 - resolution: "@types/jsonwebtoken@npm:9.0.5" + version: 9.0.9 + resolution: "@types/jsonwebtoken@npm:9.0.9" dependencies: + "@types/ms": "npm:*" "@types/node": "npm:*" - checksum: c582b8420586f3b9550f7e34992cb32be300bc953636f3b087ed9c180ce7ea5c2e4b35090be2d57f0d3168cc3ca1074932907caa2afe09f4e9c84cf5c0daefa8 + checksum: d754a7b65fc021b298fc94e8d7a7d71f35dedf24296ac89286f80290abc5dbb0c7830a21440ee9ecbb340efc1b0a21f5609ea298a35b874cae5ad29a65440741 languageName: node linkType: hard @@ -3854,42 +3885,42 @@ __metadata: languageName: node linkType: hard -"@types/mdast@npm:^3.0.0": - version: 3.0.15 - resolution: "@types/mdast@npm:3.0.15" +"@types/mdast@npm:^4.0.0": + version: 4.0.4 + resolution: "@types/mdast@npm:4.0.4" dependencies: - "@types/unist": "npm:^2" - checksum: fcbf716c03d1ed5465deca60862e9691414f9c43597c288c7d2aefbe274552e1bbd7aeee91b88a02597e88a28c139c57863d0126fcf8416a95fdc681d054ee3d + "@types/unist": "npm:*" + checksum: 84f403dbe582ee508fd9c7643ac781ad8597fcbfc9ccb8d4715a2c92e4545e5772cbd0dbdf18eda65789386d81b009967fdef01b24faf6640f817287f54d9c82 languageName: node linkType: hard -"@types/mdx@npm:^2.0.0, @types/mdx@npm:^2.0.8": +"@types/mdx@npm:^2": + version: 2.0.13 + resolution: "@types/mdx@npm:2.0.13" + checksum: 5edf1099505ac568da55f9ae8a93e7e314e8cbc13d3445d0be61b75941226b005e1390d9b95caecf5dcb00c9d1bab2f1f60f6ff9876dc091a48b547495007720 + languageName: node + linkType: hard + +"@types/mdx@npm:^2.0.0": version: 2.0.10 resolution: "@types/mdx@npm:2.0.10" checksum: a2a5d71967c44c650e883eaaeb61db9c0758b9c1d675e04b7a3cfeeaee6efd5044dc9c78d780aa3fe408a2f85680bf3b723c92a1772bb6c2da35ef346d766de2 languageName: node linkType: hard -"@types/minimist@npm:^1.2.0": - version: 1.2.5 - resolution: "@types/minimist@npm:1.2.5" - checksum: 3f791258d8e99a1d7d0ca2bda1ca6ea5a94e5e7b8fc6cde84dd79b0552da6fb68ade750f0e17718f6587783c24254bbca0357648dd59dc3812c150305cabdc46 - languageName: node - linkType: hard - "@types/ms@npm:*": - version: 0.7.34 - resolution: "@types/ms@npm:0.7.34" - checksum: ac80bd90012116ceb2d188fde62d96830ca847823e8ca71255616bc73991aa7d9f057b8bfab79e8ee44ffefb031ddd1bcce63ea82f9e66f7c31ec02d2d823ccc + version: 2.1.0 + resolution: "@types/ms@npm:2.1.0" + checksum: 5ce692ffe1549e1b827d99ef8ff71187457e0eb44adbae38fdf7b9a74bae8d20642ee963c14516db1d35fa2652e65f47680fdf679dcbde52bbfadd021f497225 languageName: node linkType: hard "@types/node@npm:*, @types/node@npm:>=13.7.0": - version: 20.10.4 - resolution: "@types/node@npm:20.10.4" + version: 22.13.13 + resolution: "@types/node@npm:22.13.13" dependencies: - undici-types: "npm:~5.26.4" - checksum: 2c8b70cba731eb2ae3ae046daa74903bfcbb0e7b9196da767e5895054f6d252296ae7a04fb1dbbcb53bb004c4c658c05eaea2731bc9e2dd9e08f7e88d672f563 + undici-types: "npm:~6.20.0" + checksum: daf792ba5dcff1316abf4b33680f94b792f8d54d6ae495efc8929531e0ba1284a248d29aab117d2259f9280284d986ad5799b193b0516e2b926d713aab835f7d languageName: node linkType: hard @@ -3901,45 +3932,37 @@ __metadata: linkType: hard "@types/node@npm:^20.14.8": - version: 20.17.23 - resolution: "@types/node@npm:20.17.23" + version: 20.17.27 + resolution: "@types/node@npm:20.17.27" dependencies: undici-types: "npm:~6.19.2" - checksum: 4f7da7383ee8516b2e580d772a196fd76487670bd9d32a296621c5df63b077cc7d06c2a0040885b3e4a28c1751f9ad3d5ed55cff15d50b707e3d454993bfe33a - languageName: node - linkType: hard - -"@types/normalize-package-data@npm:^2.4.0": - version: 2.4.4 - resolution: "@types/normalize-package-data@npm:2.4.4" - checksum: aef7bb9b015883d6f4119c423dd28c4bdc17b0e8a0ccf112c78b4fe0e91fbc4af7c6204b04bba0e199a57d2f3fbbd5b4a14bf8739bf9d2a39b2a0aad545e0f86 + checksum: 09f30c65e5f2a082eddf26a7ffa859bf2b77e1123829309823e7691227fd5a691b30cd3ac413d65829aa25c1eebd2f717bed80f2f8a7f83aaa6c2c3a047b3504 languageName: node linkType: hard "@types/prop-types@npm:*": - version: 15.7.11 - resolution: "@types/prop-types@npm:15.7.11" - checksum: e53423cf9d510515ef8b47ff42f4f1b65a7b7b37c8704e2dbfcb9a60defe0c0e1f3cb1acfdeb466bad44ca938d7c79bffdd51b48ffb659df2432169d0b27a132 + version: 15.7.14 + resolution: "@types/prop-types@npm:15.7.14" + checksum: 1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1 languageName: node linkType: hard "@types/react-dom@npm:^18.2.17": - version: 18.2.18 - resolution: "@types/react-dom@npm:18.2.18" - dependencies: - "@types/react": "npm:*" - checksum: 74dba11a1b8156f3a763f3fca1fb4ec1dcd349153279b8bf79210024a69f994bf2cf0728198c047f8130c5318420ea56281b0a4ef84c8ae943cd9a0cac705220 + version: 18.3.5 + resolution: "@types/react-dom@npm:18.3.5" + peerDependencies: + "@types/react": ^18.0.0 + checksum: b163d35a6b32a79f5782574a7aeb12a31a647e248792bf437e6d596e2676961c394c5e3c6e91d1ce44ae90441dbaf93158efb4f051c0d61e2612f1cb04ce4faa languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18": - version: 18.2.45 - resolution: "@types/react@npm:18.2.45" +"@types/react@npm:^18": + version: 18.3.20 + resolution: "@types/react@npm:18.3.20" dependencies: "@types/prop-types": "npm:*" - "@types/scheduler": "npm:*" csstype: "npm:^3.0.2" - checksum: 4cc650c47ffb88baac29fb7a74e842e4af4a55f437086ef70250fdc75f0a5f2fcf8adc272d05ab2e00b1de6e14613296881271caee037dadf9130fdeb498c59e + checksum: 65fa867c91357e4c4c646945c8b99044360f8973cb7f928ec4de115fe3207827985d45be236e6fd6c092b09f631c2126ce835c137be30718419e143d73300d8f languageName: node linkType: hard @@ -3955,24 +3978,10 @@ __metadata: languageName: node linkType: hard -"@types/scheduler@npm:*": - version: 0.16.8 - resolution: "@types/scheduler@npm:0.16.8" - checksum: f86de504945b8fc41b1f391f847444d542e2e4067cf7e5d9bfeb5d2d2393d3203b1161bc0ef3b1e104d828dabfb60baf06e8d2c27e27ff7e8258e6e618d8c4ec - languageName: node - linkType: hard - -"@types/semver@npm:^7.5.0": - version: 7.5.6 - resolution: "@types/semver@npm:7.5.6" - checksum: 196dc32db5f68cbcde2e6a42bb4aa5cbb100fa2b7bd9c8c82faaaf3e03fbe063e205dbb4f03c7cdf53da2edb70a0d34c9f2e601b54281b377eb8dc1743226acd - languageName: node - linkType: hard - -"@types/statuses@npm:^2.0.1": - version: 2.0.4 - resolution: "@types/statuses@npm:2.0.4" - checksum: 9e5efd048a7088ab8ca0e0eca87f160ce0afc11fd06a85e130823e12290497c9b0a3a045a8df264b90237a4e92a79b0de9ed1fd6b497ac90c87e58fed7312755 +"@types/statuses@npm:^2.0.4": + version: 2.0.5 + resolution: "@types/statuses@npm:2.0.5" + checksum: 4dacec0b29483a44be902a022a11a22b339de7a6e7b2059daa4f7add10cb6dbcc28d02d2a416fe9687e48d335906bf983065391836d4e7c847e55ddef4de8fad languageName: node linkType: hard @@ -3983,7 +3992,7 @@ __metadata: languageName: node linkType: hard -"@types/tough-cookie@npm:*": +"@types/tough-cookie@npm:*, @types/tough-cookie@npm:^4.0.5": version: 4.0.5 resolution: "@types/tough-cookie@npm:4.0.5" checksum: 68c6921721a3dcb40451543db2174a145ef915bc8bcbe7ad4e59194a0238e776e782b896c7a59f4b93ac6acefca9161fccb31d1ce3b3445cb6faa467297fb473 @@ -3997,10 +4006,17 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:^2, @types/unist@npm:^2.0.0": - version: 2.0.10 - resolution: "@types/unist@npm:2.0.10" - checksum: 5f247dc2229944355209ad5c8e83cfe29419fa7f0a6d557421b1985a1500444719cc9efcc42c652b55aab63c931813c88033e0202c1ac684bcd4829d66e44731 +"@types/unist@npm:*": + version: 3.0.3 + resolution: "@types/unist@npm:3.0.3" + checksum: 2b1e4adcab78388e088fcc3c0ae8700f76619dbcb4741d7d201f87e2cb346bfc29a89003cfea2d76c996e1061452e14fcd737e8b25aacf949c1f2d6b2bc3dd60 + languageName: node + linkType: hard + +"@types/unist@npm:^2.0.0": + version: 2.0.11 + resolution: "@types/unist@npm:2.0.11" + checksum: 24dcdf25a168f453bb70298145eb043cfdbb82472db0bc0b56d6d51cd2e484b9ed8271d4ac93000a80da568f2402e9339723db262d0869e2bf13bc58e081768d languageName: node linkType: hard @@ -4027,6 +4043,36 @@ __metadata: languageName: node linkType: hard +"@types/ws@npm:~8.5.10": + version: 8.5.14 + resolution: "@types/ws@npm:8.5.14" + dependencies: + "@types/node": "npm:*" + checksum: be88a0b6252f939cb83340bd1b4d450287f752c19271195cd97564fd94047259a9bb8c31c585a61b69d8a1b069a99df9dd804db0132d3359c54d3890c501416a + languageName: node + linkType: hard + +"@typescript-eslint/eslint-plugin@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.28.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:8.28.0" + "@typescript-eslint/type-utils": "npm:8.28.0" + "@typescript-eslint/utils": "npm:8.28.0" + "@typescript-eslint/visitor-keys": "npm:8.28.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.3.1" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^2.0.1" + peerDependencies: + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: f01b7d231b01ec2c1cc7c40599ddceb329532f2876664a39dec9d25c0aed4cfdbef3ec07f26bac357df000d798f652af6fdb6a2481b6120e43bfa38f7c7a7c48 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^8.7.0": version: 8.7.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.7.0" @@ -4050,6 +4096,22 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/parser@npm:8.28.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.28.0" + "@typescript-eslint/types": "npm:8.28.0" + "@typescript-eslint/typescript-estree": "npm:8.28.0" + "@typescript-eslint/visitor-keys": "npm:8.28.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 4bde6887bbf3fe031c01e46db90f9f384a8cac2e67c2972b113a62d607db75e01db943601279aac847b9187960a038981814042cb02fd5aa27ea4613028f9313 + languageName: node + linkType: hard + "@typescript-eslint/parser@npm:^8.7.0": version: 8.7.0 resolution: "@typescript-eslint/parser@npm:8.7.0" @@ -4068,13 +4130,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/scope-manager@npm:8.3.0" +"@typescript-eslint/scope-manager@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/scope-manager@npm:8.28.0" dependencies: - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" - checksum: 24d093505d444a07db88f9ab44af04eb738ce523ac3f98b0a641cf3a3ee38d18aff9f72bbf2b2e2d9f45e57c973f31016f1e224cd8ab773f6e7c3477c5a09ad3 + "@typescript-eslint/types": "npm:8.28.0" + "@typescript-eslint/visitor-keys": "npm:8.28.0" + checksum: f3bd76b3f54e60f1efe108b233b2d818e44ecf0dc6422cc296542f784826caf3c66d51b8acc83d8c354980bd201e1d9aa1ea01011de96e0613d320c00e40ccfd languageName: node linkType: hard @@ -4088,6 +4150,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/type-utils@npm:8.28.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.28.0" + "@typescript-eslint/utils": "npm:8.28.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^2.0.1" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: b8936edc2153bf794efba39bfb06393a228217830051767360f4b691fed7c82f3831c4fc6deac6d78b90a58596e61f866c17eaee9dd793c3efda3ebdcf5a71d8 + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:8.7.0": version: 8.7.0 resolution: "@typescript-eslint/type-utils@npm:8.7.0" @@ -4103,10 +4180,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/types@npm:8.3.0" - checksum: 5cd733af7ffa0cdaa5842f6c5e275b3a5c9b98dc49bf1bb9df1f0b51d346bef2a10a827d886f60492d502218a272e935cef50b4f7c69100217d5b10a2499c7b1 +"@typescript-eslint/types@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/types@npm:8.28.0" + checksum: 1f95895e20dac1cf063dc93c99142fd1871e53be816bcbbee93f22a05e6b2a82ca83c20ce3a551f65555910aa0956443a23268edbb004369d0d5cb282d13c377 languageName: node linkType: hard @@ -4117,22 +4194,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.3.0, @typescript-eslint/typescript-estree@npm:^8.1.0": - version: 8.3.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.3.0" +"@typescript-eslint/typescript-estree@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.28.0" dependencies: - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" + "@typescript-eslint/types": "npm:8.28.0" + "@typescript-eslint/visitor-keys": "npm:8.28.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" minimatch: "npm:^9.0.4" semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: dd73aa1a9d7b5c7e6238e766e6ecdb6d87a9b28a24815258b7bbdc59c49fb525d3fe15d9b7c672e2220678f9d5fabdd9615e4cd5ee97a102fd46023ec0735d50 + ts-api-utils: "npm:^2.0.1" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 97a91c95b1295926098c12e2d2c2abaa68994dc879da132dcce1e75ec9d7dee8187695eaa5241d09cbc42b5e633917b6d35c624e78e3d3ee9bda42d1318080b6 languageName: node linkType: hard @@ -4155,6 +4231,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:8.28.0, @typescript-eslint/utils@npm:^8.27.0": + version: 8.28.0 + resolution: "@typescript-eslint/utils@npm:8.28.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.28.0" + "@typescript-eslint/types": "npm:8.28.0" + "@typescript-eslint/typescript-estree": "npm:8.28.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: d3425be7f86c1245a11f0ea39136af681027797417348d8e666d38c76646945eaed7b35eb8db66372b067dee8b02a855caf2c24c040ec9c31e59681ab223b59d + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:8.7.0": version: 8.7.0 resolution: "@typescript-eslint/utils@npm:8.7.0" @@ -4169,27 +4260,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^8.1.0": - version: 8.3.0 - resolution: "@typescript-eslint/utils@npm:8.3.0" +"@typescript-eslint/visitor-keys@npm:8.28.0": + version: 8.28.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.28.0" dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.3.0" - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/typescript-estree": "npm:8.3.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - checksum: e4e9e820cf4b4775bb66b2293a2a827897edaba88577b63df317b50752a01d542be521cc4842976fbbd93e08b9e273ce9d20e23768d06de68a83d68cc0f68a93 - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.3.0" - dependencies: - "@typescript-eslint/types": "npm:8.3.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 4c19216636f2cc25026fe20d2832d857f05c262eba78bc4159121c696199e44cac68443565959f9336372f7686a14b452867300cf4deb3c0507b8dbde88ac0e6 + "@typescript-eslint/types": "npm:8.28.0" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 245a78ed983fe95fbd1b0f2d4cb9e9d1d964bddc0aa3e3d6ab10c19c4273855bfb27d840bb1fd55deb7ae3078b52f26592472baf6fd2c7019a5aa3b1da974f35 languageName: node linkType: hard @@ -4203,9 +4280,95 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.0.0": + version: 1.3.0 + resolution: "@ungap/structured-clone@npm:1.3.0" + checksum: 0fc3097c2540ada1fc340ee56d58d96b5b536a2a0dab6e3ec17d4bfc8c4c86db345f61a375a8185f9da96f01c69678f836a2b57eeaa9e4b8eeafd26428e57b0a + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-darwin-arm64@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-darwin-arm64@npm:1.2.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-darwin-x64@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-darwin-x64@npm:1.2.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-freebsd-x64@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-freebsd-x64@npm:1.2.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-linux-arm-gnueabihf@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-linux-arm-gnueabihf@npm:1.2.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-linux-arm64-gnu@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-linux-arm64-gnu@npm:1.2.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-linux-arm64-musl@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-linux-arm64-musl@npm:1.2.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-linux-x64-gnu@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-linux-x64-gnu@npm:1.2.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-linux-x64-musl@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-linux-x64-musl@npm:1.2.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-wasm32-wasi@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-wasm32-wasi@npm:1.2.2" + dependencies: + "@napi-rs/wasm-runtime": "npm:^0.2.7" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-win32-arm64-msvc@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-win32-arm64-msvc@npm:1.2.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@unrs/rspack-resolver-binding-win32-x64-msvc@npm:1.2.2": + version: 1.2.2 + resolution: "@unrs/rspack-resolver-binding-win32-x64-msvc@npm:1.2.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@vitest/coverage-istanbul@npm:^3.0.8": - version: 3.0.8 - resolution: "@vitest/coverage-istanbul@npm:3.0.8" + version: 3.0.9 + resolution: "@vitest/coverage-istanbul@npm:3.0.9" dependencies: "@istanbuljs/schema": "npm:^0.1.3" debug: "npm:^4.4.0" @@ -4218,28 +4381,28 @@ __metadata: test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^2.0.0" peerDependencies: - vitest: 3.0.8 - checksum: 9f968337f32d0672f7fb064fe031526b271f55a3ef463cac2c31ec5ffb6fa01e4d370408ed10326cc71c1214b873ca0193762a4b8925aea8cc6bbd761d869153 + vitest: 3.0.9 + checksum: af3e224962a63da52eafe34b8cb4f4355fd9dbd1634f1b28482d809b31a22ca1a250a69683376fd4404bb8f3a5156c2250057f5b475f241c4f7cac49935882e7 languageName: node linkType: hard -"@vitest/expect@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/expect@npm:3.0.8" +"@vitest/expect@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/expect@npm:3.0.9" dependencies: - "@vitest/spy": "npm:3.0.8" - "@vitest/utils": "npm:3.0.8" + "@vitest/spy": "npm:3.0.9" + "@vitest/utils": "npm:3.0.9" chai: "npm:^5.2.0" tinyrainbow: "npm:^2.0.0" - checksum: 48aebec816f5a1b1f64f82b474ccfba537801a654f9547c581ed1c2d30b5de72207b643d3db2ac2869809a63a585425df30f65481f86d2bbbf979d8f235661bd + checksum: 4e5eef8fbc9c3e47f3fb69dbbd5b51aabdf1b6de2f781556d37d79731678fc83cf4a01d146226b12a27df051a4110153a6172506c9c74ae08e5b924a9c947f08 languageName: node linkType: hard -"@vitest/mocker@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/mocker@npm:3.0.8" +"@vitest/mocker@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/mocker@npm:3.0.9" dependencies: - "@vitest/spy": "npm:3.0.8" + "@vitest/spy": "npm:3.0.9" estree-walker: "npm:^3.0.3" magic-string: "npm:^0.30.17" peerDependencies: @@ -4250,57 +4413,57 @@ __metadata: optional: true vite: optional: true - checksum: bc89a31a5ebba900bb965b05d1fab581ae2872b6ddc17734f2a8433b9a3c7ae1fa0efd5f13bf03cf8075864b47954e8fcf609cf3a8258f0451375d68b81f135b + checksum: 9083a83902ca550cf004413b9fc87c8367a789e18a3c5a61e63c72810f9153e7d1c100c66f0b0656ea1035a700a373d5b78b49de0963ab62333c720aeec9f1b3 languageName: node linkType: hard -"@vitest/pretty-format@npm:3.0.8, @vitest/pretty-format@npm:^3.0.8": - version: 3.0.8 - resolution: "@vitest/pretty-format@npm:3.0.8" +"@vitest/pretty-format@npm:3.0.9, @vitest/pretty-format@npm:^3.0.9": + version: 3.0.9 + resolution: "@vitest/pretty-format@npm:3.0.9" dependencies: tinyrainbow: "npm:^2.0.0" - checksum: 9133052605f16966db91d5e495afb5e32c3eb9215602248710bc3fd9034b1b511d1a7f1093571afee8664beb2a83303d42f1d5896fdba2a39adbb5ca9af788f7 + checksum: 56ae7b1f14df2905b3205d4e121727631c4938ec44f76c1e9fa49923919010378f0dad70b1d277672f3ef45ddf6372140c8d1da95e45df8282f70b74328fce47 languageName: node linkType: hard -"@vitest/runner@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/runner@npm:3.0.8" +"@vitest/runner@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/runner@npm:3.0.9" dependencies: - "@vitest/utils": "npm:3.0.8" + "@vitest/utils": "npm:3.0.9" pathe: "npm:^2.0.3" - checksum: 9a9d48dc82ca7101209b21309e18a4720e77d6015bf00a60ace6130e362320158d110f48cf9aa221e5e744729fe8a198811dd69e598688ffbb78c2fce2a842a1 + checksum: b276f238a16a6d02bb244f655d9cd8db8cce4708a6267cc48476a785ca8887741c440ae27b379a5bbbb6fe4f9f12675f13da0270253043195defd7a36bf15114 languageName: node linkType: hard -"@vitest/snapshot@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/snapshot@npm:3.0.8" +"@vitest/snapshot@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/snapshot@npm:3.0.9" dependencies: - "@vitest/pretty-format": "npm:3.0.8" + "@vitest/pretty-format": "npm:3.0.9" magic-string: "npm:^0.30.17" pathe: "npm:^2.0.3" - checksum: 40564f60f7d166d10a03e9d1f8780daef164c76b2d85c1c8f5800168f907929c815395ac5c1f5c824da5ff29286f874e22dd8874b52044a53e0d858be67ceeb7 + checksum: 8298caa334d357cb22b1946cbebedb22f04d38fe080d6da7445873221fe6f89c2b82fe4f368d9eb8a62a77bd76d1b4234595bb085279d48130f09ba6b2e18637 languageName: node linkType: hard -"@vitest/spy@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/spy@npm:3.0.8" +"@vitest/spy@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/spy@npm:3.0.9" dependencies: tinyspy: "npm:^3.0.2" - checksum: 7a940e6fbf5e6903758dfd904dedc9223df72ffa2a3d8c988706c2626c0fd3f9b129452bcd7af40bda014831f15ddb23ad7c1a7e42900acf4f3432b0c2bc8fb5 + checksum: 993085dbaf9e651ca9516f88e440424d29279def998186628a1ebcab5558a3045fee8562630608f58303507135f6f3bf9970f65639f3b9baa8bf86cab3eb4742 languageName: node linkType: hard -"@vitest/utils@npm:3.0.8": - version: 3.0.8 - resolution: "@vitest/utils@npm:3.0.8" +"@vitest/utils@npm:3.0.9": + version: 3.0.9 + resolution: "@vitest/utils@npm:3.0.9" dependencies: - "@vitest/pretty-format": "npm:3.0.8" + "@vitest/pretty-format": "npm:3.0.9" loupe: "npm:^3.1.3" tinyrainbow: "npm:^2.0.0" - checksum: 929e71582d27f5ec2fe422d72112471b36517620beb2c4398c116598ca55b36340b0fa97958d8584bc05153d92dbd60324664d5b623ec6eed8c72e50e226633c + checksum: b966dfb3b926ee9bea59c1fb297abc67adaa23a8a582453ee81167b238446394693617a5e0523eb2791d6983173ef1c07bf28a76bd5a63b49a100610ed6b6a6c languageName: node linkType: hard @@ -4311,6 +4474,13 @@ __metadata: languageName: node linkType: hard +"abbrev@npm:^3.0.0": + version: 3.0.0 + resolution: "abbrev@npm:3.0.0" + checksum: 049704186396f571650eb7b22ed3627b77a5aedf98bb83caf2eac81ca2a3e25e795394b0464cfb2d6076df3db6a5312139eac5b6a126ca296ac53c5008069c28 + languageName: node + linkType: hard + "abort-controller@npm:^3.0.0": version: 3.0.0 resolution: "abort-controller@npm:3.0.0" @@ -4320,7 +4490,7 @@ __metadata: languageName: node linkType: hard -"accepts@npm:~1.3.5, accepts@npm:~1.3.8": +"accepts@npm:~1.3.8": version: 1.3.8 resolution: "accepts@npm:1.3.8" dependencies: @@ -4346,14 +4516,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.2.0": - version: 8.3.1 - resolution: "acorn-walk@npm:8.3.1" - checksum: a23d2f7c6b6cad617f4c77f14dfeb062a239208d61753e9ba808d916c550add92b39535467d2e6028280761ac4f5a904cc9df21530b84d3f834e3edef74ddde5 - languageName: node - linkType: hard - -"acorn@npm:8.14.0, acorn@npm:^8.14.0": +"acorn@npm:8.14.0": version: 8.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -4362,7 +4525,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.8.0": +"acorn@npm:^8.0.0": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -4371,12 +4534,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.12.0": - version: 8.12.1 - resolution: "acorn@npm:8.12.1" +"acorn@npm:^8.14.0, acorn@npm:^8.14.1": + version: 8.14.1 + resolution: "acorn@npm:8.14.1" bin: acorn: bin/acorn - checksum: 51fb26cd678f914e13287e886da2d7021f8c2bc0ccc95e03d3e0447ee278dd3b40b9c57dc222acd5881adcf26f3edc40901a4953403232129e3876793cd17386 + checksum: dbd36c1ed1d2fa3550140000371fcf721578095b18777b85a79df231ca093b08edc6858d75d6e48c73e431c174dcf9214edbd7e6fa5911b93bd8abfa54e47123 languageName: node linkType: hard @@ -4389,12 +4552,10 @@ __metadata: languageName: node linkType: hard -"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0": - version: 7.1.0 - resolution: "agent-base@npm:7.1.0" - dependencies: - debug: "npm:^4.3.4" - checksum: fc974ab57ffdd8421a2bc339644d312a9cca320c20c3393c9d8b1fd91731b9bbabdb985df5fc860f5b79d81c3e350daa3fcb31c5c07c0bb385aafc817df004ce +"agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": + version: 7.1.3 + resolution: "agent-base@npm:7.1.3" + checksum: 6192b580c5b1d8fb399b9c62bf8343d76654c2dd62afcb9a52b2cf44a8b6ace1e3b704d3fe3547d91555c857d3df02603341ff2cb961b9cfe2b12f9f3c38ee11 languageName: node linkType: hard @@ -4408,6 +4569,20 @@ __metadata: languageName: node linkType: hard +"ajv-formats@npm:3.0.1": + version: 3.0.1 + resolution: "ajv-formats@npm:3.0.1" + dependencies: + ajv: "npm:^8.0.0" + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + checksum: 168d6bca1ea9f163b41c8147bae537e67bd963357a5488a1eaf3abe8baa8eec806d4e45f15b10767e6020679315c7e1e5e6803088dfb84efa2b4e9353b83dd0a + languageName: node + linkType: hard + "ajv-formats@npm:^2.1.0": version: 2.1.1 resolution: "ajv-formats@npm:2.1.1" @@ -4422,7 +4597,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:>=8.12.0": +"ajv@npm:>=8.12.0, ajv@npm:^8.17.1": version: 8.17.1 resolution: "ajv@npm:8.17.1" dependencies: @@ -4434,7 +4609,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.12.4, ajv@npm:^6.12.6": +"ajv@npm:^6.12.4": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -4499,29 +4674,13 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^6.0.1": - version: 6.0.1 - resolution: "ansi-regex@npm:6.0.1" - checksum: cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08 - languageName: node - linkType: hard - -"ansi-regex@npm:^6.1.0": +"ansi-regex@npm:^6.0.1, ansi-regex@npm:^6.1.0": version: 6.1.0 resolution: "ansi-regex@npm:6.1.0" checksum: a91daeddd54746338478eef88af3439a7edf30f8e23196e2d6ed182da9add559c601266dbef01c2efa46a958ad6f1f8b176799657616c702b5b02e799e7fd8dc languageName: node linkType: hard -"ansi-styles@npm:^3.2.1": - version: 3.2.1 - resolution: "ansi-styles@npm:3.2.1" - dependencies: - color-convert: "npm:^1.9.0" - checksum: ece5a8ef069fcc5298f67e3f4771a663129abd174ea2dfa87923a2be2abf6cd367ef72ac87942da00ce85bd1d651d4cd8595aebdb1b385889b89b205860e977b - languageName: node - linkType: hard - "ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0": version: 4.3.0 resolution: "ansi-styles@npm:4.3.0" @@ -4602,12 +4761,12 @@ __metadata: linkType: hard "arktype@npm:^2.0.0-dev.14": - version: 2.0.0-dev.12-cjs - resolution: "arktype@npm:2.0.0-dev.12-cjs" + version: 2.1.12 + resolution: "arktype@npm:2.1.12" dependencies: - "@arktype/schema": "npm:0.1.4-cjs" - "@arktype/util": "npm:0.0.41-cjs" - checksum: b0e7fc182bb6d4d0d4e125744a5b8233295d2ca30715f1bafdd158d37ed8abffafe0f5ef28ff8f99f82ffb1b8d1f36fcc282035c4ef4b909a748c1d520044afc + "@ark/schema": "npm:0.45.2" + "@ark/util": "npm:0.45.2" + checksum: e515e8ea9069a46c222360703e2a54ca9b92ae1f8897aa4ff55af97748e238d186dab4ba249535ced0e4d360cf486923f235f0dc8998a808243fa3678e392ed7 languageName: node linkType: hard @@ -4621,16 +4780,6 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - is-array-buffer: "npm:^3.0.1" - checksum: 12f84f6418b57a954caa41654e5e63e019142a4bbb2c6829ba86d1ba65d31ccfaf1461d1743556fd32b091fac34ff44d9dfbdb001402361c45c373b2c86f5c20 - languageName: node - linkType: hard - "array-flatten@npm:1.1.1": version: 1.1.1 resolution: "array-flatten@npm:1.1.1" @@ -4638,13 +4787,6 @@ __metadata: languageName: node linkType: hard -"array-flatten@npm:3.0.0": - version: 3.0.0 - resolution: "array-flatten@npm:3.0.0" - checksum: 202dae2bcee760f12e29958a0957bd166b3a9a8b41d0c942786d48857f903479c8a10fc7f55ed64904254dce7240f9fa50633504c925288fd051d9fb122cbb48 - languageName: node - linkType: hard - "array-timsort@npm:^1.0.3": version: 1.0.3 resolution: "array-timsort@npm:1.0.3" @@ -4659,40 +4801,6 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.2.3": - version: 1.3.2 - resolution: "array.prototype.flat@npm:1.3.2" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - es-shim-unscopables: "npm:^1.0.0" - checksum: a578ed836a786efbb6c2db0899ae80781b476200617f65a44846cb1ed8bd8b24c8821b83703375d8af639c689497b7b07277060024b9919db94ac3e10dc8a49b - languageName: node - linkType: hard - -"arraybuffer.prototype.slice@npm:^1.0.2": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - is-array-buffer: "npm:^3.0.2" - is-shared-array-buffer: "npm:^1.0.2" - checksum: 96b6e40e439678ffb7fa266398510074d33c3980fbb475490b69980cca60adec3b0777047ef377068a29862157f83edef42efc64ce48ce38977d04d68de5b7fb - languageName: node - linkType: hard - -"arrify@npm:^1.0.1": - version: 1.0.1 - resolution: "arrify@npm:1.0.1" - checksum: c35c8d1a81bcd5474c0c57fe3f4bad1a4d46a5fa353cedcff7a54da315df60db71829e69104b859dff96c5d68af46bd2be259fe5e50dc6aa9df3b36bea0383ab - languageName: node - linkType: hard - "arrify@npm:^2.0.0": version: 2.0.1 resolution: "arrify@npm:2.0.1" @@ -4733,11 +4841,11 @@ __metadata: linkType: hard "astring@npm:^1.8.0": - version: 1.8.6 - resolution: "astring@npm:1.8.6" + version: 1.9.0 + resolution: "astring@npm:1.9.0" bin: astring: bin/astring - checksum: 31f09144597048c11072417959a412f208f8f95ba8dce408dfbc3367acb929f31fbcc00ed5eb61ccbf7c2f1173b9ac8bfcaaa37134a9455050c669b2b036ed88 + checksum: e7519544d9824494e80ef0e722bb3a0c543a31440d59691c13aeaceb75b14502af536b23f08db50aa6c632dafaade54caa25f0788aa7550b6b2d6e2df89e0830 languageName: node linkType: hard @@ -4748,19 +4856,10 @@ __metadata: languageName: node linkType: hard -"async@npm:^2.6.4": - version: 2.6.4 - resolution: "async@npm:2.6.4" - dependencies: - lodash: "npm:^4.17.14" - checksum: 0ebb3273ef96513389520adc88e0d3c45e523d03653cc9b66f5c46f4239444294899bfd13d2b569e7dbfde7da2235c35cf5fd3ece9524f935d41bbe4efccdad0 - languageName: node - linkType: hard - -"async@npm:^3.2.3, async@npm:^3.2.4": - version: 3.2.5 - resolution: "async@npm:3.2.5" - checksum: 1408287b26c6db67d45cb346e34892cee555b8b59e6c68e6f8c3e495cad5ca13b4f218180e871f3c2ca30df4ab52693b66f2f6ff43644760cab0b2198bda79c1 +"async@npm:^3.2.3, async@npm:^3.2.4, async@npm:^3.2.6": + version: 3.2.6 + resolution: "async@npm:3.2.6" + checksum: 36484bb15ceddf07078688d95e27076379cc2f87b10c03b6dd8a83e89475a3c8df5848859dd06a4c95af1e4c16fc973de0171a77f18ea00be899aca2a4f85e70 languageName: node linkType: hard @@ -4771,13 +4870,6 @@ __metadata: languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: c4df567ca72d2754a6cbad20088f5f98b1065b3360178169fa9b44ea101af62c0f423fc3854fa820fd6895b6b9171b8386e71558203103ff8fc2ad503fdcc660 - languageName: node - linkType: hard - "await-lock@npm:^2.0.1": version: 2.2.2 resolution: "await-lock@npm:2.2.2" @@ -4807,9 +4899,9 @@ __metadata: linkType: hard "bare-events@npm:^2.2.0": - version: 2.5.1 - resolution: "bare-events@npm:2.5.1" - checksum: 7ea9c491ff3a51cc2c7ea2ac8d459c7db2408bc31bc82cac73ba45a466f0e223194771782fa410cbe00b6553b67e7947f2d830c355b53922972ade20397e7abf + version: 2.5.4 + resolution: "bare-events@npm:2.5.4" + checksum: 877a9cea73d545e2588cdbd6fd01653e27dac48ad6b44985cdbae73e1f57f292d4ba52e25d1fba53674c1053c463d159f3d5c7bc36a2e6e192e389b499ddd627 languageName: node linkType: hard @@ -4820,10 +4912,12 @@ __metadata: languageName: node linkType: hard -"basic-auth-connect@npm:^1.0.0": - version: 1.0.0 - resolution: "basic-auth-connect@npm:1.0.0" - checksum: ed870b7d05efced0981e2799948bf353fa2807dd5763304a8631a3010ed59905aaf94e55659de212ede65aaf5046f8fee245c35c6bdf0661f07b975697ceeec7 +"basic-auth-connect@npm:^1.1.0": + version: 1.1.0 + resolution: "basic-auth-connect@npm:1.1.0" + dependencies: + tsscmp: "npm:^1.0.6" + checksum: bd229e1339d9025c6cd08371860160072c97eb0323b79330daae51ef4d7fe9768b46c730779516d835ceb3f6295bc1fd73594100cc295dc2d0405724cdc3a7e6 languageName: node linkType: hard @@ -4837,9 +4931,9 @@ __metadata: linkType: hard "basic-ftp@npm:^5.0.2": - version: 5.0.4 - resolution: "basic-ftp@npm:5.0.4" - checksum: 0bd580652a4f75d5ea8e442e27921ff7089c91764f9eab975235d0b177bb7631339cbf50fb8f4cd5c94087ac6c003a8c80e33076228fd94e23e99d42531e3ac0 + version: 5.0.5 + resolution: "basic-ftp@npm:5.0.5" + checksum: be983a3997749856da87b839ffce6b8ed6c7dbf91ea991d5c980d8add275f9f2926c19f80217ac3e7f353815be879371d636407ca72b038cea8cab30e53928a6 languageName: node linkType: hard @@ -4860,9 +4954,9 @@ __metadata: linkType: hard "binary-extensions@npm:^2.0.0": - version: 2.2.0 - resolution: "binary-extensions@npm:2.2.0" - checksum: d73d8b897238a2d3ffa5f59c0241870043aa7471335e89ea5e1ff48edb7c2d0bb471517a3e4c5c3f4c043615caa2717b5f80a5e61e07503d51dc85cb848e665d + version: 2.3.0 + resolution: "binary-extensions@npm:2.3.0" + checksum: 75a59cafc10fb12a11d510e77110c6c7ae3f4ca22463d52487709ca7f18f69d886aa387557cc9864fbdb10153d0bdb4caacabf11541f55e89ed6e18d12ece2b5 languageName: node linkType: hard @@ -4898,23 +4992,23 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:1.20.1": - version: 1.20.1 - resolution: "body-parser@npm:1.20.1" +"body-parser@npm:1.20.3": + version: 1.20.3 + resolution: "body-parser@npm:1.20.3" dependencies: bytes: "npm:3.1.2" - content-type: "npm:~1.0.4" + content-type: "npm:~1.0.5" debug: "npm:2.6.9" depd: "npm:2.0.0" destroy: "npm:1.2.0" http-errors: "npm:2.0.0" iconv-lite: "npm:0.4.24" on-finished: "npm:2.4.1" - qs: "npm:6.11.0" - raw-body: "npm:2.5.1" + qs: "npm:6.13.0" + raw-body: "npm:2.5.2" type-is: "npm:~1.6.18" unpipe: "npm:1.0.0" - checksum: a202d493e2c10a33fb7413dac7d2f713be579c4b88343cd814b6df7a38e5af1901fc31044e04de176db56b16d9772aa25a7723f64478c20f4d91b1ac223bf3b8 + checksum: 0a9a93b7518f222885498dcecaad528cf010dd109b071bf471c93def4bfe30958b83e03496eb9c1ad4896db543d999bb62be1a3087294162a88cfa1b42c16310 languageName: node linkType: hard @@ -4980,21 +5074,12 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.2, braces@npm:~3.0.2": - version: 3.0.2 - resolution: "braces@npm:3.0.2" +"braces@npm:^3.0.3, braces@npm:~3.0.2": + version: 3.0.3 + resolution: "braces@npm:3.0.3" dependencies: - fill-range: "npm:^7.0.1" - checksum: 321b4d675791479293264019156ca322163f02dc06e3c4cab33bb15cd43d80b51efef69b0930cfde3acd63d126ebca24cd0544fa6f261e093a0fb41ab9dda381 - languageName: node - linkType: hard - -"breakword@npm:^1.0.5": - version: 1.0.6 - resolution: "breakword@npm:1.0.6" - dependencies: - wcwidth: "npm:^1.0.1" - checksum: 8bb2e329ee911de098a59d955cb25fad0a16d4f810e3c5ceacfe43ce67cda9117e7e9eafc827234f5429cc0dcaa4d9387e3529cbdcdeb66d1b9e521e28c49bc1 + fill-range: "npm:^7.1.1" + checksum: 7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04 languageName: node linkType: hard @@ -5046,10 +5131,13 @@ __metadata: languageName: node linkType: hard -"bun-types@npm:1.0.18": - version: 1.0.18 - resolution: "bun-types@npm:1.0.18" - checksum: 62fca2f8ee86b32def4065bf0490720c0e3bd3afe8b4fd70177dccda08e799dfe6317279c791ade502376ead3197ed7627ec6b8fa103466d398e968f70f05178 +"bun-types@npm:1.2.5": + version: 1.2.5 + resolution: "bun-types@npm:1.2.5" + dependencies: + "@types/node": "npm:*" + "@types/ws": "npm:~8.5.10" + checksum: ef3c3d673def40b2461b8eba6b4f7f5bcd7430590ab576d45748279642945bd4298497893ff26efd040def1739e658f67908a7257f6af5368bdd4ca2331b30b9 languageName: node linkType: hard @@ -5064,13 +5152,6 @@ __metadata: languageName: node linkType: hard -"bytes@npm:3.0.0": - version: 3.0.0 - resolution: "bytes@npm:3.0.0" - checksum: 91d42c38601c76460519ffef88371caacaea483a354c8e4b8808e7b027574436a5713337c003ea3de63ee4991c2a9a637884fdfe7f761760d746929d9e8fec60 - languageName: node - linkType: hard - "bytes@npm:3.1.2": version: 3.1.2 resolution: "bytes@npm:3.1.2" @@ -5086,8 +5167,8 @@ __metadata: linkType: hard "cacache@npm:^18.0.0": - version: 18.0.1 - resolution: "cacache@npm:18.0.1" + version: 18.0.4 + resolution: "cacache@npm:18.0.4" dependencies: "@npmcli/fs": "npm:^3.1.0" fs-minipass: "npm:^3.0.0" @@ -5101,7 +5182,27 @@ __metadata: ssri: "npm:^10.0.0" tar: "npm:^6.1.11" unique-filename: "npm:^3.0.0" - checksum: a31666805a80a8b16ad3f85faf66750275a9175a3480896f4f6d31b5d53ef190484fabd71bdb6d2ea5603c717fbef09f4af03d6a65b525c8ef0afaa44c361866 + checksum: 6c055bafed9de4f3dcc64ac3dc7dd24e863210902b7c470eb9ce55a806309b3efff78033e3d8b4f7dcc5d467f2db43c6a2857aaaf26f0094b8a351d44c42179f + languageName: node + linkType: hard + +"cacache@npm:^19.0.1": + version: 19.0.1 + resolution: "cacache@npm:19.0.1" + dependencies: + "@npmcli/fs": "npm:^4.0.0" + fs-minipass: "npm:^3.0.0" + glob: "npm:^10.2.2" + lru-cache: "npm:^10.0.1" + minipass: "npm:^7.0.3" + minipass-collect: "npm:^2.0.1" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.4" + p-map: "npm:^7.0.2" + ssri: "npm:^12.0.0" + tar: "npm:^7.4.3" + unique-filename: "npm:^4.0.0" + checksum: 01f2134e1bd7d3ab68be851df96c8d63b492b1853b67f2eecb2c37bb682d37cb70bb858a16f2f0554d3c0071be6dfe21456a1ff6fa4b7eed996570d6a25ffe9c languageName: node linkType: hard @@ -5115,7 +5216,17 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": +"call-bind-apply-helpers@npm:^1.0.2": + version: 1.0.2 + resolution: "call-bind-apply-helpers@npm:1.0.2" + dependencies: + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + checksum: 47bd9901d57b857590431243fea704ff18078b16890a6b3e021e12d279bbf211d039155e27d7566b374d49ee1f8189344bac9833dec7a20cdec370506361c938 + languageName: node + linkType: hard + +"call-bind@npm:^1.0.0": version: 1.0.5 resolution: "call-bind@npm:1.0.5" dependencies: @@ -5127,12 +5238,12 @@ __metadata: linkType: hard "call-bound@npm:^1.0.2": - version: 1.0.3 - resolution: "call-bound@npm:1.0.3" + version: 1.0.4 + resolution: "call-bound@npm:1.0.4" dependencies: - call-bind-apply-helpers: "npm:^1.0.1" - get-intrinsic: "npm:^1.2.6" - checksum: 45257b8e7621067304b30dbd638e856cac913d31e8e00a80d6cf172911acd057846572d0b256b45e652d515db6601e2974a1b1a040e91b4fc36fb3dd86fa69cf + call-bind-apply-helpers: "npm:^1.0.2" + get-intrinsic: "npm:^1.3.0" + checksum: f4796a6a0941e71c766aea672f63b72bc61234c4f4964dc6d7606e3664c307e7d77845328a8f3359ce39ddb377fed67318f9ee203dea1d47e46165dcf2917644 languageName: node linkType: hard @@ -5150,24 +5261,6 @@ __metadata: languageName: node linkType: hard -"camelcase-keys@npm:^6.2.2": - version: 6.2.2 - resolution: "camelcase-keys@npm:6.2.2" - dependencies: - camelcase: "npm:^5.3.1" - map-obj: "npm:^4.0.0" - quick-lru: "npm:^4.0.1" - checksum: bf1a28348c0f285c6c6f68fb98a9d088d3c0269fed0cdff3ea680d5a42df8a067b4de374e7a33e619eb9d5266a448fe66c2dd1f8e0c9209ebc348632882a3526 - languageName: node - linkType: hard - -"camelcase@npm:^5.0.0, camelcase@npm:^5.3.1": - version: 5.3.1 - resolution: "camelcase@npm:5.3.1" - checksum: 92ff9b443bfe8abb15f2b1513ca182d16126359ad4f955ebc83dc4ddcc4ef3fdd2c078bc223f2673dc223488e75c99b16cc4d056624374b799e6a1555cf61b23 - languageName: node - linkType: hard - "camelcase@npm:^6.2.0": version: 6.3.0 resolution: "camelcase@npm:6.3.0" @@ -5176,32 +5269,22 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001688": - version: 1.0.30001703 - resolution: "caniuse-lite@npm:1.0.30001703" - checksum: ed88e318da28e9e59c4ac3a2e3c42859558b7b713aebf03696a1f916e4ed4b70734dda82be04635e2b62ec355b8639bbed829b7b12ff528d7f9cc31a3a5bea91 - languageName: node - linkType: hard - -"capnp-ts@npm:^0.7.0": - version: 0.7.0 - resolution: "capnp-ts@npm:0.7.0" - dependencies: - debug: "npm:^4.3.1" - tslib: "npm:^2.2.0" - checksum: 83d559c3d59126ee39295973bf2e9228cd4b559c81bfc938268c63deba4020f0df6ce2f2d1e2b7d7e4421de21f4854424b774ab9ac4d9a66d1c57d2fef7da870 + version: 1.0.30001707 + resolution: "caniuse-lite@npm:1.0.30001707" + checksum: a1beaf84bad4f6617bbc5616d6bc0c9cab73e73f7e9e09b6466af5195b1bc393e0f6f19643d7a1c88bd3f4bfa122d7bea81cf6225ec3ade57d5b1dd3478c1a1b languageName: node linkType: hard "casbin@npm:^5.30.0": - version: 5.30.0 - resolution: "casbin@npm:5.30.0" + version: 5.38.0 + resolution: "casbin@npm:5.38.0" dependencies: + "@casbin/expression-eval": "npm:^5.3.0" await-lock: "npm:^2.0.1" buffer: "npm:^6.0.3" - csv-parse: "npm:^5.3.5" - expression-eval: "npm:^5.0.0" + csv-parse: "npm:^5.5.6" minimatch: "npm:^7.4.2" - checksum: e3fee7b9b94f4cb6ae9b550fda80f64c46998828fb1c57b3516f6d66e1c98c6e928fa21e5c48af9d831d2dc066a24199d324d4f0866990d244ce3652ae8af509 + checksum: 8b7b3ea277292fdc2ed178260bc700dac95229113843a0a4ccb725b1a863f75da0b47b5aa80140d148541d2a4595e43183e16e1b8fdbbf55d4019177dae32c42 languageName: node linkType: hard @@ -5225,17 +5308,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.1.0, chalk@npm:^2.4.2": - version: 2.4.2 - resolution: "chalk@npm:2.4.2" - dependencies: - ansi-styles: "npm:^3.2.1" - escape-string-regexp: "npm:^1.0.5" - supports-color: "npm:^5.3.0" - checksum: e6543f02ec877732e3a2d1c3c3323ddb4d39fbab687c23f526e25bd4c6a9bf3b83a696e8c769d078e04e5754921648f7821b2a2acfd16c550435fd630026e073 - languageName: node - linkType: hard - "chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" @@ -5246,7 +5318,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.3.0, chalk@npm:^5.4.1": +"chalk@npm:^5.4.1": version: 5.4.1 resolution: "chalk@npm:5.4.1" checksum: b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef @@ -5302,25 +5374,6 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.2": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" - dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 - languageName: node - linkType: hard - "chokidar@npm:^3.6.0": version: 3.6.0 resolution: "chokidar@npm:3.6.0" @@ -5356,6 +5409,13 @@ __metadata: languageName: node linkType: hard +"chownr@npm:^3.0.0": + version: 3.0.0 + resolution: "chownr@npm:3.0.0" + checksum: 43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10 + languageName: node + linkType: hard + "ci-info@npm:^2.0.0": version: 2.0.0 resolution: "ci-info@npm:2.0.0" @@ -5371,9 +5431,9 @@ __metadata: linkType: hard "cjs-module-lexer@npm:^1.2.3": - version: 1.2.3 - resolution: "cjs-module-lexer@npm:1.2.3" - checksum: 0de9a9c3fad03a46804c0d38e7b712fb282584a9c7ef1ed44cae22fb71d9bb600309d66a9711ac36a596fd03422f5bb03e021e8f369c12a39fa1786ae531baab + version: 1.4.3 + resolution: "cjs-module-lexer@npm:1.4.3" + checksum: 076b3af85adc4d65dbdab1b5b240fe5b45d44fcf0ef9d429044dd94d19be5589376805c44fb2d4b3e684e5fe6a9b7cf3e426476a6507c45283c5fc6ff95240be languageName: node linkType: hard @@ -5450,7 +5510,7 @@ __metadata: languageName: node linkType: hard -"cli-table3@npm:^0.6.3, cli-table3@npm:^0.6.5": +"cli-table3@npm:0.6.5, cli-table3@npm:^0.6.3, cli-table3@npm:^0.6.5": version: 0.6.5 resolution: "cli-table3@npm:0.6.5" dependencies: @@ -5463,15 +5523,6 @@ __metadata: languageName: node linkType: hard -"cli-table@npm:0.3.11": - version: 0.3.11 - resolution: "cli-table@npm:0.3.11" - dependencies: - colors: "npm:1.0.3" - checksum: 6e31da4e19e942bf01749ff78d7988b01e0101955ce2b1e413eecdc115d4bb9271396464761491256a7d3feeedb5f37ae505f4314c4f8044b5d0f4b579c18f29 - languageName: node - linkType: hard - "cli-width@npm:^3.0.0": version: 3.0.0 resolution: "cli-width@npm:3.0.0" @@ -5479,14 +5530,10 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^6.0.0": - version: 6.0.0 - resolution: "cliui@npm:6.0.0" - dependencies: - string-width: "npm:^4.2.0" - strip-ansi: "npm:^6.0.0" - wrap-ansi: "npm:^6.2.0" - checksum: 35229b1bb48647e882104cac374c9a18e34bbf0bace0e2cf03000326b6ca3050d6b59545d91e17bfe3705f4a0e2988787aa5cde6331bf5cbbf0164732cef6492 +"cli-width@npm:^4.1.0": + version: 4.1.0 + resolution: "cli-width@npm:4.1.0" + checksum: 1fbd56413578f6117abcaf858903ba1f4ad78370a4032f916745fa2c7e390183a9d9029cf837df320b0fdce8137668e522f60a30a5f3d6529ff3872d265a955f languageName: node linkType: hard @@ -5519,7 +5566,14 @@ __metadata: languageName: node linkType: hard -"color-convert@npm:^1.9.0, color-convert@npm:^1.9.3": +"collapse-white-space@npm:^2.0.0": + version: 2.1.0 + resolution: "collapse-white-space@npm:2.1.0" + checksum: b2e2800f4ab261e62eb27a1fbe853378296e3a726d6695117ed033e82d61fb6abeae4ffc1465d5454499e237005de9cfc52c9562dc7ca4ac759b9a222ef14453 + languageName: node + linkType: hard + +"color-convert@npm:^1.9.3": version: 1.9.3 resolution: "color-convert@npm:1.9.3" dependencies: @@ -5588,13 +5642,6 @@ __metadata: languageName: node linkType: hard -"colors@npm:1.0.3": - version: 1.0.3 - resolution: "colors@npm:1.0.3" - checksum: f9e40dd8b3e1a65378a7ced3fced15ddfd60aaf38e99a7521a7fdb25056b15e092f651cd0f5aa1e9b04fa8ce3616d094e07fc6c2bb261e24098db1ddd3d09a1d - languageName: node - linkType: hard - "colorspace@npm:1.1.x": version: 1.1.4 resolution: "colorspace@npm:1.1.4" @@ -5605,7 +5652,7 @@ __metadata: languageName: node linkType: hard -"combined-stream@npm:^1.0.6, combined-stream@npm:^1.0.8": +"combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" dependencies: @@ -5657,15 +5704,15 @@ __metadata: linkType: hard "comment-json@npm:^4.2.3": - version: 4.2.3 - resolution: "comment-json@npm:4.2.3" + version: 4.2.5 + resolution: "comment-json@npm:4.2.5" dependencies: array-timsort: "npm:^1.0.3" core-util-is: "npm:^1.0.3" esprima: "npm:^4.0.1" has-own-prop: "npm:^2.0.0" repeat-string: "npm:^1.6.1" - checksum: e8a0d3a6d75d92551f9a7e6fefa31f3d831dc33117b0b9432f061f45a571c85c16143e4110693d450f6eca20841db43f5429ac0d801673bcf03e9973ab1c31af + checksum: e22f13f18fcc484ac33c8bc02a3d69c3f9467ae5063fdfb3df7735f83a8d9a2cab6a32b7d4a0c53123413a9577de8e17c8cc88369c433326799558febb34ef9c languageName: node linkType: hard @@ -5689,7 +5736,7 @@ __metadata: languageName: node linkType: hard -"compressible@npm:~2.0.16": +"compressible@npm:~2.0.18": version: 2.0.18 resolution: "compressible@npm:2.0.18" dependencies: @@ -5699,17 +5746,17 @@ __metadata: linkType: hard "compression@npm:^1.7.0": - version: 1.7.4 - resolution: "compression@npm:1.7.4" + version: 1.8.0 + resolution: "compression@npm:1.8.0" dependencies: - accepts: "npm:~1.3.5" - bytes: "npm:3.0.0" - compressible: "npm:~2.0.16" + bytes: "npm:3.1.2" + compressible: "npm:~2.0.18" debug: "npm:2.6.9" + negotiator: "npm:~0.6.4" on-headers: "npm:~1.0.2" - safe-buffer: "npm:5.1.2" + safe-buffer: "npm:5.2.1" vary: "npm:~1.1.2" - checksum: 138db836202a406d8a14156a5564fb1700632a76b6e7d1546939472895a5304f2b23c80d7a22bf44c767e87a26e070dbc342ea63bb45ee9c863354fa5556bbbc + checksum: 804d3c8430939f4fd88e5128333f311b4035f6425a7f2959d74cfb5c98ef3a3e3e18143208f3f9d0fcae4cd3bcf3d2fbe525e0fcb955e6e146e070936f025a24 languageName: node linkType: hard @@ -5727,6 +5774,13 @@ __metadata: languageName: node linkType: hard +"confbox@npm:^0.2.1": + version: 0.2.1 + resolution: "confbox@npm:0.2.1" + checksum: bd47ab24bf2c3c6ec3386ca59e934b34421c39b0a50aa8c47ab5da7fdf663965ed4793240e5377e74d91b73d3dcd05568c0e91608a72b327877f60cc51ec39e2 + languageName: node + linkType: hard + "config-chain@npm:^1.1.11": version: 1.1.13 resolution: "config-chain@npm:1.1.13" @@ -5752,12 +5806,12 @@ __metadata: linkType: hard "conform-to-valibot@npm:^1.10.0": - version: 1.10.0 - resolution: "conform-to-valibot@npm:1.10.0" + version: 1.14.3 + resolution: "conform-to-valibot@npm:1.14.3" peerDependencies: - "@conform-to/dom": ^1.0.0 + "@conform-to/dom": ">= 1.0.0" valibot: ">= 0.32.0" - checksum: e11f07c00d7b443e80a6d0bcca79c1842bdc8f6f4d966c79ab8ee12fadfb0bd31c04a593f2c880f162c8ffb431b0845696f17ecddaf6ae9b4e3843c8ad168ad0 + checksum: 73eaa0c8973a3d05a67a721555a8f5beb56ef145f6ac1414d0bab35b4dc511b940aaa1321c091fa58da696207873cf6839e36021a46f7c17540825897b418218 languageName: node linkType: hard @@ -5773,14 +5827,7 @@ __metadata: languageName: node linkType: hard -"consola@npm:^3.2.3": - version: 3.2.3 - resolution: "consola@npm:3.2.3" - checksum: c606220524ec88a05bb1baf557e9e0e04a0c08a9c35d7a08652d99de195c4ddcb6572040a7df57a18ff38bbc13ce9880ad032d56630cef27bef72768ef0ac078 - languageName: node - linkType: hard - -"consola@npm:^3.4.0": +"consola@npm:^3.2.3, consola@npm:^3.4.0, consola@npm:^3.4.2": version: 3.4.2 resolution: "consola@npm:3.4.2" checksum: 7cebe57ecf646ba74b300bcce23bff43034ed6fbec9f7e39c27cee1dc00df8a21cd336b466ad32e304ea70fba04ec9e890c200270de9a526ce021ba8a7e4c11a @@ -5817,17 +5864,38 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.5.0, cookie@npm:^0.5.0": +"cookie@npm:0.6.0": + version: 0.6.0 + resolution: "cookie@npm:0.6.0" + checksum: f2318b31af7a31b4ddb4a678d024514df5e705f9be5909a192d7f116cfb6d45cbacf96a473fa733faa95050e7cff26e7832bb3ef94751592f1387b71c8956686 + languageName: node + linkType: hard + +"cookie@npm:0.7.1": + version: 0.7.1 + resolution: "cookie@npm:0.7.1" + checksum: 5de60c67a410e7c8dc8a46a4b72eb0fe925871d057c9a5d2c0e8145c4270a4f81076de83410c4d397179744b478e33cd80ccbcc457abf40a9409ad27dcd21dde + languageName: node + linkType: hard + +"cookie@npm:1.0.2": + version: 1.0.2 + resolution: "cookie@npm:1.0.2" + checksum: fd25fe79e8fbcfcaf6aa61cd081c55d144eeeba755206c058682257cb38c4bd6795c6620de3f064c740695bb65b7949ebb1db7a95e4636efb8357a335ad3f54b + languageName: node + linkType: hard + +"cookie@npm:^0.5.0": version: 0.5.0 resolution: "cookie@npm:0.5.0" checksum: c01ca3ef8d7b8187bae434434582288681273b5a9ed27521d4d7f9f7928fe0c920df0decd9f9d3bbd2d14ac432b8c8cf42b98b3bdd5bfe0e6edddeebebe8b61d languageName: node linkType: hard -"cookie@npm:0.6.0": - version: 0.6.0 - resolution: "cookie@npm:0.6.0" - checksum: f2318b31af7a31b4ddb4a678d024514df5e705f9be5909a192d7f116cfb6d45cbacf96a473fa733faa95050e7cff26e7832bb3ef94751592f1387b71c8956686 +"cookie@npm:^0.7.2": + version: 0.7.2 + resolution: "cookie@npm:0.7.2" + checksum: 9596e8ccdbf1a3a88ae02cf5ee80c1c50959423e1022e4e60b91dd87c622af1da309253d8abdb258fb5e3eacb4f08e579dc58b4897b8087574eee0fd35dfa5d2 languageName: node linkType: hard @@ -5867,54 +5935,19 @@ __metadata: languageName: node linkType: hard -"cross-env@npm:^5.1.3": - version: 5.2.1 - resolution: "cross-env@npm:5.2.1" - dependencies: - cross-spawn: "npm:^6.0.5" - bin: - cross-env: dist/bin/cross-env.js - cross-env-shell: dist/bin/cross-env-shell.js - checksum: bf51bad729410ff7d3b36c1df15d4f4dd9df9236449562ab4016d1cfc2b82759626fc8cc0368c6d8bf956c78cac687a3fcb8bae9c56f90320c4fb5b99a6bdf1f - languageName: node - linkType: hard - -"cross-spawn@npm:^5.1.0": - version: 5.1.0 - resolution: "cross-spawn@npm:5.1.0" - dependencies: - lru-cache: "npm:^4.0.1" - shebang-command: "npm:^1.2.0" - which: "npm:^1.2.9" - checksum: 1918621fddb9f8c61e02118b2dbf81f611ccd1544ceaca0d026525341832b8511ce2504c60f935dbc06b35e5ef156fe8c1e72708c27dd486f034e9c0e1e07201 - languageName: node - linkType: hard - -"cross-spawn@npm:^6.0.5": - version: 6.0.5 - resolution: "cross-spawn@npm:6.0.5" - dependencies: - nice-try: "npm:^1.0.4" - path-key: "npm:^2.0.1" - semver: "npm:^5.5.0" - shebang-command: "npm:^1.2.0" - which: "npm:^1.2.9" - checksum: e05544722e9d7189b4292c66e42b7abeb21db0d07c91b785f4ae5fefceb1f89e626da2703744657b287e86dcd4af57b54567cef75159957ff7a8a761d9055012 - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-env@npm:^7.0.3": version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" + resolution: "cross-env@npm:7.0.3" dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 + cross-spawn: "npm:^7.0.1" + bin: + cross-env: src/bin/cross-env.js + cross-env-shell: src/bin/cross-env-shell.js + checksum: f3765c25746c69fcca369655c442c6c886e54ccf3ab8c16847d5ad0e91e2f337d36eedc6599c1227904bf2a228d721e690324446876115bc8e7b32a866735ecf languageName: node linkType: hard -"cross-spawn@npm:^7.0.6": +"cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -5945,7 +5978,7 @@ __metadata: languageName: node linkType: hard -"css-tree@npm:^2.2.1": +"css-tree@npm:^2.3.1": version: 2.3.1 resolution: "css-tree@npm:2.3.1" dependencies: @@ -5972,7 +6005,7 @@ __metadata: languageName: node linkType: hard -"csso@npm:5.0.5": +"csso@npm:^5.0.5": version: 5.0.5 resolution: "csso@npm:5.0.5" dependencies: @@ -5981,57 +6014,17 @@ __metadata: languageName: node linkType: hard -"csstype@npm:^3.0.2, csstype@npm:^3.1.2": +"csstype@npm:3.1.3, csstype@npm:^3.0.2, csstype@npm:^3.1": version: 3.1.3 resolution: "csstype@npm:3.1.3" checksum: 80c089d6f7e0c5b2bd83cf0539ab41474198579584fa10d86d0cafe0642202343cbc119e076a0b1aece191989477081415d66c9fefbf3c957fc2fc4b7009f248 languageName: node linkType: hard -"csv-generate@npm:^3.4.3": - version: 3.4.3 - resolution: "csv-generate@npm:3.4.3" - checksum: 196afb16ec5e72f8a77a9742a9c5640868768e114ca5e0dcc22d4e6f9bfacb552432a2ca8658429b494d602d8fcc16f7efdad0ad45b7108fbd3f936074f43622 - languageName: node - linkType: hard - -"csv-parse@npm:^4.16.3": - version: 4.16.3 - resolution: "csv-parse@npm:4.16.3" - checksum: 40771fda105b10c3e44551fa4dbeab462315400deb572f2918c19d5848addd95ea3479aaaeaaf3bbd9235593a6d798dd90b9e6ba5c4ce570979bafc4bb1ba5f0 - languageName: node - linkType: hard - -"csv-parse@npm:^5.0.4": - version: 5.5.3 - resolution: "csv-parse@npm:5.5.3" - checksum: 2f85cd52ea11b08d85cb97a1c90db6ed52f9d3c4e3805831da8c59c589e04870adff067ac88855deb9863a16649b3827a1ed576fd021bdf3937b1cf4de8a03ba - languageName: node - linkType: hard - -"csv-parse@npm:^5.3.5": - version: 5.5.6 - resolution: "csv-parse@npm:5.5.6" - checksum: b4f6e9b885e4488829356455157bd009f3fed4119c5fbaadab1a879e85f0a9a1b62cd01e6de68ff77a50f820a6261722bce1b799da1ace2e2126e0b7c8d86760 - languageName: node - linkType: hard - -"csv-stringify@npm:^5.6.5": - version: 5.6.5 - resolution: "csv-stringify@npm:5.6.5" - checksum: 125194dcf24a94e9c03eb53b3bc4b79cc6611747e73fe3c0e8a342a9f385caeb4e88c0827e89a4c508b45ea99bdc64a339b487f80048a50fabcbb3a7d87ea1a9 - languageName: node - linkType: hard - -"csv@npm:^5.5.3": - version: 5.5.3 - resolution: "csv@npm:5.5.3" - dependencies: - csv-generate: "npm:^3.4.3" - csv-parse: "npm:^4.16.3" - csv-stringify: "npm:^5.6.5" - stream-transform: "npm:^2.1.3" - checksum: 282720e1f9f1a332c0ff2c4d48d845eab2a60c23087c974eb6ffc4d907f40c053ae0f8458819d670ad2986ec25359e57dbccc0fa3370cd5d92e7d3143e345f95 +"csv-parse@npm:^5.0.4, csv-parse@npm:^5.5.6": + version: 5.6.0 + resolution: "csv-parse@npm:5.6.0" + checksum: 52f5e6c45359902e0c8e57fc2eeed41366dc6b6d283b495b538dd50c8e8510413d6f924096ea056319cbbb8ed26e111c3a3485d7985c021bcf5abaa9e92425c7 languageName: node linkType: hard @@ -6098,7 +6091,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.1.0, debug@npm:^4.4.0": +"debug@npm:^4.1.0, debug@npm:^4.3.6, debug@npm:^4.4.0": version: 4.4.0 resolution: "debug@npm:4.4.0" dependencies: @@ -6110,41 +6103,12 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.3.5": - version: 4.3.5 - resolution: "debug@npm:4.3.5" - dependencies: - ms: "npm:2.1.2" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 082c375a2bdc4f4469c99f325ff458adad62a3fc2c482d59923c260cb08152f34e2659f72b3767db8bb2f21ca81a60a42d1019605a412132d7b9f59363a005cc - languageName: node - linkType: hard - -"decamelize-keys@npm:^1.1.0": - version: 1.1.1 - resolution: "decamelize-keys@npm:1.1.1" - dependencies: - decamelize: "npm:^1.1.0" - map-obj: "npm:^1.0.0" - checksum: 4ca385933127437658338c65fb9aead5f21b28d3dd3ccd7956eb29aab0953b5d3c047fbc207111672220c71ecf7a4d34f36c92851b7bbde6fca1a02c541bdd7d - languageName: node - linkType: hard - -"decamelize@npm:^1.1.0, decamelize@npm:^1.2.0": - version: 1.2.0 - resolution: "decamelize@npm:1.2.0" - checksum: 85c39fe8fbf0482d4a1e224ef0119db5c1897f8503bcef8b826adff7a1b11414972f6fef2d7dec2ee0b4be3863cf64ac1439137ae9e6af23a3d8dcbe26a5b4b2 - languageName: node - linkType: hard - "decode-named-character-reference@npm:^1.0.0": - version: 1.0.2 - resolution: "decode-named-character-reference@npm:1.0.2" + version: 1.1.0 + resolution: "decode-named-character-reference@npm:1.1.0" dependencies: character-entities: "npm:^2.0.0" - checksum: 66a9fc5d9b5385a2b3675c69ba0d8e893393d64057f7dbbb585265bb4fc05ec513d76943b8e5aac7d8016d20eea4499322cbf4cd6d54b466976b78f3a7587a4c + checksum: 359c76305b47e67660ec096c5cd3f65972ed75b8a53a40435a7a967cfab3e9516e64b443cbe0c7edcf5ab77f65a6924f12fb1872b1e09e2f044f28f4fd10996a languageName: node linkType: hard @@ -6195,7 +6159,7 @@ __metadata: languageName: node linkType: hard -"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": +"define-data-property@npm:^1.1.1": version: 1.1.1 resolution: "define-data-property@npm:1.1.1" dependencies: @@ -6206,17 +6170,6 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": - version: 1.2.1 - resolution: "define-properties@npm:1.2.1" - dependencies: - define-data-property: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - object-keys: "npm:^1.1.1" - checksum: 88a152319ffe1396ccc6ded510a3896e77efac7a1bfbaa174a7b00414a1747377e0bb525d303794a47cf30e805c2ec84e575758512c6e44a993076d29fd4e6c3 - languageName: node - linkType: hard - "defu@npm:^6.1.4": version: 6.1.4 resolution: "defu@npm:6.1.4" @@ -6249,7 +6202,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.0": +"dequal@npm:2.0.3, dequal@npm:^2.0.0, dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888 @@ -6270,13 +6223,6 @@ __metadata: languageName: node linkType: hard -"detect-libc@npm:^2.0.2": - version: 2.0.2 - resolution: "detect-libc@npm:2.0.2" - checksum: a9f4ffcd2701525c589617d98afe5a5d0676c8ea82bcc4ed6f3747241b79f781d36437c59a5e855254c864d36a3e9f8276568b6b531c28d6e53b093a15703f11 - languageName: node - linkType: hard - "detect-libc@npm:^2.0.3": version: 2.0.3 resolution: "detect-libc@npm:2.0.3" @@ -6285,9 +6231,25 @@ __metadata: linkType: hard "devalue@npm:^4.3.0": - version: 4.3.2 - resolution: "devalue@npm:4.3.2" - checksum: ea654d4670efa8a9c8cd2d445226a44570921d62597b3460ae3ead3d556cd445c9bad8dd13c15dadd866ddb5e54f37d9afa7549da27591586a94b01de897182d + version: 4.3.3 + resolution: "devalue@npm:4.3.3" + checksum: f7217b6fa631b2e7f56697d3354645d2f028f0c0734fa6e09462e7889082da08e57a3504cb208b6b80ec79a3f249f4f9289064fd59c7bc419c9c8cd0592201f7 + languageName: node + linkType: hard + +"devlop@npm:^1.0.0, devlop@npm:^1.1.0": + version: 1.1.0 + resolution: "devlop@npm:1.1.0" + dependencies: + dequal: "npm:^2.0.0" + checksum: e0928ab8f94c59417a2b8389c45c55ce0a02d9ac7fd74ef62d01ba48060129e1d594501b77de01f3eeafc7cb00773819b0df74d96251cf20b31c5b3071f45c0e + languageName: node + linkType: hard + +"diff-match-patch-es@npm:^1.0.1": + version: 1.0.1 + resolution: "diff-match-patch-es@npm:1.0.1" + checksum: d2a5ad980ca6b2273b395d097e81c4f1e25870e74b3691f3f370807e1c0a5af8d1c775e241ac83c8982fa76d5ec1839fa010dfdfa17f5e6721986ef51d4060c2 languageName: node linkType: hard @@ -6298,13 +6260,6 @@ __metadata: languageName: node linkType: hard -"diff@npm:^5.0.0": - version: 5.1.0 - resolution: "diff@npm:5.1.0" - checksum: 77a0d9beb9ed54796154ac2511872288432124ac90a1cabb1878783c9b4d81f1847f3b746a0630b1e836181461d2c76e1e6b95559bef86ed16294d114862e364 - languageName: node - linkType: hard - "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -6358,13 +6313,13 @@ __metadata: linkType: hard "domutils@npm:^3.0.1": - version: 3.1.0 - resolution: "domutils@npm:3.1.0" + version: 3.2.2 + resolution: "domutils@npm:3.2.2" dependencies: dom-serializer: "npm:^2.0.0" domelementtype: "npm:^2.3.0" domhandler: "npm:^5.0.3" - checksum: 342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887 + checksum: 47938f473b987ea71cd59e59626eb8666d3aa8feba5266e45527f3b636c7883cca7e582d901531961f742c519d7514636b7973353b648762b2e3bedbf235fada languageName: node linkType: hard @@ -6413,14 +6368,14 @@ __metadata: linkType: hard "duplexify@npm:^4.0.0": - version: 4.1.2 - resolution: "duplexify@npm:4.1.2" + version: 4.1.3 + resolution: "duplexify@npm:4.1.3" dependencies: end-of-stream: "npm:^1.4.1" inherits: "npm:^2.0.3" readable-stream: "npm:^3.1.1" - stream-shift: "npm:^1.0.0" - checksum: cacd09d8f1c58f92f83e17dffc14ece50415b32753446ed92046236a27a9e73cb914cda495d955ea12e0e615381082a511f20e219f48a06e84675c9d6950675b + stream-shift: "npm:^1.0.2" + checksum: 8a7621ae95c89f3937f982fe36d72ea997836a708471a75bb2a0eecde3330311b1e128a6dad510e0fd64ace0c56bff3484ed2e82af0e465600c82117eadfbda5 languageName: node linkType: hard @@ -6457,9 +6412,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.73": - version: 1.5.114 - resolution: "electron-to-chromium@npm:1.5.114" - checksum: cb86057d78f1aeb53ab6550dedacfd9496bcc6676bab7b48466c3958ba9ce0ed78c7213b1eab99ba38542cbaaa176eb7f8ea8b0274c0688b8ce3058291549430 + version: 1.5.123 + resolution: "electron-to-chromium@npm:1.5.123" + checksum: ffaa65e9337f5ba0b51d5709795c3d1074e0cae8efda24116561feed6cedd281f523be50339d991c2fc65344e66e65e7308a157ff87047a8bb4e8008412e9eb1 languageName: node linkType: hard @@ -6498,6 +6453,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~2.0.0": + version: 2.0.0 + resolution: "encodeurl@npm:2.0.0" + checksum: 5d317306acb13e6590e28e27924c754163946a2480de11865c991a3a7eed4315cd3fba378b543ca145829569eefe9b899f3d84bb09870f675ae60bc924b01ceb + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -6516,17 +6478,17 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.17.0": - version: 5.17.1 - resolution: "enhanced-resolve@npm:5.17.1" +"enhanced-resolve@npm:^5.17.1": + version: 5.18.1 + resolution: "enhanced-resolve@npm:5.18.1" dependencies: graceful-fs: "npm:^4.2.4" tapable: "npm:^2.2.0" - checksum: 81a0515675eca17efdba2cf5bad87abc91a528fc1191aad50e275e74f045b41506167d420099022da7181c8d787170ea41e4a11a0b10b7a16f6237daecb15370 + checksum: 4cffd9b125225184e2abed9fdf0ed3dbd2224c873b165d0838fd066cde32e0918626cba2f1f4bf6860762f13a7e2364fd89a82b99566be2873d813573ac71846 languageName: node linkType: hard -"enquirer@npm:^2.3.0": +"enquirer@npm:^2.4.1": version: 2.4.1 resolution: "enquirer@npm:2.4.1" dependencies: @@ -6564,62 +6526,6 @@ __metadata: languageName: node linkType: hard -"error-ex@npm:^1.3.1": - version: 1.3.2 - resolution: "error-ex@npm:1.3.2" - dependencies: - is-arrayish: "npm:^0.2.1" - checksum: ba827f89369b4c93382cfca5a264d059dfefdaa56ecc5e338ffa58a6471f5ed93b71a20add1d52290a4873d92381174382658c885ac1a2305f7baca363ce9cce - languageName: node - linkType: hard - -"es-abstract@npm:^1.22.1": - version: 1.22.3 - resolution: "es-abstract@npm:1.22.3" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - arraybuffer.prototype.slice: "npm:^1.0.2" - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.5" - es-set-tostringtag: "npm:^2.0.1" - es-to-primitive: "npm:^1.2.1" - function.prototype.name: "npm:^1.1.6" - get-intrinsic: "npm:^1.2.2" - get-symbol-description: "npm:^1.0.0" - globalthis: "npm:^1.0.3" - gopd: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - has-proto: "npm:^1.0.1" - has-symbols: "npm:^1.0.3" - hasown: "npm:^2.0.0" - internal-slot: "npm:^1.0.5" - is-array-buffer: "npm:^3.0.2" - is-callable: "npm:^1.2.7" - is-negative-zero: "npm:^2.0.2" - is-regex: "npm:^1.1.4" - is-shared-array-buffer: "npm:^1.0.2" - is-string: "npm:^1.0.7" - is-typed-array: "npm:^1.1.12" - is-weakref: "npm:^1.0.2" - object-inspect: "npm:^1.13.1" - object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.4" - regexp.prototype.flags: "npm:^1.5.1" - safe-array-concat: "npm:^1.0.1" - safe-regex-test: "npm:^1.0.0" - string.prototype.trim: "npm:^1.2.8" - string.prototype.trimend: "npm:^1.0.7" - string.prototype.trimstart: "npm:^1.0.7" - typed-array-buffer: "npm:^1.0.0" - typed-array-byte-length: "npm:^1.0.0" - typed-array-byte-offset: "npm:^1.0.0" - typed-array-length: "npm:^1.0.4" - unbox-primitive: "npm:^1.0.2" - which-typed-array: "npm:^1.1.13" - checksum: da31ec43b1c8eb47ba8a17693cac143682a1078b6c3cd883ce0e2062f135f532e93d873694ef439670e1f6ca03195118f43567ba6f33fb0d6c7daae750090236 - languageName: node - linkType: hard - "es-define-property@npm:^1.0.1": version: 1.0.1 resolution: "es-define-property@npm:1.0.1" @@ -6641,52 +6547,57 @@ __metadata: languageName: node linkType: hard -"es-object-atoms@npm:^1.0.0": - version: 1.0.0 - resolution: "es-object-atoms@npm:1.0.0" +"es-object-atoms@npm:^1.0.0, es-object-atoms@npm:^1.1.1": + version: 1.1.1 + resolution: "es-object-atoms@npm:1.1.1" dependencies: es-errors: "npm:^1.3.0" - checksum: 1fed3d102eb27ab8d983337bb7c8b159dd2a1e63ff833ec54eea1311c96d5b08223b433060ba240541ca8adba9eee6b0a60cdbf2f80634b784febc9cc8b687b4 + checksum: 65364812ca4daf48eb76e2a3b7a89b3f6a2e62a1c420766ce9f692665a29d94fe41fe88b65f24106f449859549711e4b40d9fb8002d862dfd7eb1c512d10be0c languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.1": - version: 2.0.2 - resolution: "es-set-tostringtag@npm:2.0.2" +"es-set-tostringtag@npm:^2.1.0": + version: 2.1.0 + resolution: "es-set-tostringtag@npm:2.1.0" dependencies: - get-intrinsic: "npm:^1.2.2" - has-tostringtag: "npm:^1.0.0" - hasown: "npm:^2.0.0" - checksum: 176d6bd1be31dd0145dcceee62bb78d4a5db7f81db437615a18308a6f62bcffe45c15081278413455e8cf0aad4ea99079de66f8de389605942dfdacbad74c2d5 + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.6" + has-tostringtag: "npm:^1.0.2" + hasown: "npm:^2.0.2" + checksum: ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": - version: 1.0.2 - resolution: "es-shim-unscopables@npm:1.0.2" +"esast-util-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "esast-util-from-estree@npm:2.0.0" dependencies: - hasown: "npm:^2.0.0" - checksum: f495af7b4b7601a4c0cfb893581c352636e5c08654d129590386a33a0432cf13a7bdc7b6493801cadd990d838e2839b9013d1de3b880440cb537825e834fe783 + "@types/estree-jsx": "npm:^1.0.0" + devlop: "npm:^1.0.0" + estree-util-visit: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + checksum: 6c619bc6963314f8f64b32e3b101b321bf121f659e62b11e70f425619c2db6f1d25f4c594a57fd00908da96c67d9bfbf876eb5172abf9e13f47a71796f6630ff languageName: node linkType: hard -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" +"esast-util-from-js@npm:^2.0.0": + version: 2.0.1 + resolution: "esast-util-from-js@npm:2.0.1" dependencies: - is-callable: "npm:^1.1.4" - is-date-object: "npm:^1.0.1" - is-symbol: "npm:^1.0.2" - checksum: 0886572b8dc075cb10e50c0af62a03d03a68e1e69c388bd4f10c0649ee41b1fbb24840a1b7e590b393011b5cdbe0144b776da316762653685432df37d6de60f1 + "@types/estree-jsx": "npm:^1.0.0" + acorn: "npm:^8.0.0" + esast-util-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 3a446fb0b0d7bcd7e0157aa44b3b692802a08c93edbea81cc0f7fe4437bfdfb4b72e4563fe63b4e36d390086b71185dba4ac921f4180cc6349985c263cc74421 languageName: node linkType: hard "esbuild-wasm@npm:^0.19.5": - version: 0.19.9 - resolution: "esbuild-wasm@npm:0.19.9" + version: 0.19.12 + resolution: "esbuild-wasm@npm:0.19.12" bin: esbuild: bin/esbuild - checksum: 021ae8dbd63a40f8ca10fb1c9f38409edf6db9ba8e3b13a8b55c8cb2a180a3dc417ad219cdb460767814de7760cbd50c9154a2a888e9f6b6119768b5130d0123 + checksum: a4a17a48e68996a1ac951ffc3e22924db9cacc07f5cf0cc22f5a7817114a85d74549167ecbf99f260f96df9329c2849b276177b143c6624a763fc4eba84936ae languageName: node linkType: hard @@ -6767,33 +6678,36 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.3, esbuild@npm:^0.19.9": - version: 0.19.9 - resolution: "esbuild@npm:0.19.9" +"esbuild@npm:^0.19.9": + version: 0.19.12 + resolution: "esbuild@npm:0.19.12" dependencies: - "@esbuild/android-arm": "npm:0.19.9" - "@esbuild/android-arm64": "npm:0.19.9" - "@esbuild/android-x64": "npm:0.19.9" - "@esbuild/darwin-arm64": "npm:0.19.9" - "@esbuild/darwin-x64": "npm:0.19.9" - "@esbuild/freebsd-arm64": "npm:0.19.9" - "@esbuild/freebsd-x64": "npm:0.19.9" - "@esbuild/linux-arm": "npm:0.19.9" - "@esbuild/linux-arm64": "npm:0.19.9" - "@esbuild/linux-ia32": "npm:0.19.9" - "@esbuild/linux-loong64": "npm:0.19.9" - "@esbuild/linux-mips64el": "npm:0.19.9" - "@esbuild/linux-ppc64": "npm:0.19.9" - "@esbuild/linux-riscv64": "npm:0.19.9" - "@esbuild/linux-s390x": "npm:0.19.9" - "@esbuild/linux-x64": "npm:0.19.9" - "@esbuild/netbsd-x64": "npm:0.19.9" - "@esbuild/openbsd-x64": "npm:0.19.9" - "@esbuild/sunos-x64": "npm:0.19.9" - "@esbuild/win32-arm64": "npm:0.19.9" - "@esbuild/win32-ia32": "npm:0.19.9" - "@esbuild/win32-x64": "npm:0.19.9" + "@esbuild/aix-ppc64": "npm:0.19.12" + "@esbuild/android-arm": "npm:0.19.12" + "@esbuild/android-arm64": "npm:0.19.12" + "@esbuild/android-x64": "npm:0.19.12" + "@esbuild/darwin-arm64": "npm:0.19.12" + "@esbuild/darwin-x64": "npm:0.19.12" + "@esbuild/freebsd-arm64": "npm:0.19.12" + "@esbuild/freebsd-x64": "npm:0.19.12" + "@esbuild/linux-arm": "npm:0.19.12" + "@esbuild/linux-arm64": "npm:0.19.12" + "@esbuild/linux-ia32": "npm:0.19.12" + "@esbuild/linux-loong64": "npm:0.19.12" + "@esbuild/linux-mips64el": "npm:0.19.12" + "@esbuild/linux-ppc64": "npm:0.19.12" + "@esbuild/linux-riscv64": "npm:0.19.12" + "@esbuild/linux-s390x": "npm:0.19.12" + "@esbuild/linux-x64": "npm:0.19.12" + "@esbuild/netbsd-x64": "npm:0.19.12" + "@esbuild/openbsd-x64": "npm:0.19.12" + "@esbuild/sunos-x64": "npm:0.19.12" + "@esbuild/win32-arm64": "npm:0.19.12" + "@esbuild/win32-ia32": "npm:0.19.12" + "@esbuild/win32-x64": "npm:0.19.12" dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true "@esbuild/android-arm": optional: true "@esbuild/android-arm64": @@ -6840,39 +6754,119 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 85cf167596f52ec5cde47ec27013d49f04e3052e6b00cd4534095cd74a776955040b03b326d54a9588921dc631f76b97ebda76b52bb5152f3ef4a45cfba81dca + checksum: 0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d + languageName: node + linkType: hard + +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de languageName: node linkType: hard "esbuild@npm:^0.25.0": - version: 0.25.0 - resolution: "esbuild@npm:0.25.0" + version: 0.25.1 + resolution: "esbuild@npm:0.25.1" dependencies: - "@esbuild/aix-ppc64": "npm:0.25.0" - "@esbuild/android-arm": "npm:0.25.0" - "@esbuild/android-arm64": "npm:0.25.0" - "@esbuild/android-x64": "npm:0.25.0" - "@esbuild/darwin-arm64": "npm:0.25.0" - "@esbuild/darwin-x64": "npm:0.25.0" - "@esbuild/freebsd-arm64": "npm:0.25.0" - "@esbuild/freebsd-x64": "npm:0.25.0" - "@esbuild/linux-arm": "npm:0.25.0" - "@esbuild/linux-arm64": "npm:0.25.0" - "@esbuild/linux-ia32": "npm:0.25.0" - "@esbuild/linux-loong64": "npm:0.25.0" - "@esbuild/linux-mips64el": "npm:0.25.0" - "@esbuild/linux-ppc64": "npm:0.25.0" - "@esbuild/linux-riscv64": "npm:0.25.0" - "@esbuild/linux-s390x": "npm:0.25.0" - "@esbuild/linux-x64": "npm:0.25.0" - "@esbuild/netbsd-arm64": "npm:0.25.0" - "@esbuild/netbsd-x64": "npm:0.25.0" - "@esbuild/openbsd-arm64": "npm:0.25.0" - "@esbuild/openbsd-x64": "npm:0.25.0" - "@esbuild/sunos-x64": "npm:0.25.0" - "@esbuild/win32-arm64": "npm:0.25.0" - "@esbuild/win32-ia32": "npm:0.25.0" - "@esbuild/win32-x64": "npm:0.25.0" + "@esbuild/aix-ppc64": "npm:0.25.1" + "@esbuild/android-arm": "npm:0.25.1" + "@esbuild/android-arm64": "npm:0.25.1" + "@esbuild/android-x64": "npm:0.25.1" + "@esbuild/darwin-arm64": "npm:0.25.1" + "@esbuild/darwin-x64": "npm:0.25.1" + "@esbuild/freebsd-arm64": "npm:0.25.1" + "@esbuild/freebsd-x64": "npm:0.25.1" + "@esbuild/linux-arm": "npm:0.25.1" + "@esbuild/linux-arm64": "npm:0.25.1" + "@esbuild/linux-ia32": "npm:0.25.1" + "@esbuild/linux-loong64": "npm:0.25.1" + "@esbuild/linux-mips64el": "npm:0.25.1" + "@esbuild/linux-ppc64": "npm:0.25.1" + "@esbuild/linux-riscv64": "npm:0.25.1" + "@esbuild/linux-s390x": "npm:0.25.1" + "@esbuild/linux-x64": "npm:0.25.1" + "@esbuild/netbsd-arm64": "npm:0.25.1" + "@esbuild/netbsd-x64": "npm:0.25.1" + "@esbuild/openbsd-arm64": "npm:0.25.1" + "@esbuild/openbsd-x64": "npm:0.25.1" + "@esbuild/sunos-x64": "npm:0.25.1" + "@esbuild/win32-arm64": "npm:0.25.1" + "@esbuild/win32-ia32": "npm:0.25.1" + "@esbuild/win32-x64": "npm:0.25.1" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -6926,18 +6920,11 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 5767b72da46da3cfec51661647ec850ddbf8a8d0662771139f10ef0692a8831396a0004b2be7966cecdb08264fb16bdc16290dcecd92396fac5f12d722fa013d + checksum: 80fca30dd0f21aec23fdfab34f0a8d5f55df5097dd7f475f2ab561d45662c32ee306f5649071cd1a0ba0614b164c48ca3dc3ee1551a4daf204b8af90e4d893f5 languageName: node linkType: hard -"escalade@npm:^3.1.1": - version: 3.1.1 - resolution: "escalade@npm:3.1.1" - checksum: afd02e6ca91ffa813e1108b5e7756566173d6bc0d1eb951cb44d6b21702ec17c1cf116cfe75d4a2b02e05acb0b808a7a9387d0d1ca5cf9c04ad03a8445c3e46d - languageName: node - linkType: hard - -"escalade@npm:^3.2.0": +"escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" checksum: ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 @@ -7001,21 +6988,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^9.1.0": - version: 9.1.0 - resolution: "eslint-config-prettier@npm:9.1.0" +"eslint-config-prettier@npm:^10.1.1": + version: 10.1.1 + resolution: "eslint-config-prettier@npm:10.1.1" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 6d332694b36bc9ac6fdb18d3ca2f6ac42afa2ad61f0493e89226950a7091e38981b66bac2b47ba39d15b73fff2cd32c78b850a9cf9eed9ca9a96bfb2f3a2f10d - languageName: node - linkType: hard - -"eslint-define-config@npm:^2.1.0": - version: 2.1.0 - resolution: "eslint-define-config@npm:2.1.0" - checksum: 034bd6bfbfec2db6c720a51815de6b072efeef7afbf99d90c23a1871f9cd741bb77f9d34e0bc2465262298c6110c5c45b704714d8575c6567fd2df963fb792ea + checksum: 3dbfdf6495dd62e2e1644ea9e8e978100dabcd8740fd264df1222d130001a1e8de05d6ed6c67d3a60727386a07507f067d1ca79af6d546910414beab19e7966e languageName: node linkType: hard @@ -7030,44 +7010,32 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.6.3": - version: 3.6.3 - resolution: "eslint-import-resolver-typescript@npm:3.6.3" +"eslint-import-resolver-typescript@npm:^4.2.2": + version: 4.2.2 + resolution: "eslint-import-resolver-typescript@npm:4.2.2" dependencies: - "@nolyfill/is-core-module": "npm:1.0.39" - debug: "npm:^4.3.5" - enhanced-resolve: "npm:^5.15.0" - eslint-module-utils: "npm:^2.8.1" - fast-glob: "npm:^3.3.2" - get-tsconfig: "npm:^4.7.5" - is-bun-module: "npm:^1.0.2" - is-glob: "npm:^4.0.3" + debug: "npm:^4.4.0" + get-tsconfig: "npm:^4.10.0" + rspack-resolver: "npm:^1.2.2" + stable-hash: "npm:^0.0.5" + tinyglobby: "npm:^0.2.12" peerDependencies: eslint: "*" eslint-plugin-import: "*" eslint-plugin-import-x: "*" + is-bun-module: "*" peerDependenciesMeta: eslint-plugin-import: optional: true eslint-plugin-import-x: optional: true - checksum: 5933b00791b7b077725b9ba9a85327d2e2dc7c8944c18a868feb317a0bf0e1e77aed2254c9c5e24dcc49360d119331d2c15281837f4269592965ace380a75111 - languageName: node - linkType: hard - -"eslint-module-utils@npm:^2.8.1": - version: 2.9.0 - resolution: "eslint-module-utils@npm:2.9.0" - dependencies: - debug: "npm:^3.2.7" - peerDependenciesMeta: - eslint: + is-bun-module: optional: true - checksum: 7c45c5b54402a969e99315890c10e9bf8c8bee16c7890573343af05dfa04566d61546585678c413e5228af0550e39461be47e35a8ff0d1863e113bdbb28d1d29 + checksum: ac6eea204e8dad2a802fbed4468040dd3a5e613d8693f44d8c4cc316c6019c1cc690369b32c567c32fd5f289b6d3102984863bf122290001dd9229cb8ed9ee3c languageName: node linkType: hard -"eslint-plugin-es-x@npm:^7.5.0": +"eslint-plugin-es-x@npm:^7.8.0": version: 7.8.0 resolution: "eslint-plugin-es-x@npm:7.8.0" dependencies: @@ -7081,78 +7049,62 @@ __metadata: linkType: hard "eslint-plugin-import-x@npm:^4.1.1": - version: 4.1.1 - resolution: "eslint-plugin-import-x@npm:4.1.1" + version: 4.9.1 + resolution: "eslint-plugin-import-x@npm:4.9.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:^8.1.0" - "@typescript-eslint/utils": "npm:^8.1.0" - debug: "npm:^4.3.4" + "@types/doctrine": "npm:^0.0.9" + "@typescript-eslint/utils": "npm:^8.27.0" + debug: "npm:^4.4.0" doctrine: "npm:^3.0.0" eslint-import-resolver-node: "npm:^0.3.9" - get-tsconfig: "npm:^4.7.3" + get-tsconfig: "npm:^4.10.0" is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.3" - semver: "npm:^7.6.3" - stable-hash: "npm:^0.0.4" - tslib: "npm:^2.6.3" + minimatch: "npm:^10.0.1" + rspack-resolver: "npm:^1.2.2" + semver: "npm:^7.7.1" + stable-hash: "npm:^0.0.5" + tslib: "npm:^2.8.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: cb44a04cf830752534e71929857aa8dca3128d02cbdef367df79e998f333c229b81a645b5f2d62409d0e51ebc1875ad52618d72db1622e4112bd727a739af417 + checksum: 07c433b70d264c757c1b8b337bd6c3146df61095bd3e290b07e3feb5b38e2f11aa0ecbe9633229cd942998b2bdeb40a47736128c017682befc030d4b5367c6ff languageName: node linkType: hard "eslint-plugin-n@npm:^17.10.2": - version: 17.10.2 - resolution: "eslint-plugin-n@npm:17.10.2" + version: 17.16.2 + resolution: "eslint-plugin-n@npm:17.16.2" dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - enhanced-resolve: "npm:^5.17.0" - eslint-plugin-es-x: "npm:^7.5.0" - get-tsconfig: "npm:^4.7.0" - globals: "npm:^15.8.0" - ignore: "npm:^5.2.4" + "@eslint-community/eslint-utils": "npm:^4.4.1" + enhanced-resolve: "npm:^5.17.1" + eslint-plugin-es-x: "npm:^7.8.0" + get-tsconfig: "npm:^4.8.1" + globals: "npm:^15.11.0" + ignore: "npm:^5.3.2" minimatch: "npm:^9.0.5" - semver: "npm:^7.5.3" + semver: "npm:^7.6.3" peerDependencies: eslint: ">=8.23.0" - checksum: cd1e089a5243e923a0f79f688b69d27c8a6513deb7c4b2e687e8c476893e512f6a97ecf5ed595e489b583675002126065e3864c0102a606b857ec93c69f6da6a + checksum: 25a77159b363814384b141d6f74b2c2e5787c58756c936f5547c01cb0e3b28f7ca4f32d77fe4214af6f1359dd35693380921395cdfc14c72595d89117ab92e9a languageName: node linkType: hard -"eslint-scope@npm:^8.0.2": - version: 8.0.2 - resolution: "eslint-scope@npm:8.0.2" +"eslint-scope@npm:^8.3.0": + version: 8.3.0 + resolution: "eslint-scope@npm:8.3.0" dependencies: esrecurse: "npm:^4.3.0" estraverse: "npm:^5.2.0" - checksum: 477f820647c8755229da913025b4567347fd1f0bf7cbdf3a256efff26a7e2e130433df052bd9e3d014025423dc00489bea47eb341002b15553673379c1a7dc36 + checksum: 23bf54345573201fdf06d29efa345ab508b355492f6c6cc9e2b9f6d02b896f369b6dd5315205be94b8853809776c4d13353b85c6b531997b164ff6c3328ecf5b languageName: node linkType: hard -"eslint-scope@npm:^8.2.0": - version: 8.2.0 - resolution: "eslint-scope@npm:8.2.0" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^5.2.0" - checksum: 8d2d58e2136d548ac7e0099b1a90d9fab56f990d86eb518de1247a7066d38c908be2f3df477a79cf60d70b30ba18735d6c6e70e9914dca2ee515a729975d70d6 - languageName: node - linkType: hard - -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 languageName: node linkType: hard -"eslint-visitor-keys@npm:^4.0.0": - version: 4.0.0 - resolution: "eslint-visitor-keys@npm:4.0.0" - checksum: 76619f42cf162705a1515a6868e6fc7567e185c7063a05621a8ac4c3b850d022661262c21d9f1fc1d144ecf0d5d64d70a3f43c15c3fc969a61ace0fb25698cf5 - languageName: node - linkType: hard - "eslint-visitor-keys@npm:^4.2.0": version: 4.2.0 resolution: "eslint-visitor-keys@npm:4.2.0" @@ -7160,69 +7112,21 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.10.0": - version: 9.10.0 - resolution: "eslint@npm:9.10.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.11.0" - "@eslint/config-array": "npm:^0.18.0" - "@eslint/eslintrc": "npm:^3.1.0" - "@eslint/js": "npm:9.10.0" - "@eslint/plugin-kit": "npm:^0.1.0" - "@humanwhocodes/module-importer": "npm:^1.0.1" - "@humanwhocodes/retry": "npm:^0.3.0" - "@nodelib/fs.walk": "npm:^1.2.8" - ajv: "npm:^6.12.4" - chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.2" - debug: "npm:^4.3.2" - escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^8.0.2" - eslint-visitor-keys: "npm:^4.0.0" - espree: "npm:^10.1.0" - esquery: "npm:^1.5.0" - esutils: "npm:^2.0.2" - fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^8.0.0" - find-up: "npm:^5.0.0" - glob-parent: "npm:^6.0.2" - ignore: "npm:^5.2.0" - imurmurhash: "npm:^0.1.4" - is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" - json-stable-stringify-without-jsonify: "npm:^1.0.1" - lodash.merge: "npm:^4.6.2" - minimatch: "npm:^3.1.2" - natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" - text-table: "npm:^0.2.0" - peerDependencies: - jiti: "*" - peerDependenciesMeta: - jiti: - optional: true - bin: - eslint: bin/eslint.js - checksum: 7357f3995b15043eea83c8c0ab16c385ce3f28925c1b11cfcd6b2ede8faab3d91ede84a68173dd5f6e3e176e177984e6218de58b7b8388e53e2881f1ec07c836 - languageName: node - linkType: hard - -"eslint@npm:^9.17.0": - version: 9.17.0 - resolution: "eslint@npm:9.17.0" +"eslint@npm:^9.17.0, eslint@npm:^9.23.0": + version: 9.23.0 + resolution: "eslint@npm:9.23.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.12.1" - "@eslint/config-array": "npm:^0.19.0" - "@eslint/core": "npm:^0.9.0" - "@eslint/eslintrc": "npm:^3.2.0" - "@eslint/js": "npm:9.17.0" - "@eslint/plugin-kit": "npm:^0.2.3" + "@eslint/config-array": "npm:^0.19.2" + "@eslint/config-helpers": "npm:^0.2.0" + "@eslint/core": "npm:^0.12.0" + "@eslint/eslintrc": "npm:^3.3.1" + "@eslint/js": "npm:9.23.0" + "@eslint/plugin-kit": "npm:^0.2.7" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" - "@humanwhocodes/retry": "npm:^0.4.1" + "@humanwhocodes/retry": "npm:^0.4.2" "@types/estree": "npm:^1.0.6" "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" @@ -7230,7 +7134,7 @@ __metadata: cross-spawn: "npm:^7.0.6" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^8.2.0" + eslint-scope: "npm:^8.3.0" eslint-visitor-keys: "npm:^4.2.0" espree: "npm:^10.3.0" esquery: "npm:^1.5.0" @@ -7254,22 +7158,11 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 9edd8dd782b4ae2eb00a158ed4708194835d4494d75545fa63a51f020ed17f865c49b4ae1914a2ecbc7fdb262bd8059e811aeef9f0bae63dced9d3293be1bbdd + checksum: 9616c308dfa8d09db8ae51019c87d5d05933742214531b077bd6ab618baab3bec7938256c14dcad4dc47f5ba93feb0bc5e089f68799f076374ddea21b6a9be45 languageName: node linkType: hard -"espree@npm:^10.0.1, espree@npm:^10.1.0": - version: 10.1.0 - resolution: "espree@npm:10.1.0" - dependencies: - acorn: "npm:^8.12.0" - acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^4.0.0" - checksum: 52e6feaa77a31a6038f0c0e3fce93010a4625701925b0715cd54a2ae190b3275053a0717db698697b32653788ac04845e489d6773b508d6c2e8752f3c57470a0 - languageName: node - linkType: hard - -"espree@npm:^10.3.0": +"espree@npm:^10.0.1, espree@npm:^10.3.0": version: 10.3.0 resolution: "espree@npm:10.3.0" dependencies: @@ -7315,51 +7208,62 @@ __metadata: languageName: node linkType: hard -"estree-util-attach-comments@npm:^2.0.0": - version: 2.1.1 - resolution: "estree-util-attach-comments@npm:2.1.1" +"estree-util-attach-comments@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-attach-comments@npm:3.0.0" dependencies: "@types/estree": "npm:^1.0.0" - checksum: cdb5fdb5809b376ca4a96afbcd916c3570b4bbf5d0115b8a9e1e8a10885d8d9fb549df0a16c077abb42ee35fa33192b69714bac25d4f3c43a36092288c9a64fd + checksum: ee69bb5c45e2ad074725b90ed181c1c934b29d81bce4b0c7761431e83c4c6ab1b223a6a3d6a4fbeb92128bc5d5ee201d5dd36cf1770aa5e16a40b0cf36e8a1f1 languageName: node linkType: hard -"estree-util-build-jsx@npm:^2.0.0": - version: 2.2.2 - resolution: "estree-util-build-jsx@npm:2.2.2" +"estree-util-build-jsx@npm:^3.0.0": + version: 3.0.1 + resolution: "estree-util-build-jsx@npm:3.0.1" dependencies: "@types/estree-jsx": "npm:^1.0.0" - estree-util-is-identifier-name: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" estree-walker: "npm:^3.0.0" - checksum: 2cef6ad6747f51934eba0601c3477ba08c98331cfe616635e08dfc89d06b9bbd370c4d80e87fe7d42d82776fa7840868201f48491b0ef9c808039f15fe4667e1 + checksum: 274c119817b8e7caa14a9778f1e497fea56cdd2b01df1a1ed037f843178992d3afe85e0d364d485e1e2e239255763553d1b647b15e4a7ba50851bcb43dc6bf80 languageName: node linkType: hard -"estree-util-is-identifier-name@npm:^2.0.0": - version: 2.1.0 - resolution: "estree-util-is-identifier-name@npm:2.1.0" - checksum: cc241a6998d30f4e8775ec34b042ef93e0085cd1bdf692a01f22e9b748f0866c76679475ff87935be1d8d5b1a7648be8cba366dc60866b372269f35feec756fe +"estree-util-is-identifier-name@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-is-identifier-name@npm:3.0.0" + checksum: d1881c6ed14bd588ebd508fc90bf2a541811dbb9ca04dec2f39d27dcaa635f85b5ed9bbbe7fc6fb1ddfca68744a5f7c70456b4b7108b6c4c52780631cc787c5b languageName: node linkType: hard -"estree-util-to-js@npm:^1.1.0": - version: 1.2.0 - resolution: "estree-util-to-js@npm:1.2.0" +"estree-util-scope@npm:^1.0.0": + version: 1.0.0 + resolution: "estree-util-scope@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + checksum: ef8a573cc899277c613623a1722f630e2163abbc6e9e2f49e758c59b81b484e248b585df6df09a38c00fbfb6390117997cc80c1347b7a86bc1525d9e462b60d5 + languageName: node + linkType: hard + +"estree-util-to-js@npm:^2.0.0": + version: 2.0.0 + resolution: "estree-util-to-js@npm:2.0.0" dependencies: "@types/estree-jsx": "npm:^1.0.0" astring: "npm:^1.8.0" source-map: "npm:^0.7.0" - checksum: ad9c99dc34b0510ab813b485251acbf0abd06361c07b13c08da5d1611c279bee02ec09f2c269ae30b8d2da587115fc1fad4fa9f2f5ba69e094e758a3a4de7069 + checksum: ac88cb831401ef99e365f92f4af903755d56ae1ce0e0f0fb8ff66e678141f3d529194f0fb15f6c78cd7554c16fda36854df851d58f9e05cfab15bddf7a97cea0 languageName: node linkType: hard -"estree-util-visit@npm:^1.0.0": - version: 1.2.1 - resolution: "estree-util-visit@npm:1.2.1" +"estree-util-visit@npm:^2.0.0": + version: 2.0.0 + resolution: "estree-util-visit@npm:2.0.0" dependencies: "@types/estree-jsx": "npm:^1.0.0" - "@types/unist": "npm:^2.0.0" - checksum: 3c47086ab25947a889fca9f58a842e0d27edadcad24dc393fdd7c9ad3419fe05b3c63b6fc9d6c9d8f50d32bca615cd0a3fe8d0e6b300fb94f74c91210b55ea5d + "@types/unist": "npm:^3.0.0" + checksum: acda8b03cc8f890d79c7c7361f6c95331ba84b7ccc0c32b49f447fc30206b20002b37ffdfc97b6ad16e6fe065c63ecbae1622492e2b6b4775c15966606217f39 languageName: node linkType: hard @@ -7431,8 +7335,8 @@ __metadata: linkType: hard "exegesis@npm:^4.1.0": - version: 4.1.1 - resolution: "exegesis@npm:4.1.1" + version: 4.3.0 + resolution: "exegesis@npm:4.3.0" dependencies: "@apidevtools/json-schema-ref-parser": "npm:^9.0.3" ajv: "npm:^8.3.0" @@ -7441,17 +7345,16 @@ __metadata: content-type: "npm:^1.0.4" deep-freeze: "npm:0.0.1" events-listener: "npm:^1.1.0" - glob: "npm:^7.1.3" + glob: "npm:^10.3.10" json-ptr: "npm:^3.0.1" json-schema-traverse: "npm:^1.0.0" lodash: "npm:^4.17.11" openapi3-ts: "npm:^3.1.1" promise-breaker: "npm:^6.0.0" - pump: "npm:^3.0.0" qs: "npm:^6.6.0" raw-body: "npm:^2.3.3" semver: "npm:^7.0.0" - checksum: ebd7ca492e7bb8d1cf5aca344d7e834e3a09d9443f533aeb0e8e70e8438ddb33a0e746f1836de9ec25e02d0e8491dacaf9a2c02accd15b0939a94f0a28700fe2 + checksum: 944ec9df00378ef19eb37a52aff60244e3bb98878e5979d7efb98b8454b144d9bb7ec08ea8d23e54430d97e2d0bf9e59341f85a471e1288a607cf13ceabfdbe1 languageName: node linkType: hard @@ -7480,7 +7383,7 @@ __metadata: languageName: node linkType: hard -"exit-hook@npm:2.2.1, exit-hook@npm:^2.2.1": +"exit-hook@npm:2.2.1": version: 2.2.1 resolution: "exit-hook@npm:2.2.1" checksum: 0803726d1b60aade6afd10c73e5a7e1bf256ac9bee78362a88e91a4f735e8c67899f2853ddc613072c05af07bbb067a9978a740e614db1aeef167d50c6dc5c09 @@ -7488,64 +7391,55 @@ __metadata: linkType: hard "expect-type@npm:^1.1.0": - version: 1.1.0 - resolution: "expect-type@npm:1.1.0" - checksum: 5af0febbe8fe18da05a6d51e3677adafd75213512285408156b368ca471252565d5ca6e59e4bddab25121f3cfcbbebc6a5489f8cc9db131cc29e69dcdcc7ae15 + version: 1.2.0 + resolution: "expect-type@npm:1.2.0" + checksum: 6069e1980bf16b9385646800e23499c1447df636c433014f6bbabe4bb0e20bd0033f30d38a6f9ae0938b0203a9e870cc82cdfd74b7c837b480cefb8e8240d8e8 languageName: node linkType: hard "exponential-backoff@npm:^3.1.1": - version: 3.1.1 - resolution: "exponential-backoff@npm:3.1.1" - checksum: 160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579 + version: 3.1.2 + resolution: "exponential-backoff@npm:3.1.2" + checksum: d9d3e1eafa21b78464297df91f1776f7fbaa3d5e3f7f0995648ca5b89c069d17055033817348d9f4a43d1c20b0eab84f75af6991751e839df53e4dfd6f22e844 languageName: node linkType: hard "express@npm:^4.16.4": - version: 4.18.2 - resolution: "express@npm:4.18.2" + version: 4.21.2 + resolution: "express@npm:4.21.2" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" - body-parser: "npm:1.20.1" + body-parser: "npm:1.20.3" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" - cookie: "npm:0.5.0" + cookie: "npm:0.7.1" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" etag: "npm:~1.8.1" - finalhandler: "npm:1.2.0" + finalhandler: "npm:1.3.1" fresh: "npm:0.5.2" http-errors: "npm:2.0.0" - merge-descriptors: "npm:1.0.1" + merge-descriptors: "npm:1.0.3" methods: "npm:~1.1.2" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" - path-to-regexp: "npm:0.1.7" + path-to-regexp: "npm:0.1.12" proxy-addr: "npm:~2.0.7" - qs: "npm:6.11.0" + qs: "npm:6.13.0" range-parser: "npm:~1.2.1" safe-buffer: "npm:5.2.1" - send: "npm:0.18.0" - serve-static: "npm:1.15.0" + send: "npm:0.19.0" + serve-static: "npm:1.16.2" setprototypeof: "npm:1.2.0" statuses: "npm:2.0.1" type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 75af556306b9241bc1d7bdd40c9744b516c38ce50ae3210658efcbf96e3aed4ab83b3432f06215eae5610c123bc4136957dc06e50dfc50b7d4d775af56c4c59c - languageName: node - linkType: hard - -"expression-eval@npm:^5.0.0": - version: 5.0.1 - resolution: "expression-eval@npm:5.0.1" - dependencies: - jsep: "npm:^0.3.0" - checksum: 74f9e1e54e50b3c924a71bcddf1550c51f15e24646f2b6cb8c45c7dd3731eb3f0e1e9a6dbf895549ddc445fe66909c373779ea6bf7f6f1e90d6bcef1590543ff + checksum: 38168fd0a32756600b56e6214afecf4fc79ec28eca7f7a91c2ab8d50df4f47562ca3f9dee412da7f5cea6b1a1544b33b40f9f8586dbacfbdada0fe90dbb10a1f languageName: node linkType: hard @@ -7582,11 +7476,11 @@ __metadata: linkType: hard "fast-check@npm:^3.21.0": - version: 3.23.1 - resolution: "fast-check@npm:3.23.1" + version: 3.23.2 + resolution: "fast-check@npm:3.23.2" dependencies: pure-rand: "npm:^6.1.0" - checksum: d61ee4a7a2e1abc5126bf2f1894413f532f686b3d1fc15c67fefb60dcca66024934b69a6454d3eba92e6568ac1abbb9882080e212d255865c3b3bbe52c5bf702 + checksum: 16fcff3c80321ee765e23c3aebd0f6427f175c9c6c1753104ec658970162365dc2d56bda046d815e8f2e90634c07ba7d6f0bcfd327fbd576d98c56a18a9765ed languageName: node linkType: hard @@ -7605,15 +7499,15 @@ __metadata: linkType: hard "fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": - version: 3.3.2 - resolution: "fast-glob@npm:3.3.2" + version: 3.3.3 + resolution: "fast-glob@npm:3.3.3" dependencies: "@nodelib/fs.stat": "npm:^2.0.2" "@nodelib/fs.walk": "npm:^1.2.3" glob-parent: "npm:^5.1.2" merge2: "npm:^1.3.0" - micromatch: "npm:^4.0.4" - checksum: 42baad7b9cd40b63e42039132bde27ca2cb3a4950d0a0f9abe4639ea1aa9d3e3b40f98b1fe31cbc0cc17b664c9ea7447d911a152fa34ec5b72977b125a6fc845 + micromatch: "npm:^4.0.8" + checksum: f6aaa141d0d3384cf73cbcdfc52f475ed293f6d5b65bfc5def368b09163a9f7e5ec2b3014d80f733c405f58e470ee0cc451c2937685045cddcdeaa24199c43fe languageName: node linkType: hard @@ -7632,27 +7526,18 @@ __metadata: linkType: hard "fast-uri@npm:^3.0.1": - version: 3.0.3 - resolution: "fast-uri@npm:3.0.3" - checksum: 4b2c5ce681a062425eae4f15cdc8fc151fd310b2f69b1f96680677820a8b49c3cd6e80661a406e19d50f0c40a3f8bffdd458791baf66f4a879d80be28e10a320 - languageName: node - linkType: hard - -"fast-url-parser@npm:^1.1.3": - version: 1.1.3 - resolution: "fast-url-parser@npm:1.1.3" - dependencies: - punycode: "npm:^1.3.2" - checksum: d85c5c409cf0215417380f98a2d29c23a95004d93ff0d8bdf1af5f1a9d1fc608ac89ac6ffe863783d2c73efb3850dd35390feb1de3296f49877bfee0392eb5d3 + version: 3.0.6 + resolution: "fast-uri@npm:3.0.6" + checksum: 74a513c2af0584448aee71ce56005185f81239eab7a2343110e5bad50c39ad4fb19c5a6f99783ead1cac7ccaf3461a6034fda89fffa2b30b6d99b9f21c2f9d29 languageName: node linkType: hard "fastq@npm:^1.6.0": - version: 1.15.0 - resolution: "fastq@npm:1.15.0" + version: 1.19.1 + resolution: "fastq@npm:1.19.1" dependencies: reusify: "npm:^1.0.4" - checksum: 5ce4f83afa5f88c9379e67906b4d31bc7694a30826d6cc8d0f0473c966929017fda65c2174b0ec89f064ede6ace6c67f8a4fe04cef42119b6a55b0d465554c24 + checksum: ebc6e50ac7048daaeb8e64522a1ea7a26e92b3cee5cd1c7f2316cdca81ba543aa40a136b53891446ea5c3a67ec215fbaca87ad405f102dd97012f62916905630 languageName: node linkType: hard @@ -7707,12 +7592,12 @@ __metadata: languageName: node linkType: hard -"fill-range@npm:^7.0.1": - version: 7.0.1 - resolution: "fill-range@npm:7.0.1" +"fill-range@npm:^7.1.1": + version: 7.1.1 + resolution: "fill-range@npm:7.1.1" dependencies: to-regex-range: "npm:^5.0.1" - checksum: 7cdad7d426ffbaadf45aeb5d15ec675bbd77f7597ad5399e3d2766987ed20bda24d5fac64b3ee79d93276f5865608bb22344a26b9b1ae6c4d00bd94bf611623f + checksum: b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018 languageName: node linkType: hard @@ -7731,18 +7616,18 @@ __metadata: languageName: node linkType: hard -"finalhandler@npm:1.2.0": - version: 1.2.0 - resolution: "finalhandler@npm:1.2.0" +"finalhandler@npm:1.3.1": + version: 1.3.1 + resolution: "finalhandler@npm:1.3.1" dependencies: debug: "npm:2.6.9" - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" statuses: "npm:2.0.1" unpipe: "npm:~1.0.0" - checksum: 64b7e5ff2ad1fcb14931cd012651631b721ce657da24aedb5650ddde9378bf8e95daa451da43398123f5de161a81e79ff5affe4f9f2a6d2df4a813d6d3e254b7 + checksum: d38035831865a49b5610206a3a9a9aae4e8523cbbcd01175d0480ffbf1278c47f11d89be3ca7f617ae6d94f29cf797546a4619cd84dd109009ef33f12f69019f languageName: node linkType: hard @@ -7756,7 +7641,7 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^4.0.0, find-up@npm:^4.1.0": +"find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" dependencies: @@ -7786,16 +7671,6 @@ __metadata: languageName: node linkType: hard -"find-yarn-workspace-root2@npm:1.2.16": - version: 1.2.16 - resolution: "find-yarn-workspace-root2@npm:1.2.16" - dependencies: - micromatch: "npm:^4.0.2" - pkg-dir: "npm:^4.2.0" - checksum: d576067c7823de517d71831eafb5f6dc60554335c2d14445708f2698551b234f89c976a7f259d9355a44e417c49e7a93b369d0474579af02bbe2498f780c92d3 - languageName: node - linkType: hard - "firebase-auth-cloudflare-workers@npm:^2.0.6": version: 2.0.6 resolution: "firebase-auth-cloudflare-workers@npm:2.0.6" @@ -7804,33 +7679,34 @@ __metadata: linkType: hard "firebase-tools@npm:^13.29.1": - version: 13.29.1 - resolution: "firebase-tools@npm:13.29.1" + version: 13.35.1 + resolution: "firebase-tools@npm:13.35.1" dependencies: - "@electric-sql/pglite": "npm:^0.2.0" + "@electric-sql/pglite": "npm:^0.2.16" "@google-cloud/cloud-sql-connector": "npm:^1.3.3" "@google-cloud/pubsub": "npm:^4.5.0" abort-controller: "npm:^3.0.0" - ajv: "npm:^6.12.6" + ajv: "npm:^8.17.1" + ajv-formats: "npm:3.0.1" archiver: "npm:^7.0.0" async-lock: "npm:1.4.1" body-parser: "npm:^1.19.0" chokidar: "npm:^3.6.0" cjson: "npm:^0.3.1" - cli-table: "npm:0.3.11" + cli-table3: "npm:0.6.5" colorette: "npm:^2.0.19" commander: "npm:^5.1.0" configstore: "npm:^5.0.1" cors: "npm:^2.8.5" - cross-env: "npm:^5.1.3" - cross-spawn: "npm:^7.0.3" + cross-env: "npm:^7.0.3" + cross-spawn: "npm:^7.0.5" csv-parse: "npm:^5.0.4" deep-equal-in-any-order: "npm:^2.0.6" exegesis: "npm:^4.2.0" exegesis-express: "npm:^4.0.0" express: "npm:^4.16.4" filesize: "npm:^6.1.0" - form-data: "npm:^4.0.0" + form-data: "npm:^4.0.1" fs-extra: "npm:^10.1.0" fuzzy: "npm:^0.1.3" gaxios: "npm:^6.7.0" @@ -7862,7 +7738,7 @@ __metadata: sql-formatter: "npm:^15.3.0" stream-chain: "npm:^2.2.4" stream-json: "npm:^1.7.3" - superstatic: "npm:^9.1.0" + superstatic: "npm:^9.2.0" tar: "npm:^6.1.11" tcp-port-used: "npm:^1.0.2" tmp: "npm:^0.2.3" @@ -7876,7 +7752,7 @@ __metadata: yaml: "npm:^2.4.1" bin: firebase: lib/bin/firebase.js - checksum: 1f8df401c27346d4901e6e2d7bcc369d94e41cf852245df0a8e501ed8505735af4cbfabaf104c38779350530d81eaaa3e228f3542551fee8a6bf2de4cf8fe294 + checksum: d638e8060bb48820164d036a9179f29f803e8fe9c8b2fb42ef59903697e70710a1a8f6f828bb98a327e7a67ff0e66df5338ad2ffb85389226ae38ba2c49c536a languageName: node linkType: hard @@ -7891,9 +7767,9 @@ __metadata: linkType: hard "flatted@npm:^3.2.9": - version: 3.2.9 - resolution: "flatted@npm:3.2.9" - checksum: 5c91c5a0a21bbc0b07b272231e5b4efe6b822bcb4ad317caf6bb06984be4042a9e9045026307da0fdb4583f1f545e317a67ef1231a59e71f7fced3cc429cfc53 + version: 3.3.3 + resolution: "flatted@npm:3.3.3" + checksum: e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538 languageName: node linkType: hard @@ -7904,45 +7780,38 @@ __metadata: languageName: node linkType: hard -"for-each@npm:^0.3.3": - version: 0.3.3 - resolution: "for-each@npm:0.3.3" - dependencies: - is-callable: "npm:^1.1.3" - checksum: 22330d8a2db728dbf003ec9182c2d421fbcd2969b02b4f97ec288721cda63eb28f2c08585ddccd0f77cb2930af8d958005c9e72f47141dc51816127a118f39aa - languageName: node - linkType: hard - "foreground-child@npm:^3.1.0": - version: 3.1.1 - resolution: "foreground-child@npm:3.1.1" + version: 3.3.1 + resolution: "foreground-child@npm:3.3.1" dependencies: - cross-spawn: "npm:^7.0.0" + cross-spawn: "npm:^7.0.6" signal-exit: "npm:^4.0.1" - checksum: 9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 + checksum: 8986e4af2430896e65bc2788d6679067294d6aee9545daefc84923a0a4b399ad9c7a3ea7bd8c0b2b80fdf4a92de4c69df3f628233ff3224260e9c1541a9e9ed3 languageName: node linkType: hard "form-data@npm:^2.5.0": - version: 2.5.2 - resolution: "form-data@npm:2.5.2" - dependencies: - asynckit: "npm:^0.4.0" - combined-stream: "npm:^1.0.6" - mime-types: "npm:^2.1.12" - safe-buffer: "npm:^5.2.1" - checksum: af7cb13fc8423ff95fd59c62d101c84b5458a73e1e426b0bc459afbf5b93b1e447dc6c225ac31c6df59f36b209904a3f1a10b4eb9e7a17e0fe394019749142cc - languageName: node - linkType: hard - -"form-data@npm:^4.0.0": - version: 4.0.0 - resolution: "form-data@npm:4.0.0" + version: 2.5.3 + resolution: "form-data@npm:2.5.3" dependencies: asynckit: "npm:^0.4.0" combined-stream: "npm:^1.0.8" + es-set-tostringtag: "npm:^2.1.0" + mime-types: "npm:^2.1.35" + safe-buffer: "npm:^5.2.1" + checksum: 48b910745d4fcd403f3d6876e33082a334e712199b8c86c4eb82f6da330a59b859943999d793856758c5ff18ca5261ced4d1062235a14543022d986bd21faa7d + languageName: node + linkType: hard + +"form-data@npm:^4.0.1": + version: 4.0.2 + resolution: "form-data@npm:4.0.2" + dependencies: + asynckit: "npm:^0.4.0" + combined-stream: "npm:^1.0.8" + es-set-tostringtag: "npm:^2.1.0" mime-types: "npm:^2.1.12" - checksum: cb6f3ac49180be03ff07ba3ff125f9eba2ff0b277fb33c7fc47569fc5e616882c5b1c69b9904c4c4187e97dd0419dd03b134174756f296dec62041e6527e2c6e + checksum: e534b0cf025c831a0929bf4b9bbe1a9a6b03e273a8161f9947286b9b13bf8fb279c6944aae0070c4c311100c6d6dbb815cd955dc217728caf73fad8dc5b8ee9c languageName: node linkType: hard @@ -7971,17 +7840,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.2.0": - version: 11.2.0 - resolution: "fs-extra@npm:11.2.0" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: d77a9a9efe60532d2e790e938c81a02c1b24904ef7a3efb3990b835514465ba720e99a6ea56fd5e2db53b4695319b644d76d5a0e9988a2beef80aa7b1da63398 - languageName: node - linkType: hard - "fs-extra@npm:^7.0.1": version: 7.0.1 resolution: "fs-extra@npm:7.0.1" @@ -8022,13 +7880,6 @@ __metadata: languageName: node linkType: hard -"fs.realpath@npm:^1.0.0": - version: 1.0.0 - resolution: "fs.realpath@npm:1.0.0" - checksum: 444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 - languageName: node - linkType: hard - "fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": version: 2.3.3 resolution: "fsevents@npm:2.3.3" @@ -8055,25 +7906,6 @@ __metadata: languageName: node linkType: hard -"function.prototype.name@npm:^1.1.6": - version: 1.1.6 - resolution: "function.prototype.name@npm:1.1.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - functions-have-names: "npm:^1.2.3" - checksum: 9eae11294905b62cb16874adb4fc687927cda3162285e0ad9612e6a1d04934005d46907362ea9cdb7428edce05a2f2c3dabc3b2d21e9fd343e9bb278230ad94b - languageName: node - linkType: hard - -"functions-have-names@npm:^1.2.3": - version: 1.2.3 - resolution: "functions-have-names@npm:1.2.3" - checksum: 33e77fd29bddc2d9bb78ab3eb854c165909201f88c75faa8272e35899e2d35a8a642a15e7420ef945e1f64a9670d6aa3ec744106b2aa42be68ca5114025954ca - languageName: node - linkType: hard - "fuzzy@npm:^0.1.3": version: 0.1.3 resolution: "fuzzy@npm:0.1.3" @@ -8095,12 +7927,13 @@ __metadata: linkType: hard "gcp-metadata@npm:^6.1.0": - version: 6.1.0 - resolution: "gcp-metadata@npm:6.1.0" + version: 6.1.1 + resolution: "gcp-metadata@npm:6.1.1" dependencies: - gaxios: "npm:^6.0.0" + gaxios: "npm:^6.1.1" + google-logging-utils: "npm:^0.0.2" json-bigint: "npm:^1.0.0" - checksum: 0f84f8c0b974e79d0da0f3063023486e53d7982ce86c4b5871e4ee3b1fc4e7f76fcc05f6342aa0ded5023f1a499c21ab97743a498b31f3aa299905226d1f66ab + checksum: 71f6ad4800aa622c246ceec3955014c0c78cdcfe025971f9558b9379f4019f5e65772763428ee8c3244fa81b8631977316eaa71a823493f82e5c44d7259ffac8 languageName: node linkType: hard @@ -8111,14 +7944,14 @@ __metadata: languageName: node linkType: hard -"get-caller-file@npm:^2.0.1, get-caller-file@npm:^2.0.5": +"get-caller-file@npm:^2.0.5": version: 2.0.5 resolution: "get-caller-file@npm:2.0.5" checksum: c6c7b60271931fa752aeb92f2b47e355eac1af3a2673f47c9589e8f8a41adc74d45551c1bc57b5e66a80609f10ffb72b6f575e4370d61cc3f7f3aaff01757cde languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": version: 1.2.2 resolution: "get-intrinsic@npm:1.2.2" dependencies: @@ -8148,7 +7981,25 @@ __metadata: languageName: node linkType: hard -"get-proto@npm:^1.0.0": +"get-intrinsic@npm:^1.3.0": + version: 1.3.0 + resolution: "get-intrinsic@npm:1.3.0" + dependencies: + call-bind-apply-helpers: "npm:^1.0.2" + es-define-property: "npm:^1.0.1" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.1.1" + function-bind: "npm:^1.1.2" + get-proto: "npm:^1.0.1" + gopd: "npm:^1.2.0" + has-symbols: "npm:^1.1.0" + hasown: "npm:^2.0.2" + math-intrinsics: "npm:^1.1.0" + checksum: 52c81808af9a8130f581e6a6a83e1ba4a9f703359e7a438d1369a5267a25412322f03dcbd7c549edaef0b6214a0630a28511d7df0130c93cfd380f4fa0b5b66a + languageName: node + linkType: hard + +"get-proto@npm:^1.0.0, get-proto@npm:^1.0.1": version: 1.0.1 resolution: "get-proto@npm:1.0.1" dependencies: @@ -8168,41 +8019,23 @@ __metadata: languageName: node linkType: hard -"get-stdin@npm:=8.0.0": - version: 8.0.0 - resolution: "get-stdin@npm:8.0.0" - checksum: b71b72b83928221052f713b3b6247ebf1ceaeb4ef76937778557537fd51ad3f586c9e6a7476865022d9394b39b74eed1dc7514052fa74d80625276253571b76f - languageName: node - linkType: hard - -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 23bc3b44c221cdf7669a88230c62f4b9e30393b61eb21ba4400cb3e346801bd8f95fe4330ee78dbae37aecd874646d53e3e76a17a654d0c84c77f6690526d6bb - languageName: node - linkType: hard - -"get-tsconfig@npm:^4.7.0, get-tsconfig@npm:^4.7.3, get-tsconfig@npm:^4.7.5": - version: 4.8.0 - resolution: "get-tsconfig@npm:4.8.0" +"get-tsconfig@npm:^4.10.0, get-tsconfig@npm:^4.8.1": + version: 4.10.0 + resolution: "get-tsconfig@npm:4.10.0" dependencies: resolve-pkg-maps: "npm:^1.0.0" - checksum: 943721c996d9a77351aa7c07956de77baece97f997bd30f3247f46907e4b743f7b9da02c7b3692a36f0884d3724271faeb88ed1c3aca3aba2afe3f27d6c4aeb3 + checksum: c9b5572c5118923c491c04285c73bd55b19e214992af957c502a3be0fc0043bb421386ffd45ca3433c0a7fba81221ca300479e8393960acf15d0ed4563f38a86 languageName: node linkType: hard "get-uri@npm:^6.0.1": - version: 6.0.3 - resolution: "get-uri@npm:6.0.3" + version: 6.0.4 + resolution: "get-uri@npm:6.0.4" dependencies: basic-ftp: "npm:^5.0.2" data-uri-to-buffer: "npm:^6.0.2" debug: "npm:^4.3.4" - fs-extra: "npm:^11.2.0" - checksum: 8d801c462cd5b9c171d4d9e5f17afce3d9ebfbbfb006a88e3e768ce0071a8e2e59ee1ce822915fc43b9d6b83fde7b8d1c9648330ae89778fa41ad774df8ee0ac + checksum: 07c87abe1f97a4545fae329a37a45e276ec57e6ad48dad2a97780f87c96b00a82c2043ab49e1a991f99bb5cff8f8ed975e44e4f8b3c9600f35493a97f123499f languageName: node linkType: hard @@ -8242,14 +8075,14 @@ __metadata: languageName: node linkType: hard -"glob-to-regexp@npm:0.4.1, glob-to-regexp@npm:^0.4.1": +"glob-to-regexp@npm:0.4.1": version: 0.4.1 resolution: "glob-to-regexp@npm:0.4.1" checksum: 0486925072d7a916f052842772b61c3e86247f0a80cc0deb9b5a3e8a1a9faad5b04fb6f58986a09f34d3e96cd2a22a24b7e9882fb1cf904c31e9a310de96c429 languageName: node linkType: hard -"glob@npm:^10.0.0, glob@npm:^10.4.1": +"glob@npm:^10.0.0, glob@npm:^10.3.7, glob@npm:^10.4.1": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -8280,20 +8113,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.3": - version: 7.2.3 - resolution: "glob@npm:7.2.3" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.1.1" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe - languageName: node - linkType: hard - "global-dirs@npm:^3.0.0": version: 3.0.1 resolution: "global-dirs@npm:3.0.1" @@ -8317,19 +8136,10 @@ __metadata: languageName: node linkType: hard -"globals@npm:^15.8.0": - version: 15.9.0 - resolution: "globals@npm:15.9.0" - checksum: de4b553e412e7e830998578d51b605c492256fb2a9273eaeec6ec9ee519f1c5aa50de57e3979911607fd7593a4066420e01d8c3d551e7a6a236e96c521aee36c - languageName: node - linkType: hard - -"globalthis@npm:^1.0.3": - version: 1.0.3 - resolution: "globalthis@npm:1.0.3" - dependencies: - define-properties: "npm:^1.1.3" - checksum: 0db6e9af102a5254630351557ac15e6909bc7459d3e3f6b001e59fe784c96d31108818f032d9095739355a88467459e6488ff16584ee6250cd8c27dec05af4b0 +"globals@npm:^15.11.0": + version: 15.15.0 + resolution: "globals@npm:15.15.0" + checksum: f9ae80996392ca71316495a39bec88ac43ae3525a438b5626cd9d5ce9d5500d0a98a266409605f8cd7241c7acf57c354a48111ea02a767ba4f374b806d6861fe languageName: node linkType: hard @@ -8348,8 +8158,8 @@ __metadata: linkType: hard "google-auth-library@npm:^9.11.0, google-auth-library@npm:^9.2.0, google-auth-library@npm:^9.3.0, google-auth-library@npm:^9.7.0": - version: 9.15.0 - resolution: "google-auth-library@npm:9.15.0" + version: 9.15.1 + resolution: "google-auth-library@npm:9.15.1" dependencies: base64-js: "npm:^1.3.0" ecdsa-sig-formatter: "npm:^1.0.11" @@ -8357,7 +8167,7 @@ __metadata: gcp-metadata: "npm:^6.1.0" gtoken: "npm:^7.0.0" jws: "npm:^4.0.0" - checksum: f5a9a46e939147b181bac9b254f11dd8c2d05c15a65c9d3f2180252bef21c12af37d9893bc3caacafd226d6531a960535dbb5222ef869143f393c6a97639cc06 + checksum: 6eef36d9a9cb7decd11e920ee892579261c6390104b3b24d3e0f3889096673189fe2ed0ee43fd563710e2560de98e63ad5aa4967b91e7f4e69074a422d5f7b65 languageName: node linkType: hard @@ -8381,6 +8191,13 @@ __metadata: languageName: node linkType: hard +"google-logging-utils@npm:^0.0.2": + version: 0.0.2 + resolution: "google-logging-utils@npm:0.0.2" + checksum: 9a4bbd470dd101c77405e450fffca8592d1d7114f245a121288d04a957aca08c9dea2dd1a871effe71e41540d1bb0494731a0b0f6fea4358e77f06645e4268c1 + languageName: node + linkType: hard + "googleapis-common@npm:^7.0.0": version: 7.2.0 resolution: "googleapis-common@npm:7.2.0" @@ -8395,16 +8212,7 @@ __metadata: languageName: node linkType: hard -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: "npm:^1.1.3" - checksum: 505c05487f7944c552cee72087bf1567debb470d4355b1335f2c262d218ebbff805cd3715448fe29b4b380bae6912561d0467233e4165830efd28da241418c63 - languageName: node - linkType: hard - -"gopd@npm:^1.2.0": +"gopd@npm:^1.0.1, gopd@npm:^1.2.0": version: 1.2.0 resolution: "gopd@npm:1.2.0" checksum: 50fff1e04ba2b7737c097358534eacadad1e68d24cccee3272e04e007bed008e68d2614f3987788428fd192a5ae3889d08fb2331417e4fc4a9ab366b2043cead @@ -8425,13 +8233,6 @@ __metadata: languageName: node linkType: hard -"grapheme-splitter@npm:^1.0.4": - version: 1.0.4 - resolution: "grapheme-splitter@npm:1.0.4" - checksum: 108415fb07ac913f17040dc336607772fcea68c7f495ef91887edddb0b0f5ff7bc1d1ab181b125ecb2f0505669ef12c9a178a3bbd2dd8e042d8c5f1d7c90331a - languageName: node - linkType: hard - "graphemer@npm:^1.4.0": version: 1.4.0 resolution: "graphemer@npm:1.4.0" @@ -8440,9 +8241,9 @@ __metadata: linkType: hard "graphql@npm:^16.5.0, graphql@npm:^16.8.1": - version: 16.8.1 - resolution: "graphql@npm:16.8.1" - checksum: 129c318156b466f440914de80dbf7bc67d17f776f2a088a40cb0da611d19a97c224b1c6d2b13cbcbc6e5776e45ed7468b8432f9c3536724e079b44f1a3d57a8a + version: 16.10.0 + resolution: "graphql@npm:16.10.0" + checksum: 303730675538c8bd6c76b447dc6f03e61242e2d2596b408c34759666ec4877409e5593a7a0467d590ac5407b8c663b093b599556a77f24f281abea69ddc53de6 languageName: node linkType: hard @@ -8456,27 +8257,6 @@ __metadata: languageName: node linkType: hard -"hard-rejection@npm:^2.1.0": - version: 2.1.0 - resolution: "hard-rejection@npm:2.1.0" - checksum: febc3343a1ad575aedcc112580835b44a89a89e01f400b4eda6e8110869edfdab0b00cd1bd4c3bfec9475a57e79e0b355aecd5be46454b6a62b9a359af60e564 - languageName: node - linkType: hard - -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 724eb1485bfa3cdff6f18d95130aa190561f00b3fcf9f19dc640baf8176b5917c143b81ec2123f8cddb6c05164a198c94b13e1377c497705ccc8e1a80306e83b - languageName: node - linkType: hard - -"has-flag@npm:^3.0.0": - version: 3.0.0 - resolution: "has-flag@npm:3.0.0" - checksum: 1c6c83b14b8b1b3c25b0727b8ba3e3b647f99e9e6e13eb7322107261de07a4c1be56fc0d45678fc376e09772a3a1642ccdaf8fc69bdf123b6c086598397ce473 - languageName: node - linkType: hard - "has-flag@npm:^4.0.0": version: 4.0.0 resolution: "has-flag@npm:4.0.0" @@ -8507,26 +8287,19 @@ __metadata: languageName: node linkType: hard -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: e6922b4345a3f37069cdfe8600febbca791c94988c01af3394d86ca3360b4b93928bbf395859158f88099cb10b19d98e3bbab7c9ff2c1bd09cf665ee90afa2c3 - languageName: node - linkType: hard - -"has-symbols@npm:^1.1.0": +"has-symbols@npm:^1.0.3, has-symbols@npm:^1.1.0": version: 1.1.0 resolution: "has-symbols@npm:1.1.0" checksum: dde0a734b17ae51e84b10986e651c664379018d10b91b6b0e9b293eddb32f0f069688c841fb40f19e9611546130153e0a2a48fd7f512891fb000ddfa36f5a20e languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" +"has-tostringtag@npm:^1.0.2": + version: 1.0.2 + resolution: "has-tostringtag@npm:1.0.2" dependencies: - has-symbols: "npm:^1.0.2" - checksum: 1cdba76b7d13f65198a92b8ca1560ba40edfa09e85d182bf436d928f3588a9ebd260451d569f0ed1b849c4bf54f49c862aa0d0a77f9552b1855bb6deb526c011 + has-symbols: "npm:^1.0.3" + checksum: a8b166462192bafe3d9b6e420a1d581d93dd867adb61be223a17a8d6dad147aa77a8be32c961bb2f27b3ef893cae8d36f564ab651f5e9b7938ae86f74027c48c languageName: node linkType: hard @@ -8555,47 +8328,73 @@ __metadata: languageName: node linkType: hard -"hast-util-to-estree@npm:^2.0.0": - version: 2.3.3 - resolution: "hast-util-to-estree@npm:2.3.3" +"hast-util-to-estree@npm:^3.0.0": + version: 3.1.3 + resolution: "hast-util-to-estree@npm:3.1.3" dependencies: "@types/estree": "npm:^1.0.0" "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/unist": "npm:^2.0.0" + "@types/hast": "npm:^3.0.0" comma-separated-tokens: "npm:^2.0.0" - estree-util-attach-comments: "npm:^2.0.0" - estree-util-is-identifier-name: "npm:^2.0.0" - hast-util-whitespace: "npm:^2.0.0" - mdast-util-mdx-expression: "npm:^1.0.0" - mdast-util-mdxjs-esm: "npm:^1.0.0" - property-information: "npm:^6.0.0" + devlop: "npm:^1.0.0" + estree-util-attach-comments: "npm:^3.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + hast-util-whitespace: "npm:^3.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + property-information: "npm:^7.0.0" space-separated-tokens: "npm:^2.0.0" - style-to-object: "npm:^0.4.1" - unist-util-position: "npm:^4.0.0" + style-to-js: "npm:^1.0.0" + unist-util-position: "npm:^5.0.0" zwitch: "npm:^2.0.0" - checksum: 5947b5030a6d20c193f5ea576cc751507e0b30d00f91e40a5208ca3a7add03a3862795a83600c0fdadf19c8b051917c7904715fa7dd358f04603d67a36341c38 + checksum: 8e86c075319082c8a6304c5bcdf24ec02466074571e993f58bfa2cfd70850ef46d33b5c402208597a87fe0f02f1e620bda5958217efb1b7396c81c486373b75f languageName: node linkType: hard -"hast-util-whitespace@npm:^2.0.0": - version: 2.0.1 - resolution: "hast-util-whitespace@npm:2.0.1" - checksum: dcf6ebab091c802ffa7bb3112305c7631c15adb6c07a258f5528aefbddf82b4e162c8310ef426c48dc1dc623982cc33920e6dde5a50015d307f2778dcf6c2487 +"hast-util-to-jsx-runtime@npm:^2.0.0": + version: 2.3.6 + resolution: "hast-util-to-jsx-runtime@npm:2.3.6" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + comma-separated-tokens: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + hast-util-whitespace: "npm:^3.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + style-to-js: "npm:^1.0.0" + unist-util-position: "npm:^5.0.0" + vfile-message: "npm:^4.0.0" + checksum: 27297e02848fe37ef219be04a26ce708d17278a175a807689e94a821dcffc88aa506d62c3a85beed1f9a8544f7211bdcbcde0528b7b456a57c2e342c3fd11056 languageName: node linkType: hard -"headers-polyfill@npm:^4.0.1": - version: 4.0.2 - resolution: "headers-polyfill@npm:4.0.2" - checksum: 865736fa62028e2368f528a4d0fa0fc0f9cb44570a5acb79e38fc0b860b5a9bccdbf84553bb38b03d44e2aa85078256d70011cb731308aeea49f7bbafa3d66b0 +"hast-util-whitespace@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-whitespace@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: b898bc9fe27884b272580d15260b6bbdabe239973a147e97fa98c45fa0ffec967a481aaa42291ec34fb56530dc2d484d473d7e2bae79f39c83f3762307edfea8 + languageName: node + linkType: hard + +"headers-polyfill@npm:^4.0.2": + version: 4.0.3 + resolution: "headers-polyfill@npm:4.0.3" + checksum: 53e85b2c6385f8d411945fb890c5369f1469ce8aa32a6e8d28196df38568148de640c81cf88cbc7c67767103dd9acba48f4f891982da63178fc6e34560022afe languageName: node linkType: hard "heap-js@npm:^2.2.0": - version: 2.3.0 - resolution: "heap-js@npm:2.3.0" - checksum: e8026e1725439eae8776b9bdd0252109495aac67c70845c24c2051c9d256a8a505e64af29a56e275c705ed4763cc48ff38589a48f434fc1569e4993cbb370805 + version: 2.6.0 + resolution: "heap-js@npm:2.6.0" + checksum: 49fad329f38987ee5cf76841e504b5a6b537781718997a7f4922a706be80afc07f6d92c77ae7036c7ed16ceaa6258d0d294793a120c12389926138edcb73876e languageName: node linkType: hard @@ -8629,16 +8428,16 @@ __metadata: linkType: soft "hono@npm:^3.11.7": - version: 3.11.7 - resolution: "hono@npm:3.11.7" - checksum: 6665e26801cb4c4334e09dbb42453bf40e1daae9a44bf9a1ed22815f6cb701c0d9ac1a4452624234f36093996c8afff0a41d2d5b52a77f4f460178be48e022bf + version: 3.12.12 + resolution: "hono@npm:3.12.12" + checksum: 93b77d51c24f1b60d61dbd0790b0a3a7481a762dbf25cc2d2598938b97ffd4f8f0c26f51964060099c0d358f1aea409877b71623b1744b3c049922b6db84f4da languageName: node linkType: hard "hono@npm:^4.0.1": - version: 4.0.1 - resolution: "hono@npm:4.0.1" - checksum: 0f4fe93d376ce4063d42ccc35eee445756f17ca4044ef1f59e276b4737dacc5e76334e230a59101a4092aa88a066f7585303da7631ca4a46325384d55db48df3 + version: 4.7.5 + resolution: "hono@npm:4.7.5" + checksum: 01ea7ae684224afd5b27989adb1bd7efe6cde89a9da3f3f15bfb106c4d8d8a63c82d87c2a4a383184a25b40946b086b088ae9e0679c9975e2dd93ce8220c44fe languageName: node linkType: hard @@ -8733,13 +8532,6 @@ __metadata: languageName: node linkType: hard -"hosted-git-info@npm:^2.1.4": - version: 2.8.9 - resolution: "hosted-git-info@npm:2.8.9" - checksum: 317cbc6b1bbbe23c2a40ae23f3dafe9fa349ce42a89a36f930e3f9c0530c179a3882d2ef1e4141a4c3674d6faaea862138ec55b43ad6f75e387fda2483a13c70 - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -8778,17 +8570,7 @@ __metadata: languageName: node linkType: hard -"http-proxy-agent@npm:^7.0.0": - version: 7.0.0 - resolution: "http-proxy-agent@npm:7.0.0" - dependencies: - agent-base: "npm:^7.1.0" - debug: "npm:^4.3.4" - checksum: a11574ff39436cee3c7bc67f259444097b09474605846ddd8edf0bf4ad8644be8533db1aa463426e376865047d05dc22755e638632819317c0c2f1b2196657c8 - languageName: node - linkType: hard - -"http-proxy-agent@npm:^7.0.1": +"http-proxy-agent@npm:^7.0.0, http-proxy-agent@npm:^7.0.1": version: 7.0.2 resolution: "http-proxy-agent@npm:7.0.2" dependencies: @@ -8808,30 +8590,22 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^7.0.1": - version: 7.0.2 - resolution: "https-proxy-agent@npm:7.0.2" +"https-proxy-agent@npm:^7.0.1, https-proxy-agent@npm:^7.0.6": + version: 7.0.6 + resolution: "https-proxy-agent@npm:7.0.6" dependencies: - agent-base: "npm:^7.0.2" + agent-base: "npm:^7.1.2" debug: "npm:4" - checksum: 7735eb90073db087e7e79312e3d97c8c04baf7ea7ca7b013382b6a45abbaa61b281041a98f4e13c8c80d88f843785bcc84ba189165b4b4087b1e3496ba656d77 + checksum: f729219bc735edb621fa30e6e84e60ee5d00802b8247aac0d7b79b0bd6d4b3294737a337b93b86a0bd9e68099d031858a39260c976dc14cdbba238ba1f8779ac languageName: node linkType: hard -"https-proxy-agent@npm:^7.0.2, https-proxy-agent@npm:^7.0.3": - version: 7.0.4 - resolution: "https-proxy-agent@npm:7.0.4" - dependencies: - agent-base: "npm:^7.0.2" - debug: "npm:4" - checksum: bc4f7c38da32a5fc622450b6cb49a24ff596f9bd48dcedb52d2da3fa1c1a80e100fb506bd59b326c012f21c863c69b275c23de1a01d0b84db396822fdf25e52b - languageName: node - linkType: hard - -"human-id@npm:^1.0.2": - version: 1.0.2 - resolution: "human-id@npm:1.0.2" - checksum: e4c3be49b3927ff8ac54ae4a95ed77ad94fd793b57be51aff39aa81931c6efe56303ce1ec76a70c74f85748644207c89ccfa63d828def1313eff7526a14c3b3b +"human-id@npm:^4.1.1": + version: 4.1.1 + resolution: "human-id@npm:4.1.1" + bin: + human-id: dist/cli.js + checksum: 9a9a18130fb7d6bc707054bacc32cb328289be0de47ba5669fd04995435e7e59931b87c644a223d68473c450221d104175a5fefe93d77f3522822ead8945def8 languageName: node linkType: hard @@ -8860,36 +8634,27 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.2.0, ignore@npm:^5.2.4": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: dc06bea5c23aae65d0725a957a0638b57e235ae4568dda51ca142053ed2c352de7e3bc93a69b2b32ac31966a1952e9a93c5ef2e2ab7c6b06aef9808f6b55b571 - languageName: node - linkType: hard - -"ignore@npm:^5.3.1": +"ignore@npm:^5.2.0, ignore@npm:^5.3.1, ignore@npm:^5.3.2": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 languageName: node linkType: hard -"imagetools-core@npm:^6.0.3": - version: 6.0.3 - resolution: "imagetools-core@npm:6.0.3" - dependencies: - sharp: "npm:^0.33.0" - checksum: 9fb66b018e7bbb6ead5e37f6504f29a29471000999c4588e8298baf006d2139419098933c475224253785593f6567a086c49abe4088b89d90c3fe58f8da376bf +"imagetools-core@npm:^7.0.2": + version: 7.0.2 + resolution: "imagetools-core@npm:7.0.2" + checksum: e0115391b5f7d35449f11909d5e9db7b13db334baac3004c9aa20cf5c97f55f80e0afe806f4e3fc11ee2a5f7425a71df4101f6a491b03fd06812c6f1c19b3439 languageName: node linkType: hard "import-fresh@npm:^3.2.1": - version: 3.3.0 - resolution: "import-fresh@npm:3.3.0" + version: 3.3.1 + resolution: "import-fresh@npm:3.3.1" dependencies: parent-module: "npm:^1.0.0" resolve-from: "npm:^4.0.0" - checksum: 7f882953aa6b740d1f0e384d0547158bc86efbf2eea0f1483b8900a6f65c5a5123c2cf09b0d542cc419d0b98a759ecaeb394237e97ea427f2da221dc3cd80cc3 + checksum: bf8cc494872fef783249709385ae883b447e3eb09db0ebd15dcead7d9afe7224dad7bd7591c6b73b0b19b3c0f9640eb8ee884f01cfaf2887ab995b0b36a0cbec languageName: node linkType: hard @@ -8914,17 +8679,7 @@ __metadata: languageName: node linkType: hard -"inflight@npm:^1.0.4": - version: 1.0.6 - resolution: "inflight@npm:1.0.6" - dependencies: - once: "npm:^1.3.0" - wrappy: "npm:1" - checksum: 7faca22584600a9dc5b9fca2cd5feb7135ac8c935449837b315676b4c90aa4f391ec4f42240178244b5a34e8bede1948627fda392ca3191522fc46b34e985ab2 - languageName: node - linkType: hard - -"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": +"inherits@npm:2.0.4, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 @@ -8945,10 +8700,10 @@ __metadata: languageName: node linkType: hard -"inline-style-parser@npm:0.1.1": - version: 0.1.1 - resolution: "inline-style-parser@npm:0.1.1" - checksum: 08832a533f51a1e17619f2eabf2f5ec5e956d6dcba1896351285c65df022c9420de61d73256e1dca8015a52abf96cc84ddc3b73b898b22de6589d3962b5e501b +"inline-style-parser@npm:0.2.4": + version: 0.2.4 + resolution: "inline-style-parser@npm:0.2.4" + checksum: ddc0b210eaa03e0f98d677b9836242c583c7c6051e84ce0e704ae4626e7871c5b78f8e30853480218b446355745775df318d4f82d33087ff7e393245efa9a881 languageName: node linkType: hard @@ -8967,7 +8722,7 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:^8.2.0, inquirer@npm:^8.2.5, inquirer@npm:^8.2.6": +"inquirer@npm:^8.2.5, inquirer@npm:^8.2.6": version: 8.2.6 resolution: "inquirer@npm:8.2.6" dependencies: @@ -9000,14 +8755,13 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.5": - version: 1.0.6 - resolution: "internal-slot@npm:1.0.6" +"ip-address@npm:^9.0.5": + version: 9.0.5 + resolution: "ip-address@npm:9.0.5" dependencies: - get-intrinsic: "npm:^1.2.2" - hasown: "npm:^2.0.0" - side-channel: "npm:^1.0.4" - checksum: aa37cafc8ffbf513a340de58f40d5017b4949d99722d7e4f0e24b182455bdd258000d4bb1d7b4adcf9f8979b97049b99fe9defa9db8e18a78071d2637ac143fb + jsbn: "npm:1.1.0" + sprintf-js: "npm:^1.1.3" + checksum: 331cd07fafcb3b24100613e4b53e1a2b4feab11e671e655d46dc09ee233da5011284d09ca40c4ecbdfe1d0004f462958675c224a804259f2f78d2465a87824bc languageName: node linkType: hard @@ -9018,13 +8772,6 @@ __metadata: languageName: node linkType: hard -"ip@npm:^2.0.0": - version: 2.0.0 - resolution: "ip@npm:2.0.0" - checksum: 8d186cc5585f57372847ae29b6eba258c68862055e18a75cc4933327232cb5c107f89800ce29715d542eef2c254fbb68b382e780a7414f9ee7caf60b7a473958 - languageName: node - linkType: hard - "ipaddr.js@npm:1.9.1": version: 1.9.1 resolution: "ipaddr.js@npm:1.9.1" @@ -9049,24 +8796,6 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.0" - is-typed-array: "npm:^1.1.10" - checksum: 40ed13a5f5746ac3ae2f2e463687d9b5a3f5fd0086f970fb4898f0253c2a5ec2e3caea2d664dd8f54761b1c1948609702416921a22faebe160c7640a9217c80e - languageName: node - linkType: hard - -"is-arrayish@npm:^0.2.1": - version: 0.2.1 - resolution: "is-arrayish@npm:0.2.1" - checksum: e7fb686a739068bb70f860b39b67afc62acc62e36bb61c5f965768abce1873b379c563e61dd2adad96ebb7edf6651111b385e490cf508378959b0ed4cac4e729 - languageName: node - linkType: hard - "is-arrayish@npm:^0.3.1": version: 0.3.2 resolution: "is-arrayish@npm:0.3.2" @@ -9074,15 +8803,6 @@ __metadata: languageName: node linkType: hard -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" - dependencies: - has-bigints: "npm:^1.0.1" - checksum: eb9c88e418a0d195ca545aff2b715c9903d9b0a5033bc5922fec600eb0c3d7b1ee7f882dbf2e0d5a6e694e42391be3683e4368737bd3c4a77f8ac293e7773696 - languageName: node - linkType: hard - "is-binary-path@npm:~2.1.0": version: 2.1.0 resolution: "is-binary-path@npm:2.1.0" @@ -9092,16 +8812,6 @@ __metadata: languageName: node linkType: hard -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" - dependencies: - call-bind: "npm:^1.0.2" - has-tostringtag: "npm:^1.0.0" - checksum: 6090587f8a8a8534c0f816da868bc94f32810f08807aa72fa7e79f7e11c466d281486ffe7a788178809c2aa71fe3e700b167fe80dd96dad68026bfff8ebf39f7 - languageName: node - linkType: hard - "is-buffer@npm:^1.1.5": version: 1.1.6 resolution: "is-buffer@npm:1.1.6" @@ -9109,29 +8819,6 @@ __metadata: languageName: node linkType: hard -"is-buffer@npm:^2.0.0": - version: 2.0.5 - resolution: "is-buffer@npm:2.0.5" - checksum: e603f6fced83cf94c53399cff3bda1a9f08e391b872b64a73793b0928be3e5f047f2bcece230edb7632eaea2acdbfcb56c23b33d8a20c820023b230f1485679a - languageName: node - linkType: hard - -"is-bun-module@npm:^1.0.2": - version: 1.1.0 - resolution: "is-bun-module@npm:1.1.0" - dependencies: - semver: "npm:^7.6.3" - checksum: 17cae968c3fe08e2bd66f8477e4d5a166d6299b5e7ce5c7558355551c50267f77dd386297fada6b68e4a32f01ce8920b0423e4d258242ea463b45901ec474beb - languageName: node - linkType: hard - -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": - version: 1.2.7 - resolution: "is-callable@npm:1.2.7" - checksum: ceebaeb9d92e8adee604076971dd6000d38d6afc40bb843ea8e45c5579b57671c3f3b50d7f04869618242c6cee08d1b67806a8cb8edaaaf7c0748b3720d6066f - languageName: node - linkType: hard - "is-ci@npm:^2.0.0": version: 2.0.0 resolution: "is-ci@npm:2.0.0" @@ -9144,20 +8831,11 @@ __metadata: linkType: hard "is-core-module@npm:^2.13.0": - version: 2.13.1 - resolution: "is-core-module@npm:2.13.1" + version: 2.16.1 + resolution: "is-core-module@npm:2.16.1" dependencies: - hasown: "npm:^2.0.0" - checksum: 2cba9903aaa52718f11c4896dabc189bab980870aae86a62dc0d5cedb546896770ee946fb14c84b7adf0735f5eaea4277243f1b95f5cefa90054f92fbcac2518 - languageName: node - linkType: hard - -"is-date-object@npm:^1.0.1": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: eed21e5dcc619c48ccef804dfc83a739dbb2abee6ca202838ee1bd5f760fe8d8a93444f0d49012ad19bb7c006186e2884a1b92f6e1c056da7fd23d0a9ad5992e + hasown: "npm:^2.0.2" + checksum: 898443c14780a577e807618aaae2b6f745c8538eca5c7bc11388a3f2dc6de82b9902bcc7eb74f07be672b11bbe82dd6a6edded44a00cb3d8f933d0459905eedd languageName: node linkType: hard @@ -9222,13 +8900,6 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: eda024c158f70f2017f3415e471b818d314da5ef5be68f801b16314d4a4b6304a74cbed778acf9e2f955bb9c1c5f2935c1be0c7c99e1ad12286f45366217b6a3 - languageName: node - linkType: hard - "is-node-process@npm:^1.2.0": version: 1.2.0 resolution: "is-node-process@npm:1.2.0" @@ -9243,15 +8914,6 @@ __metadata: languageName: node linkType: hard -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: aad266da1e530f1804a2b7bd2e874b4869f71c98590b3964f9d06cc9869b18f8d1f4778f838ecd2a11011bce20aeecb53cb269ba916209b79c24580416b74b1b - languageName: node - linkType: hard - "is-number@npm:^2.1.0": version: 2.1.0 resolution: "is-number@npm:2.1.0" @@ -9275,20 +8937,13 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": +"is-path-inside@npm:^3.0.2": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" checksum: cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 languageName: node linkType: hard -"is-plain-obj@npm:^1.1.0": - version: 1.1.0 - resolution: "is-plain-obj@npm:1.1.0" - checksum: daaee1805add26f781b413fdf192fc91d52409583be30ace35c82607d440da63cc4cac0ac55136716688d6c0a2c6ef3edb2254fecbd1fe06056d6bd15975ee8c - languageName: node - linkType: hard - "is-plain-obj@npm:^4.0.0": version: 4.1.0 resolution: "is-plain-obj@npm:4.1.0" @@ -9296,41 +8951,13 @@ __metadata: languageName: node linkType: hard -"is-promise@npm:4.0.0": +"is-promise@npm:^4.0.0": version: 4.0.0 resolution: "is-promise@npm:4.0.0" checksum: ebd5c672d73db781ab33ccb155fb9969d6028e37414d609b115cc534654c91ccd061821d5b987eefaa97cf4c62f0b909bb2f04db88306de26e91bfe8ddc01503 languageName: node linkType: hard -"is-reference@npm:^3.0.0": - version: 3.0.2 - resolution: "is-reference@npm:3.0.2" - dependencies: - "@types/estree": "npm:*" - checksum: 652d31b405e8e8269071cee78fe874b072745012eba202c6dc86880fd603a65ae043e3160990ab4a0a4b33567cbf662eecf3bc6b3c2c1550e6c2b6cf885ce5aa - languageName: node - linkType: hard - -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" - dependencies: - call-bind: "npm:^1.0.2" - has-tostringtag: "npm:^1.0.0" - checksum: bb72aae604a69eafd4a82a93002058c416ace8cde95873589a97fc5dac96a6c6c78a9977d487b7b95426a8f5073969124dd228f043f9f604f041f32fcc465fc1 - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" - dependencies: - call-bind: "npm:^1.0.2" - checksum: cfeee6f171f1b13e6cbc6f3b6cc44e192b93df39f3fcb31aa66ffb1d2df3b91e05664311659f9701baba62f5e98c83b0673c628e7adc30f55071c4874fcdccec - languageName: node - linkType: hard - "is-stream-ended@npm:^0.1.4": version: 0.1.4 resolution: "is-stream-ended@npm:0.1.4" @@ -9345,15 +8972,6 @@ __metadata: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 905f805cbc6eedfa678aaa103ab7f626aac9ebbdc8737abb5243acaa61d9820f8edc5819106b8fcd1839e33db21de9f0116ae20de380c8382d16dc2a601921f6 - languageName: node - linkType: hard - "is-subdir@npm:^1.1.1": version: 1.2.0 resolution: "is-subdir@npm:1.2.0" @@ -9363,24 +8981,6 @@ __metadata: languageName: node linkType: hard -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: "npm:^1.0.2" - checksum: 9381dd015f7c8906154dbcbf93fad769de16b4b961edc94f88d26eb8c555935caa23af88bda0c93a18e65560f6d7cca0fd5a3f8a8e1df6f1abbb9bead4502ef7 - languageName: node - linkType: hard - -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.9": - version: 1.1.12 - resolution: "is-typed-array@npm:1.1.12" - dependencies: - which-typed-array: "npm:^1.1.11" - checksum: 9863e9cc7223c6fc1c462a2c3898a7beff6b41b1ee0fabb03b7d278ae7de670b5bcbc8627db56bb66ed60902fa37d53fe5cce0fd2f7d73ac64fe5da6f409b6ae - languageName: node - linkType: hard - "is-typedarray@npm:^1.0.0": version: 1.0.0 resolution: "is-typedarray@npm:1.0.0" @@ -9402,15 +9002,6 @@ __metadata: languageName: node linkType: hard -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" - dependencies: - call-bind: "npm:^1.0.2" - checksum: 1545c5d172cb690c392f2136c23eec07d8d78a7f57d0e41f10078aa4f5daf5d7f57b6513a67514ab4f073275ad00c9822fc8935e00229d0a2089e1c02685d4b1 - languageName: node - linkType: hard - "is-windows@npm:^1.0.0": version: 1.0.2 resolution: "is-windows@npm:1.0.2" @@ -9450,13 +9041,6 @@ __metadata: languageName: node linkType: hard -"isarray@npm:^2.0.5": - version: 2.0.5 - resolution: "isarray@npm:2.0.5" - checksum: 4199f14a7a13da2177c66c31080008b7124331956f47bca57dd0b6ea9f11687aa25e565a2c7a2b519bc86988d10398e3049a1f5df13c9f6b7664154690ae79fd - languageName: node - linkType: hard - "isarray@npm:~1.0.0": version: 1.0.0 resolution: "isarray@npm:1.0.0" @@ -9585,9 +9169,9 @@ __metadata: linkType: hard "jose@npm:^5.1.3": - version: 5.1.3 - resolution: "jose@npm:5.1.3" - checksum: 39b6b5fea0d73b73a9934f6dbf84f0f553c0ea15289d700e6bc80057124e5ebd4e7182868c598df16ed571764fc140a5908bb7fe269fe5b9b83bc769920355cf + version: 5.10.0 + resolution: "jose@npm:5.10.0" + checksum: e20d9fc58d7e402f2e5f04e824b8897d5579aae60e64cb88ebdea1395311c24537bf4892f7de413fab1acf11e922797fb1b42269bc8fc65089a3749265ccb7b0 languageName: node linkType: hard @@ -9598,17 +9182,10 @@ __metadata: languageName: node linkType: hard -"js-cookie@npm:3.0.1": - version: 3.0.1 - resolution: "js-cookie@npm:3.0.1" - checksum: a7dab91286c49610fb198bcc0d78fbafe9be869cf3cea6f7eaea515abdfdc9d347982fe22316e34666b479a0701119482d46faa3a350a3a3404eb954405edf72 - languageName: node - linkType: hard - -"js-levenshtein@npm:^1.1.6": - version: 1.1.6 - resolution: "js-levenshtein@npm:1.1.6" - checksum: 14045735325ea1fd87f434a74b11d8a14380f090f154747e613529c7cff68b5ee607f5230fa40665d5fb6125a3791f4c223f73b9feca754f989b059f5c05864f +"js-cookie@npm:3.0.5": + version: 3.0.5 + resolution: "js-cookie@npm:3.0.5" + checksum: 04a0e560407b4489daac3a63e231d35f4e86f78bff9d792011391b49c59f721b513411cd75714c418049c8dc9750b20fcddad1ca5a2ca616c3aca4874cce5b3a languageName: node linkType: hard @@ -9619,7 +9196,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.13.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.1, js-yaml@npm:^3.6.1": +"js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.1, js-yaml@npm:^3.6.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -9642,6 +9219,13 @@ __metadata: languageName: node linkType: hard +"jsbn@npm:1.1.0": + version: 1.1.0 + resolution: "jsbn@npm:1.1.0" + checksum: 4f907fb78d7b712e11dea8c165fe0921f81a657d3443dde75359ed52eb2b5d33ce6773d97985a089f09a65edd80b11cb75c767b57ba47391fee4c969f7215c96 + languageName: node + linkType: hard + "jsep@npm:^0.3.0": version: 0.3.5 resolution: "jsep@npm:0.3.5" @@ -9674,13 +9258,6 @@ __metadata: languageName: node linkType: hard -"json-parse-even-better-errors@npm:^2.3.0": - version: 2.3.1 - resolution: "json-parse-even-better-errors@npm:2.3.1" - checksum: 140932564c8f0b88455432e0f33c4cb4086b8868e37524e07e723f4eaedb9425bdc2bafd71bd1d9765bd15fd1e2d126972bc83990f55c467168c228c24d665f3 - languageName: node - linkType: hard - "json-parse-even-better-errors@npm:^3.0.0": version: 3.0.2 resolution: "json-parse-even-better-errors@npm:3.0.2" @@ -9837,20 +9414,6 @@ __metadata: languageName: node linkType: hard -"kind-of@npm:^6.0.3": - version: 6.0.3 - resolution: "kind-of@npm:6.0.3" - checksum: 61cdff9623dabf3568b6445e93e31376bee1cdb93f8ba7033d86022c2a9b1791a1d9510e026e6465ebd701a6dd2f7b0808483ad8838341ac52f003f512e0b4c4 - languageName: node - linkType: hard - -"kleur@npm:^4.0.3, kleur@npm:^4.1.5": - version: 4.1.5 - resolution: "kleur@npm:4.1.5" - checksum: e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a - languageName: node - linkType: hard - "kuler@npm:^2.0.0": version: 2.0.0 resolution: "kuler@npm:2.0.0" @@ -9885,25 +9448,25 @@ __metadata: linkType: hard "libphonenumber-js@npm:^1.10.53": - version: 1.11.12 - resolution: "libphonenumber-js@npm:1.11.12" - checksum: 56fdf7ce107bd9d0329c47392d21649ee61b5ef210fa5926cb839506195d8482760982c9f75c207e97cf070be8ef2edc5a81db7cc3623f46990222945f4e0f65 + version: 1.12.6 + resolution: "libphonenumber-js@npm:1.12.6" + checksum: 7218d8ce96a19c76c677a89da41c6b55c89c07f64999b464b5fde605d2abfcbefe2afc5bbb13f08be0f5a3dfa9ac27ac9b7ab7b65450563467fa82fb91579389 languageName: node linkType: hard "libsodium-wrappers@npm:^0.7.10": - version: 0.7.13 - resolution: "libsodium-wrappers@npm:0.7.13" + version: 0.7.15 + resolution: "libsodium-wrappers@npm:0.7.15" dependencies: - libsodium: "npm:^0.7.13" - checksum: 3de2c09a41991832333b379f4eefadd3113abb216c5be8d141eb053bbe904a4d529c01a4bbb8f46c1e2a987c3de1fb9adbb0cf7980155822e06504a38dc16cbb + libsodium: "npm:^0.7.15" + checksum: 852c4879f3b3c48332fe704454c4dfc2a1387f9f3930faf84d8626c9670f93365e56aa186d14e2995e5d352f08af07c99c06a2c26d5f44818039f1014d404171 languageName: node linkType: hard -"libsodium@npm:^0.7.13": - version: 0.7.13 - resolution: "libsodium@npm:0.7.13" - checksum: 91a65df81e123d8374b1dcfc1214970203139b4ac75c8032cc2ca390c6173f456d15dbdbf8b79115337086fc2f5a3faa8f96625d909a788125b6ead5894cd5f5 +"libsodium@npm:^0.7.15": + version: 0.7.15 + resolution: "libsodium@npm:0.7.15" + checksum: 7bdb529681f30be0533f33921509c36823d18f6fc158d66842e50d33cd9635ebb0dd02eb1fe3b51e192996ff173949f846793e10103371c8b179e5c29525556c languageName: node linkType: hard @@ -9928,18 +9491,6 @@ __metadata: languageName: node linkType: hard -"load-yaml-file@npm:^0.2.0": - version: 0.2.0 - resolution: "load-yaml-file@npm:0.2.0" - dependencies: - graceful-fs: "npm:^4.1.5" - js-yaml: "npm:^3.13.0" - pify: "npm:^4.0.1" - strip-bom: "npm:^3.0.0" - checksum: e00ed43048c0648dfef7639129b6d7e5c2272bc36d2a50dd983dd495f3341a02cd2c40765afa01345f798d0d894e5ba53212449933e72ddfa4d3f7a48f822d2f - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -10074,7 +9625,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21": +"lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c @@ -10091,9 +9642,9 @@ __metadata: languageName: node linkType: hard -"logform@npm:^2.3.2, logform@npm:^2.4.0": - version: 2.6.0 - resolution: "logform@npm:2.6.0" +"logform@npm:^2.7.0": + version: 2.7.0 + resolution: "logform@npm:2.7.0" dependencies: "@colors/colors": "npm:1.6.0" "@types/triple-beam": "npm:^1.3.2" @@ -10101,14 +9652,14 @@ __metadata: ms: "npm:^2.1.1" safe-stable-stringify: "npm:^2.3.1" triple-beam: "npm:^1.3.0" - checksum: 6e02f8617a03155b2fce451bacf777a2c01da16d32c4c745b3ec85be6c3f2602f2a4953a8bd096441cb4c42c447b52318541d6b6bc335dce903cb9ad77a1749f + checksum: 4789b4b37413c731d1835734cb799240d31b865afde6b7b3e06051d6a4127bfda9e88c99cfbf296d084a315ccbed2647796e6a56b66e725bcb268c586f57558f languageName: node linkType: hard "long@npm:^5.0.0": - version: 5.2.3 - resolution: "long@npm:5.2.3" - checksum: 6a0da658f5ef683b90330b1af76f06790c623e148222da9d75b60e266bbf88f803232dd21464575681638894a84091616e7f89557aa087fd14116c0f4e0e43d9 + version: 5.3.1 + resolution: "long@npm:5.3.1" + checksum: 8726994c6359bb7162fb94563e14c3f9c0f0eeafd90ec654738f4f144a5705756d36a873c442f172ee2a4b51e08d14ab99765b49aa1fb994c5ba7fe12057bca2 languageName: node linkType: hard @@ -10160,16 +9711,6 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^4.0.1": - version: 4.1.5 - resolution: "lru-cache@npm:4.1.5" - dependencies: - pseudomap: "npm:^1.0.2" - yallist: "npm:^2.1.2" - checksum: 1ca5306814e5add9ec63556d6fd9b24a4ecdeaef8e9cea52cbf30301e6b88c8d8ddc7cab45b59b56eb763e6c45af911585dc89925a074ab65e1502e3fe8103cf - languageName: node - linkType: hard - "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -10253,8 +9794,8 @@ __metadata: linkType: hard "make-fetch-happen@npm:^13.0.0": - version: 13.0.0 - resolution: "make-fetch-happen@npm:13.0.0" + version: 13.0.1 + resolution: "make-fetch-happen@npm:13.0.1" dependencies: "@npmcli/agent": "npm:^2.0.0" cacache: "npm:^18.0.0" @@ -10265,51 +9806,47 @@ __metadata: minipass-flush: "npm:^1.0.5" minipass-pipeline: "npm:^1.2.4" negotiator: "npm:^0.6.3" + proc-log: "npm:^4.2.0" promise-retry: "npm:^2.0.1" ssri: "npm:^10.0.0" - checksum: 43b9f6dcbc6fe8b8604cb6396957c3698857a15ba4dbc38284f7f0e61f248300585ef1eb8cc62df54e9c724af977e45b5cdfd88320ef7f53e45070ed3488da55 + checksum: df5f4dbb6d98153b751bccf4dc4cc500de85a96a9331db9805596c46aa9f99d9555983954e6c1266d9f981ae37a9e4647f42b9a4bb5466f867f4012e582c9e7e languageName: node linkType: hard -"map-obj@npm:^1.0.0": - version: 1.0.1 - resolution: "map-obj@npm:1.0.1" - checksum: ccca88395e7d38671ed9f5652ecf471ecd546924be2fb900836b9da35e068a96687d96a5f93dcdfa94d9a27d649d2f10a84595590f89a347fb4dda47629dcc52 +"make-fetch-happen@npm:^14.0.3": + version: 14.0.3 + resolution: "make-fetch-happen@npm:14.0.3" + dependencies: + "@npmcli/agent": "npm:^3.0.0" + cacache: "npm:^19.0.1" + http-cache-semantics: "npm:^4.1.1" + minipass: "npm:^7.0.2" + minipass-fetch: "npm:^4.0.0" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.4" + negotiator: "npm:^1.0.0" + proc-log: "npm:^5.0.0" + promise-retry: "npm:^2.0.1" + ssri: "npm:^12.0.0" + checksum: c40efb5e5296e7feb8e37155bde8eb70bc57d731b1f7d90e35a092fde403d7697c56fb49334d92d330d6f1ca29a98142036d6480a12681133a0a1453164cb2f0 languageName: node linkType: hard -"map-obj@npm:^4.0.0, map-obj@npm:^4.1.0": +"map-obj@npm:^4.1.0": version: 4.3.0 resolution: "map-obj@npm:4.3.0" checksum: 1c19e1c88513c8abdab25c316367154c6a0a6a0f77e3e8c391bb7c0e093aefed293f539d026dc013d86219e5e4c25f23b0003ea588be2101ccd757bacc12d43b languageName: node linkType: hard -"markdown-extensions@npm:^1.0.0": - version: 1.1.1 - resolution: "markdown-extensions@npm:1.1.1" - checksum: eb9154016502ad1fb4477683ddb5cae8ba3ca06451b381b04dc4c34e91d8d168129d50d404b717d6bf7d458e13088c109303fc72d57cee7151a6082b0e7bba71 +"markdown-extensions@npm:^2.0.0": + version: 2.0.0 + resolution: "markdown-extensions@npm:2.0.0" + checksum: 406139da2aa0d5ebad86195c8e8c02412f873c452b4c087ae7bc767af37956141be449998223bb379eea179b5fd38dfa610602b6f29c22ddab5d51e627a7e41d languageName: node linkType: hard -"marked-terminal@npm:^7.0.0": - version: 7.2.1 - resolution: "marked-terminal@npm:7.2.1" - dependencies: - ansi-escapes: "npm:^7.0.0" - ansi-regex: "npm:^6.1.0" - chalk: "npm:^5.3.0" - cli-highlight: "npm:^2.1.11" - cli-table3: "npm:^0.6.5" - node-emoji: "npm:^2.1.3" - supports-hyperlinks: "npm:^3.1.0" - peerDependencies: - marked: ">=1 <15" - checksum: 33e7901fd7ded6062440582a84d0896b96faf3e9b15ad54d92b7792a3e5533e925f170a905e9ac719a73f83dd3e08f71dfd9f2f75924fdb6c358beceece49450 - languageName: node - linkType: hard - -"marked-terminal@npm:^7.1.0": +"marked-terminal@npm:^7.0.0, marked-terminal@npm:^7.1.0": version: 7.3.0 resolution: "marked-terminal@npm:7.3.0" dependencies: @@ -10351,144 +9888,137 @@ __metadata: languageName: node linkType: hard -"mdast-util-definitions@npm:^5.0.0": - version: 5.1.2 - resolution: "mdast-util-definitions@npm:5.1.2" +"mdast-util-from-markdown@npm:^2.0.0": + version: 2.0.2 + resolution: "mdast-util-from-markdown@npm:2.0.2" dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" - unist-util-visit: "npm:^4.0.0" - checksum: da9049c15562e44ee4ea4a36113d98c6c9eaa3d8a17d6da2aef6a0626376dcd01d9ec007d77a8dfcad6d0cbd5c32a4abbad72a3f48c3172a55934c7d9a916480 - languageName: node - linkType: hard - -"mdast-util-from-markdown@npm:^1.0.0, mdast-util-from-markdown@npm:^1.1.0": - version: 1.3.1 - resolution: "mdast-util-from-markdown@npm:1.3.1" - dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" decode-named-character-reference: "npm:^1.0.0" - mdast-util-to-string: "npm:^3.1.0" - micromark: "npm:^3.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-decode-string: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-stringify-position: "npm:^3.0.0" - uvu: "npm:^0.5.0" - checksum: f4e901bf2a2e93fe35a339e0cff581efacce2f7117cd5652e9a270847bd7e2508b3e717b7b4156af54d4f896d63033e06ff9fafbf59a1d46fe17dd5e2a3f7846 + devlop: "npm:^1.0.0" + mdast-util-to-string: "npm:^4.0.0" + micromark: "npm:^4.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-decode-string: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-stringify-position: "npm:^4.0.0" + checksum: 76eb2bd2c6f7a0318087c73376b8af6d7561c1e16654e7667e640f391341096c56142618fd0ff62f6d39e5ab4895898b9789c84cd7cec2874359a437a0e1ff15 languageName: node linkType: hard -"mdast-util-mdx-expression@npm:^1.0.0": - version: 1.3.2 - resolution: "mdast-util-mdx-expression@npm:1.3.2" +"mdast-util-mdx-expression@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdx-expression@npm:2.0.1" dependencies: "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 01f306ee809d28825cbec23b3c80376a0fbe69601b6b2843d23beb5662a31ec7560995f52b96b13093cc03de1130404a47f139d16f58c3f54e91e88f4bdd82d2 + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 9a1e57940f66431f10312fa239096efa7627f375e7933b5d3162c0b5c1712a72ac87447aff2b6838d2bbd5c1311b188718cc90b33b67dc67a88550e0a6ef6183 languageName: node linkType: hard -"mdast-util-mdx-jsx@npm:^2.0.0": - version: 2.1.4 - resolution: "mdast-util-mdx-jsx@npm:2.1.4" +"mdast-util-mdx-jsx@npm:^3.0.0": + version: 3.2.0 + resolution: "mdast-util-mdx-jsx@npm:3.2.0" dependencies: "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" ccount: "npm:^2.0.0" - mdast-util-from-markdown: "npm:^1.1.0" - mdast-util-to-markdown: "npm:^1.3.0" + devlop: "npm:^1.1.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" parse-entities: "npm:^4.0.0" stringify-entities: "npm:^4.0.0" - unist-util-remove-position: "npm:^4.0.0" - unist-util-stringify-position: "npm:^3.0.0" - vfile-message: "npm:^3.0.0" - checksum: b0c16e56a99c5167e60c98dbdbe82645549630fb529688642c4664ca5557ff0b3029c75146f5657cadb7908d5fa99810eacc5dcc51676d0877c8b4dcebb11cbe + unist-util-stringify-position: "npm:^4.0.0" + vfile-message: "npm:^4.0.0" + checksum: 3acadaf3b962254f7ad2990fed4729961dc0217ca31fde9917986e880843f3ecf3392b1f22d569235cacd180d50894ad266db7af598aedca69d330d33c7ac613 languageName: node linkType: hard -"mdast-util-mdx@npm:^2.0.0": - version: 2.0.1 - resolution: "mdast-util-mdx@npm:2.0.1" +"mdast-util-mdx@npm:^3.0.0": + version: 3.0.0 + resolution: "mdast-util-mdx@npm:3.0.0" dependencies: - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-mdx-expression: "npm:^1.0.0" - mdast-util-mdx-jsx: "npm:^2.0.0" - mdast-util-mdxjs-esm: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 3b5e55781a7b7b4b7e71728a84afbec63516f251b3556efec52dbb4824c0733f5ebaa907d21211d008e5cb1a8265e6704bc062ee605f4c09e90fbfa2c6fbba3b + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 4faea13f77d6bc9aa64ee41a5e4779110b73444a17fda363df6ebe880ecfa58b321155b71f8801c3faa6d70d6222a32a00cbd6dbf5fad8db417f4688bc9c74e1 languageName: node linkType: hard -"mdast-util-mdxjs-esm@npm:^1.0.0": - version: 1.3.1 - resolution: "mdast-util-mdxjs-esm@npm:1.3.1" +"mdast-util-mdxjs-esm@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdxjs-esm@npm:2.0.1" dependencies: "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 2ff0af34ea62004d39f15bd45b79e3008e68cae7e2510c9281e24a17e2c3f55d004524796166ef5aa3378798ca7f6c5f88883238f413577619bbaf41026b7e62 + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 5bda92fc154141705af2b804a534d891f28dac6273186edf1a4c5e3f045d5b01dbcac7400d27aaf91b7e76e8dce007c7b2fdf136c11ea78206ad00bdf9db46bc languageName: node linkType: hard -"mdast-util-phrasing@npm:^3.0.0": - version: 3.0.1 - resolution: "mdast-util-phrasing@npm:3.0.1" +"mdast-util-phrasing@npm:^4.0.0": + version: 4.1.0 + resolution: "mdast-util-phrasing@npm:4.1.0" dependencies: - "@types/mdast": "npm:^3.0.0" - unist-util-is: "npm:^5.0.0" - checksum: 5e00e303652a7581593549dbce20dfb69d687d79a972f7928f6ca1920ef5385bceb737a3d5292ab6d937ed8c67bb59771e80e88f530b78734fe7d155f833e32b + "@types/mdast": "npm:^4.0.0" + unist-util-is: "npm:^6.0.0" + checksum: bf6c31d51349aa3d74603d5e5a312f59f3f65662ed16c58017169a5fb0f84ca98578f626c5ee9e4aa3e0a81c996db8717096705521bddb4a0185f98c12c9b42f languageName: node linkType: hard -"mdast-util-to-hast@npm:^12.1.0": - version: 12.3.0 - resolution: "mdast-util-to-hast@npm:12.3.0" +"mdast-util-to-hast@npm:^13.0.0": + version: 13.2.0 + resolution: "mdast-util-to-hast@npm:13.2.0" dependencies: - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-definitions: "npm:^5.0.0" - micromark-util-sanitize-uri: "npm:^1.1.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@ungap/structured-clone": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" trim-lines: "npm:^3.0.0" - unist-util-generated: "npm:^2.0.0" - unist-util-position: "npm:^4.0.0" - unist-util-visit: "npm:^4.0.0" - checksum: 0753e45bfcce423f7a13979ac720a23ed8d6bafed174c387f43bbe8baf3838f3a043cd8006975b71e5c4068b7948f83f1348acea79801101af31eaec4e7a499a + unist-util-position: "npm:^5.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + checksum: 9ee58def9287df8350cbb6f83ced90f9c088d72d4153780ad37854f87144cadc6f27b20347073b285173b1649b0723ddf0b9c78158608a804dcacb6bda6e1816 languageName: node linkType: hard -"mdast-util-to-markdown@npm:^1.0.0, mdast-util-to-markdown@npm:^1.3.0": - version: 1.5.0 - resolution: "mdast-util-to-markdown@npm:1.5.0" +"mdast-util-to-markdown@npm:^2.0.0": + version: 2.1.2 + resolution: "mdast-util-to-markdown@npm:2.1.2" dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" longest-streak: "npm:^3.0.0" - mdast-util-phrasing: "npm:^3.0.0" - mdast-util-to-string: "npm:^3.0.0" - micromark-util-decode-string: "npm:^1.0.0" - unist-util-visit: "npm:^4.0.0" + mdast-util-phrasing: "npm:^4.0.0" + mdast-util-to-string: "npm:^4.0.0" + micromark-util-classify-character: "npm:^2.0.0" + micromark-util-decode-string: "npm:^2.0.0" + unist-util-visit: "npm:^5.0.0" zwitch: "npm:^2.0.0" - checksum: 9831d14aa6c097750a90c7b87b4e814b040731c30606a794c9b136dc746633dd9ec07154ca97d4fec4eaf732cf89d14643424e2581732d6ee18c9b0e51ff7664 + checksum: 4649722a6099f12e797bd8d6469b2b43b44e526b5182862d9c7766a3431caad2c0112929c538a972f214e63c015395e5d3f54bd81d9ac1b16e6d8baaf582f749 languageName: node linkType: hard -"mdast-util-to-string@npm:^3.0.0, mdast-util-to-string@npm:^3.1.0": - version: 3.2.0 - resolution: "mdast-util-to-string@npm:3.2.0" +"mdast-util-to-string@npm:^4.0.0": + version: 4.0.0 + resolution: "mdast-util-to-string@npm:4.0.0" dependencies: - "@types/mdast": "npm:^3.0.0" - checksum: 112f4bf0f6758dcb95deffdcf37afba7eaecdfe2ee13252de031723094d4d55220e147326690a8b91244758e2d678e7aeb1fdd0fa6ef3317c979bc42effd9a21 + "@types/mdast": "npm:^4.0.0" + checksum: 2d3c1af29bf3fe9c20f552ee9685af308002488f3b04b12fa66652c9718f66f41a32f8362aa2d770c3ff464c034860b41715902ada2306bb0a055146cef064d7 languageName: node linkType: hard @@ -10520,29 +10050,10 @@ __metadata: languageName: node linkType: hard -"meow@npm:^6.0.0": - version: 6.1.1 - resolution: "meow@npm:6.1.1" - dependencies: - "@types/minimist": "npm:^1.2.0" - camelcase-keys: "npm:^6.2.2" - decamelize-keys: "npm:^1.1.0" - hard-rejection: "npm:^2.1.0" - minimist-options: "npm:^4.0.2" - normalize-package-data: "npm:^2.5.0" - read-pkg-up: "npm:^7.0.1" - redent: "npm:^3.0.0" - trim-newlines: "npm:^3.0.0" - type-fest: "npm:^0.13.1" - yargs-parser: "npm:^18.1.3" - checksum: ceece1e5e09a53d7bf298ef137477e395a0dd30c8ed1a9980a52caad02eccffd6bce1a5cad4596cd694e7e924e949253f0cc1e7c22073c07ce7b06cfefbcf8be - languageName: node - linkType: hard - -"merge-descriptors@npm:1.0.1": - version: 1.0.1 - resolution: "merge-descriptors@npm:1.0.1" - checksum: b67d07bd44cfc45cebdec349bb6e1f7b077ee2fd5beb15d1f7af073849208cb6f144fe403e29a36571baf3f4e86469ac39acf13c318381e958e186b2766f54ec +"merge-descriptors@npm:1.0.3": + version: 1.0.3 + resolution: "merge-descriptors@npm:1.0.3" + checksum: 866b7094afd9293b5ea5dcd82d71f80e51514bed33b4c4e9f516795dc366612a4cbb4dc94356e943a8a6914889a914530badff27f397191b9b75cda20b6bae93 languageName: node linkType: hard @@ -10560,367 +10071,374 @@ __metadata: languageName: node linkType: hard -"micromark-core-commonmark@npm:^1.0.0, micromark-core-commonmark@npm:^1.0.1": - version: 1.1.0 - resolution: "micromark-core-commonmark@npm:1.1.0" +"micromark-core-commonmark@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-core-commonmark@npm:2.0.3" dependencies: decode-named-character-reference: "npm:^1.0.0" - micromark-factory-destination: "npm:^1.0.0" - micromark-factory-label: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-factory-title: "npm:^1.0.0" - micromark-factory-whitespace: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-chunked: "npm:^1.0.0" - micromark-util-classify-character: "npm:^1.0.0" - micromark-util-html-tag-name: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-resolve-all: "npm:^1.0.0" - micromark-util-subtokenize: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.1" - uvu: "npm:^0.5.0" - checksum: b3bf7b7004ce7dbb3ae151dcca4db1d12546f1b943affb2418da4b90b9ce59357373c433ee2eea4c868aee0791dafa355aeed19f5ef2b0acaf271f32f1ecbe6a + devlop: "npm:^1.0.0" + micromark-factory-destination: "npm:^2.0.0" + micromark-factory-label: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-factory-title: "npm:^2.0.0" + micromark-factory-whitespace: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-classify-character: "npm:^2.0.0" + micromark-util-html-tag-name: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-resolve-all: "npm:^2.0.0" + micromark-util-subtokenize: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: bd4a794fdc9e88dbdf59eaf1c507ddf26e5f7ddf4e52566c72239c0f1b66adbcd219ba2cd42350debbe24471434d5f5e50099d2b3f4e5762ca222ba8e5b549ee languageName: node linkType: hard -"micromark-extension-mdx-expression@npm:^1.0.0": - version: 1.0.8 - resolution: "micromark-extension-mdx-expression@npm:1.0.8" +"micromark-extension-mdx-expression@npm:^3.0.0": + version: 3.0.1 + resolution: "micromark-extension-mdx-expression@npm:3.0.1" dependencies: "@types/estree": "npm:^1.0.0" - micromark-factory-mdx-expression: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 99e2997a54caafc4258979c0591b3fe8e31018079df833d559768092fec41e57a71225d423f4179cea4e8bc1af2f52f5c9ae640673619d8fe142ded875240da3 + devlop: "npm:^1.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 4d8cc5353b083b06bd51c98389de9c198261a5b2b440b75e85000a18d10511f21ba77538d6dfde0e0589df9de3fba9a1d14c2448d30c92d6b461c26d86e397f4 languageName: node linkType: hard -"micromark-extension-mdx-jsx@npm:^1.0.0": - version: 1.0.5 - resolution: "micromark-extension-mdx-jsx@npm:1.0.5" - dependencies: - "@types/acorn": "npm:^4.0.0" - "@types/estree": "npm:^1.0.0" - estree-util-is-identifier-name: "npm:^2.0.0" - micromark-factory-mdx-expression: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: 1b4bfbe60b9cabfabfb870f70ded8da0caacbaa3be6bdf07f6db25cc5a14c6bc970c34c60e5c80da1e97766064a117feb8160b6d661d69e530a4cc7ec97305de - languageName: node - linkType: hard - -"micromark-extension-mdx-md@npm:^1.0.0": - version: 1.0.1 - resolution: "micromark-extension-mdx-md@npm:1.0.1" - dependencies: - micromark-util-types: "npm:^1.0.0" - checksum: 9ad70b3a5e842fd7ebd93c8c48a32fd3d05fe77be06a08ef32462ea53e97d8f297e2c1c4b30a6929dbd05125279fe98bb04e9cc0bb686c691bdcf7d36c6e51b0 - languageName: node - linkType: hard - -"micromark-extension-mdxjs-esm@npm:^1.0.0": - version: 1.0.5 - resolution: "micromark-extension-mdxjs-esm@npm:1.0.5" +"micromark-extension-mdx-jsx@npm:^3.0.0": + version: 3.0.2 + resolution: "micromark-extension-mdx-jsx@npm:3.0.2" dependencies: "@types/estree": "npm:^1.0.0" - micromark-core-commonmark: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-position-from-estree: "npm:^1.1.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: 612028bced78e882641a43c78fc4813a573b383dc0a7b90db75ed88b37bf5b5997dc7ead4a1011315b34f17bc76b7f4419de6ad9532a088102ab1eea0245d380 + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 5693b2e51934ac29a6aab521eaa2151f891d1fe092550bbd4ce24e4dd7567c1421a54f5e585a57dfa1769a79570f6df57ddd7a98bf0889dd11d495847a266dd7 languageName: node linkType: hard -"micromark-extension-mdxjs@npm:^1.0.0": - version: 1.0.1 - resolution: "micromark-extension-mdxjs@npm:1.0.1" +"micromark-extension-mdx-md@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-mdx-md@npm:2.0.0" + dependencies: + micromark-util-types: "npm:^2.0.0" + checksum: bae91c61273de0e5ba80a980c03470e6cd9d7924aa936f46fbda15d780704d9386e945b99eda200e087b96254fbb4271a9545d5ce02676cd6ae67886a8bf82df + languageName: node + linkType: hard + +"micromark-extension-mdxjs-esm@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs-esm@npm:3.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 13e3f726495a960650cdedcba39198ace5bdc953ccb12c14d71fc9ed9bb88e40cc3ba9231e973f6984da3b3573e7ddb23ce409f7c16f52a8d57b608bf46c748d + languageName: node + linkType: hard + +"micromark-extension-mdxjs@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs@npm:3.0.0" dependencies: acorn: "npm:^8.0.0" acorn-jsx: "npm:^5.0.0" - micromark-extension-mdx-expression: "npm:^1.0.0" - micromark-extension-mdx-jsx: "npm:^1.0.0" - micromark-extension-mdx-md: "npm:^1.0.0" - micromark-extension-mdxjs-esm: "npm:^1.0.0" - micromark-util-combine-extensions: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 3f123e4afea9674c96934c9ea6a057ec9e5584992c50c36c173a2e331d272b1f4e2a8552364a0e2cb50703d0218831fdae1a17b563f0009aac6a35350e6a7b77 + micromark-extension-mdx-expression: "npm:^3.0.0" + micromark-extension-mdx-jsx: "npm:^3.0.0" + micromark-extension-mdx-md: "npm:^2.0.0" + micromark-extension-mdxjs-esm: "npm:^3.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: fd84f036ddad0aabbc12e7f1b3e9dcfe31573bbc413c5ae903779ef0366d7a4c08193547e7ba75718c9f45654e45f52e575cfc2f23a5f89205a8a70d9a506aea languageName: node linkType: hard -"micromark-factory-destination@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-destination@npm:1.1.0" +"micromark-factory-destination@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-destination@npm:2.0.1" dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 71ebd9089bf0c9689b98ef42215c04032ae2701ae08c3546b663628553255dca18e5310dbdacddad3acd8de4f12a789835fff30dadc4da3c4e30387a75e6b488 + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: bbafcf869cee5bf511161354cb87d61c142592fbecea051000ff116068dc85216e6d48519d147890b9ea5d7e2864a6341c0c09d9948c203bff624a80a476023c languageName: node linkType: hard -"micromark-factory-label@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-label@npm:1.1.0" +"micromark-factory-label@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-label@npm:2.0.1" dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 5e2cd2d8214bb92a34dfcedf9c7aecf565e3648650a3a6a0495ededf15f2318dd214dc069e3026402792cd5839d395313f8ef9c2e86ca34a8facaa0f75a77753 + devlop: "npm:^1.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 0137716b4ecb428114165505e94a2f18855c8bbea21b07a8b5ce514b32a595ed789d2b967125718fc44c4197ceaa48f6609d58807a68e778138d2e6b91b824e8 languageName: node linkType: hard -"micromark-factory-mdx-expression@npm:^1.0.0": - version: 1.0.9 - resolution: "micromark-factory-mdx-expression@npm:1.0.9" +"micromark-factory-mdx-expression@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-factory-mdx-expression@npm:2.0.3" dependencies: "@types/estree": "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-position-from-estree: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: b28bd8e072f37ca91446fe8d113e4ae64baaef013b0cde4aa224add0ee40963ce3584b9709f7662d30491f875ae7104b897d37efa26cdaecf25082ed5bac7b8c + devlop: "npm:^1.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: a6004ef6272dd01a5d718f2affd7bfb5e08f0849340f5fd96ac823fbc5e9d3b3343acedda50805873ccda5e3b8af4d5fbb302abc874544044ac90c217345cf97 languageName: node linkType: hard -"micromark-factory-space@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-space@npm:1.1.0" +"micromark-factory-space@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-space@npm:2.0.1" dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 3da81187ce003dd4178c7adc4674052fb8befc8f1a700ae4c8227755f38581a4ae963866dc4857488d62d1dc9837606c9f2f435fa1332f62a0f1c49b83c6a822 + micromark-util-character: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: f9ed43f1c0652d8d898de0ac2be3f77f776fffe7dd96bdbba1e02d7ce33d3853c6ff5daa52568fc4fa32cdf3a62d86b85ead9b9189f7211e1d69ff2163c450fb languageName: node linkType: hard -"micromark-factory-title@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-title@npm:1.1.0" +"micromark-factory-title@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-title@npm:2.0.1" dependencies: - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: cf8c687d1d5c3928846a4791d4a7e2f1d7bdd2397051e20d60f06b7565a48bf85198ab6f85735e997ab3f0cbb80b8b6391f4f7ebc0aae2f2f8c3a08541257bf6 + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: e72fad8d6e88823514916890099a5af20b6a9178ccf78e7e5e05f4de99bb8797acb756257d7a3a57a53854cb0086bf8aab15b1a9e9db8982500dd2c9ff5948b6 languageName: node linkType: hard -"micromark-factory-whitespace@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-whitespace@npm:1.1.0" +"micromark-factory-whitespace@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-whitespace@npm:2.0.1" dependencies: - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 7248cc4534f9befb38c6f398b6e38efd3199f1428fc214c9cb7ed5b6e9fa7a82c0d8cdfa9bcacde62887c9a7c8c46baf5c318b2ae8f701afbccc8ad702e92dce + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 20a1ec58698f24b766510a309b23a10175034fcf1551eaa9da3adcbed3e00cd53d1ebe5f030cf873f76a1cec3c34eb8c50cc227be3344caa9ed25d56cf611224 languageName: node linkType: hard -"micromark-util-character@npm:^1.0.0": - version: 1.2.0 - resolution: "micromark-util-character@npm:1.2.0" +"micromark-util-character@npm:^2.0.0": + version: 2.1.1 + resolution: "micromark-util-character@npm:2.1.1" dependencies: - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 3390a675a50731b58a8e5493cd802e190427f10fa782079b455b00f6b54e406e36882df7d4a3bd32b709f7a2c3735b4912597ebc1c0a99566a8d8d0b816e2cd4 + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: d3fe7a5e2c4060fc2a076f9ce699c82a2e87190a3946e1e5eea77f563869b504961f5668d9c9c014724db28ac32fa909070ea8b30c3a39bd0483cc6c04cc76a1 languageName: node linkType: hard -"micromark-util-chunked@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-chunked@npm:1.1.0" +"micromark-util-chunked@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-chunked@npm:2.0.1" dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: 59534cf4aaf481ed58d65478d00eae0080df9b5816673f79b5ddb0cea263e5a9ee9cbb6cc565daf1eb3c8c4ff86fc4e25d38a0577539655cda823a4249efd358 + micromark-util-symbol: "npm:^2.0.0" + checksum: b68c0c16fe8106949537bdcfe1be9cf36c0ccd3bc54c4007003cb0984c3750b6cdd0fd77d03f269a3382b85b0de58bde4f6eedbe7ecdf7244759112289b1ab56 languageName: node linkType: hard -"micromark-util-classify-character@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-classify-character@npm:1.1.0" +"micromark-util-classify-character@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-classify-character@npm:2.0.1" dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 3266453dc0fdaf584e24c9b3c91d1ed180f76b5856699c51fd2549305814fcab7ec52afb4d3e83d002a9115cd2d2b2ffdc9c0b38ed85120822bf515cc00636ec + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 8a02e59304005c475c332f581697e92e8c585bcd45d5d225a66c1c1b14ab5a8062705188c2ccec33cc998d33502514121478b2091feddbc751887fc9c290ed08 languageName: node linkType: hard -"micromark-util-combine-extensions@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-combine-extensions@npm:1.1.0" +"micromark-util-combine-extensions@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-combine-extensions@npm:2.0.1" dependencies: - micromark-util-chunked: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 0bc572fab3fe77f533c29aa1b75cb847b9fc9455f67a98623ef9740b925c0b0426ad9f09bbb56f1e844ea9ebada7873d1f06d27f7c979a917692b273c4b69e31 + micromark-util-chunked: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: f15e282af24c8372cbb10b9b0b3e2c0aa681fea0ca323a44d6bc537dc1d9382c819c3689f14eaa000118f5a163245358ce6276b2cda9a84439cdb221f5d86ae7 languageName: node linkType: hard -"micromark-util-decode-numeric-character-reference@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-decode-numeric-character-reference@npm:1.1.0" +"micromark-util-decode-numeric-character-reference@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-util-decode-numeric-character-reference@npm:2.0.2" dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: 64ef2575e3fc2426976c19e16973348f20b59ddd5543f1467ac2e251f29e0a91f12089703d29ae985b0b9a408ee0d72f06d04ed3920811aa2402aabca3bdf9e4 + micromark-util-symbol: "npm:^2.0.0" + checksum: 9c8a9f2c790e5593ffe513901c3a110e9ec8882a08f466da014112a25e5059b51551ca0aeb7ff494657d86eceb2f02ee556c6558b8d66aadc61eae4a240da0df languageName: node linkType: hard -"micromark-util-decode-string@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-decode-string@npm:1.1.0" +"micromark-util-decode-string@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-decode-string@npm:2.0.1" dependencies: decode-named-character-reference: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - checksum: 757a0aaa5ad6c50c7480bd75371d407ac75f5022cd4404aba07adadf1448189502aea9bb7b2d09d25e18745e0abf72b95506b6beb184bcccabe919e48e3a5df7 + micromark-util-character: "npm:^2.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + checksum: f24d75b2e5310be6e7b6dee532e0d17d3bf46996841d6295f2a9c87a2046fff4ab603c52ab9d7a7a6430a8b787b1574ae895849c603d262d1b22eef71736b5cb languageName: node linkType: hard -"micromark-util-encode@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-encode@npm:1.1.0" - checksum: 9878c9bc96999d45626a7597fffac85348ea842dce75d2417345cbf070a9941c62477bd0963bef37d4f0fd29f2982be6ddf416d62806f00ccb334af9d6ee87e7 +"micromark-util-encode@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-encode@npm:2.0.1" + checksum: b2b29f901093845da8a1bf997ea8b7f5e061ffdba85070dfe14b0197c48fda64ffcf82bfe53c90cf9dc185e69eef8c5d41cae3ba918b96bc279326921b59008a languageName: node linkType: hard -"micromark-util-events-to-acorn@npm:^1.0.0": - version: 1.2.3 - resolution: "micromark-util-events-to-acorn@npm:1.2.3" +"micromark-util-events-to-acorn@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-util-events-to-acorn@npm:2.0.3" dependencies: - "@types/acorn": "npm:^4.0.0" "@types/estree": "npm:^1.0.0" - "@types/unist": "npm:^2.0.0" - estree-util-visit: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: cd3af7365806a0b22efb83cb7726cb835725c0bc22e04f7ea83f2f38a09e7132413eff6ab6d53652b969a7ec30e442731c3abbbe8a74dc2081c51fd10223c269 + "@types/unist": "npm:^3.0.0" + devlop: "npm:^1.0.0" + estree-util-visit: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: a4e0716e943ffdd16a918edf51d4f8291ec2692f5c4d04693dbef3358716fba891f288197afd102c14f4d98dac09d52351046ab7aad1d50b74677bdd5fa683c0 languageName: node linkType: hard -"micromark-util-html-tag-name@npm:^1.0.0": - version: 1.2.0 - resolution: "micromark-util-html-tag-name@npm:1.2.0" - checksum: 15421869678d36b4fe51df453921e8186bff514a14e9f79f32b7e1cdd67874e22a66ad34a7f048dd132cbbbfc7c382ae2f777a2bfd1f245a47705dc1c6d4f199 +"micromark-util-html-tag-name@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-html-tag-name@npm:2.0.1" + checksum: ae80444db786fde908e9295f19a27a4aa304171852c77414516418650097b8afb401961c9edb09d677b06e97e8370cfa65638dde8438ebd41d60c0a8678b85b9 languageName: node linkType: hard -"micromark-util-normalize-identifier@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-normalize-identifier@npm:1.1.0" +"micromark-util-normalize-identifier@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-normalize-identifier@npm:2.0.1" dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: a9657321a2392584e4d978061882117a84db7d2c2c1c052c0f5d25da089d463edb9f956d5beaf7f5768984b6f72d046d59b5972951ec7bf25397687a62b8278a + micromark-util-symbol: "npm:^2.0.0" + checksum: 5299265fa360769fc499a89f40142f10a9d4a5c3dd8e6eac8a8ef3c2e4a6570e4c009cf75ea46dce5ee31c01f25587bde2f4a5cc0a935584ae86dd857f2babbd languageName: node linkType: hard -"micromark-util-resolve-all@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-resolve-all@npm:1.1.0" +"micromark-util-resolve-all@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-resolve-all@npm:2.0.1" dependencies: - micromark-util-types: "npm:^1.0.0" - checksum: b5c95484c06e87bbbb60d8430eb030a458733a5270409f4c67892d1274737087ca6a7ca888987430e57cf1dcd44bb16390d3b3936a2bf07f7534ec8f52ce43c9 + micromark-util-types: "npm:^2.0.0" + checksum: bb6ca28764696bb479dc44a2d5b5fe003e7177aeae1d6b0d43f24cc223bab90234092d9c3ce4a4d2b8df095ccfd820537b10eb96bb7044d635f385d65a4c984a languageName: node linkType: hard -"micromark-util-sanitize-uri@npm:^1.0.0, micromark-util-sanitize-uri@npm:^1.1.0": - version: 1.2.0 - resolution: "micromark-util-sanitize-uri@npm:1.2.0" +"micromark-util-sanitize-uri@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-sanitize-uri@npm:2.0.1" dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-encode: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - checksum: dbdb98248e9f0408c7a00f1c1cd805775b41d213defd659533835f34b38da38e8f990bf7b3f782e96bffbc549aec9c3ecdab197d4ad5adbfe08f814a70327b6e + micromark-util-character: "npm:^2.0.0" + micromark-util-encode: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + checksum: 60e92166e1870fd4f1961468c2651013ff760617342918e0e0c3c4e872433aa2e60c1e5a672bfe5d89dc98f742d6b33897585cf86ae002cda23e905a3c02527c languageName: node linkType: hard -"micromark-util-subtokenize@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-subtokenize@npm:1.1.0" +"micromark-util-subtokenize@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-util-subtokenize@npm:2.1.0" dependencies: - micromark-util-chunked: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: f292b1b162845db50d36255c9d4c4c6d47931fbca3ac98a80c7e536d2163233fd662f8ca0479ee2b80f145c66a1394c7ed17dfce801439741211015e77e3901e + devlop: "npm:^1.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: bee69eece4393308e657c293ba80d92ebcb637e5f55e21dcf9c3fa732b91a8eda8ac248d76ff375e675175bfadeae4712e5158ef97eef1111789da1ce7ab5067 languageName: node linkType: hard -"micromark-util-symbol@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-symbol@npm:1.1.0" - checksum: 10ceaed33a90e6bfd3a5d57053dbb53f437d4809cc11430b5a09479c0ba601577059be9286df4a7eae6e350a60a2575dc9fa9d9872b5b8d058c875e075c33803 +"micromark-util-symbol@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-symbol@npm:2.0.1" + checksum: f2d1b207771e573232436618e78c5e46cd4b5c560dd4a6d63863d58018abbf49cb96ec69f7007471e51434c60de3c9268ef2bf46852f26ff4aacd10f9da16fe9 languageName: node linkType: hard -"micromark-util-types@npm:^1.0.0, micromark-util-types@npm:^1.0.1": - version: 1.1.0 - resolution: "micromark-util-types@npm:1.1.0" - checksum: a9749cb0a12a252ff536baabcb7012421b6fad4d91a5fdd80d7b33dc7b4c22e2d0c4637dfe5b902d00247fe6c9b01f4a24fce6b572b16ccaa4da90e6ce2a11e4 +"micromark-util-types@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-util-types@npm:2.0.2" + checksum: c8c15b96c858db781c4393f55feec10004bf7df95487636c9a9f7209e51002a5cca6a047c5d2a5dc669ff92da20e57aaa881e81a268d9ccadb647f9dce305298 languageName: node linkType: hard -"micromark@npm:^3.0.0": - version: 3.2.0 - resolution: "micromark@npm:3.2.0" +"micromark@npm:^4.0.0": + version: 4.0.2 + resolution: "micromark@npm:4.0.2" dependencies: "@types/debug": "npm:^4.0.0" debug: "npm:^4.0.0" decode-named-character-reference: "npm:^1.0.0" - micromark-core-commonmark: "npm:^1.0.1" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-chunked: "npm:^1.0.0" - micromark-util-combine-extensions: "npm:^1.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-encode: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-resolve-all: "npm:^1.0.0" - micromark-util-sanitize-uri: "npm:^1.0.0" - micromark-util-subtokenize: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.1" - uvu: "npm:^0.5.0" - checksum: f243e805d1b3cc699fddae2de0b1492bc82462f1a709d7ae5c82039f88b1e009c959100184717e748be057b5f88603289d5681679a4e6fbabcd037beb34bc744 + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-encode: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-resolve-all: "npm:^2.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + micromark-util-subtokenize: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 07462287254219d6eda6eac8a3cebaff2994e0575499e7088027b825105e096e4f51e466b14b2a81b71933a3b6c48ee069049d87bc2c2127eee50d9cc69e8af6 languageName: node linkType: hard -"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4": - version: 4.0.5 - resolution: "micromatch@npm:4.0.5" +"micromatch@npm:^4.0.8": + version: 4.0.8 + resolution: "micromatch@npm:4.0.8" dependencies: - braces: "npm:^3.0.2" + braces: "npm:^3.0.3" picomatch: "npm:^2.3.1" - checksum: 3d6505b20f9fa804af5d8c596cb1c5e475b9b0cd05f652c5b56141cf941bd72adaeb7a436fda344235cef93a7f29b7472efc779fcdb83b478eab0867b95cdeff + checksum: 166fa6eb926b9553f32ef81f5f531d27b4ce7da60e5baf8c021d043b27a388fb95e46a8038d5045877881e673f8134122b59624d5cecbd16eb50a42e7a6b5ca8 languageName: node linkType: hard -"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2": +"mime-db@npm:1.52.0": version: 1.52.0 resolution: "mime-db@npm:1.52.0" checksum: 0557a01deebf45ac5f5777fe7740b2a5c309c6d62d40ceab4e23da9f821899ce7a900b7ac8157d4548ddbb7beffe9abc621250e6d182b0397ec7f10c7b91a5aa languageName: node linkType: hard +"mime-db@npm:>= 1.43.0 < 2": + version: 1.54.0 + resolution: "mime-db@npm:1.54.0" + checksum: 8d907917bc2a90fa2df842cdf5dfeaf509adc15fe0531e07bb2f6ab15992416479015828d6a74200041c492e42cce3ebf78e5ce714388a0a538ea9c53eece284 + languageName: node + linkType: hard + "mime-types@npm:^2.1.12, mime-types@npm:^2.1.35, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" @@ -10964,13 +10482,6 @@ __metadata: languageName: node linkType: hard -"min-indent@npm:^1.0.0": - version: 1.0.1 - resolution: "min-indent@npm:1.0.1" - checksum: 7e207bd5c20401b292de291f02913230cb1163abca162044f7db1d951fa245b174dc00869d40dd9a9f32a885ad6a5f3e767ee104cf278f399cb4e92d3f582d5c - languageName: node - linkType: hard - "miniflare@npm:3.20250310.0": version: 3.20250310.0 resolution: "miniflare@npm:3.20250310.0" @@ -10993,28 +10504,36 @@ __metadata: linkType: hard "miniflare@npm:^3.20240208.0": - version: 3.20240208.0 - resolution: "miniflare@npm:3.20240208.0" + version: 3.20250310.1 + resolution: "miniflare@npm:3.20250310.1" dependencies: "@cspotcode/source-map-support": "npm:0.8.1" - acorn: "npm:^8.8.0" - acorn-walk: "npm:^8.2.0" - capnp-ts: "npm:^0.7.0" - exit-hook: "npm:^2.2.1" - glob-to-regexp: "npm:^0.4.1" - stoppable: "npm:^1.1.0" - undici: "npm:^5.28.2" - workerd: "npm:1.20240208.0" - ws: "npm:^8.11.0" - youch: "npm:^3.2.2" - zod: "npm:^3.20.6" + acorn: "npm:8.14.0" + acorn-walk: "npm:8.3.2" + exit-hook: "npm:2.2.1" + glob-to-regexp: "npm:0.4.1" + stoppable: "npm:1.1.0" + undici: "npm:^5.28.5" + workerd: "npm:1.20250310.0" + ws: "npm:8.18.0" + youch: "npm:3.2.3" + zod: "npm:3.22.3" bin: miniflare: bootstrap.js - checksum: fe4476bedc26933721c1c9bfe5a3d58990280b928e5d595e61d9252dc07105d9d89218bf04617d149f1987e3e74f3f6f9156f78bf972242db472b9051016a260 + checksum: 145771f6a3ff51f859417ee281ddbff6a0ff02a5b81029b2985b89ed9ce90aed71cedc7c966df8f3a50b7c7928da3e12090dfc9035fa47de21984f471627ba38 languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^10.0.1": + version: 10.0.1 + resolution: "minimatch@npm:10.0.1" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d + languageName: node + linkType: hard + +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -11050,7 +10569,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.0, minimatch@npm:^9.0.3, minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": +"minimatch@npm:^9.0.0, minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": version: 9.0.5 resolution: "minimatch@npm:9.0.5" dependencies: @@ -11068,18 +10587,7 @@ __metadata: languageName: node linkType: hard -"minimist-options@npm:^4.0.2": - version: 4.1.0 - resolution: "minimist-options@npm:4.1.0" - dependencies: - arrify: "npm:^1.0.1" - is-plain-obj: "npm:^1.1.0" - kind-of: "npm:^6.0.3" - checksum: 7871f9cdd15d1e7374e5b013e2ceda3d327a06a8c7b38ae16d9ef941e07d985e952c589e57213f7aa90a8744c60aed9524c0d85e501f5478382d9181f2763f54 - languageName: node - linkType: hard - -"minimist@npm:^1.2.0, minimist@npm:^1.2.6": +"minimist@npm:^1.2.0": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 @@ -11096,8 +10604,8 @@ __metadata: linkType: hard "minipass-fetch@npm:^3.0.0": - version: 3.0.4 - resolution: "minipass-fetch@npm:3.0.4" + version: 3.0.5 + resolution: "minipass-fetch@npm:3.0.5" dependencies: encoding: "npm:^0.1.13" minipass: "npm:^7.0.3" @@ -11106,7 +10614,22 @@ __metadata: dependenciesMeta: encoding: optional: true - checksum: 1b63c1f3313e88eeac4689f1b71c9f086598db9a189400e3ee960c32ed89e06737fa23976c9305c2d57464fb3fcdc12749d3378805c9d6176f5569b0d0ee8a75 + checksum: 9d702d57f556274286fdd97e406fc38a2f5c8d15e158b498d7393b1105974b21249289ec571fa2b51e038a4872bfc82710111cf75fae98c662f3d6f95e72152b + languageName: node + linkType: hard + +"minipass-fetch@npm:^4.0.0": + version: 4.0.1 + resolution: "minipass-fetch@npm:4.0.1" + dependencies: + encoding: "npm:^0.1.13" + minipass: "npm:^7.0.3" + minipass-sized: "npm:^1.0.3" + minizlib: "npm:^3.0.1" + dependenciesMeta: + encoding: + optional: true + checksum: a3147b2efe8e078c9bf9d024a0059339c5a09c5b1dded6900a219c218cc8b1b78510b62dae556b507304af226b18c3f1aeb1d48660283602d5b6586c399eed5c languageName: node linkType: hard @@ -11153,14 +10676,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3": - version: 7.0.4 - resolution: "minipass@npm:7.0.4" - checksum: 6c7370a6dfd257bf18222da581ba89a5eaedca10e158781232a8b5542a90547540b4b9b7e7f490e4cda43acfbd12e086f0453728ecf8c19e0ef6921bc5958ac5 - languageName: node - linkType: hard - -"minipass@npm:^7.1.2": +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4, minipass@npm:^7.1.2": version: 7.1.2 resolution: "minipass@npm:7.1.2" checksum: b0fd20bb9fb56e5fa9a8bfac539e8915ae07430a619e4b86ff71f5fc757ef3924b23b2c4230393af1eda647ed3d75739e4e0acb250a6b1eb277cf7f8fe449557 @@ -11177,21 +10693,13 @@ __metadata: languageName: node linkType: hard -"mixme@npm:^0.5.1": - version: 0.5.10 - resolution: "mixme@npm:0.5.10" - checksum: 409b2124b75b5f489b1521bc470f6201d748499bf656db0aa43a07e654449f3bcc8a0277cd05ca3c3e305281a5934b6e75219866200b70a9e3e105f9cf08baf1 - languageName: node - linkType: hard - -"mkdirp@npm:^0.5.6": - version: 0.5.6 - resolution: "mkdirp@npm:0.5.6" +"minizlib@npm:^3.0.1": + version: 3.0.1 + resolution: "minizlib@npm:3.0.1" dependencies: - minimist: "npm:^1.2.6" - bin: - mkdirp: bin/cmd.js - checksum: e2e2be789218807b58abced04e7b49851d9e46e88a2f9539242cc8a92c9b5c3a0b9bab360bd3014e02a140fc4fbc58e31176c408b493f8a2a6f4986bd7527b01 + minipass: "npm:^7.0.4" + rimraf: "npm:^5.0.5" + checksum: 82f8bf70da8af656909a8ee299d7ed3b3372636749d29e105f97f20e88971be31f5ed7642f2e898f00283b68b701cc01307401cdc209b0efc5dd3818220e5093 languageName: node linkType: hard @@ -11204,6 +10712,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^3.0.1": + version: 3.0.1 + resolution: "mkdirp@npm:3.0.1" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d + languageName: node + linkType: hard + "mlly@npm:^1.7.4": version: 1.7.4 resolution: "mlly@npm:1.7.4" @@ -11236,7 +10753,7 @@ __metadata: languageName: node linkType: hard -"mri@npm:^1.1.0": +"mri@npm:^1.1.0, mri@npm:^1.2.0": version: 1.2.0 resolution: "mri@npm:1.2.0" checksum: a3d32379c2554cf7351db6237ddc18dc9e54e4214953f3da105b97dc3babe0deb3ffe99cf409b38ea47cc29f9430561ba6b53b24ab8f9ce97a4b50409e4a50e7 @@ -11265,38 +10782,35 @@ __metadata: linkType: hard "msw@npm:^2.0.11": - version: 2.0.11 - resolution: "msw@npm:2.0.11" + version: 2.7.3 + resolution: "msw@npm:2.7.3" dependencies: - "@bundled-es-modules/cookie": "npm:^2.0.0" - "@bundled-es-modules/js-levenshtein": "npm:^2.0.1" + "@bundled-es-modules/cookie": "npm:^2.0.1" "@bundled-es-modules/statuses": "npm:^1.0.1" - "@mswjs/cookies": "npm:^1.1.0" - "@mswjs/interceptors": "npm:^0.25.13" + "@bundled-es-modules/tough-cookie": "npm:^0.1.6" + "@inquirer/confirm": "npm:^5.0.0" + "@mswjs/interceptors": "npm:^0.37.0" + "@open-draft/deferred-promise": "npm:^2.2.0" "@open-draft/until": "npm:^2.1.0" - "@types/cookie": "npm:^0.4.1" - "@types/js-levenshtein": "npm:^1.1.1" - "@types/statuses": "npm:^2.0.1" - chalk: "npm:^4.1.2" - chokidar: "npm:^3.4.2" + "@types/cookie": "npm:^0.6.0" + "@types/statuses": "npm:^2.0.4" graphql: "npm:^16.8.1" - headers-polyfill: "npm:^4.0.1" - inquirer: "npm:^8.2.0" + headers-polyfill: "npm:^4.0.2" is-node-process: "npm:^1.2.0" - js-levenshtein: "npm:^1.1.6" - outvariant: "npm:^1.4.0" - path-to-regexp: "npm:^6.2.0" - strict-event-emitter: "npm:^0.5.0" - type-fest: "npm:^2.19.0" - yargs: "npm:^17.3.1" + outvariant: "npm:^1.4.3" + path-to-regexp: "npm:^6.3.0" + picocolors: "npm:^1.1.1" + strict-event-emitter: "npm:^0.5.1" + type-fest: "npm:^4.26.1" + yargs: "npm:^17.7.2" peerDependencies: - typescript: ">= 4.7.x <= 5.2.x" + typescript: ">= 4.8.x" peerDependenciesMeta: typescript: optional: true bin: msw: cli/index.js - checksum: 29e272c1c11e706fc59436f8f0f08d85faad055d54d88e3d43b421913f4614950ee25481296d48de835dcbe36f65a76e554f7217b37065419d7f3f3a42cad271 + checksum: 47cad1c4b4615b312477c8977fddfda3e90becd8efc2d81d73be8fb860e45ad0d3f7bca6d4f70ae7ed21894e93975bda66d609aafc3a1c99cb923c5ef67f8686 languageName: node linkType: hard @@ -11316,6 +10830,13 @@ __metadata: languageName: node linkType: hard +"mute-stream@npm:^2.0.0": + version: 2.0.0 + resolution: "mute-stream@npm:2.0.0" + checksum: 2cf48a2087175c60c8dcdbc619908b49c07f7adcfc37d29236b0c5c612d6204f789104c98cc44d38acab7b3c96f4a3ec2cfdc4934d0738d876dbefa2a12c69f4 + languageName: node + linkType: hard + "mz@npm:^2.4.0, mz@npm:^2.7.0": version: 2.7.0 resolution: "mz@npm:2.7.0" @@ -11327,30 +10848,21 @@ __metadata: languageName: node linkType: hard -"nan@npm:^2.18.0": - version: 2.18.0 - resolution: "nan@npm:2.18.0" +"nan@npm:^2.20.0": + version: 2.22.2 + resolution: "nan@npm:2.22.2" dependencies: node-gyp: "npm:latest" - checksum: 9209d80134fdb98c0afe35c1372d2b930a0a8d3c52706cb5e4257a27e9845c375f7a8daedadadec8d6403ca2eebb3b37d362ff5d1ec03249462abf65fef2a148 - languageName: node - linkType: hard - -"nanoid@npm:^3.3.7": - version: 3.3.7 - resolution: "nanoid@npm:3.3.7" - bin: - nanoid: bin/nanoid.cjs - checksum: e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 + checksum: 971f963b8120631880fa47a389c71b00cadc1c1b00ef8f147782a3f4387d4fc8195d0695911272d57438c11562fb27b24c4ae5f8c05d5e4eeb4478ba51bb73c5 languageName: node linkType: hard "nanoid@npm:^3.3.8": - version: 3.3.8 - resolution: "nanoid@npm:3.3.8" + version: 3.3.11 + resolution: "nanoid@npm:3.3.11" bin: nanoid: bin/nanoid.cjs - checksum: 4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120 + checksum: 40e7f70b3d15f725ca072dfc4f74e81fcf1fbb02e491cf58ac0c79093adc9b0a73b152bcde57df4b79cd097e13023d7504acb38404a4da7bc1cd8e887b82fe0b languageName: node linkType: hard @@ -11378,13 +10890,27 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:0.6.3, negotiator@npm:^0.6.3": +"negotiator@npm:0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: 3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2 languageName: node linkType: hard +"negotiator@npm:^0.6.3, negotiator@npm:~0.6.4": + version: 0.6.4 + resolution: "negotiator@npm:0.6.4" + checksum: 3e677139c7fb7628a6f36335bf11a885a62c21d5390204590a1a214a5631fcbe5ea74ef6a610b60afe84b4d975cbe0566a23f20ee17c77c73e74b80032108dea + languageName: node + linkType: hard + +"negotiator@npm:^1.0.0": + version: 1.0.0 + resolution: "negotiator@npm:1.0.0" + checksum: 4c559dd52669ea48e1914f9d634227c561221dd54734070791f999c52ed0ff36e437b2e07d5c1f6e32909fc625fe46491c16e4a8f0572567d4dd15c3a4fda04b + languageName: node + linkType: hard + "netmask@npm:^2.0.2": version: 2.0.2 resolution: "netmask@npm:2.0.2" @@ -11392,13 +10918,6 @@ __metadata: languageName: node linkType: hard -"nice-try@npm:^1.0.4": - version: 1.0.5 - resolution: "nice-try@npm:1.0.5" - checksum: 95568c1b73e1d0d4069a3e3061a2102d854513d37bcfda73300015b7ba4868d3b27c198d1dbbd8ebdef4112fc2ed9e895d4a0f2e1cce0bd334f2a1346dc9205f - languageName: node - linkType: hard - "no-case@npm:^3.0.4": version: 3.0.4 resolution: "no-case@npm:3.0.4" @@ -11409,7 +10928,7 @@ __metadata: languageName: node linkType: hard -"node-emoji@npm:^2.1.3, node-emoji@npm:^2.2.0": +"node-emoji@npm:^2.2.0": version: 2.2.0 resolution: "node-emoji@npm:2.2.0" dependencies: @@ -11435,9 +10954,9 @@ __metadata: languageName: node linkType: hard -"node-gyp@npm:^10.0.1, node-gyp@npm:latest": - version: 10.0.1 - resolution: "node-gyp@npm:10.0.1" +"node-gyp@npm:^10.2.0": + version: 10.3.1 + resolution: "node-gyp@npm:10.3.1" dependencies: env-paths: "npm:^2.2.0" exponential-backoff: "npm:^3.1.1" @@ -11445,13 +10964,33 @@ __metadata: graceful-fs: "npm:^4.2.6" make-fetch-happen: "npm:^13.0.0" nopt: "npm:^7.0.0" - proc-log: "npm:^3.0.0" + proc-log: "npm:^4.1.0" semver: "npm:^7.3.5" - tar: "npm:^6.1.2" + tar: "npm:^6.2.1" which: "npm:^4.0.0" bin: node-gyp: bin/node-gyp.js - checksum: abddfff7d873312e4ed4a5fb75ce893a5c4fb69e7fcb1dfa71c28a6b92a7f1ef6b62790dffb39181b5a82728ba8f2f32d229cf8cbe66769fe02cea7db4a555aa + checksum: 87c3b50e1f6f5256b5d2879a8c064eefa53ed444bad2a20870be43bc189db7cbffe22c30af056046c6d904181d73881b1726fd391d2f6f79f89b991019f195ea + languageName: node + linkType: hard + +"node-gyp@npm:latest": + version: 11.1.0 + resolution: "node-gyp@npm:11.1.0" + dependencies: + env-paths: "npm:^2.2.0" + exponential-backoff: "npm:^3.1.1" + glob: "npm:^10.3.10" + graceful-fs: "npm:^4.2.6" + make-fetch-happen: "npm:^14.0.3" + nopt: "npm:^8.0.0" + proc-log: "npm:^5.0.0" + semver: "npm:^7.3.5" + tar: "npm:^7.4.3" + which: "npm:^5.0.0" + bin: + node-gyp: bin/node-gyp.js + checksum: c38977ce502f1ea41ba2b8721bd5b49bc3d5b3f813eabfac8414082faf0620ccb5211e15c4daecc23ed9f5e3e9cc4da00e575a0bcfc2a95a069294f2afa1e0cd languageName: node linkType: hard @@ -11463,25 +11002,24 @@ __metadata: linkType: hard "nopt@npm:^7.0.0": - version: 7.2.0 - resolution: "nopt@npm:7.2.0" + version: 7.2.1 + resolution: "nopt@npm:7.2.1" dependencies: abbrev: "npm:^2.0.0" bin: nopt: bin/nopt.js - checksum: 9bd7198df6f16eb29ff16892c77bcf7f0cc41f9fb5c26280ac0def2cf8cf319f3b821b3af83eba0e74c85807cc430a16efe0db58fe6ae1f41e69519f585b6aff + checksum: a069c7c736767121242037a22a788863accfa932ab285a1eb569eb8cd534b09d17206f68c37f096ae785647435e0c5a5a0a67b42ec743e481a455e5ae6a6df81 languageName: node linkType: hard -"normalize-package-data@npm:^2.5.0": - version: 2.5.0 - resolution: "normalize-package-data@npm:2.5.0" +"nopt@npm:^8.0.0": + version: 8.1.0 + resolution: "nopt@npm:8.1.0" dependencies: - hosted-git-info: "npm:^2.1.4" - resolve: "npm:^1.10.0" - semver: "npm:2 || 3 || 4 || 5" - validate-npm-package-license: "npm:^3.0.1" - checksum: 357cb1646deb42f8eb4c7d42c4edf0eec312f3628c2ef98501963cc4bbe7277021b2b1d977f982b2edce78f5a1014613ce9cf38085c3df2d76730481357ca504 + abbrev: "npm:^3.0.0" + bin: + nopt: bin/nopt.js + checksum: 62e9ea70c7a3eb91d162d2c706b6606c041e4e7b547cbbb48f8b3695af457dd6479904d7ace600856bf923dd8d1ed0696f06195c8c20f02ac87c1da0e1d315ef languageName: node linkType: hard @@ -11500,8 +11038,8 @@ __metadata: linkType: hard "npm-run-all2@npm:^6.2.2": - version: 6.2.2 - resolution: "npm-run-all2@npm:6.2.2" + version: 6.2.6 + resolution: "npm-run-all2@npm:6.2.6" dependencies: ansi-styles: "npm:^6.2.1" cross-spawn: "npm:^7.0.3" @@ -11510,12 +11048,13 @@ __metadata: pidtree: "npm:^0.6.0" read-package-json-fast: "npm:^3.0.2" shell-quote: "npm:^1.7.3" + which: "npm:^3.0.1" bin: npm-run-all: bin/npm-run-all/index.js npm-run-all2: bin/npm-run-all/index.js run-p: bin/run-p/index.js run-s: bin/run-s/index.js - checksum: b32984a1fb6b495415258f88f87269b4049c19a73a1d6e2b13e0dd36dd311a5a4d945c9fd1cc356eb10811febaa03cf1c85d04dc43decd4ab1d590b625918440 + checksum: 043b0851958b22b1910002cacd996e2ee8d45fefd3aa0f6da2795c50f1eb1d520631f993f6c8c7d28aeca73882a95b35451024fcd796c26a7907e1a1dacb0a84 languageName: node linkType: hard @@ -11556,27 +11095,20 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1, object-inspect@npm:^1.9.0": +"object-inspect@npm:^1.13.3": + version: 1.13.4 + resolution: "object-inspect@npm:1.13.4" + checksum: d7f8711e803b96ea3191c745d6f8056ce1f2496e530e6a19a0e92d89b0fa3c76d910c31f0aa270432db6bd3b2f85500a376a83aaba849a8d518c8845b3211692 + languageName: node + linkType: hard + +"object-inspect@npm:^1.9.0": version: 1.13.1 resolution: "object-inspect@npm:1.13.1" checksum: fad603f408e345c82e946abdf4bfd774260a5ed3e5997a0b057c44153ac32c7271ff19e3a5ae39c858da683ba045ccac2f65245c12763ce4e8594f818f4a648d languageName: node linkType: hard -"object-inspect@npm:^1.13.3": - version: 1.13.3 - resolution: "object-inspect@npm:1.13.3" - checksum: cc3f15213406be89ffdc54b525e115156086796a515410a8d390215915db9f23c8eab485a06f1297402f440a33715fe8f71a528c1dcbad6e1a3bcaf5a46921d4 - languageName: node - linkType: hard - -"object-keys@npm:^1.1.1": - version: 1.1.1 - resolution: "object-keys@npm:1.1.1" - checksum: b11f7ccdbc6d406d1f186cdadb9d54738e347b2692a14439ca5ac70c225fa6db46db809711b78589866d47b25fc3e8dee0b4c722ac751e11180f9380e3d8601d - languageName: node - linkType: hard - "object-treeify@npm:^1.1.20": version: 1.1.33 resolution: "object-treeify@npm:1.1.33" @@ -11584,18 +11116,6 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.4": - version: 4.1.5 - resolution: "object.assign@npm:4.1.5" - dependencies: - call-bind: "npm:^1.0.5" - define-properties: "npm:^1.2.1" - has-symbols: "npm:^1.0.3" - object-keys: "npm:^1.1.1" - checksum: 60108e1fa2706f22554a4648299b0955236c62b3685c52abf4988d14fffb0e7731e00aa8c6448397e3eb63d087dcc124a9f21e1980f36d0b2667f3c18bacd469 - languageName: node - linkType: hard - "ohash@npm:^2.0.10": version: 2.0.11 resolution: "ohash@npm:2.0.11" @@ -11628,7 +11148,7 @@ __metadata: languageName: node linkType: hard -"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": +"once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -11674,25 +11194,25 @@ __metadata: linkType: hard "openapi3-ts@npm:^4.1.2": - version: 4.1.2 - resolution: "openapi3-ts@npm:4.1.2" + version: 4.4.0 + resolution: "openapi3-ts@npm:4.4.0" dependencies: - yaml: "npm:^2.2.2" - checksum: c57712ab922a6c733ac256f0d86700ab64dc787ecd1a60ab5835550dbde99dc122f02f8ec773460ae2c64b6b68a516b33304b9bb7ef93af5c7bf157a803cf3f4 + yaml: "npm:^2.5.0" + checksum: 900b834279fc8a43c545728ad75ec7c26934ec5344225b60d1e1c0df44d742d7e7379aea18d9034e03031f079d3308ba5a68600682eece3ed41cdbdd10346a9e languageName: node linkType: hard "optionator@npm:^0.9.3": - version: 0.9.3 - resolution: "optionator@npm:0.9.3" + version: 0.9.4 + resolution: "optionator@npm:0.9.4" dependencies: - "@aashutoshrathi/word-wrap": "npm:^1.2.3" deep-is: "npm:^0.1.3" fast-levenshtein: "npm:^2.0.6" levn: "npm:^0.4.1" prelude-ls: "npm:^1.2.1" type-check: "npm:^0.4.0" - checksum: 66fba794d425b5be51353035cf3167ce6cfa049059cbb93229b819167687e0f48d2bc4603fcb21b091c99acb516aae1083624675b15c4765b2e4693a085e959c + word-wrap: "npm:^1.2.5" + checksum: 4afb687a059ee65b61df74dfe87d8d6815cd6883cb8b3d5883a910df72d0f5d029821f37025e4bccf4048873dbdb09acc6d303d27b8f76b1a80dd5a7d5334675 languageName: node linkType: hard @@ -11727,10 +11247,10 @@ __metadata: languageName: node linkType: hard -"outvariant@npm:^1.2.1, outvariant@npm:^1.4.0": - version: 1.4.2 - resolution: "outvariant@npm:1.4.2" - checksum: 48041425a4cb725ff8871b7d9889bfc2eaded867b9b35b6c2450a36fb3632543173098654990caa6c9e9f67d902b2a01f4402c301835e9ecaf4b4695d3161853 +"outvariant@npm:^1.4.0, outvariant@npm:^1.4.3": + version: 1.4.3 + resolution: "outvariant@npm:1.4.3" + checksum: 5976ca7740349cb8c71bd3382e2a762b1aeca6f33dc984d9d896acdf3c61f78c3afcf1bfe9cc633a7b3c4b295ec94d292048f83ea2b2594fae4496656eba992c languageName: node linkType: hard @@ -11820,6 +11340,13 @@ __metadata: languageName: node linkType: hard +"p-map@npm:^7.0.2": + version: 7.0.3 + resolution: "p-map@npm:7.0.3" + checksum: 46091610da2b38ce47bcd1d8b4835a6fa4e832848a6682cf1652bc93915770f4617afc844c10a77d1b3e56d2472bb2d5622353fa3ead01a7f42b04fc8e744a5c + languageName: node + linkType: hard + "p-throttle@npm:^7.0.0": version: 7.0.0 resolution: "p-throttle@npm:7.0.0" @@ -11834,23 +11361,23 @@ __metadata: languageName: node linkType: hard -"pac-proxy-agent@npm:^7.0.1": - version: 7.0.1 - resolution: "pac-proxy-agent@npm:7.0.1" +"pac-proxy-agent@npm:^7.1.0": + version: 7.2.0 + resolution: "pac-proxy-agent@npm:7.2.0" dependencies: "@tootallnate/quickjs-emscripten": "npm:^0.23.0" - agent-base: "npm:^7.0.2" + agent-base: "npm:^7.1.2" debug: "npm:^4.3.4" get-uri: "npm:^6.0.1" http-proxy-agent: "npm:^7.0.0" - https-proxy-agent: "npm:^7.0.2" - pac-resolver: "npm:^7.0.0" - socks-proxy-agent: "npm:^8.0.2" - checksum: 95b07e2a409511262d6e29be3d50f2e18ac387ef99664687ab4e92741d1d20fae97309722c37841583b024d1cde1790dd263a9b915d5241751b77f1e8003c418 + https-proxy-agent: "npm:^7.0.6" + pac-resolver: "npm:^7.0.1" + socks-proxy-agent: "npm:^8.0.5" + checksum: 0265c17c9401c2ea735697931a6553a0c6d8b20c4d7d4e3b3a0506080ba69a8d5ad656e2a6be875411212e2b6ed7a4d9526dd3997e08581fdfb1cbcad454c296 languageName: node linkType: hard -"pac-resolver@npm:^7.0.0": +"pac-resolver@npm:^7.0.1": version: 7.0.1 resolution: "pac-resolver@npm:7.0.1" dependencies: @@ -11867,14 +11394,7 @@ __metadata: languageName: node linkType: hard -"package-manager-detector@npm:^0.2.0": - version: 0.2.7 - resolution: "package-manager-detector@npm:0.2.7" - checksum: 0ea19abf11e251c3bffe2698450a4a2a5658528b88151943eff01c5f4b9bdc848abc96588c1fe5f01618887cf1154d6e72eb28edb263e46178397aa6ebd58ff0 - languageName: node - linkType: hard - -"package-manager-detector@npm:^0.2.9": +"package-manager-detector@npm:^0.2.0, package-manager-detector@npm:^0.2.9": version: 0.2.11 resolution: "package-manager-detector@npm:0.2.11" dependencies: @@ -11893,30 +11413,17 @@ __metadata: linkType: hard "parse-entities@npm:^4.0.0": - version: 4.0.1 - resolution: "parse-entities@npm:4.0.1" + version: 4.0.2 + resolution: "parse-entities@npm:4.0.2" dependencies: "@types/unist": "npm:^2.0.0" - character-entities: "npm:^2.0.0" character-entities-legacy: "npm:^3.0.0" character-reference-invalid: "npm:^2.0.0" decode-named-character-reference: "npm:^1.0.0" is-alphanumerical: "npm:^2.0.0" is-decimal: "npm:^2.0.0" is-hexadecimal: "npm:^2.0.0" - checksum: 9dfa3b0dc43a913c2558c4bd625b1abcc2d6c6b38aa5724b141ed988471977248f7ad234eed57e1bc70b694dd15b0d710a04f66c2f7c096e35abd91962b7d926 - languageName: node - linkType: hard - -"parse-json@npm:^5.0.0": - version: 5.2.0 - resolution: "parse-json@npm:5.2.0" - dependencies: - "@babel/code-frame": "npm:^7.0.0" - error-ex: "npm:^1.3.1" - json-parse-even-better-errors: "npm:^2.3.0" - lines-and-columns: "npm:^1.1.6" - checksum: 77947f2253005be7a12d858aedbafa09c9ae39eb4863adf330f7b416ca4f4a08132e453e08de2db46459256fb66afaac5ee758b44fe6541b7cdaf9d252e59585 + checksum: a13906b1151750b78ed83d386294066daf5fb559e08c5af9591b2d98cc209123103016a01df776f65f8219ad26652d6d6b210d0974d452049cddfc53a8916c34 languageName: node linkType: hard @@ -11943,7 +11450,7 @@ __metadata: languageName: node linkType: hard -"parseurl@npm:~1.3.3": +"parseurl@npm:^1.3.3, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" checksum: 90dd4760d6f6174adb9f20cf0965ae12e23879b5f5464f38e92fce8073354341e4b3b76fa3d878351efe7d01e617121955284cfd002ab087fba1a0726ec0b4f5 @@ -11964,20 +11471,6 @@ __metadata: languageName: node linkType: hard -"path-is-absolute@npm:^1.0.0": - version: 1.0.1 - resolution: "path-is-absolute@npm:1.0.1" - checksum: 127da03c82172a2a50099cddbf02510c1791fc2cc5f7713ddb613a56838db1e8168b121a920079d052e0936c23005562059756d653b7c544c53185efe53be078 - languageName: node - linkType: hard - -"path-key@npm:^2.0.1": - version: 2.0.1 - resolution: "path-key@npm:2.0.1" - checksum: dd2044f029a8e58ac31d2bf34c34b93c3095c1481942960e84dd2faa95bbb71b9b762a106aead0646695330936414b31ca0bd862bf488a937ad17c8c5d73b32b - languageName: node - linkType: hard - "path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" @@ -12012,33 +11505,26 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:0.1.7": - version: 0.1.7 - resolution: "path-to-regexp@npm:0.1.7" - checksum: 50a1ddb1af41a9e68bd67ca8e331a705899d16fb720a1ea3a41e310480948387daf603abb14d7b0826c58f10146d49050a1291ba6a82b78a382d1c02c0b8f905 +"path-to-regexp@npm:0.1.12": + version: 0.1.12 + resolution: "path-to-regexp@npm:0.1.12" + checksum: 1c6ff10ca169b773f3bba943bbc6a07182e332464704572962d277b900aeee81ac6aa5d060ff9e01149636c30b1f63af6e69dd7786ba6e0ddb39d4dee1f0645b languageName: node linkType: hard -"path-to-regexp@npm:6.3.0": +"path-to-regexp@npm:6.3.0, path-to-regexp@npm:^6.3.0": version: 6.3.0 resolution: "path-to-regexp@npm:6.3.0" checksum: 73b67f4638b41cde56254e6354e46ae3a2ebc08279583f6af3d96fe4664fc75788f74ed0d18ca44fa4a98491b69434f9eee73b97bb5314bd1b5adb700f5c18d6 languageName: node linkType: hard -"path-to-regexp@npm:^1.8.0": - version: 1.8.0 - resolution: "path-to-regexp@npm:1.8.0" +"path-to-regexp@npm:^1.9.0": + version: 1.9.0 + resolution: "path-to-regexp@npm:1.9.0" dependencies: isarray: "npm:0.0.1" - checksum: 7b25d6f27a8de03f49406d16195450f5ced694398adea1510b0f949d9660600d1769c5c6c83668583b7e6b503f3caf1ede8ffc08135dbe3e982f034f356fbb5c - languageName: node - linkType: hard - -"path-to-regexp@npm:^6.2.0": - version: 6.2.1 - resolution: "path-to-regexp@npm:6.2.1" - checksum: 7a73811ca703e5c199e5b50b9649ab8f6f7b458a37f7dff9ea338815203f5b1f95fe8cb24d4fdfe2eab5d67ce43562d92534330babca35cdf3231f966adb9360 + checksum: de9ddb01b84d9c2c8e2bed18630d8d039e2d6f60a6538595750fa08c7a6482512257464c8da50616f266ab2cdd2428387e85f3b089e4c3f25d0c537e898a0751 languageName: node linkType: hard @@ -12077,17 +11563,6 @@ __metadata: languageName: node linkType: hard -"periscopic@npm:^3.0.0": - version: 3.1.0 - resolution: "periscopic@npm:3.1.0" - dependencies: - "@types/estree": "npm:^1.0.0" - estree-walker: "npm:^3.0.0" - is-reference: "npm:^3.0.0" - checksum: fb5ce7cd810c49254cdf1cd3892811e6dd1a1dfbdf5f10a0a33fb7141baac36443c4cad4f0e2b30abd4eac613f6ab845c2bc1b7ce66ae9694c7321e6ada5bd96 - languageName: node - linkType: hard - "pg-cloudflare@npm:^1.1.1": version: 1.1.1 resolution: "pg-cloudflare@npm:1.1.1" @@ -12109,19 +11584,19 @@ __metadata: languageName: node linkType: hard -"pg-pool@npm:^3.7.0": - version: 3.7.0 - resolution: "pg-pool@npm:3.7.0" +"pg-pool@npm:^3.8.0": + version: 3.8.0 + resolution: "pg-pool@npm:3.8.0" peerDependencies: pg: ">=8.0" - checksum: 9128673cf941f288c0cb1a74ca959a9b4f6075ef73b2cc7dece5d4db3dd7043784869e7c12bce2e69ca0df22132a419cc45c2050b4373632856fe8bae9eb94b5 + checksum: c05287b0caafeab43807e6ad22d153c09c473dbeb5b2cea13b83102376e9a56f46b91fa9adf9d53885ce198280c6a95555390987c42b3858d1936d3e0cdc83aa languageName: node linkType: hard -"pg-protocol@npm:^1.7.0": - version: 1.7.0 - resolution: "pg-protocol@npm:1.7.0" - checksum: c4af854d9b843c808231c0040fed89f2b9101006157df8da2bb2f62a7dde702de748d852228dc22df41cc7ffddfb526af3bcb34b278b581e9f76a060789186c1 +"pg-protocol@npm:^1.8.0": + version: 1.8.0 + resolution: "pg-protocol@npm:1.8.0" + checksum: 2be784955599d84b564795952cee52cc2b8eab0be43f74fc1061506353801e282c1d52c9e0691a9b72092c1f3fde370e9b181e80fef6bb82a9b8d1618bfa91e6 languageName: node linkType: hard @@ -12139,13 +11614,13 @@ __metadata: linkType: hard "pg@npm:^8.11.3": - version: 8.13.1 - resolution: "pg@npm:8.13.1" + version: 8.14.1 + resolution: "pg@npm:8.14.1" dependencies: pg-cloudflare: "npm:^1.1.1" pg-connection-string: "npm:^2.7.0" - pg-pool: "npm:^3.7.0" - pg-protocol: "npm:^1.7.0" + pg-pool: "npm:^3.8.0" + pg-protocol: "npm:^1.8.0" pg-types: "npm:^2.1.0" pgpass: "npm:1.x" peerDependencies: @@ -12156,7 +11631,7 @@ __metadata: peerDependenciesMeta: pg-native: optional: true - checksum: c13bc661cbdb115337bc8519254836faf4bd79106dfd7ed588c8ece8c8b2dd3b7376bfec9a9a2f7646fa095b0b310cec77a83c3ba2ea4872331446eb93fd9055 + checksum: 221741cfcea4ab32c8b57bd60703bc36cfb5622dcac56c19e45f504ef8669f2f2e0429af8850f58079cfc89055da35b5a5e12de19e0505e3f61a4b4349388dcb languageName: node linkType: hard @@ -12169,14 +11644,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0": - version: 1.0.0 - resolution: "picocolors@npm:1.0.0" - checksum: 20a5b249e331c14479d94ec6817a182fd7a5680debae82705747b2db7ec50009a5f6648d0621c561b0572703f84dbef0858abcbd5856d3c5511426afcb1961f7 - languageName: node - linkType: hard - -"picocolors@npm:^1.1.1": +"picocolors@npm:^1.0.0, picocolors@npm:^1.1.0, picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" checksum: e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 @@ -12220,15 +11688,6 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:^4.2.0": - version: 4.2.0 - resolution: "pkg-dir@npm:4.2.0" - dependencies: - find-up: "npm:^4.0.0" - checksum: c56bda7769e04907a88423feb320babaed0711af8c436ce3e56763ab1021ba107c7b0cafb11cde7529f669cfc22bffcaebffb573645cbd63842ea9fb17cd7728 - languageName: node - linkType: hard - "pkg-dir@npm:^7.0.0": version: 7.0.0 resolution: "pkg-dir@npm:7.0.0" @@ -12249,14 +11708,24 @@ __metadata: languageName: node linkType: hard -"portfinder@npm:^1.0.32": - version: 1.0.32 - resolution: "portfinder@npm:1.0.32" +"pkg-types@npm:^2.1.0": + version: 2.1.0 + resolution: "pkg-types@npm:2.1.0" dependencies: - async: "npm:^2.6.4" - debug: "npm:^3.2.7" - mkdirp: "npm:^0.5.6" - checksum: cef8b567b78aabccc59fe8e103bac8b394bb45a6a69be626608f099f454124c775aaf47b274c006332c07ab3f501cde55e49aaeb9d49d78d90362d776a565cbf + confbox: "npm:^0.2.1" + exsolve: "npm:^1.0.1" + pathe: "npm:^2.0.3" + checksum: 7729d0a2367ba0aa2caf0f84a6ff0b73b13f4e9a3d62c229ddfa6d45d1f3898f590acdbaa64d779d56737d4ebea2d085961efd59094b8adf8baa34d829599b75 + languageName: node + linkType: hard + +"portfinder@npm:^1.0.32": + version: 1.0.35 + resolution: "portfinder@npm:1.0.35" + dependencies: + async: "npm:^3.2.6" + debug: "npm:^4.3.6" + checksum: bdc3653bf7f8e6f83464812fba8cb26abdb1a7d3d4977199f6edd857a1697c829d5ac4342b626590619efbbddc9916a1847145812d32bb0d2457ee6e895f9082 languageName: node linkType: hard @@ -12283,18 +11752,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.32": - version: 8.4.32 - resolution: "postcss@npm:8.4.32" - dependencies: - nanoid: "npm:^3.3.7" - picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 39308a9195fa34d4dbdd7b58a896cff0c7809f84f7a4ac1b95b68ca86c9138a395addff33075668ed3983d41b90aac05754c445237a9365eb1c3a5602ebd03ad - languageName: node - linkType: hard - -"postcss@npm:^8.5.3": +"postcss@npm:^8.4.43, postcss@npm:^8.5.3": version: 8.5.3 resolution: "postcss@npm:8.5.3" dependencies: @@ -12353,18 +11811,6 @@ __metadata: languageName: node linkType: hard -"preferred-pm@npm:^3.0.0": - version: 3.1.2 - resolution: "preferred-pm@npm:3.1.2" - dependencies: - find-up: "npm:^5.0.0" - find-yarn-workspace-root2: "npm:1.2.16" - path-exists: "npm:^4.0.0" - which-pm: "npm:2.0.0" - checksum: 0c1a876461d41ddd8c5ecdcb4be2b8c93b408857c8b7ff7a14312920301b7458061d620b476da90e16b27a2d7d19688a51bdeddf200557ad1d925658f05796f8 - languageName: node - linkType: hard - "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -12382,11 +11828,11 @@ __metadata: linkType: hard "prettier@npm:^3.2.5": - version: 3.2.5 - resolution: "prettier@npm:3.2.5" + version: 3.5.3 + resolution: "prettier@npm:3.5.3" bin: prettier: bin/prettier.cjs - checksum: ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6 + checksum: 3880cb90b9dc0635819ab52ff571518c35bd7f15a6e80a2054c05dbc8a3aa6e74f135519e91197de63705bcb38388ded7e7230e2178432a1468005406238b877 languageName: node linkType: hard @@ -12404,10 +11850,17 @@ __metadata: languageName: node linkType: hard -"proc-log@npm:^3.0.0": - version: 3.0.0 - resolution: "proc-log@npm:3.0.0" - checksum: f66430e4ff947dbb996058f6fd22de2c66612ae1a89b097744e17fb18a4e8e7a86db99eda52ccf15e53f00b63f4ec0b0911581ff2aac0355b625c8eac509b0dc +"proc-log@npm:^4.1.0, proc-log@npm:^4.2.0": + version: 4.2.0 + resolution: "proc-log@npm:4.2.0" + checksum: 17db4757c2a5c44c1e545170e6c70a26f7de58feb985091fb1763f5081cab3d01b181fb2dd240c9f4a4255a1d9227d163d5771b7e69c9e49a561692db865efb9 + languageName: node + linkType: hard + +"proc-log@npm:^5.0.0": + version: 5.0.0 + resolution: "proc-log@npm:5.0.0" + checksum: bbe5edb944b0ad63387a1d5b1911ae93e05ce8d0f60de1035b218cdcceedfe39dbd2c697853355b70f1a090f8f58fe90da487c85216bf9671f9499d1a897e9e3 languageName: node linkType: hard @@ -12433,12 +11886,12 @@ __metadata: linkType: hard "prom-client@npm:^15.0.0": - version: 15.1.0 - resolution: "prom-client@npm:15.1.0" + version: 15.1.3 + resolution: "prom-client@npm:15.1.3" dependencies: "@opentelemetry/api": "npm:^1.4.0" tdigest: "npm:^0.1.1" - checksum: c10781adbf49225298e44da5396a51a0bd4d0cddc3c7e237ba50e888e12ead26a8f98261f362a442f1bbcdaddd6e7302d5675b37beac67ea9b6f82e4d39fb3cc + checksum: 816525572e5799a2d1d45af78512fb47d073c842dc899c446e94d17cfc343d04282a1627c488c7ca1bcd47f766446d3e49365ab7249f6d9c22c7664a5bce7021 languageName: node linkType: hard @@ -12466,10 +11919,10 @@ __metadata: languageName: node linkType: hard -"property-information@npm:^6.0.0": - version: 6.4.0 - resolution: "property-information@npm:6.4.0" - checksum: 48ba202f12c6abc82d37135452377dd528fae90a151bcffb28582d58d9db6e42ce835c91e2fcb12e875200b32bcaed90de4807dfb37c687f7cccf2597ccb55e1 +"property-information@npm:^7.0.0": + version: 7.0.0 + resolution: "property-information@npm:7.0.0" + checksum: bf443e3bbdfc154da8f4ff4c85ed97c3d21f5e5f77cce84d2fd653c6dfb974a75ad61eafbccb2b8d2285942be35d763eaa99d51e29dccc28b40917d3f018107e languageName: node linkType: hard @@ -12520,18 +11973,18 @@ __metadata: linkType: hard "proxy-agent@npm:^6.3.0": - version: 6.4.0 - resolution: "proxy-agent@npm:6.4.0" + version: 6.5.0 + resolution: "proxy-agent@npm:6.5.0" dependencies: - agent-base: "npm:^7.0.2" + agent-base: "npm:^7.1.2" debug: "npm:^4.3.4" http-proxy-agent: "npm:^7.0.1" - https-proxy-agent: "npm:^7.0.3" + https-proxy-agent: "npm:^7.0.6" lru-cache: "npm:^7.14.1" - pac-proxy-agent: "npm:^7.0.1" + pac-proxy-agent: "npm:^7.1.0" proxy-from-env: "npm:^1.1.0" - socks-proxy-agent: "npm:^8.0.2" - checksum: 0c5b85cacf67eec9d8add025a5e577b2c895672e4187079ec41b0ee2a6dacd90e69a837936cb3ac141dd92b05b50a325b9bfe86ab0dc3b904011aa3bcf406fc0 + socks-proxy-agent: "npm:^8.0.5" + checksum: 7fd4e6f36bf17098a686d4aee3b8394abfc0b0537c2174ce96b0a4223198b9fafb16576c90108a3fcfc2af0168bd7747152bfa1f58e8fee91d3780e79aab7fd8 languageName: node linkType: hard @@ -12542,10 +11995,12 @@ __metadata: languageName: node linkType: hard -"pseudomap@npm:^1.0.2": - version: 1.0.2 - resolution: "pseudomap@npm:1.0.2" - checksum: 5a91ce114c64ed3a6a553aa7d2943868811377388bb31447f9d8028271bae9b05b340fe0b6961a64e45b9c72946aeb0a4ab635e8f7cb3715ffd0ff2beeb6a679 +"psl@npm:^1.1.33": + version: 1.15.0 + resolution: "psl@npm:1.15.0" + dependencies: + punycode: "npm:^2.3.1" + checksum: d8d45a99e4ca62ca12ac3c373e63d80d2368d38892daa40cfddaa1eb908be98cd549ac059783ef3a56cfd96d57ae8e2fd9ae53d1378d90d42bc661ff924e102a languageName: node linkType: hard @@ -12564,23 +12019,16 @@ __metadata: linkType: hard "pump@npm:^3.0.0": - version: 3.0.0 - resolution: "pump@npm:3.0.0" + version: 3.0.2 + resolution: "pump@npm:3.0.2" dependencies: end-of-stream: "npm:^1.1.0" once: "npm:^1.3.1" - checksum: bbdeda4f747cdf47db97428f3a135728669e56a0ae5f354a9ac5b74556556f5446a46f720a8f14ca2ece5be9b4d5d23c346db02b555f46739934cc6c093a5478 + checksum: 5ad655cb2a7738b4bcf6406b24ad0970d680649d996b55ad20d1be8e0c02394034e4c45ff7cd105d87f1e9b96a0e3d06fd28e11fae8875da26e7f7a8e2c9726f languageName: node linkType: hard -"punycode@npm:^1.3.2": - version: 1.4.1 - resolution: "punycode@npm:1.4.1" - checksum: 354b743320518aef36f77013be6e15da4db24c2b4f62c5f1eb0529a6ed02fbaf1cb52925785f6ab85a962f2b590d9cd5ad730b70da72b5f180e2556b8bd3ca08 - languageName: node - linkType: hard - -"punycode@npm:^2.1.0": +"punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.1": version: 2.3.1 resolution: "punycode@npm:2.3.1" checksum: 14f76a8206bc3464f794fb2e3d3cc665ae416c01893ad7a02b23766eb07159144ee612ad67af5e84fa4479ccfe67678c4feb126b0485651b302babf66f04f9e9 @@ -12612,12 +12060,21 @@ __metadata: languageName: node linkType: hard -"qs@npm:^6.6.0": - version: 6.11.2 - resolution: "qs@npm:6.11.2" +"qs@npm:6.13.0": + version: 6.13.0 + resolution: "qs@npm:6.13.0" dependencies: - side-channel: "npm:^1.0.4" - checksum: 4f95d4ff18ed480befcafa3390022817ffd3087fc65f146cceb40fc5edb9fa96cb31f648cae2fa96ca23818f0798bd63ad4ca369a0e22702fcd41379b3ab6571 + side-channel: "npm:^1.0.6" + checksum: 62372cdeec24dc83a9fb240b7533c0fdcf0c5f7e0b83343edd7310f0ab4c8205a5e7c56406531f2e47e1b4878a3821d652be4192c841de5b032ca83619d8f860 + languageName: node + linkType: hard + +"qs@npm:^6.6.0": + version: 6.14.0 + resolution: "qs@npm:6.14.0" + dependencies: + side-channel: "npm:^1.1.0" + checksum: 8ea5d91bf34f440598ee389d4a7d95820e3b837d3fd9f433871f7924801becaa0cd3b3b4628d49a7784d06a8aea9bc4554d2b6d8d584e2d221dc06238a42909c languageName: node linkType: hard @@ -12637,6 +12094,13 @@ __metadata: languageName: node linkType: hard +"querystringify@npm:^2.1.1": + version: 2.2.0 + resolution: "querystringify@npm:2.2.0" + checksum: 3258bc3dbdf322ff2663619afe5947c7926a6ef5fb78ad7d384602974c467fadfc8272af44f5eb8cddd0d011aae8fabf3a929a8eee4b86edcc0a21e6bd10f9aa + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -12644,20 +12108,6 @@ __metadata: languageName: node linkType: hard -"queue-tick@npm:^1.0.1": - version: 1.0.1 - resolution: "queue-tick@npm:1.0.1" - checksum: 0db998e2c9b15215317dbcf801e9b23e6bcde4044e115155dae34f8e7454b9a783f737c9a725528d677b7a66c775eb7a955cf144fe0b87f62b575ce5bfd515a9 - languageName: node - linkType: hard - -"quick-lru@npm:^4.0.1": - version: 4.0.1 - resolution: "quick-lru@npm:4.0.1" - checksum: f9b1596fa7595a35c2f9d913ac312fede13d37dc8a747a51557ab36e11ce113bbe88ef4c0154968845559a7709cb6a7e7cbe75f7972182451cd45e7f057a334d - languageName: node - linkType: hard - "railroad-diagrams@npm:^1.0.0": version: 1.0.0 resolution: "railroad-diagrams@npm:1.0.0" @@ -12692,18 +12142,6 @@ __metadata: languageName: node linkType: hard -"raw-body@npm:2.5.1": - version: 2.5.1 - resolution: "raw-body@npm:2.5.1" - dependencies: - bytes: "npm:3.1.2" - http-errors: "npm:2.0.0" - iconv-lite: "npm:0.4.24" - unpipe: "npm:1.0.0" - checksum: 5dad5a3a64a023b894ad7ab4e5c7c1ce34d3497fc7138d02f8c88a3781e68d8a55aa7d4fd3a458616fa8647cc228be314a1c03fb430a07521de78b32c4dd09d2 - languageName: node - linkType: hard - "raw-body@npm:2.5.2, raw-body@npm:^2.3.3": version: 2.5.2 resolution: "raw-body@npm:2.5.2" @@ -12731,34 +12169,34 @@ __metadata: linkType: hard "re2@npm:^1.17.7": - version: 1.20.9 - resolution: "re2@npm:1.20.9" + version: 1.21.4 + resolution: "re2@npm:1.21.4" dependencies: install-artifact-from-github: "npm:^1.3.5" - nan: "npm:^2.18.0" - node-gyp: "npm:^10.0.1" - checksum: 45c566e71bee8b284ed7880bdeaadcc362a89fb4a58ec11b714502f4d20422c1487d05750c8c5ee98eb0a3fbbade2917a37a07202079a8dc56e1fc64d41b01ee + nan: "npm:^2.20.0" + node-gyp: "npm:^10.2.0" + checksum: 729d2c190aa94d4f80e3492d259bff3fa0ec8232b78f9b5effa84d71ab734da856f2209af47dd1382bffe3720704a7de9096e3d34c88933f7d1257d5531c276e languageName: node linkType: hard "react-dom@npm:^18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" + version: 18.3.1 + resolution: "react-dom@npm:18.3.1" dependencies: loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.0" + scheduler: "npm:^0.23.2" peerDependencies: - react: ^18.2.0 - checksum: 66dfc5f93e13d0674e78ef41f92ed21dfb80f9c4ac4ac25a4b51046d41d4d2186abc915b897f69d3d0ebbffe6184e7c5876f2af26bfa956f179225d921be713a + react: ^18.3.1 + checksum: a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 languageName: node linkType: hard "react@npm:^18.2.0": - version: 18.2.0 - resolution: "react@npm:18.2.0" + version: 18.3.1 + resolution: "react@npm:18.3.1" dependencies: loose-envify: "npm:^1.1.0" - checksum: b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8 + checksum: 283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 languageName: node linkType: hard @@ -12772,29 +12210,6 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:^7.0.1": - version: 7.0.1 - resolution: "read-pkg-up@npm:7.0.1" - dependencies: - find-up: "npm:^4.1.0" - read-pkg: "npm:^5.2.0" - type-fest: "npm:^0.8.1" - checksum: 82b3ac9fd7c6ca1bdc1d7253eb1091a98ff3d195ee0a45386582ce3e69f90266163c34121e6a0a02f1630073a6c0585f7880b3865efcae9c452fa667f02ca385 - languageName: node - linkType: hard - -"read-pkg@npm:^5.2.0": - version: 5.2.0 - resolution: "read-pkg@npm:5.2.0" - dependencies: - "@types/normalize-package-data": "npm:^2.4.0" - normalize-package-data: "npm:^2.5.0" - parse-json: "npm:^5.0.0" - type-fest: "npm:^0.6.0" - checksum: b51a17d4b51418e777029e3a7694c9bd6c578a5ab99db544764a0b0f2c7c0f58f8a6bc101f86a6fceb8ba6d237d67c89acf6170f6b98695d0420ddc86cf109fb - languageName: node - linkType: hard - "read-yaml-file@npm:^1.1.0": version: 1.1.0 resolution: "read-yaml-file@npm:1.1.0" @@ -12822,7 +12237,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": +"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.2": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -12834,15 +12249,15 @@ __metadata: linkType: hard "readable-stream@npm:^4.0.0": - version: 4.6.0 - resolution: "readable-stream@npm:4.6.0" + version: 4.7.0 + resolution: "readable-stream@npm:4.7.0" dependencies: abort-controller: "npm:^3.0.0" buffer: "npm:^6.0.3" events: "npm:^3.3.0" process: "npm:^0.11.10" string_decoder: "npm:^1.3.0" - checksum: 0dcc6fdb433c0e6c4b03950f72e43b94c2aead42367ae5453997ffffcdcee2277003da545175ee11db08917e97ec709c9d19c6576e0888d0315b239da0f9913a + checksum: fd86d068da21cfdb10f7a4479f2e47d9c0a9b0c862fc0c840a7e5360201580a55ac399c764b12a4f6fa291f8cee74d9c4b7562e0d53b3c4b2769f2c98155d957 languageName: node linkType: hard @@ -12856,9 +12271,9 @@ __metadata: linkType: hard "readdirp@npm:^4.0.1": - version: 4.0.2 - resolution: "readdirp@npm:4.0.2" - checksum: a16ecd8ef3286dcd90648c3b103e3826db2b766cdb4a988752c43a83f683d01c7059158d623cbcd8bdfb39e65d302d285be2d208e7d9f34d022d912b929217dd + version: 4.1.2 + resolution: "readdirp@npm:4.1.2" + checksum: 60a14f7619dec48c9c850255cd523e2717001b0e179dc7037cfa0895da7b9e9ab07532d324bfb118d73a710887d1e35f79c495fa91582784493e085d18c72c62 languageName: node linkType: hard @@ -12871,13 +12286,51 @@ __metadata: languageName: node linkType: hard -"redent@npm:^3.0.0": - version: 3.0.0 - resolution: "redent@npm:3.0.0" +"recma-build-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-build-jsx@npm:1.0.0" dependencies: - indent-string: "npm:^4.0.0" - strip-indent: "npm:^3.0.0" - checksum: d64a6b5c0b50eb3ddce3ab770f866658a2b9998c678f797919ceb1b586bab9259b311407280bd80b804e2a7c7539b19238ae6a2a20c843f1a7fcff21d48c2eae + "@types/estree": "npm:^1.0.0" + estree-util-build-jsx: "npm:^3.0.0" + vfile: "npm:^6.0.0" + checksum: ca30f5163887b44c74682355da2625f7b49f33267699d22247913e513e043650cbdd6a7497cf13c60f09ad9e7bc2bd35bd20853672773c19188569814b56bb04 + languageName: node + linkType: hard + +"recma-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-jsx@npm:1.0.0" + dependencies: + acorn-jsx: "npm:^5.0.0" + estree-util-to-js: "npm:^2.0.0" + recma-parse: "npm:^1.0.0" + recma-stringify: "npm:^1.0.0" + unified: "npm:^11.0.0" + checksum: 26c2af6dd69336c810468b778be1e4cbac5702cf9382454f17c29cf9b03a4fde47d10385bb26a7ccb34f36fe01af34c24cab9fb0deeed066ea53294be0081f07 + languageName: node + linkType: hard + +"recma-parse@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-parse@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + esast-util-from-js: "npm:^2.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: 37c0990859a562d082e02d475ca5f4c8ef0840d285270f6699fe888cbb06260f97eb098585eda4aae416182c207fd19cf05e4f0b2dcf55cbf81dde4406d95545 + languageName: node + linkType: hard + +"recma-stringify@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-stringify@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + estree-util-to-js: "npm:^2.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: c2ed4c0e8cf8a09aedcd47c5d016d47f6e1ff6c2d4b220e2abaf1b77713bf404756af2ea3ea7999aec5862e8825aff035edceb370c7fd8603a7e9da03bd6987e languageName: node linkType: hard @@ -12895,23 +12348,12 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.1": - version: 1.5.1 - resolution: "regexp.prototype.flags@npm:1.5.1" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - set-function-name: "npm:^2.0.0" - checksum: 1de7d214c0a726c7c874a7023e47b0e27b9f7fdb64175bfe1861189de1704aaeca05c3d26c35aa375432289b99946f3cf86651a92a8f7601b90d8c226a23bcd8 - languageName: node - linkType: hard - "registry-auth-token@npm:^5.0.1": - version: 5.0.2 - resolution: "registry-auth-token@npm:5.0.2" + version: 5.1.0 + resolution: "registry-auth-token@npm:5.1.0" dependencies: "@pnpm/npm-conf": "npm:^2.1.0" - checksum: 20fc2225681cc54ae7304b31ebad5a708063b1949593f02dfe5fb402bc1fc28890cecec6497ea396ba86d6cca8a8480715926dfef8cf1f2f11e6f6cc0a1b4bde + checksum: 316229bd8a4acc29a362a7a3862ff809e608256f0fd9e0b133412b43d6a9ea18743756a0ec5ee1467a5384e1023602b85461b3d88d1336b11879e42f7cf02c12 languageName: node linkType: hard @@ -12924,36 +12366,49 @@ __metadata: languageName: node linkType: hard -"remark-mdx@npm:^2.0.0": - version: 2.3.0 - resolution: "remark-mdx@npm:2.3.0" +"rehype-recma@npm:^1.0.0": + version: 1.0.0 + resolution: "rehype-recma@npm:1.0.0" dependencies: - mdast-util-mdx: "npm:^2.0.0" - micromark-extension-mdxjs: "npm:^1.0.0" - checksum: 2688bbf03094a9cd17cc86afb6cf0270e86ffc696a2fe25ccb1befb84eb0864d281388dc560b585e05e20f94a994c9fa88492430d2ba703a2fef6918bca4c36b + "@types/estree": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + hast-util-to-estree: "npm:^3.0.0" + checksum: be60d7433a7f788a14f41da3e93ba9d9272c908ddef47757026cc4bbcc912f6301d56810349adf876d294a8d048626a0dbf6988aaa574afbfc29eac1ddc1eb74 languageName: node linkType: hard -"remark-parse@npm:^10.0.0": - version: 10.0.2 - resolution: "remark-parse@npm:10.0.2" +"remark-mdx@npm:^3.0.0": + version: 3.1.0 + resolution: "remark-mdx@npm:3.1.0" dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - unified: "npm:^10.0.0" - checksum: 30cb8f2790380b1c7370a1c66cda41f33a7dc196b9e440a00e2675037bca55aea868165a8204e0cdbacc27ef4a3bdb7d45879826bd6efa07d9fdf328cb67a332 + mdast-util-mdx: "npm:^3.0.0" + micromark-extension-mdxjs: "npm:^3.0.0" + checksum: 247800fa8561624bdca5776457c5965d99e5e60080e80262c600fe12ddd573862e029e39349e1e36e4c3bf79c8e571ecf4d3d2d8c13485b758391fb500e24a1a languageName: node linkType: hard -"remark-rehype@npm:^10.0.0": - version: 10.1.0 - resolution: "remark-rehype@npm:10.1.0" +"remark-parse@npm:^11.0.0": + version: 11.0.0 + resolution: "remark-parse@npm:11.0.0" dependencies: - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-to-hast: "npm:^12.1.0" - unified: "npm:^10.0.0" - checksum: 803e658c9b51a9b53ee2ada42ff82e8e570444bb97c873e0d602c2d8dcb69a774fd22bd6f26643dfd5ab4c181059ea6c9fb9a99a2d7f9665f3f11bef1a1489bd + "@types/mdast": "npm:^4.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unified: "npm:^11.0.0" + checksum: 6eed15ddb8680eca93e04fcb2d1b8db65a743dcc0023f5007265dda558b09db595a087f622062ccad2630953cd5cddc1055ce491d25a81f3317c858348a8dd38 + languageName: node + linkType: hard + +"remark-rehype@npm:^11.0.0": + version: 11.1.1 + resolution: "remark-rehype@npm:11.1.1" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + mdast-util-to-hast: "npm:^13.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: 68f986e8ee758d415e93babda2a0d89477c15b7c200edc23b8b1d914dd6e963c5fc151a11cbbbcfa7dd237367ff3ef86e302be90f31f37a17b0748668bd8c65b languageName: node linkType: hard @@ -12978,10 +12433,10 @@ __metadata: languageName: node linkType: hard -"require-main-filename@npm:^2.0.0": - version: 2.0.0 - resolution: "require-main-filename@npm:2.0.0" - checksum: db91467d9ead311b4111cbd73a4e67fa7820daed2989a32f7023785a2659008c6d119752d9c4ac011ae07e537eb86523adff99804c5fdb39cd3a017f9b401bb6 +"requires-port@npm:^1.0.0": + version: 1.0.0 + resolution: "requires-port@npm:1.0.0" + checksum: b2bfdd09db16c082c4326e573a82c0771daaf7b53b9ce8ad60ea46aa6e30aaf475fe9b164800b89f93b748d2c234d8abff945d2551ba47bf5698e04cd7713267 languageName: node linkType: hard @@ -13006,7 +12461,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.22.4": +"resolve@npm:^1.22.4": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -13019,7 +12474,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin<compat/resolve>": +"resolve@patch:resolve@npm%3A^1.22.4#optional!builtin<compat/resolve>": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin<compat/resolve>::version=1.22.8&hash=c3c19d" dependencies: @@ -13082,9 +12537,20 @@ __metadata: linkType: hard "reusify@npm:^1.0.4": - version: 1.0.4 - resolution: "reusify@npm:1.0.4" - checksum: c19ef26e4e188f408922c46f7ff480d38e8dfc55d448310dfb518736b23ed2c4f547fb64a6ed5bdba92cd7e7ddc889d36ff78f794816d5e71498d645ef476107 + version: 1.1.0 + resolution: "reusify@npm:1.1.0" + checksum: 4eff0d4a5f9383566c7d7ec437b671cc51b25963bd61bf127c3f3d3f68e44a026d99b8d2f1ad344afff8d278a8fe70a8ea092650a716d22287e8bef7126bb2fa + languageName: node + linkType: hard + +"rimraf@npm:^5.0.5": + version: 5.0.10 + resolution: "rimraf@npm:5.0.10" + dependencies: + glob: "npm:^10.3.7" + bin: + rimraf: dist/esm/bin.mjs + checksum: 7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc languageName: node linkType: hard @@ -13117,23 +12583,31 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.2.0": - version: 4.9.0 - resolution: "rollup@npm:4.9.0" +"rollup@npm:^4.20.0": + version: 4.37.0 + resolution: "rollup@npm:4.37.0" dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.9.0" - "@rollup/rollup-android-arm64": "npm:4.9.0" - "@rollup/rollup-darwin-arm64": "npm:4.9.0" - "@rollup/rollup-darwin-x64": "npm:4.9.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.9.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.9.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.9.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.9.0" - "@rollup/rollup-linux-x64-musl": "npm:4.9.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.9.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.9.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.9.0" + "@rollup/rollup-android-arm-eabi": "npm:4.37.0" + "@rollup/rollup-android-arm64": "npm:4.37.0" + "@rollup/rollup-darwin-arm64": "npm:4.37.0" + "@rollup/rollup-darwin-x64": "npm:4.37.0" + "@rollup/rollup-freebsd-arm64": "npm:4.37.0" + "@rollup/rollup-freebsd-x64": "npm:4.37.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.37.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.37.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.37.0" + "@rollup/rollup-linux-loongarch64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.37.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-riscv64-musl": "npm:4.37.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.37.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-x64-musl": "npm:4.37.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.37.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.37.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.37.0" + "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: "@rollup/rollup-android-arm-eabi": @@ -13144,14 +12618,28 @@ __metadata: optional: true "@rollup/rollup-darwin-x64": optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true "@rollup/rollup-linux-arm-gnueabihf": optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true "@rollup/rollup-linux-arm64-gnu": optional: true "@rollup/rollup-linux-arm64-musl": optional: true + "@rollup/rollup-linux-loongarch64-gnu": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true + "@rollup/rollup-linux-riscv64-musl": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true "@rollup/rollup-linux-x64-gnu": optional: true "@rollup/rollup-linux-x64-musl": @@ -13166,7 +12654,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: eba46d63c807bda74215db4ec6abb59d8a0bb0233b3ae77cd9510179e85daf1472191a519006e3d1519077eb90c9596febe7b34b0396940e7bd2e835dd98d51a + checksum: 2e00382e08938636edfe0a7547ea2eaa027205dc0b6ff85d8b82be0fbe55a4ef88a1995fee2a5059e33dbccf12d1376c236825353afb89c96298cc95c5160a46 languageName: node linkType: hard @@ -13315,17 +12803,55 @@ __metadata: linkType: hard "router@npm:^2.0.0": - version: 2.0.0 - resolution: "router@npm:2.0.0" + version: 2.1.0 + resolution: "router@npm:2.1.0" dependencies: - array-flatten: "npm:3.0.0" - is-promise: "npm:4.0.0" - methods: "npm:~1.1.2" - parseurl: "npm:~1.3.3" + is-promise: "npm:^4.0.0" + parseurl: "npm:^1.3.3" path-to-regexp: "npm:^8.0.0" - setprototypeof: "npm:1.2.0" - utils-merge: "npm:1.0.1" - checksum: 6d5345a98c7f9b4427599478701d3cbff4f92954dce870c81036e12ae5f204b570507821c00cdb30b39365b91bc2b3830e95aa11fc181476030faa25fafaca84 + checksum: df17c5c07210cb72922185ea9378b318676c1e1af9110c52cfa8339bff43004f240cb6660d3b23c932f7867ab6a3ed3fe9d8e8fb0d7ac7402d0b7e7a59f9ba07 + languageName: node + linkType: hard + +"rspack-resolver@npm:^1.2.2": + version: 1.2.2 + resolution: "rspack-resolver@npm:1.2.2" + dependencies: + "@unrs/rspack-resolver-binding-darwin-arm64": "npm:1.2.2" + "@unrs/rspack-resolver-binding-darwin-x64": "npm:1.2.2" + "@unrs/rspack-resolver-binding-freebsd-x64": "npm:1.2.2" + "@unrs/rspack-resolver-binding-linux-arm-gnueabihf": "npm:1.2.2" + "@unrs/rspack-resolver-binding-linux-arm64-gnu": "npm:1.2.2" + "@unrs/rspack-resolver-binding-linux-arm64-musl": "npm:1.2.2" + "@unrs/rspack-resolver-binding-linux-x64-gnu": "npm:1.2.2" + "@unrs/rspack-resolver-binding-linux-x64-musl": "npm:1.2.2" + "@unrs/rspack-resolver-binding-wasm32-wasi": "npm:1.2.2" + "@unrs/rspack-resolver-binding-win32-arm64-msvc": "npm:1.2.2" + "@unrs/rspack-resolver-binding-win32-x64-msvc": "npm:1.2.2" + dependenciesMeta: + "@unrs/rspack-resolver-binding-darwin-arm64": + optional: true + "@unrs/rspack-resolver-binding-darwin-x64": + optional: true + "@unrs/rspack-resolver-binding-freebsd-x64": + optional: true + "@unrs/rspack-resolver-binding-linux-arm-gnueabihf": + optional: true + "@unrs/rspack-resolver-binding-linux-arm64-gnu": + optional: true + "@unrs/rspack-resolver-binding-linux-arm64-musl": + optional: true + "@unrs/rspack-resolver-binding-linux-x64-gnu": + optional: true + "@unrs/rspack-resolver-binding-linux-x64-musl": + optional: true + "@unrs/rspack-resolver-binding-wasm32-wasi": + optional: true + "@unrs/rspack-resolver-binding-win32-arm64-msvc": + optional: true + "@unrs/rspack-resolver-binding-win32-x64-msvc": + optional: true + checksum: 897343b6e0934b54570722f1d21ca0239eaf0bdbad9b3357cc636a9cfc775f2b28f5fea477caf800978c22efed0f312ef2893d71c7b5e84447ac1ef9c5d80f22 languageName: node linkType: hard @@ -13346,15 +12872,15 @@ __metadata: linkType: hard "rxjs@npm:^7.5.4, rxjs@npm:^7.5.5": - version: 7.8.1 - resolution: "rxjs@npm:7.8.1" + version: 7.8.2 + resolution: "rxjs@npm:7.8.2" dependencies: tslib: "npm:^2.1.0" - checksum: 3c49c1ecd66170b175c9cacf5cef67f8914dcbc7cd0162855538d365c83fea631167cacb644b3ce533b2ea0e9a4d0b12175186985f89d75abe73dbd8f7f06f68 + checksum: 1fcd33d2066ada98ba8f21fcbbcaee9f0b271de1d38dc7f4e256bfbc6ffcdde68c8bfb69093de7eeb46f24b1fb820620bf0223706cff26b4ab99a7ff7b2e2c45 languageName: node linkType: hard -"sade@npm:^1.7.3, sade@npm:^1.8.1": +"sade@npm:^1.8.1": version: 1.8.1 resolution: "sade@npm:1.8.1" dependencies: @@ -13363,18 +12889,6 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.1": - version: 1.0.1 - resolution: "safe-array-concat@npm:1.0.1" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - has-symbols: "npm:^1.0.3" - isarray: "npm:^2.0.5" - checksum: 4b15ce5fce5ce4d7e744a63592cded88d2f27806ed229eadb2e42629cbcd40e770f7478608e75f455e7fe341acd8c0a01bdcd7146b10645ea7411c5e3c1d1dd8 - languageName: node - linkType: hard - "safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": version: 5.1.2 resolution: "safe-buffer@npm:5.1.2" @@ -13389,21 +12903,10 @@ __metadata: languageName: node linkType: hard -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.3" - is-regex: "npm:^1.1.4" - checksum: 14a81a7e683f97b2d6e9c8be61fddcf8ed7a02f4e64a825515f96bb1738eb007145359313741d2704d28b55b703a0f6300c749dde7c1dbc13952a2b85048ede2 - languageName: node - linkType: hard - "safe-stable-stringify@npm:^2.3.1": - version: 2.4.3 - resolution: "safe-stable-stringify@npm:2.4.3" - checksum: 81dede06b8f2ae794efd868b1e281e3c9000e57b39801c6c162267eb9efda17bd7a9eafa7379e1f1cacd528d4ced7c80d7460ad26f62ada7c9e01dec61b2e768 + version: 2.5.0 + resolution: "safe-stable-stringify@npm:2.5.0" + checksum: baea14971858cadd65df23894a40588ed791769db21bafb7fd7608397dbdce9c5aac60748abae9995e0fc37e15f2061980501e012cd48859740796bea2987f49 languageName: node linkType: hard @@ -13414,12 +12917,12 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" +"scheduler@npm:^0.23.2": + version: 0.23.2 + resolution: "scheduler@npm:0.23.2" dependencies: loose-envify: "npm:^1.1.0" - checksum: b777f7ca0115e6d93e126ac490dbd82642d14983b3079f58f35519d992fa46260be7d6e6cede433a92db70306310c6f5f06e144f0e40c484199e09c1f7be53dd + checksum: 26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 languageName: node linkType: hard @@ -13432,15 +12935,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.5.0": - version: 5.7.2 - resolution: "semver@npm:5.7.2" - bin: - semver: bin/semver - checksum: e4cf10f86f168db772ae95d86ba65b3fd6c5967c94d97c708ccb463b778c2ee53b914cd7167620950fc07faf5a564e6efe903836639e512a1aa15fbc9667fa25 - languageName: node - linkType: hard - "semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" @@ -13490,9 +12984,9 @@ __metadata: languageName: node linkType: hard -"send@npm:0.18.0": - version: 0.18.0 - resolution: "send@npm:0.18.0" +"send@npm:0.19.0": + version: 0.19.0 + resolution: "send@npm:0.19.0" dependencies: debug: "npm:2.6.9" depd: "npm:2.0.0" @@ -13507,26 +13001,19 @@ __metadata: on-finished: "npm:2.4.1" range-parser: "npm:~1.2.1" statuses: "npm:2.0.1" - checksum: 0eb134d6a51fc13bbcb976a1f4214ea1e33f242fae046efc311e80aff66c7a43603e26a79d9d06670283a13000e51be6e0a2cb80ff0942eaf9f1cd30b7ae736a + checksum: ea3f8a67a8f0be3d6bf9080f0baed6d2c51d11d4f7b4470de96a5029c598a7011c497511ccc28968b70ef05508675cebff27da9151dd2ceadd60be4e6cf845e3 languageName: node linkType: hard -"serve-static@npm:1.15.0": - version: 1.15.0 - resolution: "serve-static@npm:1.15.0" +"serve-static@npm:1.16.2": + version: 1.16.2 + resolution: "serve-static@npm:1.16.2" dependencies: - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" parseurl: "npm:~1.3.3" - send: "npm:0.18.0" - checksum: fa9f0e21a540a28f301258dfe1e57bb4f81cd460d28f0e973860477dd4acef946a1f41748b5bd41c73b621bea2029569c935faa38578fd34cd42a9b4947088ba - languageName: node - linkType: hard - -"set-blocking@npm:^2.0.0": - version: 2.0.0 - resolution: "set-blocking@npm:2.0.0" - checksum: 9f8c1b2d800800d0b589de1477c753492de5c1548d4ade52f57f1d1f5e04af5481554d75ce5e5c43d4004b80a3eb714398d6907027dc0534177b7539119f4454 + send: "npm:0.19.0" + checksum: 528fff6f5e12d0c5a391229ad893910709bc51b5705962b09404a1d813857578149b8815f35d3ee5752f44cd378d0f31669d4b1d7e2d11f41e08283d5134bd1f languageName: node linkType: hard @@ -13542,17 +13029,6 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.0": - version: 2.0.1 - resolution: "set-function-name@npm:2.0.1" - dependencies: - define-data-property: "npm:^1.0.1" - functions-have-names: "npm:^1.2.3" - has-property-descriptors: "npm:^1.0.0" - checksum: 6be7d3e15be47f4db8a5a563a35c60b5e7c4af91cc900e8972ffad33d3aaa227900faa55f60121cdb04b85866a734bb7fe4cd91f654c632861cc86121a48312a - languageName: node - linkType: hard - "setprototypeof@npm:1.2.0": version: 1.2.0 resolution: "setprototypeof@npm:1.2.0" @@ -13560,76 +13036,7 @@ __metadata: languageName: node linkType: hard -"sharp@npm:^0.33.0": - version: 0.33.0 - resolution: "sharp@npm:0.33.0" - dependencies: - "@img/sharp-darwin-arm64": "npm:0.33.0" - "@img/sharp-darwin-x64": "npm:0.33.0" - "@img/sharp-libvips-darwin-arm64": "npm:1.0.0" - "@img/sharp-libvips-darwin-x64": "npm:1.0.0" - "@img/sharp-libvips-linux-arm": "npm:1.0.0" - "@img/sharp-libvips-linux-arm64": "npm:1.0.0" - "@img/sharp-libvips-linux-s390x": "npm:1.0.0" - "@img/sharp-libvips-linux-x64": "npm:1.0.0" - "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.0" - "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.0" - "@img/sharp-linux-arm": "npm:0.33.0" - "@img/sharp-linux-arm64": "npm:0.33.0" - "@img/sharp-linux-s390x": "npm:0.33.0" - "@img/sharp-linux-x64": "npm:0.33.0" - "@img/sharp-linuxmusl-arm64": "npm:0.33.0" - "@img/sharp-linuxmusl-x64": "npm:0.33.0" - "@img/sharp-wasm32": "npm:0.33.0" - "@img/sharp-win32-ia32": "npm:0.33.0" - "@img/sharp-win32-x64": "npm:0.33.0" - color: "npm:^4.2.3" - detect-libc: "npm:^2.0.2" - semver: "npm:^7.5.4" - dependenciesMeta: - "@img/sharp-darwin-arm64": - optional: true - "@img/sharp-darwin-x64": - optional: true - "@img/sharp-libvips-darwin-arm64": - optional: true - "@img/sharp-libvips-darwin-x64": - optional: true - "@img/sharp-libvips-linux-arm": - optional: true - "@img/sharp-libvips-linux-arm64": - optional: true - "@img/sharp-libvips-linux-s390x": - optional: true - "@img/sharp-libvips-linux-x64": - optional: true - "@img/sharp-libvips-linuxmusl-arm64": - optional: true - "@img/sharp-libvips-linuxmusl-x64": - optional: true - "@img/sharp-linux-arm": - optional: true - "@img/sharp-linux-arm64": - optional: true - "@img/sharp-linux-s390x": - optional: true - "@img/sharp-linux-x64": - optional: true - "@img/sharp-linuxmusl-arm64": - optional: true - "@img/sharp-linuxmusl-x64": - optional: true - "@img/sharp-wasm32": - optional: true - "@img/sharp-win32-ia32": - optional: true - "@img/sharp-win32-x64": - optional: true - checksum: 9a8ac405f1a2f1eaac59b78e1118af1fe4fd55df473f58e5fba8bce6c177396b57069267d3af38d79ce36db78701a476a841fac347c798562ae4776f7ffe49de - languageName: node - linkType: hard - -"sharp@npm:^0.33.5": +"sharp@npm:^0.33.4, sharp@npm:^0.33.5": version: 0.33.5 resolution: "sharp@npm:0.33.5" dependencies: @@ -13698,15 +13105,6 @@ __metadata: languageName: node linkType: hard -"shebang-command@npm:^1.2.0": - version: 1.2.0 - resolution: "shebang-command@npm:1.2.0" - dependencies: - shebang-regex: "npm:^1.0.0" - checksum: 7b20dbf04112c456b7fc258622dafd566553184ac9b6938dd30b943b065b21dabd3776460df534cc02480db5e1b6aec44700d985153a3da46e7db7f9bd21326d - languageName: node - linkType: hard - "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -13716,13 +13114,6 @@ __metadata: languageName: node linkType: hard -"shebang-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "shebang-regex@npm:1.0.0" - checksum: 9abc45dee35f554ae9453098a13fdc2f1730e525a5eb33c51f096cc31f6f10a4b38074c1ebf354ae7bffa7229506083844008dfc3bb7818228568c0b2dc1fff2 - languageName: node - linkType: hard - "shebang-regex@npm:^3.0.0": version: 3.0.0 resolution: "shebang-regex@npm:3.0.0" @@ -13731,9 +13122,9 @@ __metadata: linkType: hard "shell-quote@npm:^1.7.3": - version: 1.8.1 - resolution: "shell-quote@npm:1.8.1" - checksum: 8cec6fd827bad74d0a49347057d40dfea1e01f12a6123bf82c4649f3ef152fc2bc6d6176e6376bffcd205d9d0ccb4f1f9acae889384d20baff92186f01ea455a + version: 1.8.2 + resolution: "shell-quote@npm:1.8.2" + checksum: 85fdd44f2ad76e723d34eb72c753f04d847ab64e9f1f10677e3f518d0e5b0752a176fd805297b30bb8c3a1556ebe6e77d2288dbd7b7b0110c7e941e9e9c20ce1 languageName: node linkType: hard @@ -13783,7 +13174,7 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.6": +"side-channel@npm:^1.0.6, side-channel@npm:^1.1.0": version: 1.1.0 resolution: "side-channel@npm:1.1.0" dependencies: @@ -13810,7 +13201,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1": +"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" checksum: 41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 @@ -13849,22 +13240,6 @@ __metadata: languageName: node linkType: hard -"smartwrap@npm:^2.0.2": - version: 2.0.2 - resolution: "smartwrap@npm:2.0.2" - dependencies: - array.prototype.flat: "npm:^1.2.3" - breakword: "npm:^1.0.5" - grapheme-splitter: "npm:^1.0.4" - strip-ansi: "npm:^6.0.0" - wcwidth: "npm:^1.0.1" - yargs: "npm:^15.1.0" - bin: - smartwrap: src/terminal-adapter.js - checksum: ea104632a832967a04cb739253dbd7d2e194c62bae1c3366d03bb5827870b83842a3e25a7f80287a4b04484ea4f64b51a0657389fc6a6fe701db3b25319ed56f - languageName: node - linkType: hard - "snake-case@npm:^3.0.4": version: 3.0.4 resolution: "snake-case@npm:3.0.4" @@ -13875,35 +13250,35 @@ __metadata: languageName: node linkType: hard -"snakecase-keys@npm:5.4.4": - version: 5.4.4 - resolution: "snakecase-keys@npm:5.4.4" +"snakecase-keys@npm:8.0.1": + version: 8.0.1 + resolution: "snakecase-keys@npm:8.0.1" dependencies: map-obj: "npm:^4.1.0" snake-case: "npm:^3.0.4" - type-fest: "npm:^2.5.2" - checksum: 72afc51818d9f8cee00b4ccdc3b83bb26e48de21c4ef77d28d0d70b431bec17e48aa3e64c2c418fd9f2b70ac0a8afce24b4e615238877c4ee451b5212b983fb0 + type-fest: "npm:^4.15.0" + checksum: 3615126462e413fe5e1637c945362e99c3ac497bc49d867397547ab1a87ff2827ae890d1aa022ef06c27cb3924bcb3714db2f4e76770e6ebd3625f3e16d79d27 languageName: node linkType: hard -"socks-proxy-agent@npm:^8.0.1, socks-proxy-agent@npm:^8.0.2": - version: 8.0.2 - resolution: "socks-proxy-agent@npm:8.0.2" +"socks-proxy-agent@npm:^8.0.3, socks-proxy-agent@npm:^8.0.5": + version: 8.0.5 + resolution: "socks-proxy-agent@npm:8.0.5" dependencies: - agent-base: "npm:^7.0.2" + agent-base: "npm:^7.1.2" debug: "npm:^4.3.4" - socks: "npm:^2.7.1" - checksum: a842402fc9b8848a31367f2811ca3cd14c4106588b39a0901cd7a69029998adfc6456b0203617c18ed090542ad0c24ee4e9d4c75a0c4b75071e214227c177eb7 + socks: "npm:^2.8.3" + checksum: 5d2c6cecba6821389aabf18728325730504bf9bb1d9e342e7987a5d13badd7a98838cc9a55b8ed3cb866ad37cc23e1086f09c4d72d93105ce9dfe76330e9d2a6 languageName: node linkType: hard -"socks@npm:^2.7.1": - version: 2.7.1 - resolution: "socks@npm:2.7.1" +"socks@npm:^2.8.3": + version: 2.8.4 + resolution: "socks@npm:2.8.4" dependencies: - ip: "npm:^2.0.0" + ip-address: "npm:^9.0.5" smart-buffer: "npm:^4.2.0" - checksum: 43f69dbc9f34fc8220bc51c6eea1c39715ab3cfdb115d6e3285f6c7d1a603c5c75655668a5bbc11e3c7e2c99d60321fb8d7ab6f38cda6a215fadd0d6d0b52130 + checksum: 00c3271e233ccf1fb83a3dd2060b94cc37817e0f797a93c560b9a7a86c4a0ec2961fb31263bdd24a3c28945e24868b5f063cd98744171d9e942c513454b50ae5 languageName: node linkType: hard @@ -13916,27 +13291,13 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: 32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8 - languageName: node - linkType: hard - -"source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": +"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf languageName: node linkType: hard -"source-map@npm:0.7.4, source-map@npm:^0.7.0": - version: 0.7.4 - resolution: "source-map@npm:0.7.4" - checksum: dc0cf3768fe23c345ea8760487f8c97ef6fca8a73c83cd7c9bf2fde8bc2c34adb9c0824d6feb14bc4f9e37fb522e18af621543f1289038a66ac7586da29aa7dc - languageName: node - linkType: hard - "source-map@npm:0.8.0-beta.0": version: 0.8.0-beta.0 resolution: "source-map@npm:0.8.0-beta.0" @@ -13953,6 +13314,13 @@ __metadata: languageName: node linkType: hard +"source-map@npm:^0.7.0, source-map@npm:^0.7.4": + version: 0.7.4 + resolution: "source-map@npm:0.7.4" + checksum: dc0cf3768fe23c345ea8760487f8c97ef6fca8a73c83cd7c9bf2fde8bc2c34adb9c0824d6feb14bc4f9e37fb522e18af621543f1289038a66ac7586da29aa7dc + languageName: node + linkType: hard + "sourcemap-codec@npm:^1.4.8": version: 1.4.8 resolution: "sourcemap-codec@npm:1.4.8" @@ -13967,47 +13335,13 @@ __metadata: languageName: node linkType: hard -"spawndamnit@npm:^2.0.0": - version: 2.0.0 - resolution: "spawndamnit@npm:2.0.0" - dependencies: - cross-spawn: "npm:^5.1.0" - signal-exit: "npm:^3.0.2" - checksum: 3d3aa1b750130a78cad591828c203e706cb132fbd7dccab8ae5354984117cd1464c7f9ef6c4756e6590fec16bab77fe2c85d1eb8e59006d303836007922d359c - languageName: node - linkType: hard - -"spdx-correct@npm:^3.0.0": - version: 3.2.0 - resolution: "spdx-correct@npm:3.2.0" - dependencies: - spdx-expression-parse: "npm:^3.0.0" - spdx-license-ids: "npm:^3.0.0" - checksum: 49208f008618b9119208b0dadc9208a3a55053f4fd6a0ae8116861bd22696fc50f4142a35ebfdb389e05ccf2de8ad142573fefc9e26f670522d899f7b2fe7386 - languageName: node - linkType: hard - -"spdx-exceptions@npm:^2.1.0": - version: 2.3.0 - resolution: "spdx-exceptions@npm:2.3.0" - checksum: 83089e77d2a91cb6805a5c910a2bedb9e50799da091f532c2ba4150efdef6e53f121523d3e2dc2573a340dc0189e648b03157097f65465b3a0c06da1f18d7e8a - languageName: node - linkType: hard - -"spdx-expression-parse@npm:^3.0.0": +"spawndamnit@npm:^3.0.1": version: 3.0.1 - resolution: "spdx-expression-parse@npm:3.0.1" + resolution: "spawndamnit@npm:3.0.1" dependencies: - spdx-exceptions: "npm:^2.1.0" - spdx-license-ids: "npm:^3.0.0" - checksum: 6f8a41c87759fa184a58713b86c6a8b028250f158159f1d03ed9d1b6ee4d9eefdc74181c8ddc581a341aa971c3e7b79e30b59c23b05d2436d5de1c30bdef7171 - languageName: node - linkType: hard - -"spdx-license-ids@npm:^3.0.0": - version: 3.0.16 - resolution: "spdx-license-ids@npm:3.0.16" - checksum: 7d88b8f01308948bb3ea69c066448f2776cf3d35a410d19afb836743086ced1566f6824ee8e6d67f8f25aa81fa86d8076a666c60ac4528caecd55e93edb5114e + cross-spawn: "npm:^7.0.5" + signal-exit: "npm:^4.0.1" + checksum: a9821a59bc78a665bd44718dea8f4f4010bb1a374972b0a6a1633b9186cda6d6fd93f22d1e49d9944d6bb175ba23ce29036a4bd624884fb157d981842c3682f3 languageName: node linkType: hard @@ -14018,6 +13352,13 @@ __metadata: languageName: node linkType: hard +"sprintf-js@npm:^1.1.3": + version: 1.1.3 + resolution: "sprintf-js@npm:1.1.3" + checksum: 09270dc4f30d479e666aee820eacd9e464215cdff53848b443964202bf4051490538e5dd1b42e1a65cf7296916ca17640aebf63dae9812749c7542ee5f288dec + languageName: node + linkType: hard + "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -14026,31 +13367,39 @@ __metadata: linkType: hard "sql-formatter@npm:^15.3.0": - version: 15.4.8 - resolution: "sql-formatter@npm:15.4.8" + version: 15.5.1 + resolution: "sql-formatter@npm:15.5.1" dependencies: argparse: "npm:^2.0.1" - get-stdin: "npm:=8.0.0" nearley: "npm:^2.20.1" bin: sql-formatter: bin/sql-formatter-cli.cjs - checksum: 7caa79be948b62285caae926d76f702adfa37512e0ca22d4f6e809dc957c6b8cef14040e2ddd18bfe9e249b1c03d136bd6c6a631e2b9699f01b1cf1a2f45c272 + checksum: bb6e32181915c97a2e516134416e0ba0c71008eb0d856572d1354524e500e5c5d2f6975f68da118d55ab54cd6565c387879b0993660ea58bedc8f2a1eb1dfaef languageName: node linkType: hard "ssri@npm:^10.0.0": - version: 10.0.5 - resolution: "ssri@npm:10.0.5" + version: 10.0.6 + resolution: "ssri@npm:10.0.6" dependencies: minipass: "npm:^7.0.3" - checksum: b091f2ae92474183c7ac5ed3f9811457e1df23df7a7e70c9476eaa9a0c4a0c8fc190fb45acefbf023ca9ee864dd6754237a697dc52a0fb182afe65d8e77443d8 + checksum: e5a1e23a4057a86a97971465418f22ea89bd439ac36ade88812dd920e4e61873e8abd6a9b72a03a67ef50faa00a2daf1ab745c5a15b46d03e0544a0296354227 languageName: node linkType: hard -"stable-hash@npm:^0.0.4": - version: 0.0.4 - resolution: "stable-hash@npm:0.0.4" - checksum: 53d010d2a1b014fb60d398c095f43912c353b7b44774e55222bb26fd428bc75b73d7bdfcae509ce927c23ca9c5aff2dc1bc82f191d30e57a879550bc2952bdb0 +"ssri@npm:^12.0.0": + version: 12.0.0 + resolution: "ssri@npm:12.0.0" + dependencies: + minipass: "npm:^7.0.3" + checksum: caddd5f544b2006e88fa6b0124d8d7b28208b83c72d7672d5ade44d794525d23b540f3396108c4eb9280dcb7c01f0bef50682f5b4b2c34291f7c5e211fd1417d + languageName: node + linkType: hard + +"stable-hash@npm:^0.0.5": + version: 0.0.5 + resolution: "stable-hash@npm:0.0.5" + checksum: ca670cb6d172f1c834950e4ec661e2055885df32fee3ebf3647c5df94993b7c2666a5dbc1c9a62ee11fc5c24928579ec5e81bb5ad31971d355d5a341aab493b3 languageName: node linkType: hard @@ -14093,9 +13442,9 @@ __metadata: linkType: hard "std-env@npm:^3.7.0": - version: 3.7.0 - resolution: "std-env@npm:3.7.0" - checksum: 60edf2d130a4feb7002974af3d5a5f3343558d1ccf8d9b9934d225c638606884db4a20d2fe6440a09605bca282af6b042ae8070a10490c0800d69e82e478f41e + version: 3.8.1 + resolution: "std-env@npm:3.8.1" + checksum: e9b19cca6bc6f06f91607db5b636662914ca8ec9efc525a99da6ec7e493afec109d3b017d21d9782b4369fcfb2891c7c4b4e3c60d495fdadf6861ce434e07bf8 languageName: node linkType: hard @@ -14106,7 +13455,7 @@ __metadata: languageName: node linkType: hard -"stoppable@npm:1.1.0, stoppable@npm:^1.1.0": +"stoppable@npm:1.1.0": version: 1.1.0 resolution: "stoppable@npm:1.1.0" checksum: ba91b65e6442bf6f01ce837a727ece597a977ed92a05cb9aea6bf446c5e0dcbccc28f31b793afa8aedd8f34baaf3335398d35f903938d5493f7fbe386a1e090e @@ -14130,46 +13479,36 @@ __metadata: linkType: hard "stream-json@npm:^1.7.3": - version: 1.8.0 - resolution: "stream-json@npm:1.8.0" + version: 1.9.1 + resolution: "stream-json@npm:1.9.1" dependencies: stream-chain: "npm:^2.2.5" - checksum: 5e6de600a7d86f54f9ced608131f1f840082fa7aa443df9fe72bd255b6b1c098d2c6c756b4b9acd64e50e2b9f52d9a432714bce43e96e9850b819ee9ff6331a1 + checksum: 0521e5cb3fb6b0e2561d715975e891bd81fa77d0239c8d0b1756846392bc3c7cdd7f1ddb0fe7ed77e6fdef58daab9e665d3b39f7d677bd0859e65a2bff59b92c languageName: node linkType: hard -"stream-shift@npm:^1.0.0": - version: 1.0.1 - resolution: "stream-shift@npm:1.0.1" - checksum: b63a0d178cde34b920ad93e2c0c9395b840f408d36803b07c61416edac80ef9e480a51910e0ceea0d679cec90921bcd2cccab020d3a9fa6c73a98b0fbec132fd - languageName: node - linkType: hard - -"stream-transform@npm:^2.1.3": - version: 2.1.3 - resolution: "stream-transform@npm:2.1.3" - dependencies: - mixme: "npm:^0.5.1" - checksum: 8a4b40e1ee952869358c12bbb3da3aa9ca30c8964f8f8eef2058a3b6b2202d7a856657ef458a5f2402a464310d177f92d2e4a119667854fce4b17c05e3c180bd +"stream-shift@npm:^1.0.2": + version: 1.0.3 + resolution: "stream-shift@npm:1.0.3" + checksum: 939cd1051ca750d240a0625b106a2b988c45fb5a3be0cebe9a9858cb01bc1955e8c7b9fac17a9462976bea4a7b704e317c5c2200c70f0ca715a3363b9aa4fd3b languageName: node linkType: hard "streamx@npm:^2.15.0": - version: 2.21.1 - resolution: "streamx@npm:2.21.1" + version: 2.22.0 + resolution: "streamx@npm:2.22.0" dependencies: bare-events: "npm:^2.2.0" fast-fifo: "npm:^1.3.2" - queue-tick: "npm:^1.0.1" text-decoder: "npm:^1.1.0" dependenciesMeta: bare-events: optional: true - checksum: 752297e877bdeba4a4c180335564c446636c3a33f1c8733b4773746dab6212266e97cd71be8cade9748bbb1b9e2fee61f81e46bcdaf1ff396b79c9cb9355f26e + checksum: f5017998a5b6360ba652599d20ef308c8c8ab0e26c8e5f624f0706f0ea12624e94fdf1ec18318124498529a1b106a1ab1c94a1b1e1ad6c2eec7cb9c8ac1b9198 languageName: node linkType: hard -"strict-event-emitter@npm:^0.5.0, strict-event-emitter@npm:^0.5.1": +"strict-event-emitter@npm:^0.5.1": version: 0.5.1 resolution: "strict-event-emitter@npm:0.5.1" checksum: f5228a6e6b6393c57f52f62e673cfe3be3294b35d6f7842fc24b172ae0a6e6c209fa83241d0e433fc267c503bc2f4ffdbe41a9990ff8ffd5ac425ec0489417f7 @@ -14198,39 +13537,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.8": - version: 1.2.8 - resolution: "string.prototype.trim@npm:1.2.8" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 4f76c583908bcde9a71208ddff38f67f24c9ec8093631601666a0df8b52fad44dad2368c78895ce83eb2ae8e7068294cc96a02fc971ab234e4d5c9bb61ea4e34 - languageName: node - linkType: hard - -"string.prototype.trimend@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimend@npm:1.0.7" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 53c24911c7c4d8d65f5ef5322de23a3d5b6b4db73273e05871d5ab4571ae5638f38f7f19d71d09116578fb060e5a145cc6a208af2d248c8baf7a34f44d32ce57 - languageName: node - linkType: hard - -"string.prototype.trimstart@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimstart@npm:1.0.7" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 0bcf391b41ea16d4fda9c9953d0a7075171fe090d33b4cf64849af94944c50862995672ac03e0c5dba2940a213ad7f53515a668dac859ce22a0276289ae5cf4f - languageName: node - linkType: hard - "string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -14250,12 +13556,12 @@ __metadata: linkType: hard "stringify-entities@npm:^4.0.0": - version: 4.0.3 - resolution: "stringify-entities@npm:4.0.3" + version: 4.0.4 + resolution: "stringify-entities@npm:4.0.4" dependencies: character-entities-html4: "npm:^2.0.0" character-entities-legacy: "npm:^3.0.0" - checksum: e4582cd40b082e95bc2075bed656dcbc24e83538830f15cb5a025f1ba8d341adbdb3c66efb6a5bfd6860a3ea426322135aa666cf128bf03c961553e2f9f2d4ed + checksum: 537c7e656354192406bdd08157d759cd615724e9d0873602d2c9b2f6a5c0a8d0b1d73a0a08677848105c5eebac6db037b57c0b3a4ec86331117fa7319ed50448 languageName: node linkType: hard @@ -14284,15 +13590,6 @@ __metadata: languageName: node linkType: hard -"strip-indent@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-indent@npm:3.0.0" - dependencies: - min-indent: "npm:^1.0.0" - checksum: ae0deaf41c8d1001c5d4fbe16cb553865c1863da4fae036683b474fa926af9fc121e155cb3fc57a68262b2ae7d5b8420aa752c97a6428c315d00efe2a3875679 - languageName: node - linkType: hard - "strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" @@ -14314,12 +13611,21 @@ __metadata: languageName: node linkType: hard -"style-to-object@npm:^0.4.1": - version: 0.4.4 - resolution: "style-to-object@npm:0.4.4" +"style-to-js@npm:^1.0.0": + version: 1.1.16 + resolution: "style-to-js@npm:1.1.16" dependencies: - inline-style-parser: "npm:0.1.1" - checksum: 3a733080da66952881175b17d65f92985cf94c1ca358a92cf21b114b1260d49b94a404ed79476047fb95698d64c7e366ca7443f0225939e2fb34c38bbc9c7639 + style-to-object: "npm:1.0.8" + checksum: 578a4dff804539ec7e64d3cc8d327540befb9ad30e3cd0b6b0392f93f793f3a028f90084a9aaff088bffb87818fa2c6c153f0df576f61f9ab0b0938b582bcac7 + languageName: node + linkType: hard + +"style-to-object@npm:1.0.8": + version: 1.0.8 + resolution: "style-to-object@npm:1.0.8" + dependencies: + inline-style-parser: "npm:0.2.4" + checksum: daa6646b1ff18258c0ca33ed281fbe73485c8391192db1b56ce89d40c93ea64507a41e8701d0dadfe771bc2f540c46c9b295135f71584c8e5cb23d6a19be9430 languageName: node linkType: hard @@ -14341,16 +13647,15 @@ __metadata: languageName: node linkType: hard -"superstatic@npm:^9.1.0": - version: 9.1.0 - resolution: "superstatic@npm:9.1.0" +"superstatic@npm:^9.2.0": + version: 9.2.0 + resolution: "superstatic@npm:9.2.0" dependencies: - basic-auth-connect: "npm:^1.0.0" + basic-auth-connect: "npm:^1.1.0" commander: "npm:^10.0.0" compression: "npm:^1.7.0" connect: "npm:^3.7.0" destroy: "npm:^1.0.4" - fast-url-parser: "npm:^1.1.3" glob-slasher: "npm:^1.0.1" is-url: "npm:^1.2.2" join-path: "npm:^1.1.1" @@ -14360,7 +13665,7 @@ __metadata: morgan: "npm:^1.8.2" on-finished: "npm:^2.2.0" on-headers: "npm:^1.0.0" - path-to-regexp: "npm:^1.8.0" + path-to-regexp: "npm:^1.9.0" re2: "npm:^1.17.7" router: "npm:^2.0.0" update-notifier-cjs: "npm:^5.1.6" @@ -14369,16 +13674,7 @@ __metadata: optional: true bin: superstatic: lib/bin/server.js - checksum: b01cdfb0d7fb068ef0d8c5226c90d6e0bc2d4f7a0a05f571e5c8d6306fea1340f63062426339b9e4859c4a65af4c779557d4799e37a7aee6d46ed639909329cc - languageName: node - linkType: hard - -"supports-color@npm:^5.3.0": - version: 5.5.0 - resolution: "supports-color@npm:5.5.0" - dependencies: - has-flag: "npm:^3.0.0" - checksum: 6ae5ff319bfbb021f8a86da8ea1f8db52fac8bd4d499492e30ec17095b58af11f0c55f8577390a749b1c4dde691b6a0315dab78f5f54c9b3d83f8fb5905c1c05 + checksum: f7f2b7ba3994b9ab23e8cd8f8b3cbe21fcb8c0b0d07bb864708ddcb8d35e6e6f7006c4f90881c8b664ad542b277e8a9bc85a885f96fb11fe5969be583f5db54f languageName: node linkType: hard @@ -14392,12 +13688,12 @@ __metadata: linkType: hard "supports-hyperlinks@npm:^3.1.0": - version: 3.1.0 - resolution: "supports-hyperlinks@npm:3.1.0" + version: 3.2.0 + resolution: "supports-hyperlinks@npm:3.2.0" dependencies: has-flag: "npm:^4.0.0" supports-color: "npm:^7.0.0" - checksum: 78cc3e17eb27e6846fa355a8ebf343befe36272899cd409e45317a06c1997e95c23ff99d91080a517bd8c96508d4fa456e6ceb338c02ba5d7544277dbec0f10f + checksum: bca527f38d4c45bc95d6a24225944675746c515ddb91e2456d00ae0b5c537658e9dd8155b996b191941b0c19036195a098251304b9082bbe00cd1781f3cd838e languageName: node linkType: hard @@ -14408,31 +13704,32 @@ __metadata: languageName: node linkType: hard -"svgo@npm:^3.0.2": - version: 3.1.0 - resolution: "svgo@npm:3.1.0" +"svgo@npm:^3.3": + version: 3.3.2 + resolution: "svgo@npm:3.3.2" dependencies: "@trysound/sax": "npm:0.2.0" commander: "npm:^7.2.0" css-select: "npm:^5.1.0" - css-tree: "npm:^2.2.1" + css-tree: "npm:^2.3.1" css-what: "npm:^6.1.0" - csso: "npm:5.0.5" + csso: "npm:^5.0.5" picocolors: "npm:^1.0.0" bin: svgo: ./bin/svgo - checksum: b3f00b3319dee6ddc53f8b8ac5acef581860e1708c98b492169e096621edc1bdf46e3778099e3dffb5116bf0d4c074a686099843dbc020c73b3ccfae7b6a88f0 + checksum: a6badbd3d1d6dbb177f872787699ab34320b990d12e20798ecae915f0008796a0f3c69164f1485c9def399e0ce0a5683eb4a8045e51a5e1c364bb13a0d9f79e1 languageName: node linkType: hard -"swr@npm:2.2.0": - version: 2.2.0 - resolution: "swr@npm:2.2.0" +"swr@npm:^2.2.0": + version: 2.3.3 + resolution: "swr@npm:2.3.3" dependencies: - use-sync-external-store: "npm:^1.2.0" + dequal: "npm:^2.0.3" + use-sync-external-store: "npm:^1.4.0" peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 - checksum: f631dfd206a989313cd82e7d9477b11af08496000c339752c745e8b42ba58667528ee0c70ea529910a7b6dee9b4085e8a2cd622efb70b9709883211111e0d756 + react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + checksum: 882fc8291912860e0c50eae3470ebf0cd58b0144cb12adcc4b14c5cef913ea06479043830508d8b0b3d4061d99ad8dd52485c9c879fbd4e9b893484e6d8da9e3 languageName: node linkType: hard @@ -14454,9 +13751,9 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.1.11, tar@npm:^6.1.2": - version: 6.2.0 - resolution: "tar@npm:6.2.0" +"tar@npm:^6.1.11, tar@npm:^6.2.1": + version: 6.2.1 + resolution: "tar@npm:6.2.1" dependencies: chownr: "npm:^2.0.0" fs-minipass: "npm:^2.0.0" @@ -14464,7 +13761,21 @@ __metadata: minizlib: "npm:^2.1.1" mkdirp: "npm:^1.0.3" yallist: "npm:^4.0.0" - checksum: 02ca064a1a6b4521fef88c07d389ac0936730091f8c02d30ea60d472e0378768e870769ab9e986d87807bfee5654359cf29ff4372746cc65e30cbddc352660d8 + checksum: a5eca3eb50bc11552d453488344e6507156b9193efd7635e98e867fab275d527af53d8866e2370cd09dfe74378a18111622ace35af6a608e5223a7d27fe99537 + languageName: node + linkType: hard + +"tar@npm:^7.4.3": + version: 7.4.3 + resolution: "tar@npm:7.4.3" + dependencies: + "@isaacs/fs-minipass": "npm:^4.0.0" + chownr: "npm:^3.0.0" + minipass: "npm:^7.1.2" + minizlib: "npm:^3.0.1" + mkdirp: "npm:^3.0.1" + yallist: "npm:^5.0.0" + checksum: d4679609bb2a9b48eeaf84632b6d844128d2412b95b6de07d53d8ee8baf4ca0857c9331dfa510390a0727b550fd543d4d1a10995ad86cdf078423fbb8d99831d languageName: node linkType: hard @@ -14534,13 +13845,6 @@ __metadata: languageName: node linkType: hard -"text-table@npm:^0.2.0": - version: 0.2.0 - resolution: "text-table@npm:0.2.0" - checksum: 02805740c12851ea5982686810702e2f14369a5f4c5c40a836821e3eefc65ffeec3131ba324692a37608294b0fd8c1e55a2dd571ffed4909822787668ddbee5c - languageName: node - linkType: hard - "thenify-all@npm:^1.0.0": version: 1.6.0 resolution: "thenify-all@npm:1.6.0" @@ -14597,7 +13901,7 @@ __metadata: languageName: node linkType: hard -"tinyglobby@npm:^0.2.11": +"tinyglobby@npm:^0.2.11, tinyglobby@npm:^0.2.12": version: 0.2.12 resolution: "tinyglobby@npm:0.2.12" dependencies: @@ -14668,13 +13972,25 @@ __metadata: linkType: hard "toucan-js@npm:^4.0.0": - version: 4.0.0 - resolution: "toucan-js@npm:4.0.0" + version: 4.1.1 + resolution: "toucan-js@npm:4.1.1" dependencies: "@sentry/core": "npm:8.9.2" "@sentry/types": "npm:8.9.2" "@sentry/utils": "npm:8.9.2" - checksum: a5b03f47ee8be153a1f1b46b778646c1893933555702ed68a01dba5ec9148930f791e71c8618c9616ace2b08489724e4019b64a987f1a3edee06b18a78f9d37e + checksum: 2cefb65fb74805118d225d398a2591dfc98a2d14add0ffbea13f5bb752e4c0ffc8ce1c7bb0fbb9d9abd1ea41ec4ca36ce2720502ee8931b701226c75d29d4dfc + languageName: node + linkType: hard + +"tough-cookie@npm:^4.1.4": + version: 4.1.4 + resolution: "tough-cookie@npm:4.1.4" + dependencies: + psl: "npm:^1.1.33" + punycode: "npm:^2.1.1" + universalify: "npm:^0.2.0" + url-parse: "npm:^1.5.3" + checksum: aca7ff96054f367d53d1e813e62ceb7dd2eda25d7752058a74d64b7266fd07be75908f3753a32ccf866a2f997604b414cfb1916d6e7f69bc64d9d9939b0d6c45 languageName: node linkType: hard @@ -14719,13 +14035,6 @@ __metadata: languageName: node linkType: hard -"trim-newlines@npm:^3.0.0": - version: 3.0.1 - resolution: "trim-newlines@npm:3.0.1" - checksum: 03cfefde6c59ff57138412b8c6be922ecc5aec30694d784f2a65ef8dcbd47faef580b7de0c949345abdc56ec4b4abf64dd1e5aea619b200316e471a3dd5bf1f6 - languageName: node - linkType: hard - "triple-beam@npm:^1.3.0": version: 1.4.1 resolution: "triple-beam@npm:1.4.1" @@ -14734,9 +14043,9 @@ __metadata: linkType: hard "trough@npm:^2.0.0": - version: 2.1.0 - resolution: "trough@npm:2.1.0" - checksum: 9a973f0745fa69b9d34f29fe8123599abb6915350a5f4e9e9c9026156219f8774af062d916f4ec327b796149188719170ad87f0d120f1e94271a1843366efcc3 + version: 2.2.0 + resolution: "trough@npm:2.2.0" + checksum: 58b671fc970e7867a48514168894396dd94e6d9d6456aca427cc299c004fe67f35ed7172a36449086b2edde10e78a71a284ec0076809add6834fb8f857ccb9b0 languageName: node linkType: hard @@ -14749,6 +14058,15 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^2.0.1": + version: 2.1.0 + resolution: "ts-api-utils@npm:2.1.0" + peerDependencies: + typescript: ">=4.8.4" + checksum: 9806a38adea2db0f6aa217ccc6bc9c391ddba338a9fe3080676d0d50ed806d305bb90e8cef0276e793d28c8a929f400abb184ddd7ff83a416959c0f4d2ce754f + languageName: node + linkType: hard + "ts-interface-checker@npm:^0.1.9": version: 0.1.13 resolution: "ts-interface-checker@npm:0.1.13" @@ -14756,10 +14074,10 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.4.1": - version: 2.4.1 - resolution: "tslib@npm:2.4.1" - checksum: 9ac0e4fd1033861f0b4f0d848dc3009ebcc3aa4757a06e8602a2d8a7aed252810e3540e54e70709f06c0f95311faa8584f769bcbede48aff785eb7e4d399b9ec +"tslib@npm:2.8.1, tslib@npm:^2.8.1": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 languageName: node linkType: hard @@ -14770,17 +14088,17 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.4.0": +"tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.4.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb languageName: node linkType: hard -"tslib@npm:^2.6.3": - version: 2.7.0 - resolution: "tslib@npm:2.7.0" - checksum: 469e1d5bf1af585742128827000711efa61010b699cb040ab1800bcd3ccdd37f63ec30642c9e07c4439c1db6e46345582614275daca3e0f4abae29b0083f04a6 +"tsscmp@npm:^1.0.6": + version: 1.0.6 + resolution: "tsscmp@npm:1.0.6" + checksum: 2f79a9455e7e3e8071995f98cdf3487ccfc91b760bec21a9abb4d90519557eafaa37246e87c92fa8bf3fef8fd30cfd0cc3c4212bb929baa9fb62494bfa4d24b2 languageName: node linkType: hard @@ -14834,23 +14152,6 @@ __metadata: languageName: node linkType: hard -"tty-table@npm:^4.1.5": - version: 4.2.3 - resolution: "tty-table@npm:4.2.3" - dependencies: - chalk: "npm:^4.1.2" - csv: "npm:^5.5.3" - kleur: "npm:^4.1.5" - smartwrap: "npm:^2.0.2" - strip-ansi: "npm:^6.0.1" - wcwidth: "npm:^1.0.1" - yargs: "npm:^17.7.1" - bin: - tty-table: adapters/terminal-adapter.js - checksum: 408b75693a2b0bae8cd27940c42d9cd29539deb01d90314e708f34f49c80697a3bf55bf5573f02a8aa6dc3ddee78b9e1bcf9ae986d1ec77896ae1d0bd5efb071 - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -14860,13 +14161,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.13.1": - version: 0.13.1 - resolution: "type-fest@npm:0.13.1" - checksum: 0c0fa07ae53d4e776cf4dac30d25ad799443e9eef9226f9fddbb69242db86b08584084a99885cfa5a9dfe4c063ebdc9aa7b69da348e735baede8d43f1aeae93b - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -14881,27 +14175,20 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.6.0": - version: 0.6.0 - resolution: "type-fest@npm:0.6.0" - checksum: 0c585c26416fce9ecb5691873a1301b5aff54673c7999b6f925691ed01f5b9232db408cdbb0bd003d19f5ae284322523f44092d1f81ca0a48f11f7cf0be8cd38 - languageName: node - linkType: hard - -"type-fest@npm:^0.8.1": - version: 0.8.1 - resolution: "type-fest@npm:0.8.1" - checksum: dffbb99329da2aa840f506d376c863bd55f5636f4741ad6e65e82f5ce47e6914108f44f340a0b74009b0cb5d09d6752ae83203e53e98b1192cf80ecee5651636 - languageName: node - linkType: hard - -"type-fest@npm:^2.19.0, type-fest@npm:^2.5.2": +"type-fest@npm:^2.19.0": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb languageName: node linkType: hard +"type-fest@npm:^4.15.0, type-fest@npm:^4.26.1, type-fest@npm:^4.37.0": + version: 4.38.0 + resolution: "type-fest@npm:4.38.0" + checksum: db9990d682a08697cf8ae67ac3cdbca734c742c96615e8888401d7d54e376b390e6a5d3be25fe3b4b439e1bb88a7da461da678a614ece8caccd9c0a07dd2e5f4 + languageName: node + linkType: hard + "type-fest@npm:^4.30.0": version: 4.37.0 resolution: "type-fest@npm:4.37.0" @@ -14919,53 +14206,6 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - is-typed-array: "npm:^1.1.10" - checksum: ebad66cdf00c96b1395dffc7873169cf09801fca5954507a484f41f253feb1388d815db297b0b3bb8ce7421eac6f7ff45e2ec68450a3d68408aa4ae02fcf3a6c - languageName: node - linkType: hard - -"typed-array-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-length@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 6696435d53ce0e704ff6760c57ccc35138aec5f87859e03eb2a3246336d546feae367952dbc918116f3f0dffbe669734e3cbd8960283c2fa79aac925db50d888 - languageName: node - linkType: hard - -"typed-array-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-offset@npm:1.0.0" - dependencies: - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 4036ce007ae9752931bed3dd61e0d6de2a3e5f6a5a85a05f3adb35388d2c0728f9b1a1e638d75579f168e49c289bfb5417f00e96d4ab081f38b647fc854ff7a5 - languageName: node - linkType: hard - -"typed-array-length@npm:^1.0.4": - version: 1.0.4 - resolution: "typed-array-length@npm:1.0.4" - dependencies: - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - is-typed-array: "npm:^1.1.9" - checksum: c5163c0103d07fefc8a2ad0fc151f9ca9a1f6422098c00f695d55f9896e4d63614cd62cf8d8a031c6cee5f418e8980a533796597174da4edff075b3d275a7e23 - languageName: node - linkType: hard - "typedarray-to-buffer@npm:^3.1.5": version: 3.1.5 resolution: "typedarray-to-buffer@npm:3.1.5" @@ -14975,6 +14215,20 @@ __metadata: languageName: node linkType: hard +"typescript-eslint@npm:^8.27.0": + version: 8.28.0 + resolution: "typescript-eslint@npm:8.28.0" + dependencies: + "@typescript-eslint/eslint-plugin": "npm:8.28.0" + "@typescript-eslint/parser": "npm:8.28.0" + "@typescript-eslint/utils": "npm:8.28.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: bf1c1e4b2f21a95930758d5b285c39a394a50e3b6983f373413b93b80a6cb5aabc1d741780e60c63cb42ad5d645ea9c1e6d441d98174c5a2884ab88f4ac46df6 + languageName: node + linkType: hard + "typescript@npm:5.6.1-rc": version: 5.6.1-rc resolution: "typescript@npm:5.6.1-rc" @@ -15100,25 +14354,6 @@ __metadata: languageName: node linkType: hard -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" - dependencies: - call-bind: "npm:^1.0.2" - has-bigints: "npm:^1.0.2" - has-symbols: "npm:^1.0.3" - which-boxed-primitive: "npm:^1.0.2" - checksum: 81ca2e81134167cc8f75fa79fbcc8a94379d6c61de67090986a2273850989dd3bae8440c163121b77434b68263e34787a675cbdcb34bb2f764c6b9c843a11b66 - languageName: node - linkType: hard - -"undici-types@npm:~5.26.4": - version: 5.26.5 - resolution: "undici-types@npm:5.26.5" - checksum: bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501 - languageName: node - linkType: hard - "undici-types@npm:~6.19.2": version: 6.19.8 resolution: "undici-types@npm:6.19.8" @@ -15126,30 +14361,26 @@ __metadata: languageName: node linkType: hard -"undici@npm:^5.26.0": - version: 5.28.2 - resolution: "undici@npm:5.28.2" - dependencies: - "@fastify/busboy": "npm:^2.0.0" - checksum: 34385ad9b3ba85309972ee3c1b426dcd19b94a5a6aa9c54499b5f48436c0ecc13a9b1e756a7c6a953eaefa9f4263890625ece5f2719fd774b0852204f5e4d5f9 +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: 68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf languageName: node linkType: hard -"undici@npm:^5.28.2": - version: 5.28.3 - resolution: "undici@npm:5.28.3" - dependencies: - "@fastify/busboy": "npm:^2.0.0" - checksum: 3c559ae50ef3104b7085251445dda6f4de871553b9e290845649d2f80b06c0c9cfcdf741b0029c6b20d36c82e6a74dc815b139fa9a26757d70728074ca6d6f5c +"undici@npm:*": + version: 7.5.0 + resolution: "undici@npm:7.5.0" + checksum: 07e1c984ff1d83516c02a716bb81abfa05087201e511c78147822073440365d2b8e875876804fb4e45857c11c412b46599c961f52aa5bdd2df481fa823e8b629 languageName: node linkType: hard "undici@npm:^5.28.5": - version: 5.28.5 - resolution: "undici@npm:5.28.5" + version: 5.29.0 + resolution: "undici@npm:5.29.0" dependencies: "@fastify/busboy": "npm:^2.0.0" - checksum: 4dfaa13089fe4c0758f84ec0d34b257e58608e6be3aa540f493b9864b39e3fdcd0a1ace38e434fe79db55f833aa30bcfddd8d6cbe3e0982b0dcae8ec17b65e08 + checksum: e4e4d631ca54ee0ad82d2e90e7798fa00a106e27e6c880687e445cc2f13b4bc87c5eba2a88c266c3eecffb18f26e227b778412da74a23acc374fca7caccec49b languageName: node linkType: hard @@ -15173,18 +14404,18 @@ __metadata: languageName: node linkType: hard -"unified@npm:^10.0.0": - version: 10.1.2 - resolution: "unified@npm:10.1.2" +"unified@npm:^11.0.0": + version: 11.0.5 + resolution: "unified@npm:11.0.5" dependencies: - "@types/unist": "npm:^2.0.0" + "@types/unist": "npm:^3.0.0" bail: "npm:^2.0.0" + devlop: "npm:^1.0.0" extend: "npm:^3.0.0" - is-buffer: "npm:^2.0.0" is-plain-obj: "npm:^4.0.0" trough: "npm:^2.0.0" - vfile: "npm:^5.0.0" - checksum: da9195e3375a74ab861a65e1d7b0454225d17a61646697911eb6b3e97de41091930ed3d167eb11881d4097c51deac407091d39ddd1ee8bf1fde3f946844a17a7 + vfile: "npm:^6.0.0" + checksum: 53c8e685f56d11d9d458a43e0e74328a4d6386af51c8ac37a3dcabec74ce5026da21250590d4aff6733ccd7dc203116aae2b0769abc18cdf9639a54ae528dfc9 languageName: node linkType: hard @@ -15197,6 +14428,15 @@ __metadata: languageName: node linkType: hard +"unique-filename@npm:^4.0.0": + version: 4.0.0 + resolution: "unique-filename@npm:4.0.0" + dependencies: + unique-slug: "npm:^5.0.0" + checksum: 38ae681cceb1408ea0587b6b01e29b00eee3c84baee1e41fd5c16b9ed443b80fba90c40e0ba69627e30855570a34ba8b06702d4a35035d4b5e198bf5a64c9ddc + languageName: node + linkType: hard + "unique-slug@npm:^4.0.0": version: 4.0.0 resolution: "unique-slug@npm:4.0.0" @@ -15206,6 +14446,15 @@ __metadata: languageName: node linkType: hard +"unique-slug@npm:^5.0.0": + version: 5.0.0 + resolution: "unique-slug@npm:5.0.0" + dependencies: + imurmurhash: "npm:^0.1.4" + checksum: d324c5a44887bd7e105ce800fcf7533d43f29c48757ac410afd42975de82cc38ea2035c0483f4de82d186691bf3208ef35c644f73aa2b1b20b8e651be5afd293 + languageName: node + linkType: hard + "unique-string@npm:^2.0.0": version: 2.0.0 resolution: "unique-string@npm:2.0.0" @@ -15215,56 +14464,30 @@ __metadata: languageName: node linkType: hard -"unist-util-generated@npm:^2.0.0": - version: 2.0.1 - resolution: "unist-util-generated@npm:2.0.1" - checksum: 6f052dd47a7280785f3787f52cdfe8819e1de50317a1bcf7c9346c63268cf2cebc61a5980e7ca734a54735e27dbb73091aa0361a98504ab7f9409fb75f1b16bb +"unist-util-is@npm:^6.0.0": + version: 6.0.0 + resolution: "unist-util-is@npm:6.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 9419352181eaa1da35eca9490634a6df70d2217815bb5938a04af3a662c12c5607a2f1014197ec9c426fbef18834f6371bfdb6f033040fa8aa3e965300d70e7e languageName: node linkType: hard -"unist-util-is@npm:^5.0.0": - version: 5.2.1 - resolution: "unist-util-is@npm:5.2.1" +"unist-util-position-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "unist-util-position-from-estree@npm:2.0.0" dependencies: - "@types/unist": "npm:^2.0.0" - checksum: a2376910b832bb10653d2167c3cd85b3610a5fd53f5169834c08b3c3a720fae9043d75ad32d727eedfc611491966c26a9501d428ec62467edc17f270feb5410b + "@types/unist": "npm:^3.0.0" + checksum: 39127bf5f0594e0a76d9241dec4f7aa26323517120ce1edd5ed91c8c1b9df7d6fb18af556e4b6250f1c7368825720ed892e2b6923be5cdc08a9bb16536dc37b3 languageName: node linkType: hard -"unist-util-position-from-estree@npm:^1.0.0, unist-util-position-from-estree@npm:^1.1.0": - version: 1.1.2 - resolution: "unist-util-position-from-estree@npm:1.1.2" +"unist-util-position@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-position@npm:5.0.0" dependencies: - "@types/unist": "npm:^2.0.0" - checksum: 1d95d0b2b05efcec07a4e6745a6950cd498f6100fb900615b252937baed5140df1c6319b9a67364c8a6bd891c58b3c9a52a22e8e1d3422c50bb785d7e3ad7484 - languageName: node - linkType: hard - -"unist-util-position@npm:^4.0.0": - version: 4.0.4 - resolution: "unist-util-position@npm:4.0.4" - dependencies: - "@types/unist": "npm:^2.0.0" - checksum: e506d702e25a0fb47a64502054f709a6ff5db98993bf139eec868cd11eb7de34392b781c6c2002e2c24d97aa398c14b32a47076129f36e4b894a2c1351200888 - languageName: node - linkType: hard - -"unist-util-remove-position@npm:^4.0.0": - version: 4.0.2 - resolution: "unist-util-remove-position@npm:4.0.2" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-visit: "npm:^4.0.0" - checksum: 17371b1e53c52d1b00656c9c6fe1bb044846e7067022195823ed3d1a8d8b965d4f9a79b286b8a841e68731b4ec93afd563b81ae92151f80c28534ba51e9dc18f - languageName: node - linkType: hard - -"unist-util-stringify-position@npm:^3.0.0": - version: 3.0.3 - resolution: "unist-util-stringify-position@npm:3.0.3" - dependencies: - "@types/unist": "npm:^2.0.0" - checksum: 14550027825230528f6437dad7f2579a841780318569851291be6c8a970bae6f65a7feb24dabbcfce0e5e68cacae85bf12cbda3f360f7c873b4db602bdf7bb21 + "@types/unist": "npm:^3.0.0" + checksum: dde3b31e314c98f12b4dc6402f9722b2bf35e96a4f2d463233dd90d7cde2d4928074a7a11eff0a5eb1f4e200f27fc1557e0a64a7e8e4da6558542f251b1b7400 languageName: node linkType: hard @@ -15277,24 +14500,24 @@ __metadata: languageName: node linkType: hard -"unist-util-visit-parents@npm:^5.1.1": - version: 5.1.3 - resolution: "unist-util-visit-parents@npm:5.1.3" +"unist-util-visit-parents@npm:^6.0.0": + version: 6.0.1 + resolution: "unist-util-visit-parents@npm:6.0.1" dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-is: "npm:^5.0.0" - checksum: f6829bfd8f2eddf63a32e2c302cd50978ef0c194b792c6fe60c2b71dfd7232415a3c5941903972543e9d34e6a8ea69dee9ccd95811f4a795495ed2ae855d28d0 + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + checksum: 51b1a5b0aa23c97d3e03e7288f0cdf136974df2217d0999d3de573c05001ef04cccd246f51d2ebdfb9e8b0ed2704451ad90ba85ae3f3177cf9772cef67f56206 languageName: node linkType: hard -"unist-util-visit@npm:^4.0.0": - version: 4.1.2 - resolution: "unist-util-visit@npm:4.1.2" +"unist-util-visit@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-visit@npm:5.0.0" dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-is: "npm:^5.0.0" - unist-util-visit-parents: "npm:^5.1.1" - checksum: 56a1f49a4d8e321e75b3c7821d540a45165a031dd06324bb0e8c75e7737bc8d73bdddbf0b0ca82000f9708a4c36861c6ebe88d01f7cf00e925f5d75f13a3a017 + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + unist-util-visit-parents: "npm:^6.0.0" + checksum: 51434a1d80252c1540cce6271a90fd1a106dbe624997c09ed8879279667fb0b2d3a685e02e92bf66598dcbe6cdffa7a5f5fb363af8fdf90dda6c855449ae39a5 languageName: node linkType: hard @@ -15315,6 +14538,13 @@ __metadata: languageName: node linkType: hard +"universalify@npm:^0.2.0": + version: 0.2.0 + resolution: "universalify@npm:0.2.0" + checksum: cedbe4d4ca3967edf24c0800cfc161c5a15e240dac28e3ce575c689abc11f2c81ccc6532c8752af3b40f9120fb5e454abecd359e164f4f6aa44c29cd37e194fe + languageName: node + linkType: hard + "universalify@npm:^2.0.0": version: 2.0.1 resolution: "universalify@npm:2.0.1" @@ -15339,6 +14569,16 @@ __metadata: languageName: node linkType: hard +"unplugin@npm:^2.2.2": + version: 2.2.2 + resolution: "unplugin@npm:2.2.2" + dependencies: + acorn: "npm:^8.14.1" + webpack-virtual-modules: "npm:^0.6.2" + checksum: 76ba320f0c5d18c31c6efab0bcf1f487e900193da7d9a63d50ccb87ea3c50bc9952111caee4ec5017bdcb53445dce275b994c6aeca6b92567db283ec5d9fc01b + languageName: node + linkType: hard + "update-browserslist-db@npm:^1.1.1": version: 1.1.3 resolution: "update-browserslist-db@npm:1.1.3" @@ -15354,8 +14594,8 @@ __metadata: linkType: hard "update-notifier-cjs@npm:^5.1.6": - version: 5.1.6 - resolution: "update-notifier-cjs@npm:5.1.6" + version: 5.1.7 + resolution: "update-notifier-cjs@npm:5.1.7" dependencies: boxen: "npm:^5.0.0" chalk: "npm:^4.1.0" @@ -15373,7 +14613,7 @@ __metadata: semver: "npm:^7.3.7" semver-diff: "npm:^3.1.1" xdg-basedir: "npm:^4.0.0" - checksum: 339d9d8c049c2dc45979159b393e6037b9a935e1da3a0b772e1f42437a2fd372e9b5db12c98c2eef4c9a578922b214432085944935816dab06804ca29ab61d99 + checksum: 6b264940deb485be8892615d5c17c6dff8b2f820a03079f083b635a589327b7876a83e5cd9b32e392cd2e7f73282d9834130debbce190a176ce268c612979e32 languageName: node linkType: hard @@ -15393,6 +14633,16 @@ __metadata: languageName: node linkType: hard +"url-parse@npm:^1.5.3": + version: 1.5.10 + resolution: "url-parse@npm:1.5.10" + dependencies: + querystringify: "npm:^2.1.1" + requires-port: "npm:^1.0.0" + checksum: bd5aa9389f896974beb851c112f63b466505a04b4807cea2e5a3b7092f6fbb75316f0491ea84e44f66fed55f1b440df5195d7e3a8203f64fcefa19d182f5be87 + languageName: node + linkType: hard + "url-template@npm:^2.0.8": version: 2.0.8 resolution: "url-template@npm:2.0.8" @@ -15400,12 +14650,12 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:^1.2.0": - version: 1.2.0 - resolution: "use-sync-external-store@npm:1.2.0" +"use-sync-external-store@npm:^1.4.0": + version: 1.4.0 + resolution: "use-sync-external-store@npm:1.4.0" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + checksum: ec011a5055962c0f6b509d6e78c0b143f8cd069890ae370528753053c55e3b360d3648e76cfaa854faa7a59eb08d6c5fb1015e60ffde9046d32f5b2a295acea5 languageName: node linkType: hard @@ -15441,28 +14691,7 @@ __metadata: languageName: node linkType: hard -"uvu@npm:^0.5.0": - version: 0.5.6 - resolution: "uvu@npm:0.5.6" - dependencies: - dequal: "npm:^2.0.0" - diff: "npm:^5.0.0" - kleur: "npm:^4.0.3" - sade: "npm:^1.7.3" - bin: - uvu: bin.js - checksum: ad32eb5f7d94bdeb71f80d073003f0138e24f61ed68cecc8e15d2f30838f44c9670577bb1775c8fac894bf93d1bc1583d470a9195e49bfa6efa14cc6f4942bff - languageName: node - linkType: hard - -"valibot@npm:^0.36.0": - version: 0.36.0 - resolution: "valibot@npm:0.36.0" - checksum: deff84cdcdc324d5010c2087e553cd26b07752ac18912c9152eccd241b507a49a9ad77fed57501d45bcbef9bec6a7a6707b17d9bef8d35e681d45f098a70e466 - languageName: node - linkType: hard - -"valibot@npm:^1.0.0": +"valibot@npm:>=0.36.0 <2, valibot@npm:^1.0.0": version: 1.0.0 resolution: "valibot@npm:1.0.0" peerDependencies: @@ -15474,6 +14703,13 @@ __metadata: languageName: node linkType: hard +"valibot@npm:^0.36.0": + version: 0.36.0 + resolution: "valibot@npm:0.36.0" + checksum: deff84cdcdc324d5010c2087e553cd26b07752ac18912c9152eccd241b507a49a9ad77fed57501d45bcbef9bec6a7a6707b17d9bef8d35e681d45f098a70e466 + languageName: node + linkType: hard + "valibot@npm:^1.0.0-beta.9": version: 1.0.0-beta.9 resolution: "valibot@npm:1.0.0-beta.9" @@ -15493,16 +14729,6 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": - version: 3.0.4 - resolution: "validate-npm-package-license@npm:3.0.4" - dependencies: - spdx-correct: "npm:^3.0.0" - spdx-expression-parse: "npm:^3.0.0" - checksum: 7b91e455a8de9a0beaa9fe961e536b677da7f48c9a493edf4d4d4a87fd80a7a10267d438723364e432c2fcd00b5650b5378275cded362383ef570276e6312f4f - languageName: node - linkType: hard - "validate-npm-package-name@npm:^5.0.0": version: 5.0.1 resolution: "validate-npm-package-name@npm:5.0.1" @@ -15511,9 +14737,9 @@ __metadata: linkType: hard "validator@npm:^13.9.0": - version: 13.12.0 - resolution: "validator@npm:13.12.0" - checksum: 21d48a7947c9e8498790550f56cd7971e0e3d724c73388226b109c1bac2728f4f88caddfc2f7ed4b076f9b0d004316263ac786a17e9c4edf075741200718cd32 + version: 13.15.0 + resolution: "validator@npm:13.15.0" + checksum: 0f13fd7031ac575e8d7828431da8ef5859bac6a38ee65e1d7fdd367dbf1c3d94d95182aecc3183f7fa7a30ff4474bf864d1aff54707620227a2cdbfd36d894c2 languageName: node linkType: hard @@ -15524,16 +14750,6 @@ __metadata: languageName: node linkType: hard -"vfile-message@npm:^3.0.0": - version: 3.1.4 - resolution: "vfile-message@npm:3.1.4" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-stringify-position: "npm:^3.0.0" - checksum: c4ccf9c0ced92d657846fd067fefcf91c5832cdbe2ecc431bb67886e8c959bf7fc05a9dbbca5551bc34c9c87a0a73854b4249f65c64ddfebc4d59ea24a18b996 - languageName: node - linkType: hard - "vfile-message@npm:^4.0.0": version: 4.0.2 resolution: "vfile-message@npm:4.0.2" @@ -15544,42 +14760,41 @@ __metadata: languageName: node linkType: hard -"vfile@npm:^5.0.0": - version: 5.3.7 - resolution: "vfile@npm:5.3.7" - dependencies: - "@types/unist": "npm:^2.0.0" - is-buffer: "npm:^2.0.0" - unist-util-stringify-position: "npm:^3.0.0" - vfile-message: "npm:^3.0.0" - checksum: c36bd4c3f16ec0c6cbad0711ca99200316bbf849d6b07aa4cb5d9062cc18ae89249fe62af9521926e9659c0e6bc5c2c1da0fe26b41fb71e757438297e1a41da4 - languageName: node - linkType: hard - -"vfile@npm:^6.0.1": - version: 6.0.1 - resolution: "vfile@npm:6.0.1" +"vfile@npm:6.0.2": + version: 6.0.2 + resolution: "vfile@npm:6.0.2" dependencies: "@types/unist": "npm:^3.0.0" unist-util-stringify-position: "npm:^4.0.0" vfile-message: "npm:^4.0.0" - checksum: 443bda43e5ad3b73c5976e987dba2b2d761439867ba7d5d7c5f4b01d3c1cb1b976f5f0e6b2399a00dc9b4eaec611bd9984ce9ce8a75a72e60aed518b10a902d2 + checksum: 96b7e060b332ff1b05462053bd9b0f39062c00c5eabb78fc75603cc808d5f77c4379857fffca3e30a28e0aad2d51c065dfcd4a43fbe15b1fc9c2aaa9ac1be8e1 languageName: node linkType: hard -"vite-imagetools@npm:^6.2.7": - version: 6.2.7 - resolution: "vite-imagetools@npm:6.2.7" +"vfile@npm:^6.0.0": + version: 6.0.3 + resolution: "vfile@npm:6.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + vfile-message: "npm:^4.0.0" + checksum: e5d9eb4810623f23758cfc2205323e33552fb5972e5c2e6587babe08fe4d24859866277404fb9e2a20afb71013860d96ec806cb257536ae463c87d70022ab9ef + languageName: node + linkType: hard + +"vite-imagetools@npm:^7": + version: 7.0.5 + resolution: "vite-imagetools@npm:7.0.5" dependencies: "@rollup/pluginutils": "npm:^5.0.5" - imagetools-core: "npm:^6.0.3" - checksum: f92121ea10c221d349a2dc4a255c21ae74d084ae17d8ea9c8b1f1440406574a535c976ceb57ff704534db735ea2baa29e6c08cd11a49839a209fe2574ff809b2 + imagetools-core: "npm:^7.0.2" + sharp: "npm:^0.33.4" + checksum: 223ba4a6a8df344fa12d0a4104fd783d7da21d256e92311bca8488cdd5de2690406bcf63fd7c15bb504ef89149f68306eb0a101888e2ab336d65e58c91b8bb7e languageName: node linkType: hard -"vite-node@npm:3.0.8": - version: 3.0.8 - resolution: "vite-node@npm:3.0.8" +"vite-node@npm:3.0.9": + version: 3.0.9 + resolution: "vite-node@npm:3.0.9" dependencies: cac: "npm:^6.7.14" debug: "npm:^4.4.0" @@ -15588,23 +14803,24 @@ __metadata: vite: "npm:^5.0.0 || ^6.0.0" bin: vite-node: vite-node.mjs - checksum: 1e7243ad04edc71ccff67b1a686cc85b59ad803645b83c524eab6cde92d6c8f06d595cc99cd3236b4017de27d6760808c419711cd728471eb36ec9a6734ef651 + checksum: 97768a64182832c1ae1797667920fec002d283506b628b684df707fc453c6bf58719029c52c7a4cdf98f5a5a44769036126efdb8192d4040ba3d39f271aa338b languageName: node linkType: hard -"vite@npm:^5.0.0": - version: 5.0.10 - resolution: "vite@npm:5.0.10" +"vite@npm:^5": + version: 5.4.15 + resolution: "vite@npm:5.4.15" dependencies: - esbuild: "npm:^0.19.3" + esbuild: "npm:^0.21.3" fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.32" - rollup: "npm:^4.2.0" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" peerDependencies: "@types/node": ^18.0.0 || >=20.0.0 less: "*" lightningcss: ^1.21.0 sass: "*" + sass-embedded: "*" stylus: "*" sugarss: "*" terser: ^5.4.0 @@ -15620,6 +14836,8 @@ __metadata: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -15628,13 +14846,13 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: d666b2760d2a7ea1d0d35f67c042053e562144f80554be4e4dc58e607fd5f62193cd203d73ab2e315df66830d8b9d9a2e3509d0208bdef1b2e92e0a5c364df84 + checksum: f8a4893bf9d57fe3ded6dc0a2278e8ded707fc9cf38d5a3255fe3caaeea41c52f29bf4deb5e85c9e8dbc8848e9046a7306727ca3fb7b67847d75ee2f2afda5e5 languageName: node linkType: hard "vite@npm:^5.0.0 || ^6.0.0, vite@npm:^6.0.2": - version: 6.2.0 - resolution: "vite@npm:6.2.0" + version: 6.2.3 + resolution: "vite@npm:6.2.3" dependencies: esbuild: "npm:^0.25.0" fsevents: "npm:~2.3.3" @@ -15680,21 +14898,21 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: db62c93d4a823e805c6f8429de035528b3c35cc7f6de4948b41e0528f94ed2ac55047d90f8534f626ef3a04e682883b570fe5ec9ee92f51bf0c3c210dbec5ac1 + checksum: ba6ad7e83e5a63fb0b6f62d3a3963624b8784bdc1bfa2a83e16cf268fb58c76bd9f8e69f39ed34bf8711cdb8fd7702916f878781da53c232c34ef7a85e0600cf languageName: node linkType: hard "vitest@npm:^3.0.8": - version: 3.0.8 - resolution: "vitest@npm:3.0.8" + version: 3.0.9 + resolution: "vitest@npm:3.0.9" dependencies: - "@vitest/expect": "npm:3.0.8" - "@vitest/mocker": "npm:3.0.8" - "@vitest/pretty-format": "npm:^3.0.8" - "@vitest/runner": "npm:3.0.8" - "@vitest/snapshot": "npm:3.0.8" - "@vitest/spy": "npm:3.0.8" - "@vitest/utils": "npm:3.0.8" + "@vitest/expect": "npm:3.0.9" + "@vitest/mocker": "npm:3.0.9" + "@vitest/pretty-format": "npm:^3.0.9" + "@vitest/runner": "npm:3.0.9" + "@vitest/snapshot": "npm:3.0.9" + "@vitest/spy": "npm:3.0.9" + "@vitest/utils": "npm:3.0.9" chai: "npm:^5.2.0" debug: "npm:^4.4.0" expect-type: "npm:^1.1.0" @@ -15706,14 +14924,14 @@ __metadata: tinypool: "npm:^1.0.2" tinyrainbow: "npm:^2.0.0" vite: "npm:^5.0.0 || ^6.0.0" - vite-node: "npm:3.0.8" + vite-node: "npm:3.0.9" why-is-node-running: "npm:^2.3.0" peerDependencies: "@edge-runtime/vm": "*" "@types/debug": ^4.1.12 "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 - "@vitest/browser": 3.0.8 - "@vitest/ui": 3.0.8 + "@vitest/browser": 3.0.9 + "@vitest/ui": 3.0.9 happy-dom: "*" jsdom: "*" peerDependenciesMeta: @@ -15733,7 +14951,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 007a951c4e10ceda1eecad38e5bcc7aa25ed90269614e1394eb2c5fa5f51bbe05d915bcec27fc2e18da8bdea27cea80d428095ef818b97857c51422fddda34ff + checksum: 5bcd25cab1681f3a968a6483cd5fe115791bc02769bd73bc680bf40153474391a03a6329781b0fb0b8c2f95c82eb342a972bd5132d9bd0d4be92977af19574d0 languageName: node linkType: hard @@ -15795,60 +15013,6 @@ __metadata: languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" - dependencies: - is-bigint: "npm:^1.0.1" - is-boolean-object: "npm:^1.1.0" - is-number-object: "npm:^1.0.4" - is-string: "npm:^1.0.5" - is-symbol: "npm:^1.0.3" - checksum: 0a62a03c00c91dd4fb1035b2f0733c341d805753b027eebd3a304b9cb70e8ce33e25317add2fe9b5fea6f53a175c0633ae701ff812e604410ddd049777cd435e - languageName: node - linkType: hard - -"which-module@npm:^2.0.0": - version: 2.0.1 - resolution: "which-module@npm:2.0.1" - checksum: 087038e7992649eaffa6c7a4f3158d5b53b14cf5b6c1f0e043dccfacb1ba179d12f17545d5b85ebd94a42ce280a6fe65d0cbcab70f4fc6daad1dfae85e0e6a3e - languageName: node - linkType: hard - -"which-pm@npm:2.0.0": - version: 2.0.0 - resolution: "which-pm@npm:2.0.0" - dependencies: - load-yaml-file: "npm:^0.2.0" - path-exists: "npm:^4.0.0" - checksum: 499fdf18fb259ea7dd58aab0df5f44240685364746596d0d08d9d68ac3a7205bde710ec1023dbc9148b901e755decb1891aa6790ceffdb81c603b6123ec7b5e4 - languageName: node - linkType: hard - -"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13": - version: 1.1.13 - resolution: "which-typed-array@npm:1.1.13" - dependencies: - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.4" - for-each: "npm:^0.3.3" - gopd: "npm:^1.0.1" - has-tostringtag: "npm:^1.0.0" - checksum: 9f5f1c42918df3d5b91c4315ed0051d5d874370998bf095c9ae0df374f0881f85094e3c384b8fb08ab7b4d4f54ba81c0aff75da6226e7c0589b83dfbec1cd4c9 - languageName: node - linkType: hard - -"which@npm:^1.2.9": - version: 1.3.1 - resolution: "which@npm:1.3.1" - dependencies: - isexe: "npm:^2.0.0" - bin: - which: ./bin/which - checksum: e945a8b6bbf6821aaaef7f6e0c309d4b615ef35699576d5489b4261da9539f70393c6b2ce700ee4321c18f914ebe5644bc4631b15466ffbaad37d83151f6af59 - languageName: node - linkType: hard - "which@npm:^2.0.1": version: 2.0.2 resolution: "which@npm:2.0.2" @@ -15860,6 +15024,17 @@ __metadata: languageName: node linkType: hard +"which@npm:^3.0.1": + version: 3.0.1 + resolution: "which@npm:3.0.1" + dependencies: + isexe: "npm:^2.0.0" + bin: + node-which: bin/which.js + checksum: 15263b06161a7c377328fd2066cb1f093f5e8a8f429618b63212b5b8847489be7bcab0ab3eb07f3ecc0eda99a5a7ea52105cf5fa8266bedd083cc5a9f6da24f1 + languageName: node + linkType: hard + "which@npm:^4.0.0": version: 4.0.0 resolution: "which@npm:4.0.0" @@ -15871,6 +15046,17 @@ __metadata: languageName: node linkType: hard +"which@npm:^5.0.0": + version: 5.0.0 + resolution: "which@npm:5.0.0" + dependencies: + isexe: "npm:^3.1.1" + bin: + node-which: bin/which.js + checksum: e556e4cd8b7dbf5df52408c9a9dd5ac6518c8c5267c8953f5b0564073c66ed5bf9503b14d876d0e9c7844d4db9725fb0dcf45d6e911e17e26ab363dc3965ae7b + languageName: node + linkType: hard + "why-is-node-running@npm:^2.3.0": version: 2.3.0 resolution: "why-is-node-running@npm:2.3.0" @@ -15892,59 +15078,40 @@ __metadata: languageName: node linkType: hard -"winston-transport@npm:^4.4.0, winston-transport@npm:^4.5.0": - version: 4.6.0 - resolution: "winston-transport@npm:4.6.0" +"winston-transport@npm:^4.4.0, winston-transport@npm:^4.9.0": + version: 4.9.0 + resolution: "winston-transport@npm:4.9.0" dependencies: - logform: "npm:^2.3.2" - readable-stream: "npm:^3.6.0" + logform: "npm:^2.7.0" + readable-stream: "npm:^3.6.2" triple-beam: "npm:^1.3.0" - checksum: 43f7f03dfbaeb2a37ddcfadf5f03a6802c77fb8800a384e9aeecce8d233272ed8f18c50f377045a7e154fd6c951e31c9af1bbcd7a3db9246518af42b6f961cc1 + checksum: e2990a172e754dbf27e7823772214a22dc8312f7ec9cfba831e5ef30a5d5528792e5ea8f083c7387ccfc5b2af20e3691f64738546c8869086110a26f98671095 languageName: node linkType: hard "winston@npm:^3.0.0": - version: 3.11.0 - resolution: "winston@npm:3.11.0" + version: 3.17.0 + resolution: "winston@npm:3.17.0" dependencies: "@colors/colors": "npm:^1.6.0" "@dabh/diagnostics": "npm:^2.0.2" async: "npm:^3.2.3" is-stream: "npm:^2.0.0" - logform: "npm:^2.4.0" + logform: "npm:^2.7.0" one-time: "npm:^1.0.0" readable-stream: "npm:^3.4.0" safe-stable-stringify: "npm:^2.3.1" stack-trace: "npm:0.0.x" triple-beam: "npm:^1.3.0" - winston-transport: "npm:^4.5.0" - checksum: 7e1f8919cbdc62cfe46e6204d79a83e1364696ef61111483f3ecf204988922383fe74192c5bc9f89df9b47caf24c2d34f5420ef6f3b693f8d1286b46432e97be + winston-transport: "npm:^4.9.0" + checksum: ec8eaeac9a72b2598aedbff50b7dac82ce374a400ed92e7e705d7274426b48edcb25507d78cff318187c4fb27d642a0e2a39c57b6badc9af8e09d4a40636a5f7 languageName: node linkType: hard -"workerd@npm:1.20240208.0": - version: 1.20240208.0 - resolution: "workerd@npm:1.20240208.0" - dependencies: - "@cloudflare/workerd-darwin-64": "npm:1.20240208.0" - "@cloudflare/workerd-darwin-arm64": "npm:1.20240208.0" - "@cloudflare/workerd-linux-64": "npm:1.20240208.0" - "@cloudflare/workerd-linux-arm64": "npm:1.20240208.0" - "@cloudflare/workerd-windows-64": "npm:1.20240208.0" - dependenciesMeta: - "@cloudflare/workerd-darwin-64": - optional: true - "@cloudflare/workerd-darwin-arm64": - optional: true - "@cloudflare/workerd-linux-64": - optional: true - "@cloudflare/workerd-linux-arm64": - optional: true - "@cloudflare/workerd-windows-64": - optional: true - bin: - workerd: bin/workerd - checksum: 3a912ec5ffd8bc174cb02e9d2352b29073d4a4e1feb8825cd65acb6f621084a8e8f7b20ac18680a848a092ef9dbb336d21c4d1cad8be55462ae05c869bf1f4c6 +"word-wrap@npm:^1.2.5": + version: 1.2.5 + resolution: "word-wrap@npm:1.2.5" + checksum: e0e4a1ca27599c92a6ca4c32260e8a92e8a44f4ef6ef93f803f8ed823f486e0889fc0b93be4db59c8d51b3064951d25e43d434e95dc8c960cc3a63d65d00ba20 languageName: node linkType: hard @@ -16089,24 +15256,9 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.11.0": - version: 8.15.1 - resolution: "ws@npm:8.15.1" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 9964360dd5ab35c7376bd7c4295a3c8bd44ea0838c9413742548a6fb3ec371fc6c18552d5b8e76bdc21536db1909765612815bae072674b5ec69971605395a96 - languageName: node - linkType: hard - "ws@npm:^8.17.0": - version: 8.17.0 - resolution: "ws@npm:8.17.0" + version: 8.18.1 + resolution: "ws@npm:8.18.1" peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ">=5.0.2" @@ -16115,7 +15267,7 @@ __metadata: optional: true utf-8-validate: optional: true - checksum: 55241ec93a66fdfc4bf4f8bc66c8eb038fda2c7a4ee8f6f157f2ca7dc7aa76aea0c0da0bf3adb2af390074a70a0e45456a2eaf80e581e630b75df10a64b0a990 + checksum: e498965d6938c63058c4310ffb6967f07d4fa06789d3364829028af380d299fe05762961742971c764973dce3d1f6a2633fe8b2d9410c9b52e534b4b882a99fa languageName: node linkType: hard @@ -16133,13 +15285,6 @@ __metadata: languageName: node linkType: hard -"y18n@npm:^4.0.0": - version: 4.0.3 - resolution: "y18n@npm:4.0.3" - checksum: 308a2efd7cc296ab2c0f3b9284fd4827be01cfeb647b3ba18230e3a416eb1bc887ac050de9f8c4fd9e7856b2e8246e05d190b53c96c5ad8d8cb56dffb6f81024 - languageName: node - linkType: hard - "y18n@npm:^5.0.5": version: 5.0.8 resolution: "y18n@npm:5.0.8" @@ -16147,13 +15292,6 @@ __metadata: languageName: node linkType: hard -"yallist@npm:^2.1.2": - version: 2.1.2 - resolution: "yallist@npm:2.1.2" - checksum: 0b9e25aa00adf19e01d2bcd4b208aee2b0db643d9927131797b7af5ff69480fc80f1c3db738cbf3946f0bddf39d8f2d0a5709c644fd42d4aa3a4e6e786c087b5 - languageName: node - linkType: hard - "yallist@npm:^3.0.2": version: 3.1.1 resolution: "yallist@npm:3.1.1" @@ -16168,14 +15306,14 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.2.1, yaml@npm:^2.2.2": - version: 2.3.4 - resolution: "yaml@npm:2.3.4" - checksum: cf03b68f8fef5e8516b0f0b54edaf2459f1648317fc6210391cf606d247e678b449382f4bd01f77392538429e306c7cba8ff46ff6b37cac4de9a76aff33bd9e1 +"yallist@npm:^5.0.0": + version: 5.0.0 + resolution: "yallist@npm:5.0.0" + checksum: a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416 languageName: node linkType: hard -"yaml@npm:^2.4.1": +"yaml@npm:^2.2.1, yaml@npm:^2.4.1, yaml@npm:^2.5.0": version: 2.7.0 resolution: "yaml@npm:2.7.0" bin: @@ -16193,16 +15331,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^18.1.2, yargs-parser@npm:^18.1.3": - version: 18.1.3 - resolution: "yargs-parser@npm:18.1.3" - dependencies: - camelcase: "npm:^5.0.0" - decamelize: "npm:^1.2.0" - checksum: 25df918833592a83f52e7e4f91ba7d7bfaa2b891ebf7fe901923c2ee797534f23a176913ff6ff7ebbc1cc1725a044cc6a6539fed8bfd4e13b5b16376875f9499 - languageName: node - linkType: hard - "yargs-parser@npm:^20.2.2": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" @@ -16217,25 +15345,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^15.1.0": - version: 15.4.1 - resolution: "yargs@npm:15.4.1" - dependencies: - cliui: "npm:^6.0.0" - decamelize: "npm:^1.2.0" - find-up: "npm:^4.1.0" - get-caller-file: "npm:^2.0.1" - require-directory: "npm:^2.1.1" - require-main-filename: "npm:^2.0.0" - set-blocking: "npm:^2.0.0" - string-width: "npm:^4.2.0" - which-module: "npm:^2.0.0" - y18n: "npm:^4.0.0" - yargs-parser: "npm:^18.1.2" - checksum: f1ca680c974333a5822732825cca7e95306c5a1e7750eb7b973ce6dc4f97a6b0a8837203c8b194f461969bfe1fb1176d1d423036635285f6010b392fa498ab2d - languageName: node - linkType: hard - "yargs@npm:^16.0.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" @@ -16251,7 +15360,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.3.1, yargs@npm:^17.7.1, yargs@npm:^17.7.2": +"yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: @@ -16274,9 +15383,16 @@ __metadata: linkType: hard "yocto-queue@npm:^1.0.0": - version: 1.0.0 - resolution: "yocto-queue@npm:1.0.0" - checksum: 856117aa15cf5103d2a2fb173f0ab4acb12b4b4d0ed3ab249fdbbf612e55d1cadfd27a6110940e24746fb0a78cf640b522cc8bca76f30a3b00b66e90cf82abe0 + version: 1.2.1 + resolution: "yocto-queue@npm:1.2.1" + checksum: 5762caa3d0b421f4bdb7a1926b2ae2189fc6e4a14469258f183600028eb16db3e9e0306f46e8ebf5a52ff4b81a881f22637afefbef5399d6ad440824e9b27f9f + languageName: node + linkType: hard + +"yoctocolors-cjs@npm:^2.1.2": + version: 2.1.2 + resolution: "yoctocolors-cjs@npm:2.1.2" + checksum: a0e36eb88fea2c7981eab22d1ba45e15d8d268626e6c4143305e2c1628fa17ebfaa40cd306161a8ce04c0a60ee0262058eab12567493d5eb1409780853454c6f languageName: node linkType: hard @@ -16291,26 +15407,15 @@ __metadata: languageName: node linkType: hard -"youch@npm:^3.2.2": - version: 3.3.3 - resolution: "youch@npm:3.3.3" - dependencies: - cookie: "npm:^0.5.0" - mustache: "npm:^4.2.0" - stacktracey: "npm:^2.1.8" - checksum: 6e5dd4be39ea737fb557fe0647855ce7f0e2182330342cc5e2315a688e0950683967abbc43dd6452b80f39271b14872c390a6e96009f2475905d6be824d38109 - languageName: node - linkType: hard - "yup@npm:^1.4.0": - version: 1.4.0 - resolution: "yup@npm:1.4.0" + version: 1.6.1 + resolution: "yup@npm:1.6.1" dependencies: property-expr: "npm:^2.0.5" tiny-case: "npm:^1.0.3" toposort: "npm:^2.0.2" type-fest: "npm:^2.19.0" - checksum: fe142141365eed0f78fb2e18bdd2f10bf101385dae12a5f9de14884448067bdca16a54b547fc0bffec04a098dd70b4519ff366422f3da006fd11a0717a7863ac + checksum: 84c2b53996e8001041239cf2719851719f67063ec7cd843067df73562353216f5ad4f8a222319696882d5a6058e528fade1e463c59d70cbffb41b99cd0d7571b languageName: node linkType: hard @@ -16332,14 +15437,14 @@ __metadata: languageName: node linkType: hard -"zod@npm:^3.20.2, zod@npm:^3.20.6, zod@npm:^3.22.1, zod@npm:^3.22.4": +"zod@npm:3.22.4": version: 3.22.4 resolution: "zod@npm:3.22.4" checksum: 7578ab283dac0eee66a0ad0fc4a7f28c43e6745aadb3a529f59a4b851aa10872b3890398b3160f257f4b6817b4ce643debdda4fb21a2c040adda7862cab0a587 languageName: node linkType: hard -"zod@npm:^3.22.3": +"zod@npm:^3.20.2, zod@npm:^3.22.1, zod@npm:^3.22.3, zod@npm:^3.22.4": version: 3.24.2 resolution: "zod@npm:3.24.2" checksum: c638c7220150847f13ad90635b3e7d0321b36cce36f3fc6050ed960689594c949c326dfe2c6fa87c14b126ee5d370ccdebd6efb304f41ef5557a4aaca2824565 From 88d3b5c6373720cc8f8e0c311df3618920eb7ffe Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 08:47:19 +0900 Subject: [PATCH 57/81] refactor(zod-openapi): fix type errors (#1078) * refactor(zod-openapi): fix type errors * fix types --- packages/zod-openapi/src/index.ts | 32 +++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/packages/zod-openapi/src/index.ts b/packages/zod-openapi/src/index.ts index e9e90c1f..f42a2f68 100644 --- a/packages/zod-openapi/src/index.ts +++ b/packages/zod-openapi/src/index.ts @@ -198,22 +198,26 @@ type ExtractStatusCode<T extends RouteConfigStatusCode> = T extends keyof Status type DefinedStatusCodes<R extends RouteConfig> = keyof R['responses'] & RouteConfigStatusCode export type RouteConfigToTypedResponse<R extends RouteConfig> = | { - [Status in DefinedStatusCodes<R>]: undefined extends R['responses'][Status]['content'] - ? TypedResponse<{}, ExtractStatusCode<Status>, string> - : ReturnJsonOrTextOrResponse< - keyof R['responses'][Status]['content'], - ExtractContent<R['responses'][Status]['content']>, - Status - > + [Status in DefinedStatusCodes<R>]: R['responses'][Status] extends { content: infer Content } + ? undefined extends Content + ? never + : ReturnJsonOrTextOrResponse< + keyof R['responses'][Status]['content'], + ExtractContent<R['responses'][Status]['content']>, + Status + > + : TypedResponse<{}, ExtractStatusCode<Status>, string> }[DefinedStatusCodes<R>] | ('default' extends keyof R['responses'] - ? undefined extends R['responses']['default']['content'] - ? TypedResponse<{}, Exclude<StatusCode, ExtractStatusCode<DefinedStatusCodes<R>>>, string> - : ReturnJsonOrTextOrResponse< - keyof R['responses']['default']['content'], - ExtractContent<R['responses']['default']['content']>, - Exclude<StatusCode, ExtractStatusCode<DefinedStatusCodes<R>>> - > + ? R['responses']['default'] extends { content: infer Content } + ? undefined extends Content + ? never + : ReturnJsonOrTextOrResponse< + keyof Content, + ExtractContent<Content>, + Exclude<StatusCode, ExtractStatusCode<DefinedStatusCodes<R>>> + > + : TypedResponse<{}, Exclude<StatusCode, ExtractStatusCode<DefinedStatusCodes<R>>>, string> : never) export type Hook<T, E extends Env, P extends string, R> = ( From 37dbba2b8ded5a60bd987e12ab583ba2c2f22b25 Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 09:02:20 +0900 Subject: [PATCH 58/81] refactor(typebox-validator): fix the type error (#1079) --- packages/typebox-validator/src/index.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/typebox-validator/src/index.ts b/packages/typebox-validator/src/index.ts index aad082be..07ef0eed 100644 --- a/packages/typebox-validator/src/index.ts +++ b/packages/typebox-validator/src/index.ts @@ -2,7 +2,7 @@ import type { TSchema, Static } from '@sinclair/typebox' import { TypeGuard, ValueGuard } from '@sinclair/typebox' import { Value } from '@sinclair/typebox/value' import type { ValueError } from '@sinclair/typebox/value' -import type { Context, Env, MiddlewareHandler, ValidationTargets } from 'hono' +import type { Context, Env, MiddlewareHandler, TypedResponse, ValidationTargets } from 'hono' import { validator } from 'hono/validator' import IsObject = ValueGuard.IsObject import IsArray = ValueGuard.IsArray @@ -57,12 +57,18 @@ export type Hook<T, E extends Env, P extends string> = ( * ) * ``` */ + +type ExcludeResponseType<T> = T extends Response & TypedResponse<any> ? never : T + export function tbValidator< T extends TSchema, Target extends keyof ValidationTargets, E extends Env, P extends string, - V extends { in: { [K in Target]: Static<T> }; out: { [K in Target]: Static<T> } } + V extends { + in: { [K in Target]: Static<T> } + out: { [K in Target]: ExcludeResponseType<Static<T>> } + } >( target: Target, schema: T, From 83ca99d3377380e2e2c4699af14786f1e7d0b7c6 Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 09:04:51 +0900 Subject: [PATCH 59/81] fix(typebox-validator): export modules correctly (#1080) --- .changeset/tall-llamas-refuse.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tall-llamas-refuse.md diff --git a/.changeset/tall-llamas-refuse.md b/.changeset/tall-llamas-refuse.md new file mode 100644 index 00000000..f9de6fba --- /dev/null +++ b/.changeset/tall-llamas-refuse.md @@ -0,0 +1,5 @@ +--- +'@hono/typebox-validator': patch +--- + +fix: export modules correctly From a3979bda8ff18e0855580b2f12d645d00aafdccd Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 09:12:39 +0900 Subject: [PATCH 60/81] fix(sentry): fix the type error (#1081) --- .changeset/hot-results-dream.md | 5 +++++ packages/sentry/src/index.test.ts | 2 ++ packages/sentry/src/index.ts | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 .changeset/hot-results-dream.md diff --git a/.changeset/hot-results-dream.md b/.changeset/hot-results-dream.md new file mode 100644 index 00000000..3e955f81 --- /dev/null +++ b/.changeset/hot-results-dream.md @@ -0,0 +1,5 @@ +--- +'@hono/sentry': patch +--- + +fix: fix the type error diff --git a/packages/sentry/src/index.test.ts b/packages/sentry/src/index.test.ts index 183be1f6..f0e82eeb 100644 --- a/packages/sentry/src/index.test.ts +++ b/packages/sentry/src/index.test.ts @@ -11,6 +11,8 @@ class Context implements ExecutionContext { async waitUntil(promise: Promise<any>): Promise<void> { await promise } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + props: any } vi.mock(import('toucan-js'), async (importOriginal) => { diff --git a/packages/sentry/src/index.ts b/packages/sentry/src/index.ts index e793451c..f6e5d771 100644 --- a/packages/sentry/src/index.ts +++ b/packages/sentry/src/index.ts @@ -16,6 +16,8 @@ class MockContext implements ExecutionContext { async waitUntil(promise: Promise<any>): Promise<void> { await promise } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + props: any } export type Options = Omit<ToucanOptions, 'request' | 'context'> From 9a98e388cc4a5493b1131b356441b24337183760 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Mar 2025 09:20:18 +0900 Subject: [PATCH 61/81] Version Packages (#1082) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/chilly-tips-repeat.md | 9 --------- .changeset/hot-results-dream.md | 5 ----- .changeset/tall-llamas-refuse.md | 5 ----- packages/eslint-config/CHANGELOG.md | 10 ++++++++++ packages/eslint-config/package.json | 2 +- packages/sentry/CHANGELOG.md | 6 ++++++ packages/sentry/package.json | 2 +- packages/typebox-validator/CHANGELOG.md | 6 ++++++ packages/typebox-validator/package.json | 2 +- 9 files changed, 25 insertions(+), 22 deletions(-) delete mode 100644 .changeset/chilly-tips-repeat.md delete mode 100644 .changeset/hot-results-dream.md delete mode 100644 .changeset/tall-llamas-refuse.md diff --git a/.changeset/chilly-tips-repeat.md b/.changeset/chilly-tips-repeat.md deleted file mode 100644 index 0333daff..00000000 --- a/.changeset/chilly-tips-repeat.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@hono/eslint-config': minor ---- - -feat: updated `@hono/eslint-config` package - -- upgrading eslint plugins -- removing @eslint/eslintrc and the legacy FlatCompat -- cleanup migration to typescript-eslint diff --git a/.changeset/hot-results-dream.md b/.changeset/hot-results-dream.md deleted file mode 100644 index 3e955f81..00000000 --- a/.changeset/hot-results-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/sentry': patch ---- - -fix: fix the type error diff --git a/.changeset/tall-llamas-refuse.md b/.changeset/tall-llamas-refuse.md deleted file mode 100644 index f9de6fba..00000000 --- a/.changeset/tall-llamas-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/typebox-validator': patch ---- - -fix: export modules correctly diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md index 0ed8810a..884d0a23 100644 --- a/packages/eslint-config/CHANGELOG.md +++ b/packages/eslint-config/CHANGELOG.md @@ -1,5 +1,15 @@ # @hono/eslint-config +## 1.1.0 + +### Minor Changes + +- [#1031](https://github.com/honojs/middleware/pull/1031) [`0d6c13b1a339dc17028548cde10ba7ef9e1dd7fd`](https://github.com/honojs/middleware/commit/0d6c13b1a339dc17028548cde10ba7ef9e1dd7fd) Thanks [@MathurAditya724](https://github.com/MathurAditya724)! - feat: updated `@hono/eslint-config` package + + - upgrading eslint plugins + - removing @eslint/eslintrc and the legacy FlatCompat + - cleanup migration to typescript-eslint + ## 1.0.2 ### Patch Changes diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 0fcdab70..23841194 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@hono/eslint-config", - "version": "1.0.2", + "version": "1.1.0", "description": "ESLint Config for Hono projects", "type": "module", "module": "./index.js", diff --git a/packages/sentry/CHANGELOG.md b/packages/sentry/CHANGELOG.md index f8be72d7..bbdcb4d1 100644 --- a/packages/sentry/CHANGELOG.md +++ b/packages/sentry/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/sentry +## 1.2.1 + +### Patch Changes + +- [#1081](https://github.com/honojs/middleware/pull/1081) [`a3979bda8ff18e0855580b2f12d645d00aafdccd`](https://github.com/honojs/middleware/commit/a3979bda8ff18e0855580b2f12d645d00aafdccd) Thanks [@yusukebe](https://github.com/yusukebe)! - fix: fix the type error + ## 1.2.0 ### Minor Changes diff --git a/packages/sentry/package.json b/packages/sentry/package.json index 7844515a..9604dc02 100644 --- a/packages/sentry/package.json +++ b/packages/sentry/package.json @@ -1,6 +1,6 @@ { "name": "@hono/sentry", - "version": "1.2.0", + "version": "1.2.1", "description": "Sentry Middleware for Hono", "type": "module", "module": "dist/index.js", diff --git a/packages/typebox-validator/CHANGELOG.md b/packages/typebox-validator/CHANGELOG.md index 8c0e9dae..0374a602 100644 --- a/packages/typebox-validator/CHANGELOG.md +++ b/packages/typebox-validator/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/typebox-validator +## 0.3.3 + +### Patch Changes + +- [#1080](https://github.com/honojs/middleware/pull/1080) [`83ca99d3377380e2e2c4699af14786f1e7d0b7c6`](https://github.com/honojs/middleware/commit/83ca99d3377380e2e2c4699af14786f1e7d0b7c6) Thanks [@yusukebe](https://github.com/yusukebe)! - fix: export modules correctly + ## 0.3.2 ### Patch Changes diff --git a/packages/typebox-validator/package.json b/packages/typebox-validator/package.json index 7d931faf..b5e4a1a7 100644 --- a/packages/typebox-validator/package.json +++ b/packages/typebox-validator/package.json @@ -1,6 +1,6 @@ { "name": "@hono/typebox-validator", - "version": "0.3.2", + "version": "0.3.3", "description": "Validator middleware using TypeBox", "type": "module", "module": "dist/index.js", From 8e6961ec9bdebbaf3df47e739a9d66b6a2081727 Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 14:02:45 +0900 Subject: [PATCH 62/81] fix(eslint-config): add spread to `tseslint.configs.recommended` (#1084) --- packages/eslint-config/index.js | 163 +++++++++++++++----------------- 1 file changed, 78 insertions(+), 85 deletions(-) diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index 108af5e9..d3a86ca8 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -6,98 +6,91 @@ import tseslint from 'typescript-eslint' export default [ js.configs.recommended, - nodePlugin.configs["flat/recommended"], - tseslint.configs.recommended, - { - plugins: { - '@typescript-eslint': tseslint.plugin, - 'import-x': importX, - }, - languageOptions: { - globals: { - fetch: false, - Response: false, - Request: false, - addEventListener: false, - }, + nodePlugin.configs['flat/recommended'], + ...tseslint.configs.recommended, + { + plugins: { + '@typescript-eslint': tseslint.plugin, + 'import-x': importX, + }, + languageOptions: { + globals: { + fetch: false, + Response: false, + Request: false, + addEventListener: false, + }, - ecmaVersion: 2021, - sourceType: 'module', - }, + ecmaVersion: 2021, + sourceType: 'module', + }, - rules: { - curly: ['error', 'all'], - quotes: ['error', 'single'], - semi: ['error', 'never'], - 'no-debugger': ['error'], + rules: { + curly: ['error', 'all'], + quotes: ['error', 'single'], + semi: ['error', 'never'], + 'no-debugger': ['error'], - 'no-empty': [ - 'warn', - { - allowEmptyCatch: true, - }, - ], + 'no-empty': [ + 'warn', + { + allowEmptyCatch: true, + }, + ], - 'no-process-exit': 'off', - 'no-useless-escape': 'off', + 'no-process-exit': 'off', + 'no-useless-escape': 'off', - 'prefer-const': [ - 'warn', - { - destructuring: 'all', - }, - ], + 'prefer-const': [ + 'warn', + { + destructuring: 'all', + }, + ], - 'import-x/consistent-type-specifier-style': ['error', 'prefer-top-level'], - 'import-x/order': [ - 'error', - { - groups: [ - 'external', - 'builtin', - 'internal', - 'parent', - 'sibling', - 'index', - ], - alphabetize: { - order: 'asc', - caseInsensitive: true, - }, - }, - ], - 'import-x/no-duplicates': 'error', + 'import-x/consistent-type-specifier-style': ['error', 'prefer-top-level'], + 'import-x/order': [ + 'error', + { + groups: ['external', 'builtin', 'internal', 'parent', 'sibling', 'index'], + alphabetize: { + order: 'asc', + caseInsensitive: true, + }, + }, + ], + 'import-x/no-duplicates': 'error', - 'n/no-missing-import': 'off', - 'n/no-missing-require': 'off', - 'n/no-deprecated-api': 'off', - 'n/no-unpublished-import': 'off', - 'n/no-unpublished-require': 'off', - 'n/no-unsupported-features/es-syntax': 'off', - 'n/no-unsupported-features/node-builtins': 'off', + 'n/no-missing-import': 'off', + 'n/no-missing-require': 'off', + 'n/no-deprecated-api': 'off', + 'n/no-unpublished-import': 'off', + 'n/no-unpublished-require': 'off', + 'n/no-unsupported-features/es-syntax': 'off', + 'n/no-unsupported-features/node-builtins': 'off', - '@typescript-eslint/consistent-type-imports': [ - 'error', - { - prefer: 'type-imports', - }, - ], - '@typescript-eslint/no-empty-object-type': 'off', - '@typescript-eslint/no-unsafe-function-type': 'off', - '@typescript-eslint/no-empty-function': [ - 'error', - { - allow: ['arrowFunctions'], - }, - ], - '@typescript-eslint/no-unused-expressions': 'off', - '@typescript-eslint/no-empty-interface': 'off', - '@typescript-eslint/no-explicit-any': 'warn', - '@typescript-eslint/no-inferrable-types': 'off', - '@typescript-eslint/no-require-imports': 'off', - '@typescript-eslint/no-unused-vars': 'warn', - '@typescript-eslint/no-var-requires': 'off', - }, - }, + '@typescript-eslint/consistent-type-imports': [ + 'error', + { + prefer: 'type-imports', + }, + ], + '@typescript-eslint/no-empty-object-type': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off', + '@typescript-eslint/no-empty-function': [ + 'error', + { + allow: ['arrowFunctions'], + }, + ], + '@typescript-eslint/no-unused-expressions': 'off', + '@typescript-eslint/no-empty-interface': 'off', + '@typescript-eslint/no-explicit-any': 'warn', + '@typescript-eslint/no-inferrable-types': 'off', + '@typescript-eslint/no-require-imports': 'off', + '@typescript-eslint/no-unused-vars': 'warn', + '@typescript-eslint/no-var-requires': 'off', + }, + }, prettier, ] From 7b1d2393a59aac4e594afaf50b7b0f3b1fb5ed04 Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Sat, 29 Mar 2025 14:07:14 +0900 Subject: [PATCH 63/81] chore(eslint-config): add missing changeset (#1085) --- .changeset/spotty-things-rule.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/spotty-things-rule.md diff --git a/.changeset/spotty-things-rule.md b/.changeset/spotty-things-rule.md new file mode 100644 index 00000000..8cc5801b --- /dev/null +++ b/.changeset/spotty-things-rule.md @@ -0,0 +1,5 @@ +--- +'@hono/eslint-config': patch +--- + +fix: add spread to tseslint.configs.recommended From b0e0d40be45ce60fc5719967b7612ba8b3b6e00b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Mar 2025 14:12:27 +0900 Subject: [PATCH 64/81] Version Packages (#1087) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/spotty-things-rule.md | 5 ----- packages/eslint-config/CHANGELOG.md | 6 ++++++ packages/eslint-config/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/spotty-things-rule.md diff --git a/.changeset/spotty-things-rule.md b/.changeset/spotty-things-rule.md deleted file mode 100644 index 8cc5801b..00000000 --- a/.changeset/spotty-things-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/eslint-config': patch ---- - -fix: add spread to tseslint.configs.recommended diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md index 884d0a23..4afefccb 100644 --- a/packages/eslint-config/CHANGELOG.md +++ b/packages/eslint-config/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/eslint-config +## 1.1.1 + +### Patch Changes + +- [#1085](https://github.com/honojs/middleware/pull/1085) [`7b1d2393a59aac4e594afaf50b7b0f3b1fb5ed04`](https://github.com/honojs/middleware/commit/7b1d2393a59aac4e594afaf50b7b0f3b1fb5ed04) Thanks [@yusukebe](https://github.com/yusukebe)! - fix: add spread to tseslint.configs.recommended + ## 1.1.0 ### Minor Changes diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 23841194..83578bc4 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@hono/eslint-config", - "version": "1.1.0", + "version": "1.1.1", "description": "ESLint Config for Hono projects", "type": "module", "module": "./index.js", From b70735cc6c21d0a3bea6a0e45f0783adda3d0927 Mon Sep 17 00:00:00 2001 From: Yann Normand <yann.normand@gmail.com> Date: Sun, 30 Mar 2025 12:04:13 +1000 Subject: [PATCH 65/81] docs:(zod-openapi): add note about app.route (#1088) --- packages/zod-openapi/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/zod-openapi/README.md b/packages/zod-openapi/README.md index dd3d874b..01c83b6f 100644 --- a/packages/zod-openapi/README.md +++ b/packages/zod-openapi/README.md @@ -472,6 +472,18 @@ Be careful when combining `OpenAPIHono` instances with plain `Hono` instances. ` If you're migrating from plain `Hono` to `OpenAPIHono`, we recommend porting your top-level app, then working your way down the router tree. +When using the `.route()` method to mount a child OpenAPIHono app that uses path parameters, you should use the Hono *:param* syntax in the parent route path, rather than the OpenAPI *{param}* syntax: + +``` +const bookActionsApp = new OpenAPIHono() +... +// ❌ Incorrect: This will not match the route +app.route('/books/{bookId}', bookActionsApp) + +// ✅ Using Hono parameter syntax +app.route('/books/:bookId', bookActionsApp) +``` + ### Header keys Header keys that you define in your schema must be in lowercase. From 9a536e6abba37c887636c4510910d7b36137bbbb Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Sun, 30 Mar 2025 13:28:44 +1100 Subject: [PATCH 66/81] ci: run eslint in each workflow (#1083) --- .github/workflows/ci-ajv-validator.yml | 1 + .github/workflows/ci-arktype-validator.yml | 1 + .github/workflows/ci-auth-js.yml | 1 + .github/workflows/ci-bun-transpiler.yml | 1 + .github/workflows/ci-casbin.yml | 1 + .github/workflows/ci-class-validator.yml | 1 + .github/workflows/ci-clerk-auth.yml | 1 + .github/workflows/ci-cloudflare-access.yml | 1 + .github/workflows/ci-conform-validator.yml | 1 + .github/workflows/ci-effect-validator.yml | 1 + .github/workflows/ci-esbuild-transpiler.yml | 1 + .github/workflows/ci-event-emitter.yml | 1 + .github/workflows/ci-firebase-auth.yml | 1 + .github/workflows/ci-graphql-server.yml | 1 + .github/workflows/ci-hello.yml | 1 + .github/workflows/ci-lint.yml | 17 ----------------- .github/workflows/ci-medley-router.yml | 1 + .github/workflows/ci-node-ws.yml | 1 + .github/workflows/ci-oauth-providers.yml | 1 + .github/workflows/ci-oidc-auth.yml | 1 + .github/workflows/ci-otel.yml | 1 + .github/workflows/ci-prometheus.yml | 1 + .github/workflows/ci-qwik-city.yml | 1 + .github/workflows/ci-react-compat.yml | 1 + .github/workflows/ci-react-renderer.yml | 1 + .github/workflows/ci-sentry.yml | 1 + .github/workflows/ci-standard-validator.yml | 1 + .github/workflows/ci-swagger-editor.yml | 1 + .github/workflows/ci-swagger-ui.yml | 1 + .github/workflows/ci-trpc-server.yml | 1 + .github/workflows/ci-tsyringe.yml | 1 + .github/workflows/ci-typebox-validator.yml | 1 + .github/workflows/ci-typia-validator.yml | 1 + .github/workflows/ci-valibot-validator.yml | 1 + .github/workflows/ci-zod-openapi.yml | 1 + .github/workflows/ci-zod-validator.yml | 1 + eslint.config.mjs | 2 +- package.json | 1 + yarn.lock | 3 ++- 39 files changed, 39 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/ci-lint.yml diff --git a/.github/workflows/ci-ajv-validator.yml b/.github/workflows/ci-ajv-validator.yml index 2d64a651..ffd7e725 100644 --- a/.github/workflows/ci-ajv-validator.yml +++ b/.github/workflows/ci-ajv-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/ajv-validator - run: yarn workspace @hono/ajv-validator build - run: yarn workspace @hono/ajv-validator publint + - run: yarn eslint packages/ajv-validator - run: yarn test --coverage --project @hono/ajv-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index 3d8a31aa..3af35685 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/arktype-validator - run: yarn workspace @hono/arktype-validator build - run: yarn workspace @hono/arktype-validator publint + - run: yarn eslint packages/arktype-validator - run: yarn test --coverage --project @hono/arktype-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-auth-js.yml b/.github/workflows/ci-auth-js.yml index b55c6d2f..4d874be0 100644 --- a/.github/workflows/ci-auth-js.yml +++ b/.github/workflows/ci-auth-js.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/auth-js - run: yarn workspace @hono/auth-js build - run: yarn workspace @hono/auth-js publint + - run: yarn eslint packages/auth-js - run: yarn test --coverage --project @hono/auth-js - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-bun-transpiler.yml b/.github/workflows/ci-bun-transpiler.yml index baadc5d0..6eee2415 100644 --- a/.github/workflows/ci-bun-transpiler.yml +++ b/.github/workflows/ci-bun-transpiler.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/bun-transpiler - run: yarn workspace @hono/bun-transpiler build - run: yarn workspace @hono/bun-transpiler publint + - run: yarn eslint packages/bun-transpiler - run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index 739f90e6..1bee855d 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/casbin - run: yarn workspace @hono/casbin build - run: yarn workspace @hono/casbin publint + - run: yarn eslint packages/casbin - run: yarn test --coverage --project @hono/casbin - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-class-validator.yml b/.github/workflows/ci-class-validator.yml index 0a2bc12c..c43bdfc5 100644 --- a/.github/workflows/ci-class-validator.yml +++ b/.github/workflows/ci-class-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/class-validator - run: yarn workspace @hono/class-validator build - run: yarn workspace @hono/class-validator publint + - run: yarn eslint packages/class-validator - run: yarn test --coverage --project @hono/class-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index 49134115..5bcbe8f7 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/clerk-auth - run: yarn workspace @hono/clerk-auth build - run: yarn workspace @hono/clerk-auth publint + - run: yarn eslint packages/clerk-auth - run: yarn test --coverage --project @hono/clerk-auth - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-cloudflare-access.yml b/.github/workflows/ci-cloudflare-access.yml index 3270ecad..7e81563b 100644 --- a/.github/workflows/ci-cloudflare-access.yml +++ b/.github/workflows/ci-cloudflare-access.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/cloudflare-access - run: yarn workspace @hono/cloudflare-access build - run: yarn workspace @hono/cloudflare-access publint + - run: yarn eslint packages/cloudflare-access - run: yarn test --coverage --project @hono/cloudflare-access - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-conform-validator.yml b/.github/workflows/ci-conform-validator.yml index 47426fbb..ed59a9d5 100644 --- a/.github/workflows/ci-conform-validator.yml +++ b/.github/workflows/ci-conform-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/conform-validator - run: yarn workspace @hono/conform-validator build - run: yarn workspace @hono/conform-validator publint + - run: yarn eslint packages/conform-validator - run: yarn test --coverage --project @hono/conform-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-effect-validator.yml b/.github/workflows/ci-effect-validator.yml index 5943c12d..ac684a0c 100644 --- a/.github/workflows/ci-effect-validator.yml +++ b/.github/workflows/ci-effect-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/effect-validator - run: yarn workspace @hono/effect-validator build - run: yarn workspace @hono/effect-validator publint + - run: yarn eslint packages/effect-validator - run: yarn test --coverage --project @hono/effect-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-esbuild-transpiler.yml b/.github/workflows/ci-esbuild-transpiler.yml index e4d53a92..855b53ae 100644 --- a/.github/workflows/ci-esbuild-transpiler.yml +++ b/.github/workflows/ci-esbuild-transpiler.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler - run: yarn workspace @hono/esbuild-transpiler build - run: yarn workspace @hono/esbuild-transpiler publint + - run: yarn eslint packages/esbuild-transpiler - run: yarn test --coverage --project @hono/esbuild-transpiler - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-event-emitter.yml b/.github/workflows/ci-event-emitter.yml index 1b600492..fcee588d 100644 --- a/.github/workflows/ci-event-emitter.yml +++ b/.github/workflows/ci-event-emitter.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/event-emitter - run: yarn workspace @hono/event-emitter build - run: yarn workspace @hono/event-emitter publint + - run: yarn eslint packages/event-emitter - run: yarn test --coverage --project @hono/event-emitter - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index d3127ea3..f92741b0 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/firebase-auth - run: yarn workspace @hono/firebase-auth build - run: yarn workspace @hono/firebase-auth publint + - run: yarn eslint packages/firebase-auth - run: yarn test --coverage --project @hono/firebase-auth - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index 8e3d393f..f123317c 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/graphql-server - run: yarn workspace @hono/graphql-server build - run: yarn workspace @hono/graphql-server publint + - run: yarn eslint packages/graphql-server - run: yarn test --coverage --project @hono/graphql-server - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index 0438bf4a..ab7b42f0 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/hello - run: yarn workspace @hono/hello build - run: yarn workspace @hono/hello publint + - run: yarn eslint packages/hello - run: yarn test --coverage --project @hono/hello - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml deleted file mode 100644 index 9a802583..00000000 --- a/.github/workflows/ci-lint.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ci-lint -on: - push: - branches: [main] - pull_request: - branches: ['*'] - -jobs: - eslint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20.x - - run: yarn install - - run: yarn lint \ No newline at end of file diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index ec9374f7..3e59f0aa 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/medley-router - run: yarn workspace @hono/medley-router build - run: yarn workspace @hono/medley-router publint + - run: yarn eslint packages/medley-router - run: yarn test --coverage --project @hono/medley-router - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-node-ws.yml b/.github/workflows/ci-node-ws.yml index b7fc027f..d86a4b12 100644 --- a/.github/workflows/ci-node-ws.yml +++ b/.github/workflows/ci-node-ws.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/node-ws - run: yarn workspace @hono/node-ws build - run: yarn workspace @hono/node-ws publint + - run: yarn eslint packages/node-ws - run: yarn test --coverage --project @hono/node-ws - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-oauth-providers.yml b/.github/workflows/ci-oauth-providers.yml index b286d585..e9b99de7 100644 --- a/.github/workflows/ci-oauth-providers.yml +++ b/.github/workflows/ci-oauth-providers.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/oauth-providers - run: yarn workspace @hono/oauth-providers build - run: yarn workspace @hono/oauth-providers publint + - run: yarn eslint packages/oauth-providers - run: yarn test --coverage --project @hono/oauth-providers - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-oidc-auth.yml b/.github/workflows/ci-oidc-auth.yml index d9636eb7..ce0183ec 100644 --- a/.github/workflows/ci-oidc-auth.yml +++ b/.github/workflows/ci-oidc-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/oidc-auth - run: yarn workspace @hono/oidc-auth build - run: yarn workspace @hono/oidc-auth publint + - run: yarn eslint packages/oidc-auth - run: yarn test --coverage --project @hono/oidc-auth - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-otel.yml b/.github/workflows/ci-otel.yml index 92b8cf47..46339fb5 100644 --- a/.github/workflows/ci-otel.yml +++ b/.github/workflows/ci-otel.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/otel - run: yarn workspace @hono/otel build - run: yarn workspace @hono/otel publint + - run: yarn eslint packages/otel - run: yarn test --coverage --project @hono/otel - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index 3d8dcbbd..98c8eb63 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/prometheus - run: yarn workspace @hono/prometheus build - run: yarn workspace @hono/prometheus publint + - run: yarn eslint packages/prometheus - run: yarn test --coverage --project @hono/prometheus - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-qwik-city.yml b/.github/workflows/ci-qwik-city.yml index 72cf0247..b371a400 100644 --- a/.github/workflows/ci-qwik-city.yml +++ b/.github/workflows/ci-qwik-city.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/qwik-city - run: yarn workspace @hono/qwik-city build - run: yarn workspace @hono/qwik-city publint + - run: yarn eslint packages/qwik-city # - run: yarn test --coverage --project @hono/qwik-city # - uses: codecov/codecov-action@v5 # with: diff --git a/.github/workflows/ci-react-compat.yml b/.github/workflows/ci-react-compat.yml index fd9325f8..f3fcb778 100644 --- a/.github/workflows/ci-react-compat.yml +++ b/.github/workflows/ci-react-compat.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/react-compat - run: yarn workspace @hono/react-compat build - run: yarn workspace @hono/react-compat publint + - run: yarn eslint packages/react-compat # - run: yarn test --coverage --project @hono/react-compat # - uses: codecov/codecov-action@v5 # with: diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index 658ec81a..470637a0 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/react-renderer - run: yarn workspace @hono/react-renderer build - run: yarn workspace @hono/react-renderer publint + - run: yarn eslint packages/react-renderer - run: yarn test --coverage --project @hono/react-renderer - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index 588eaf35..5f7644ac 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/sentry - run: yarn workspace @hono/sentry build - run: yarn workspace @hono/sentry publint + - run: yarn eslint packages/sentry - run: yarn test --coverage --project @hono/sentry - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-standard-validator.yml b/.github/workflows/ci-standard-validator.yml index a082b561..b00310f1 100644 --- a/.github/workflows/ci-standard-validator.yml +++ b/.github/workflows/ci-standard-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/standard-validator - run: yarn workspace @hono/standard-validator build - run: yarn workspace @hono/standard-validator publint + - run: yarn eslint packages/standard-validator - run: yarn test --coverage --project @hono/standard-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-swagger-editor.yml b/.github/workflows/ci-swagger-editor.yml index 8355b5b6..1c798b03 100644 --- a/.github/workflows/ci-swagger-editor.yml +++ b/.github/workflows/ci-swagger-editor.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/swagger-editor - run: yarn workspace @hono/swagger-editor build - run: yarn workspace @hono/swagger-editor publint + - run: yarn eslint packages/swagger-editor - run: yarn test --coverage --project @hono/swagger-editor - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-swagger-ui.yml b/.github/workflows/ci-swagger-ui.yml index 2673e3a2..5b77f8c9 100644 --- a/.github/workflows/ci-swagger-ui.yml +++ b/.github/workflows/ci-swagger-ui.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/swagger-ui - run: yarn workspace @hono/swagger-ui build - run: yarn workspace @hono/swagger-ui publint + - run: yarn eslint packages/swagger-ui - run: yarn test --coverage --project @hono/swagger-ui - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index 3cd0ebf8..6e6870a9 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/trpc-server - run: yarn workspace @hono/trpc-server build - run: yarn workspace @hono/trpc-server publint + - run: yarn eslint packages/trpc-server - run: yarn test --coverage --project @hono/trpc-server - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-tsyringe.yml b/.github/workflows/ci-tsyringe.yml index ce5baf1b..67c88e09 100644 --- a/.github/workflows/ci-tsyringe.yml +++ b/.github/workflows/ci-tsyringe.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/tsyringe - run: yarn workspace @hono/tsyringe build - run: yarn workspace @hono/tsyringe publint + - run: yarn eslint packages/tsyringe - run: yarn test --coverage --project @hono/tsyringe - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index b59e43dc..cda0c949 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/typebox-validator - run: yarn workspace @hono/typebox-validator build - run: yarn workspace @hono/typebox-validator publint + - run: yarn eslint packages/typebox-validator - run: yarn test --coverage --project @hono/typebox-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index 19a6f2bf..e31c7e2a 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/typia-validator - run: yarn workspace @hono/typia-validator build - run: yarn workspace @hono/typia-validator publint + - run: yarn eslint packages/typia-validator - run: yarn test --coverage --project @hono/typia-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index 3ba6d5fe..a7213f3a 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/valibot-validator - run: yarn workspace @hono/valibot-validator build - run: yarn workspace @hono/valibot-validator publint + - run: yarn eslint packages/valibot-validator - run: yarn test --coverage --project @hono/valibot-validator - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index ffe2dc05..b0c84117 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/zod-openapi - run: yarn workspace @hono/zod-openapi build - run: yarn workspace @hono/zod-openapi publint + - run: yarn eslint packages/zod-openapi - run: yarn test --coverage --project @hono/zod-openapi - uses: codecov/codecov-action@v5 with: diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index 5823991c..66eae5db 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/zod-validator - run: yarn workspace @hono/zod-validator build - run: yarn workspace @hono/zod-validator publint + - run: yarn eslint packages/zod-validator - run: yarn test --coverage --project @hono/zod-validator - uses: codecov/codecov-action@v5 with: diff --git a/eslint.config.mjs b/eslint.config.mjs index 7897a883..156bab4e 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,5 +1,5 @@ +import baseConfig from '@hono/eslint-config' import { defineConfig, globalIgnores } from 'eslint/config' -import baseConfig from './packages/eslint-config/index.js' export default defineConfig(globalIgnores(['.yarn', '**/dist']), { extends: baseConfig, diff --git a/package.json b/package.json index 0d792a25..6137820f 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "@changesets/cli": "^2.26.0", "@cloudflare/vitest-pool-workers": "^0.7.8", "@cloudflare/workers-types": "^4.20230307.0", + "@hono/eslint-config": "workspace:*", "@ryoppippi/unplugin-typia": "^1.2.0", "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^8.7.0", diff --git a/yarn.lock b/yarn.lock index ce6e9751..34d96ca8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1983,7 +1983,7 @@ __metadata: languageName: unknown linkType: soft -"@hono/eslint-config@workspace:packages/eslint-config": +"@hono/eslint-config@workspace:*, @hono/eslint-config@workspace:packages/eslint-config": version: 0.0.0-use.local resolution: "@hono/eslint-config@workspace:packages/eslint-config" dependencies: @@ -8413,6 +8413,7 @@ __metadata: "@changesets/cli": "npm:^2.26.0" "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@cloudflare/workers-types": "npm:^4.20230307.0" + "@hono/eslint-config": "workspace:*" "@ryoppippi/unplugin-typia": "npm:^1.2.0" "@types/node": "npm:^20.14.8" "@typescript-eslint/eslint-plugin": "npm:^8.7.0" From b18f24379bb4a1350d0b1da0cb109787dddc5193 Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Mon, 31 Mar 2025 20:20:57 +1100 Subject: [PATCH 67/81] chore(dev-deps): upgrade to hono v4 (#1092) * chore(dev-deps): upgrade to hono v4 * chore(zod-openapi): build workspace dependencies * chore(trpc-server): ignore null body type --- .github/workflows/ci-zod-openapi.yml | 2 +- package.json | 36 +----- packages/ajv-validator/package.json | 1 - packages/arktype-validator/package.json | 1 - packages/arktype-validator/src/index.ts | 1 + packages/auth-js/package.json | 1 - packages/bun-transpiler/package.json | 1 - packages/casbin/package.json | 1 - packages/class-validator/package.json | 1 - packages/clerk-auth/package.json | 1 - packages/cloudflare-access/package.json | 1 - packages/conform-validator/package.json | 1 - packages/effect-validator/package.json | 1 - packages/esbuild-transpiler/package.json | 1 - packages/event-emitter/package.json | 1 - packages/firebase-auth/package.json | 1 - packages/firebase-auth/src/index.ts | 4 +- packages/graphql-server/package.json | 1 - packages/hello/package.json | 1 - packages/medley-router/package.json | 1 - packages/node-ws/package.json | 1 - packages/oauth-providers/package.json | 1 - packages/oidc-auth/package.json | 1 - packages/otel/package.json | 1 - packages/prometheus/package.json | 1 - packages/qwik-city/package.json | 1 - packages/react-compat/package.json | 1 - packages/react-renderer/package.json | 1 - packages/sentry/package.json | 1 - packages/standard-validator/package.json | 1 - packages/swagger-editor/package.json | 1 - packages/swagger-ui/package.json | 1 - packages/trpc-server/package.json | 1 - packages/trpc-server/src/index.ts | 5 +- packages/tsyringe/package.json | 1 - packages/typebox-validator/package.json | 1 - packages/typebox-validator/src/index.ts | 1 + packages/typia-validator/package.json | 1 - packages/typia-validator/src/index.ts | 1 + packages/valibot-validator/package.json | 1 - packages/zod-openapi/package.json | 3 +- packages/zod-validator/package.json | 1 - yarn.lock | 150 +---------------------- 43 files changed, 16 insertions(+), 221 deletions(-) diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index b0c84117..05468528 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -18,7 +18,7 @@ jobs: with: node-version: 20.x - run: yarn workspaces focus hono-middleware @hono/zod-openapi - - run: yarn workspace @hono/zod-openapi build + - run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build - run: yarn workspace @hono/zod-openapi publint - run: yarn eslint packages/zod-openapi - run: yarn test --coverage --project @hono/zod-openapi diff --git a/package.json b/package.json index 6137820f..2be6d308 100644 --- a/package.json +++ b/package.json @@ -8,41 +8,6 @@ ] }, "scripts": { - "build:hello": "yarn workspace @hono/hello build", - "build:zod-validator": "yarn workspace @hono/zod-validator build", - "build:class-validator": "yarn workspace @hono/class-validator build", - "build:arktype-validator": "yarn workspace @hono/arktype-validator build", - "build:qwik-city": "yarn workspace @hono/qwik-city build", - "build:graphql-server": "yarn workspace @hono/graphql-server build", - "build:sentry": "yarn workspace @hono/sentry build", - "build:firebase-auth": "yarn workspace @hono/firebase-auth build", - "build:trpc-server": "yarn workspace @hono/trpc-server build", - "build:clerk-auth": "yarn workspace @hono/clerk-auth build", - "build:typebox-validator": "yarn workspace @hono/typebox-validator build", - "build:medley-router": "yarn workspace @hono/medley-router build", - "build:valibot-validator": "yarn workspace @hono/valibot-validator build", - "build:zod-openapi": "yarn workspace @hono/zod-openapi install && yarn workspace @hono/zod-openapi build", - "build:typia-validator": "yarn workspace @hono/typia-validator build", - "build:swagger-ui": "yarn workspace @hono/swagger-ui build", - "build:swagger-editor": "yarn workspace @hono/swagger-editor build", - "build:esbuild-transpiler": "yarn workspace @hono/esbuild-transpiler build", - "build:event-emitter": "yarn workspace @hono/event-emitter build", - "build:oauth-providers": "yarn workspace @hono/oauth-providers build", - "build:react-renderer": "yarn workspace @hono/react-renderer build", - "build:auth-js": "yarn workspace @hono/auth-js build", - "build:bun-transpiler": "yarn workspace @hono/bun-transpiler build", - "build:prometheus": "yarn workspace @hono/prometheus build", - "build:oidc-auth": "yarn workspace @hono/oidc-auth build", - "build:node-ws": "yarn workspace @hono/node-ws build", - "build:react-compat": "yarn workspace @hono/react-compat build", - "build:effect-validator": "yarn workspace @hono/effect-validator build", - "build:conform-validator": "yarn workspace @hono/conform-validator build", - "build:casbin": "yarn workspace @hono/casbin build", - "build:ajv-validator": "yarn workspace @hono/ajv-validator build", - "build:tsyringe": "yarn workspace @hono/tsyringe build", - "build:cloudflare-access": "yarn workspace @hono/cloudflare-access build", - "build:standard-validator": "yarn workspace @hono/standard-validator build", - "build:otel": "yarn workspace @hono/otel build", "build": "yarn workspaces foreach --all --parallel --topological --verbose run build", "publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint", "test": "vitest", @@ -69,6 +34,7 @@ "@typescript-eslint/parser": "^8.7.0", "@vitest/coverage-istanbul": "^3.0.8", "eslint": "^9.17.0", + "hono": "^4.7.5", "npm-run-all2": "^6.2.2", "prettier": "^2.7.1", "tsup": "^8.4.0", diff --git a/packages/ajv-validator/package.json b/packages/ajv-validator/package.json index 593e9d3d..dac347ed 100644 --- a/packages/ajv-validator/package.json +++ b/packages/ajv-validator/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "ajv": ">=8.12.0", - "hono": "^4.4.12", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/arktype-validator/package.json b/packages/arktype-validator/package.json index 337de3aa..54a4e3da 100644 --- a/packages/arktype-validator/package.json +++ b/packages/arktype-validator/package.json @@ -45,7 +45,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "arktype": "^2.0.0-dev.14", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/arktype-validator/src/index.ts b/packages/arktype-validator/src/index.ts index 63a45d30..acc26a72 100644 --- a/packages/arktype-validator/src/index.ts +++ b/packages/arktype-validator/src/index.ts @@ -29,6 +29,7 @@ export const arktypeValidator = < schema: T, hook?: Hook<T['infer'], E, P> ): MiddlewareHandler<E, P, V> => + // @ts-expect-error not typed well validator(target, (value, c) => { const out = schema(value) diff --git a/packages/auth-js/package.json b/packages/auth-js/package.json index bf38d193..3952c5a6 100644 --- a/packages/auth-js/package.json +++ b/packages/auth-js/package.json @@ -62,7 +62,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@auth/core": "^0.35.3", "@types/react": "^18", - "hono": "^3.11.7", "publint": "^0.3.9", "react": "^18.2.0", "tsup": "^8.4.0", diff --git a/packages/bun-transpiler/package.json b/packages/bun-transpiler/package.json index 11650eaf..4cf85650 100644 --- a/packages/bun-transpiler/package.json +++ b/packages/bun-transpiler/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@types/bun": "^1.0.0", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/casbin/package.json b/packages/casbin/package.json index 1892477a..64a5e1e2 100644 --- a/packages/casbin/package.json +++ b/packages/casbin/package.json @@ -55,7 +55,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "casbin": "^5.30.0", - "hono": "^4.5.11", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/class-validator/package.json b/packages/class-validator/package.json index 5bb95ca3..3479cfee 100644 --- a/packages/class-validator/package.json +++ b/packages/class-validator/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.0.10", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/clerk-auth/package.json b/packages/clerk-auth/package.json index f390ea6e..956d6916 100644 --- a/packages/clerk-auth/package.json +++ b/packages/clerk-auth/package.json @@ -46,7 +46,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@clerk/backend": "^1.0.0", "@types/react": "^18", - "hono": "^3.11.7", "publint": "^0.3.9", "react": "^18.2.0", "tsup": "^8.4.0", diff --git a/packages/cloudflare-access/package.json b/packages/cloudflare-access/package.json index f07e2d73..65d14710 100644 --- a/packages/cloudflare-access/package.json +++ b/packages/cloudflare-access/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@cloudflare/workers-types": "^4.20230307.0", - "hono": "^4.4.12", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/conform-validator/package.json b/packages/conform-validator/package.json index 3f95a0fd..9affb79d 100644 --- a/packages/conform-validator/package.json +++ b/packages/conform-validator/package.json @@ -48,7 +48,6 @@ "@conform-to/yup": "^1.1.5", "@conform-to/zod": "^1.1.5", "conform-to-valibot": "^1.10.0", - "hono": "^4.5.1", "publint": "^0.3.9", "tsup": "^8.4.0", "valibot": "^0.36.0", diff --git a/packages/effect-validator/package.json b/packages/effect-validator/package.json index 39444e21..0e143b7c 100644 --- a/packages/effect-validator/package.json +++ b/packages/effect-validator/package.json @@ -45,7 +45,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "effect": "3.10.0", - "hono": "^4.4.13", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/esbuild-transpiler/package.json b/packages/esbuild-transpiler/package.json index 4428c844..45ec2e49 100644 --- a/packages/esbuild-transpiler/package.json +++ b/packages/esbuild-transpiler/package.json @@ -74,7 +74,6 @@ "@arethetypeswrong/cli": "^0.17.4", "esbuild": "^0.19.9", "esbuild-wasm": "^0.19.5", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/event-emitter/package.json b/packages/event-emitter/package.json index 1cf26c73..f8df3131 100644 --- a/packages/event-emitter/package.json +++ b/packages/event-emitter/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.3.6", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/firebase-auth/package.json b/packages/firebase-auth/package.json index e59c4ce3..2972267e 100644 --- a/packages/firebase-auth/package.json +++ b/packages/firebase-auth/package.json @@ -51,7 +51,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@cloudflare/workers-types": "^4.20240222.0", "firebase-tools": "^13.29.1", - "hono": "^4.2.4", "miniflare": "^3.20240208.0", "prettier": "^3.2.5", "publint": "^0.3.9", diff --git a/packages/firebase-auth/src/index.ts b/packages/firebase-auth/src/index.ts index b7ed2cef..63022f4a 100644 --- a/packages/firebase-auth/src/index.ts +++ b/packages/firebase-auth/src/index.ts @@ -14,7 +14,7 @@ export interface VerifyFirebaseAuthConfig { projectId: string authorizationHeaderKey?: string keyStore?: KeyStorer - keyStoreInitializer?: (c: Context) => KeyStorer + keyStoreInitializer?: (c: Context<{ Bindings: VerifyFirebaseAuthEnv }>) => KeyStorer disableErrorLog?: boolean firebaseEmulatorHost?: string } @@ -102,7 +102,7 @@ export interface VerifySessionCookieFirebaseAuthConfig { projectId: string cookieName?: string keyStore?: KeyStorer - keyStoreInitializer?: (c: Context) => KeyStorer + keyStoreInitializer?: (c: Context<{ Bindings: VerifyFirebaseAuthEnv }>) => KeyStorer firebaseEmulatorHost?: string redirects: { signIn: string diff --git a/packages/graphql-server/package.json b/packages/graphql-server/package.json index d84ac005..4256dec4 100644 --- a/packages/graphql-server/package.json +++ b/packages/graphql-server/package.json @@ -42,7 +42,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@cloudflare/workers-types": "^3.14.0", - "hono": "^4.0.2", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/hello/package.json b/packages/hello/package.json index e803aa7d..ce1c2751 100644 --- a/packages/hello/package.json +++ b/packages/hello/package.json @@ -42,7 +42,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.4.12", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/medley-router/package.json b/packages/medley-router/package.json index 2625f076..c130aab1 100644 --- a/packages/medley-router/package.json +++ b/packages/medley-router/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/node-ws/package.json b/packages/node-ws/package.json index 7c4e8d87..3708e235 100644 --- a/packages/node-ws/package.json +++ b/packages/node-ws/package.json @@ -43,7 +43,6 @@ "@hono/node-server": "^1.11.1", "@types/node": "^20.14.8", "@types/ws": "^8.18.0", - "hono": "^4.6.0", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/oauth-providers/package.json b/packages/oauth-providers/package.json index 5e52f652..55b99ddb 100644 --- a/packages/oauth-providers/package.json +++ b/packages/oauth-providers/package.json @@ -67,7 +67,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.5.1", "msw": "^2.0.11", "publint": "^0.3.9", "tsup": "^8.4.0", diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index 5ee98b06..5c44249e 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@types/jsonwebtoken": "^9.0.5", - "hono": "^4.0.1", "jsonwebtoken": "^9.0.2", "publint": "^0.3.9", "tsup": "^8.4.0", diff --git a/packages/otel/package.json b/packages/otel/package.json index 024d6e3c..f68132a4 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -48,7 +48,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@opentelemetry/sdk-trace-base": "^1.30.0", "@opentelemetry/sdk-trace-node": "^1.30.0", - "hono": "^4.4.12", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/prometheus/package.json b/packages/prometheus/package.json index 990dba35..e6d63fa8 100644 --- a/packages/prometheus/package.json +++ b/packages/prometheus/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.2.7", "prom-client": "^15.0.0", "publint": "^0.3.9", "tsup": "^8.4.0", diff --git a/packages/qwik-city/package.json b/packages/qwik-city/package.json index 18983aee..efa892f1 100644 --- a/packages/qwik-city/package.json +++ b/packages/qwik-city/package.json @@ -45,7 +45,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@builder.io/qwik": "^1.2.0", "@builder.io/qwik-city": "^1.2.0", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0" }, diff --git a/packages/react-compat/package.json b/packages/react-compat/package.json index 1e6d0c7b..e4c99642 100644 --- a/packages/react-compat/package.json +++ b/packages/react-compat/package.json @@ -29,7 +29,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.5.0", "publint": "^0.3.9", "tsup": "^8.4.0" } diff --git a/packages/react-renderer/package.json b/packages/react-renderer/package.json index 69798473..ad29b6df 100644 --- a/packages/react-renderer/package.json +++ b/packages/react-renderer/package.json @@ -47,7 +47,6 @@ "@cloudflare/vitest-pool-workers": "^0.7.8", "@types/react": "^18", "@types/react-dom": "^18.2.17", - "hono": "^4.2.3", "publint": "^0.3.9", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/sentry/package.json b/packages/sentry/package.json index 9604dc02..c5f350b2 100644 --- a/packages/sentry/package.json +++ b/packages/sentry/package.json @@ -46,7 +46,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/standard-validator/package.json b/packages/standard-validator/package.json index d1bdad20..23a52dc0 100644 --- a/packages/standard-validator/package.json +++ b/packages/standard-validator/package.json @@ -46,7 +46,6 @@ "@arethetypeswrong/cli": "^0.17.4", "@standard-schema/spec": "1.0.0", "arktype": "^2.0.0-rc.26", - "hono": "^4.0.10", "publint": "^0.3.9", "tsup": "^8.4.0", "valibot": "^1.0.0-beta.9", diff --git a/packages/swagger-editor/package.json b/packages/swagger-editor/package.json index 53a145e6..62c70fb7 100644 --- a/packages/swagger-editor/package.json +++ b/packages/swagger-editor/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/swagger-ui/package.json b/packages/swagger-ui/package.json index 42f18925..8a57e5c3 100644 --- a/packages/swagger-ui/package.json +++ b/packages/swagger-ui/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@types/swagger-ui-dist": "^3.30.5", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/trpc-server/package.json b/packages/trpc-server/package.json index bd95aeb3..ede39225 100644 --- a/packages/trpc-server/package.json +++ b/packages/trpc-server/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@trpc/server": "^11.0.0", - "hono": "^4.3.6", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8", diff --git a/packages/trpc-server/src/index.ts b/packages/trpc-server/src/index.ts index 543e4131..0fd805d1 100644 --- a/packages/trpc-server/src/index.ts +++ b/packages/trpc-server/src/index.ts @@ -44,7 +44,10 @@ export const trpcServer = ({ return Reflect.get(t, p, t) }, }), - }).then((res) => c.body(res.body, res)) + }).then((res) => + // @ts-expect-error c.body accepts both ReadableStream and null but is not typed well + c.body(res.body, res) + ) return res } } diff --git a/packages/tsyringe/package.json b/packages/tsyringe/package.json index ac11672b..599f64f2 100644 --- a/packages/tsyringe/package.json +++ b/packages/tsyringe/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.4.12", "publint": "^0.3.9", "reflect-metadata": "^0.2.2", "tsup": "^8.4.0", diff --git a/packages/typebox-validator/package.json b/packages/typebox-validator/package.json index b5e4a1a7..45caa1bd 100644 --- a/packages/typebox-validator/package.json +++ b/packages/typebox-validator/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@sinclair/typebox": "^0.31.15", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8" diff --git a/packages/typebox-validator/src/index.ts b/packages/typebox-validator/src/index.ts index 07ef0eed..d36a7de1 100644 --- a/packages/typebox-validator/src/index.ts +++ b/packages/typebox-validator/src/index.ts @@ -75,6 +75,7 @@ export function tbValidator< hook?: Hook<Static<T>, E, P>, stripNonSchemaItems?: boolean ): MiddlewareHandler<E, P, V> { + // @ts-expect-error not typed well // Compile the provided schema once rather than per validation. This could be optimized further using a shared schema // compilation pool similar to the Fastify implementation. return validator(target, (unprocessedData, c) => { diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 41444f26..5e7f22ac 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -54,7 +54,6 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@ryoppippi/unplugin-typia": "^2.1.4", - "hono": "^3.11.7", "publint": "^0.3.9", "tsup": "^8.4.0", "typia": "^8.0.3", diff --git a/packages/typia-validator/src/index.ts b/packages/typia-validator/src/index.ts index 5ffb8a69..441924f0 100644 --- a/packages/typia-validator/src/index.ts +++ b/packages/typia-validator/src/index.ts @@ -29,6 +29,7 @@ export const typiaValidator = < validate: T, hook?: Hook<O, E, P> ): MiddlewareHandler<E, P, V> => + // @ts-expect-error not typed well validator(target, async (value, c) => { const result = validate(value) diff --git a/packages/valibot-validator/package.json b/packages/valibot-validator/package.json index 4fd384ee..b20c7be4 100644 --- a/packages/valibot-validator/package.json +++ b/packages/valibot-validator/package.json @@ -37,7 +37,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.5.1", "publint": "^0.3.9", "tsup": "^8.4.0", "valibot": "^1.0.0", diff --git a/packages/zod-openapi/package.json b/packages/zod-openapi/package.json index 90f83a22..583cdf07 100644 --- a/packages/zod-openapi/package.json +++ b/packages/zod-openapi/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.6.10", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8", @@ -52,7 +51,7 @@ }, "dependencies": { "@asteasolutions/zod-to-openapi": "^7.1.0", - "@hono/zod-validator": "npm:0.4.2" + "@hono/zod-validator": "workspace:^" }, "engines": { "node": ">=16.0.0" diff --git a/packages/zod-validator/package.json b/packages/zod-validator/package.json index f1662013..7a328266 100644 --- a/packages/zod-validator/package.json +++ b/packages/zod-validator/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "hono": "^4.0.10", "publint": "^0.3.9", "tsup": "^8.4.0", "vitest": "^3.0.8", diff --git a/yarn.lock b/yarn.lock index 34d96ca8..74328493 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1803,7 +1803,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" ajv: "npm:>=8.12.0" - hono: "npm:^4.4.12" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1819,7 +1818,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" arktype: "npm:^2.0.0-dev.14" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1836,7 +1834,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" "@auth/core": "npm:^0.35.3" "@types/react": "npm:^18" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" react: "npm:^18.2.0" tsup: "npm:^8.4.0" @@ -1854,7 +1851,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@types/bun": "npm:^1.0.0" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1869,7 +1865,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" casbin: "npm:^5.30.0" - hono: "npm:^4.5.11" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1886,7 +1881,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" class-transformer: "npm:^0.5.1" class-validator: "npm:^0.14.1" - hono: "npm:^4.0.10" publint: "npm:^0.3.9" reflect-metadata: "npm:^0.2.2" tsup: "npm:^8.4.0" @@ -1903,7 +1897,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" "@clerk/backend": "npm:^1.0.0" "@types/react": "npm:^18" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" react: "npm:^18.2.0" tsup: "npm:^8.4.0" @@ -1920,7 +1913,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@cloudflare/workers-types": "npm:^4.20230307.0" - hono: "npm:^4.4.12" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1938,7 +1930,6 @@ __metadata: "@conform-to/yup": "npm:^1.1.5" "@conform-to/zod": "npm:^1.1.5" conform-to-valibot: "npm:^1.10.0" - hono: "npm:^4.5.1" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" valibot: "npm:^0.36.0" @@ -1957,7 +1948,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" effect: "npm:3.10.0" - hono: "npm:^4.4.13" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -1974,7 +1964,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" esbuild: "npm:^0.19.9" esbuild-wasm: "npm:^0.19.5" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2007,7 +1996,6 @@ __metadata: resolution: "@hono/event-emitter@workspace:packages/event-emitter" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.3.6" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2024,7 +2012,6 @@ __metadata: "@cloudflare/workers-types": "npm:^4.20240222.0" firebase-auth-cloudflare-workers: "npm:^2.0.6" firebase-tools: "npm:^13.29.1" - hono: "npm:^4.2.4" miniflare: "npm:^3.20240208.0" prettier: "npm:^3.2.5" publint: "npm:^0.3.9" @@ -2042,7 +2029,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" "@cloudflare/workers-types": "npm:^3.14.0" graphql: "npm:^16.5.0" - hono: "npm:^4.0.2" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2056,7 +2042,6 @@ __metadata: resolution: "@hono/hello@workspace:packages/hello" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.4.12" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2071,7 +2056,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@medley/router": "npm:^0.2.1" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2097,7 +2081,6 @@ __metadata: "@hono/node-server": "npm:^1.11.1" "@types/node": "npm:^20.14.8" "@types/ws": "npm:^8.18.0" - hono: "npm:^4.6.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2113,7 +2096,6 @@ __metadata: resolution: "@hono/oauth-providers@workspace:packages/oauth-providers" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.5.1" msw: "npm:^2.0.11" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" @@ -2129,7 +2111,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@types/jsonwebtoken": "npm:^9.0.5" - hono: "npm:^4.0.1" jsonwebtoken: "npm:^9.0.2" oauth4webapi: "npm:^2.6.0" publint: "npm:^0.3.9" @@ -2149,7 +2130,6 @@ __metadata: "@opentelemetry/sdk-trace-base": "npm:^1.30.0" "@opentelemetry/sdk-trace-node": "npm:^1.30.0" "@opentelemetry/semantic-conventions": "npm:^1.28.0" - hono: "npm:^4.4.12" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2163,7 +2143,6 @@ __metadata: resolution: "@hono/prometheus@workspace:packages/prometheus" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.2.7" prom-client: "npm:^15.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" @@ -2181,7 +2160,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" "@builder.io/qwik": "npm:^1.2.0" "@builder.io/qwik-city": "npm:^1.2.0" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" peerDependencies: @@ -2196,7 +2174,6 @@ __metadata: resolution: "@hono/react-compat@workspace:packages/react-compat" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.5.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" peerDependencies: @@ -2212,7 +2189,6 @@ __metadata: "@cloudflare/vitest-pool-workers": "npm:^0.7.8" "@types/react": "npm:^18" "@types/react-dom": "npm:^18.2.17" - hono: "npm:^4.2.3" publint: "npm:^0.3.9" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -2230,7 +2206,6 @@ __metadata: resolution: "@hono/sentry@workspace:packages/sentry" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" toucan-js: "npm:^4.0.0" tsup: "npm:^8.4.0" @@ -2247,7 +2222,6 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" "@standard-schema/spec": "npm:1.0.0" arktype: "npm:^2.0.0-rc.26" - hono: "npm:^4.0.10" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" valibot: "npm:^1.0.0-beta.9" @@ -2264,7 +2238,6 @@ __metadata: resolution: "@hono/swagger-editor@workspace:packages/swagger-editor" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2279,7 +2252,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@types/swagger-ui-dist": "npm:^3.30.5" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2294,7 +2266,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@trpc/server": "npm:^11.0.0" - hono: "npm:^4.3.6" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2310,7 +2281,6 @@ __metadata: resolution: "@hono/tsyringe@workspace:packages/tsyringe" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.4.12" publint: "npm:^0.3.9" reflect-metadata: "npm:^0.2.2" tsup: "npm:^8.4.0" @@ -2328,7 +2298,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@sinclair/typebox": "npm:^0.31.15" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2344,7 +2313,6 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@ryoppippi/unplugin-typia": "npm:^2.1.4" - hono: "npm:^3.11.7" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" typia: "npm:^8.0.3" @@ -2360,7 +2328,6 @@ __metadata: resolution: "@hono/valibot-validator@workspace:packages/valibot-validator" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.5.1" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" valibot: "npm:^1.0.0" @@ -2377,8 +2344,7 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@asteasolutions/zod-to-openapi": "npm:^7.1.0" - "@hono/zod-validator": "npm:0.4.2" - hono: "npm:^4.6.10" + "@hono/zod-validator": "workspace:^" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -2390,22 +2356,11 @@ __metadata: languageName: unknown linkType: soft -"@hono/zod-validator@npm:0.4.2": - version: 0.4.2 - resolution: "@hono/zod-validator@npm:0.4.2" - peerDependencies: - hono: ">=3.9.0" - zod: ^3.19.1 - checksum: f9235d4aebcb0f9dc942d4a168a61f2752f16b7273665efd15ee92042d7118c7e5efd1e031339e09d2dace5c04e945f7b8edc8d5d3d36e827a4f3d0fe2448538 - languageName: node - linkType: hard - -"@hono/zod-validator@workspace:packages/zod-validator": +"@hono/zod-validator@workspace:^, @hono/zod-validator@workspace:packages/zod-validator": version: 0.0.0-use.local resolution: "@hono/zod-validator@workspace:packages/zod-validator" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - hono: "npm:^4.0.10" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" vitest: "npm:^3.0.8" @@ -8420,6 +8375,7 @@ __metadata: "@typescript-eslint/parser": "npm:^8.7.0" "@vitest/coverage-istanbul": "npm:^3.0.8" eslint: "npm:^9.17.0" + hono: "npm:^4.7.5" npm-run-all2: "npm:^6.2.2" prettier: "npm:^2.7.1" tsup: "npm:^8.4.0" @@ -8428,111 +8384,13 @@ __metadata: languageName: unknown linkType: soft -"hono@npm:^3.11.7": - version: 3.12.12 - resolution: "hono@npm:3.12.12" - checksum: 93b77d51c24f1b60d61dbd0790b0a3a7481a762dbf25cc2d2598938b97ffd4f8f0c26f51964060099c0d358f1aea409877b71623b1744b3c049922b6db84f4da - languageName: node - linkType: hard - -"hono@npm:^4.0.1": +"hono@npm:^4.7.5": version: 4.7.5 resolution: "hono@npm:4.7.5" checksum: 01ea7ae684224afd5b27989adb1bd7efe6cde89a9da3f3f15bfb106c4d8d8a63c82d87c2a4a383184a25b40946b086b088ae9e0679c9975e2dd93ce8220c44fe languageName: node linkType: hard -"hono@npm:^4.0.10": - version: 4.0.10 - resolution: "hono@npm:4.0.10" - checksum: a68deed2a216dd956e6012a834312a09ffcf18a8e61b851ec6b168ad5cf13d9696f7fa3dce25286b4b2e92f6ea7102ece8f097f423ff385236f7b83c3a68032c - languageName: node - linkType: hard - -"hono@npm:^4.0.2": - version: 4.0.2 - resolution: "hono@npm:4.0.2" - checksum: c0806a912c1be094aa7e34050e8391c41f2623fae683239d9d1f1680f8646602ebf91a8e1c58bf75de510a6d0fe70189e57f629c0e48f8abb5ab873ba844a481 - languageName: node - linkType: hard - -"hono@npm:^4.2.3": - version: 4.2.3 - resolution: "hono@npm:4.2.3" - checksum: eced562fcfc97cd4f2fd4fb081e99775d23c58c8fb1a6c57311ddfba71c23e1da4d33294b0ab1fdd0c4587351dc278f4f1f7d02fcd0ded156c32c74e66a01f45 - languageName: node - linkType: hard - -"hono@npm:^4.2.4": - version: 4.2.4 - resolution: "hono@npm:4.2.4" - checksum: f6e7d21ebd152beb6e91d5d36d0bef66f9126873dc2b652745ab1fb2429ba8dff09c1b07982d0e29c3ca2b6ff2038fd947cb948e8bf27a7f2a9f429a1728c8fe - languageName: node - linkType: hard - -"hono@npm:^4.2.7": - version: 4.2.7 - resolution: "hono@npm:4.2.7" - checksum: 186d79ecedd4d9091eae4f2f32462f7e44530d1ea545de2cba594fd3f1e733f6f1d4367f12a6c85d188610ce1913bedadd1a83724b533700c0b12f5dcbb24f97 - languageName: node - linkType: hard - -"hono@npm:^4.3.6": - version: 4.3.6 - resolution: "hono@npm:4.3.6" - checksum: 2e27eb1e90b392a5884af573179d29e3f717f5e803c2b90f1383488f42bc986810e8e714d5bb1205935fda1d3e9944b3262aed88e852ea44d0e13d799474fa5b - languageName: node - linkType: hard - -"hono@npm:^4.4.12": - version: 4.4.12 - resolution: "hono@npm:4.4.12" - checksum: 8461839a821599d0cdf4ee92793a999510f61cb46d0e21cd23fb6564be3732fabf005aec66538622091740a4e871dc876c530022030c2a003f98b1fcb8616719 - languageName: node - linkType: hard - -"hono@npm:^4.4.13": - version: 4.4.13 - resolution: "hono@npm:4.4.13" - checksum: 213c09eafa4d82dfa6b6326fd37e8f0d17753ece62581ea849ec0eb87b0984a721389a0d8480f64dbef564d3fa49cc6031603374f326cb48ad4bc9eb9496e876 - languageName: node - linkType: hard - -"hono@npm:^4.5.0": - version: 4.5.0 - resolution: "hono@npm:4.5.0" - checksum: 0c1d10b0e30202a1493ab9db7e8068449a10ad352e3a9794d866eaa08c15b04c0d896499fec8ebe8994035a93ae0f54691c59c712600cd0515bcaee87bfbb1c9 - languageName: node - linkType: hard - -"hono@npm:^4.5.1": - version: 4.5.3 - resolution: "hono@npm:4.5.3" - checksum: 360fec2ea66b85d688dd9ce50eb6cdf94f6a2b8508e0b37b688fda3a94e7438cc4c143c0282b7aea41f7be8fa69f0b6d0039931fc8e1526c11ae09303dccce30 - languageName: node - linkType: hard - -"hono@npm:^4.5.11": - version: 4.5.11 - resolution: "hono@npm:4.5.11" - checksum: 839c90273b17ed3797d34a19d12dc577d6f98590a4261bf87488880db13137c0c84a165e7810dc50af2ce4680c8fc915c0bb65673bf5fc54c6d951f18454b2c5 - languageName: node - linkType: hard - -"hono@npm:^4.6.0": - version: 4.6.17 - resolution: "hono@npm:4.6.17" - checksum: a951eb705841282c16a98ff0b45fb58d2325f945e839ec43c820c29dd380092382781a1fd4590d809a9a0ec9f4df6db738a06bf58c6ce2c279879374d070e2ab - languageName: node - linkType: hard - -"hono@npm:^4.6.10": - version: 4.6.10 - resolution: "hono@npm:4.6.10" - checksum: e1a56e82059197607fbdebb5ad4a4962aa44ae239753a9be067ac61824f953bf7baf6415e03adc05986136b53cfa15b6e6d2d89d463cc3d4fc2fe93862425bab - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" From 519404ad2c343bcc7043d77dc6ce82217871f209 Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Tue, 1 Apr 2025 21:35:45 +0900 Subject: [PATCH 68/81] fix(node-ws): adapter shouldn't send buffer as a event (#1094) * fix(node-ws): adapter shouldn't send buffer as a event * chore: changeset --- .changeset/giant-papayas-taste.md | 5 +++ packages/cloudflare-access/src/index.ts | 2 +- packages/node-ws/src/index.test.ts | 13 +++---- packages/node-ws/src/index.ts | 17 ++++++--- .../src/providers/twitch/authFlow.ts | 4 +- .../src/providers/twitch/refreshToken.ts | 6 +-- .../src/providers/twitch/revokeToken.ts | 13 +++---- .../src/providers/twitch/types.ts | 37 ++++++++++--------- .../src/providers/twitch/validateToken.ts | 7 +--- 9 files changed, 56 insertions(+), 48 deletions(-) create mode 100644 .changeset/giant-papayas-taste.md diff --git a/.changeset/giant-papayas-taste.md b/.changeset/giant-papayas-taste.md new file mode 100644 index 00000000..541c8b41 --- /dev/null +++ b/.changeset/giant-papayas-taste.md @@ -0,0 +1,5 @@ +--- +'@hono/node-ws': patch +--- + +Adapter won't send Buffer as a MessageEvent. diff --git a/packages/cloudflare-access/src/index.ts b/packages/cloudflare-access/src/index.ts index 1a624128..0f1362c3 100644 --- a/packages/cloudflare-access/src/index.ts +++ b/packages/cloudflare-access/src/index.ts @@ -1,5 +1,5 @@ import type { Context } from 'hono' -import { getCookie } from 'hono/cookie'; +import { getCookie } from 'hono/cookie' import { createMiddleware } from 'hono/factory' import { HTTPException } from 'hono/http-exception' diff --git a/packages/node-ws/src/index.test.ts b/packages/node-ws/src/index.test.ts index 771f80d0..7240c42a 100644 --- a/packages/node-ws/src/index.test.ts +++ b/packages/node-ws/src/index.test.ts @@ -52,9 +52,7 @@ describe('WebSocket helper', () => { }) it('Should be rejected if upgradeWebSocket is not used', async () => { - app.get( - '/', (c)=>c.body('') - ) + app.get('/', (c) => c.body('')) { const ws = new WebSocket('ws://localhost:3030/') @@ -70,7 +68,8 @@ describe('WebSocket helper', () => { expect(await mainPromise).toBe(true) } - { //also should rejected on fallback + { + //also should rejected on fallback const ws = new WebSocket('ws://localhost:3030/notFound') const mainPromise = new Promise<boolean>((resolve) => { ws.onerror = () => { @@ -202,11 +201,11 @@ describe('WebSocket helper', () => { ws.send(binaryData) const receivedMessage = await mainPromise - expect(receivedMessage).toBeInstanceOf(Buffer) - expect((receivedMessage as Buffer).byteLength).toBe(binaryData.length) + expect(receivedMessage).toBeInstanceOf(ArrayBuffer) + expect((receivedMessage as ArrayBuffer).byteLength).toBe(binaryData.length) binaryData.forEach((val, idx) => { - expect((receivedMessage as Buffer).at(idx)).toBe(val) + expect(new Uint8Array(receivedMessage as ArrayBuffer)[idx]).toBe(val) }) }) diff --git a/packages/node-ws/src/index.ts b/packages/node-ws/src/index.ts index bea96bb9..e86b432a 100644 --- a/packages/node-ws/src/index.ts +++ b/packages/node-ws/src/index.ts @@ -25,7 +25,10 @@ export interface NodeWebSocketInit { */ export const createNodeWebSocket = (init: NodeWebSocketInit): NodeWebSocket => { const wss = new WebSocketServer({ noServer: true }) - const waiterMap = new Map<IncomingMessage, { resolve: (ws: WebSocket) => void, response: Response }>() + const waiterMap = new Map< + IncomingMessage, + { resolve: (ws: WebSocket) => void; response: Response } + >() wss.on('connection', (ws, request) => { const waiter = waiterMap.get(request) @@ -64,9 +67,9 @@ export const createNodeWebSocket = (init: NodeWebSocketInit): NodeWebSocket => { if (!waiter || waiter.response !== response) { socket.end( 'HTTP/1.1 400 Bad Request\r\n' + - 'Connection: close\r\n' + - 'Content-Length: 0\r\n' + - '\r\n' + 'Connection: close\r\n' + + 'Content-Length: 0\r\n' + + '\r\n' ) waiterMap.delete(request) return @@ -113,7 +116,11 @@ export const createNodeWebSocket = (init: NodeWebSocketInit): NodeWebSocket => { for (const data of datas) { events.onMessage?.( new MessageEvent('message', { - data: isBinary ? data : data.toString('utf-8'), + data: isBinary + ? data instanceof ArrayBuffer + ? data + : data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength) + : data.toString('utf-8'), }), ctx ) diff --git a/packages/oauth-providers/src/providers/twitch/authFlow.ts b/packages/oauth-providers/src/providers/twitch/authFlow.ts index 70d0317b..f342e2f0 100644 --- a/packages/oauth-providers/src/providers/twitch/authFlow.ts +++ b/packages/oauth-providers/src/providers/twitch/authFlow.ts @@ -77,13 +77,13 @@ export class AuthFlow { const url = 'https://id.twitch.tv/oauth2/token' - const response = (await fetch(url, { + const response = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: parsedOptions, - }).then((res) => res.json() as Promise<TwitchTokenResponse>)) + }).then((res) => res.json() as Promise<TwitchTokenResponse>) if ('error' in response) { throw new HTTPException(400, { message: response.error }) diff --git a/packages/oauth-providers/src/providers/twitch/refreshToken.ts b/packages/oauth-providers/src/providers/twitch/refreshToken.ts index 2e24c055..0e892f77 100644 --- a/packages/oauth-providers/src/providers/twitch/refreshToken.ts +++ b/packages/oauth-providers/src/providers/twitch/refreshToken.ts @@ -14,18 +14,18 @@ export async function refreshToken( client_secret, }) - const response = (await fetch('https://id.twitch.tv/oauth2/token', { + const response = await fetch('https://id.twitch.tv/oauth2/token', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: params, - }).then((res) => res.json() as Promise<TwitchRefreshResponse>)) + }).then((res) => res.json() as Promise<TwitchRefreshResponse>) if ('error' in response) { throw new HTTPException(400, { message: response.error }) } - + if ('message' in response) { throw new HTTPException(400, { message: response.message as string }) } diff --git a/packages/oauth-providers/src/providers/twitch/revokeToken.ts b/packages/oauth-providers/src/providers/twitch/revokeToken.ts index 1619506c..52b86ca7 100644 --- a/packages/oauth-providers/src/providers/twitch/revokeToken.ts +++ b/packages/oauth-providers/src/providers/twitch/revokeToken.ts @@ -2,10 +2,7 @@ import { HTTPException } from 'hono/http-exception' import { toQueryParams } from '../../utils/objectToQuery' import type { TwitchRevokingResponse } from './types' -export async function revokeToken( - client_id: string, - token: string -): Promise<boolean> { +export async function revokeToken(client_id: string, token: string): Promise<boolean> { const params = toQueryParams({ client_id: client_id, token, @@ -23,14 +20,16 @@ export async function revokeToken( if (!res.ok) { // Try to parse error response try { - const errorResponse = await res.json() as TwitchRevokingResponse + const errorResponse = (await res.json()) as TwitchRevokingResponse if (errorResponse && typeof errorResponse === 'object' && 'message' in errorResponse) { throw new HTTPException(400, { message: errorResponse.message }) } - // eslint-disable-next-line @typescript-eslint/no-unused-vars + // eslint-disable-next-line @typescript-eslint/no-unused-vars } catch (e) { // If parsing fails, throw a generic error with the status - throw new HTTPException(400, { message: `Token revocation failed with status: ${res.status}` }) + throw new HTTPException(400, { + message: `Token revocation failed with status: ${res.status}`, + }) } } diff --git a/packages/oauth-providers/src/providers/twitch/types.ts b/packages/oauth-providers/src/providers/twitch/types.ts index 23009d18..d3f44383 100644 --- a/packages/oauth-providers/src/providers/twitch/types.ts +++ b/packages/oauth-providers/src/providers/twitch/types.ts @@ -2,10 +2,10 @@ export type Scopes = // Analytics | 'analytics:read:extensions' | 'analytics:read:games' - + // Bits | 'bits:read' - + // Channel | 'channel:bot' | 'channel:manage:ads' @@ -85,11 +85,11 @@ export type Scopes = | 'moderator:read:vips' | 'moderator:read:warnings' | 'moderator:manage:warnings' - + // IRC Chat Scopes | 'chat:edit' | 'chat:read' - + // PubSub-specific Chat Scopes | 'whispers:read' @@ -110,7 +110,6 @@ export type TwitchRefreshError = Required<Pick<TwitchErrorResponse, 'status' | ' export type TwitchTokenError = Required<Pick<TwitchErrorResponse, 'status' | 'message' | 'error'>> - // Success responses types from Twitch API export interface TwitchValidateSuccess { client_id: string @@ -150,19 +149,21 @@ export type TwitchTokenResponse = TwitchTokenSuccess | TwitchTokenError export type TwitchValidateResponse = TwitchValidateSuccess | TwitchValidateError export interface TwitchUserResponse { - data: [{ - id: string - login: string - display_name: string - type: string - broadcaster_type: string - description: string - profile_image_url: string - offline_image_url: string - view_count: number - email: string - created_at: string - }] + data: [ + { + id: string + login: string + display_name: string + type: string + broadcaster_type: string + description: string + profile_image_url: string + offline_image_url: string + view_count: number + email: string + created_at: string + } + ] } export type TwitchUser = TwitchUserResponse['data'][0] diff --git a/packages/oauth-providers/src/providers/twitch/validateToken.ts b/packages/oauth-providers/src/providers/twitch/validateToken.ts index 8453628b..b82fb388 100644 --- a/packages/oauth-providers/src/providers/twitch/validateToken.ts +++ b/packages/oauth-providers/src/providers/twitch/validateToken.ts @@ -1,14 +1,11 @@ import { HTTPException } from 'hono/http-exception' import type { TwitchValidateResponse } from './types' -export async function validateToken( - token: string -): Promise<TwitchValidateResponse> { - +export async function validateToken(token: string): Promise<TwitchValidateResponse> { const response = await fetch('https://id.twitch.tv/oauth2/validate', { method: 'GET', headers: { - authorization: `Bearer ${token}`, + authorization: `Bearer ${token}`, }, }).then((res) => res.json() as Promise<TwitchValidateResponse>) From 5dd598f49911f525951e2ab1fb95d3ecc5864341 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Apr 2025 21:44:24 +0900 Subject: [PATCH 69/81] Version Packages (#1095) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/giant-papayas-taste.md | 5 ----- packages/node-ws/CHANGELOG.md | 6 ++++++ packages/node-ws/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/giant-papayas-taste.md diff --git a/.changeset/giant-papayas-taste.md b/.changeset/giant-papayas-taste.md deleted file mode 100644 index 541c8b41..00000000 --- a/.changeset/giant-papayas-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/node-ws': patch ---- - -Adapter won't send Buffer as a MessageEvent. diff --git a/packages/node-ws/CHANGELOG.md b/packages/node-ws/CHANGELOG.md index 73736080..aa63617e 100644 --- a/packages/node-ws/CHANGELOG.md +++ b/packages/node-ws/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/node-ws +## 1.1.1 + +### Patch Changes + +- [#1094](https://github.com/honojs/middleware/pull/1094) [`519404ad2c343bcc7043d77dc6ce82217871f209`](https://github.com/honojs/middleware/commit/519404ad2c343bcc7043d77dc6ce82217871f209) Thanks [@nakasyou](https://github.com/nakasyou)! - Adapter won't send Buffer as a MessageEvent. + ## 1.1.0 ### Minor Changes diff --git a/packages/node-ws/package.json b/packages/node-ws/package.json index 3708e235..31dce0dd 100644 --- a/packages/node-ws/package.json +++ b/packages/node-ws/package.json @@ -1,6 +1,6 @@ { "name": "@hono/node-ws", - "version": "1.1.0", + "version": "1.1.1", "description": "WebSocket helper for Node.js", "type": "module", "main": "dist/index.js", From e8512f0ee93756aa5969a41982991e7fe8c8cc0b Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Wed, 2 Apr 2025 20:28:02 +1100 Subject: [PATCH 70/81] build: typescript project references (#1077) * build: typescript project references * chore: remove duplicate keys --- .github/workflows/ci-ajv-validator.yml | 1 + .github/workflows/ci-arktype-validator.yml | 1 + .github/workflows/ci-auth-js.yml | 1 + .github/workflows/ci-bun-transpiler.yml | 1 + .github/workflows/ci-casbin.yml | 1 + .github/workflows/ci-class-validator.yml | 1 + .github/workflows/ci-clerk-auth.yml | 1 + .github/workflows/ci-cloudflare-access.yml | 1 + .github/workflows/ci-conform-validator.yml | 1 + .github/workflows/ci-effect-validator.yml | 1 + .github/workflows/ci-esbuild-transpiler.yml | 1 + .github/workflows/ci-event-emitter.yml | 1 + .github/workflows/ci-firebase-auth.yml | 1 + .github/workflows/ci-graphql-server.yml | 1 + .github/workflows/ci-hello.yml | 1 + .github/workflows/ci-medley-router.yml | 1 + .github/workflows/ci-node-ws.yml | 1 + .github/workflows/ci-oauth-providers.yml | 1 + .github/workflows/ci-oidc-auth.yml | 1 + .github/workflows/ci-otel.yml | 1 + .github/workflows/ci-prometheus.yml | 1 + .github/workflows/ci-qwik-city.yml | 1 + .github/workflows/ci-react-compat.yml | 1 + .github/workflows/ci-react-renderer.yml | 1 + .github/workflows/ci-sentry.yml | 1 + .github/workflows/ci-standard-validator.yml | 1 + .github/workflows/ci-swagger-editor.yml | 1 + .github/workflows/ci-swagger-ui.yml | 1 + .github/workflows/ci-trpc-server.yml | 1 + .github/workflows/ci-tsyringe.yml | 1 + .github/workflows/ci-typebox-validator.yml | 1 + .github/workflows/ci-typia-validator.yml | 1 + .github/workflows/ci-valibot-validator.yml | 1 + .github/workflows/ci-zod-openapi.yml | 1 + .github/workflows/ci-zod-validator.yml | 1 + package.json | 10 ++- packages/ajv-validator/package.json | 2 + packages/ajv-validator/src/index.test.ts | 5 +- packages/ajv-validator/tsconfig.build.json | 12 ++++ packages/ajv-validator/tsconfig.json | 15 ++-- packages/ajv-validator/tsconfig.spec.json | 13 ++++ packages/arktype-validator/package.json | 2 + packages/arktype-validator/src/index.test.ts | 3 + .../arktype-validator/tsconfig.build.json | 12 ++++ packages/arktype-validator/tsconfig.json | 15 ++-- packages/arktype-validator/tsconfig.spec.json | 13 ++++ packages/auth-js/package.json | 2 + packages/auth-js/tsconfig.build.json | 9 +++ packages/auth-js/tsconfig.json | 20 +++--- packages/auth-js/tsconfig.spec.json | 14 ++++ packages/bun-transpiler/package.json | 2 + packages/bun-transpiler/tsconfig.build.json | 12 ++++ packages/bun-transpiler/tsconfig.json | 15 ++-- packages/bun-transpiler/tsconfig.spec.json | 13 ++++ packages/casbin/package.json | 2 + packages/casbin/tsconfig.build.json | 11 +++ packages/casbin/tsconfig.json | 15 ++-- packages/casbin/tsconfig.spec.json | 13 ++++ packages/class-validator/package.json | 2 + packages/class-validator/src/index.test.ts | 3 + packages/class-validator/tsconfig.build.json | 12 ++++ packages/class-validator/tsconfig.json | 17 +++-- packages/class-validator/tsconfig.spec.json | 13 ++++ packages/class-validator/tsconfig.vitest.json | 8 --- packages/class-validator/vitest.config.ts | 3 +- packages/clerk-auth/package.json | 2 + packages/clerk-auth/tsconfig.build.json | 12 ++++ packages/clerk-auth/tsconfig.json | 16 +++-- packages/clerk-auth/tsconfig.spec.json | 13 ++++ packages/cloudflare-access/package.json | 3 +- .../cloudflare-access/tsconfig.build.json | 13 ++++ packages/cloudflare-access/tsconfig.json | 16 +++-- packages/cloudflare-access/tsconfig.spec.json | 13 ++++ packages/conform-validator/package.json | 2 + packages/conform-validator/src/hook.test.ts | 2 +- .../conform-validator/src/valibot.test.ts | 6 +- packages/conform-validator/src/yup.test.ts | 6 +- packages/conform-validator/src/zod.test.ts | 6 +- .../conform-validator/tsconfig.build.json | 12 ++++ packages/conform-validator/tsconfig.cjs.json | 8 --- packages/conform-validator/tsconfig.esm.json | 8 --- packages/conform-validator/tsconfig.json | 15 ++-- packages/conform-validator/tsconfig.spec.json | 13 ++++ packages/effect-validator/package.json | 2 + packages/effect-validator/src/index.test.ts | 6 +- packages/effect-validator/tsconfig.build.json | 12 ++++ packages/effect-validator/tsconfig.json | 15 ++-- packages/effect-validator/tsconfig.spec.json | 13 ++++ packages/esbuild-transpiler/package.json | 2 + .../esbuild-transpiler/tsconfig.build.json | 12 ++++ packages/esbuild-transpiler/tsconfig.json | 15 ++-- .../esbuild-transpiler/tsconfig.spec.json | 13 ++++ packages/eslint-config/package.json | 1 - packages/event-emitter/package.json | 2 + packages/event-emitter/tsconfig.build.json | 12 ++++ packages/event-emitter/tsconfig.json | 15 ++-- packages/event-emitter/tsconfig.spec.json | 13 ++++ packages/firebase-auth/package.json | 3 +- packages/firebase-auth/tsconfig.build.json | 8 +++ packages/firebase-auth/tsconfig.json | 16 +++-- packages/firebase-auth/tsconfig.spec.json | 13 ++++ packages/graphql-server/package.json | 3 +- packages/graphql-server/tsconfig.build.json | 12 ++++ packages/graphql-server/tsconfig.json | 16 +++-- packages/graphql-server/tsconfig.spec.json | 14 ++++ packages/hello/package.json | 2 + packages/hello/tsconfig.build.json | 12 ++++ packages/hello/tsconfig.json | 15 ++-- packages/hello/tsconfig.spec.json | 13 ++++ packages/medley-router/package.json | 2 + packages/medley-router/src/router.ts | 2 + packages/medley-router/tsconfig.build.json | 12 ++++ packages/medley-router/tsconfig.json | 16 +++-- packages/medley-router/tsconfig.spec.json | 13 ++++ packages/node-ws/package.json | 6 +- packages/node-ws/src/index.test.ts | 2 + packages/node-ws/tsconfig.build.json | 13 ++++ packages/node-ws/tsconfig.json | 16 +++-- packages/node-ws/tsconfig.spec.json | 13 ++++ packages/oauth-providers/package.json | 2 + packages/oauth-providers/tsconfig.build.json | 12 ++++ packages/oauth-providers/tsconfig.json | 16 +++-- packages/oauth-providers/tsconfig.spec.json | 13 ++++ packages/oidc-auth/package.json | 2 + packages/oidc-auth/tsconfig.build.json | 12 ++++ packages/oidc-auth/tsconfig.json | 17 +++-- packages/oidc-auth/tsconfig.spec.json | 13 ++++ packages/otel/package.json | 2 + packages/otel/tsconfig.build.json | 12 ++++ packages/otel/tsconfig.json | 18 +++-- packages/otel/tsconfig.spec.json | 13 ++++ packages/prometheus/package.json | 2 + packages/prometheus/tsconfig.build.json | 12 ++++ packages/prometheus/tsconfig.json | 16 +++-- packages/prometheus/tsconfig.spec.json | 13 ++++ packages/qwik-city/package.json | 6 +- packages/qwik-city/tsconfig.build.json | 12 ++++ packages/qwik-city/tsconfig.json | 12 ++-- packages/react-compat/package.json | 6 +- packages/react-compat/tsconfig.build.json | 12 ++++ packages/react-compat/tsconfig.json | 12 ++-- packages/react-renderer/package.json | 2 + packages/react-renderer/tsconfig.build.json | 12 ++++ packages/react-renderer/tsconfig.json | 19 +++--- packages/react-renderer/tsconfig.spec.json | 17 +++++ packages/sentry/package.json | 2 + packages/sentry/tsconfig.build.json | 12 ++++ packages/sentry/tsconfig.json | 16 +++-- packages/sentry/tsconfig.spec.json | 13 ++++ packages/standard-validator/package.json | 2 + .../src/__schemas__/arktype.ts | 1 - .../standard-validator/tsconfig.build.json | 12 ++++ packages/standard-validator/tsconfig.json | 15 ++-- .../standard-validator/tsconfig.spec.json | 13 ++++ packages/swagger-editor/package.json | 2 + packages/swagger-editor/tsconfig.build.json | 12 ++++ packages/swagger-editor/tsconfig.json | 15 ++-- packages/swagger-editor/tsconfig.spec.json | 13 ++++ packages/swagger-ui/package.json | 2 + packages/swagger-ui/tsconfig.build.json | 12 ++++ packages/swagger-ui/tsconfig.json | 15 ++-- packages/swagger-ui/tsconfig.spec.json | 13 ++++ packages/trpc-server/package.json | 2 + packages/trpc-server/tsconfig.build.json | 12 ++++ packages/trpc-server/tsconfig.json | 15 ++-- packages/trpc-server/tsconfig.spec.json | 13 ++++ packages/tsyringe/package.json | 2 + packages/tsyringe/tsconfig.build.json | 12 ++++ packages/tsyringe/tsconfig.json | 18 +++-- packages/tsyringe/tsconfig.spec.json | 13 ++++ packages/typebox-validator/package.json | 2 + packages/typebox-validator/src/index.test.ts | 3 + .../typebox-validator/tsconfig.build.json | 12 ++++ packages/typebox-validator/tsconfig.json | 15 ++-- packages/typebox-validator/tsconfig.spec.json | 13 ++++ packages/typia-validator/package.json | 2 + packages/typia-validator/src/http.test.ts | 7 ++ packages/typia-validator/src/index.test.ts | 3 + packages/typia-validator/tsconfig.build.json | 12 ++++ packages/typia-validator/tsconfig.json | 14 ++-- packages/typia-validator/tsconfig.spec.json | 18 +++++ packages/valibot-validator/package.json | 2 + packages/valibot-validator/src/index.test.ts | 6 +- .../valibot-validator/tsconfig.build.json | 12 ++++ packages/valibot-validator/tsconfig.json | 15 ++-- packages/valibot-validator/tsconfig.spec.json | 13 ++++ packages/zod-openapi/package.json | 2 + packages/zod-openapi/src/handler.test-d.ts | 1 - packages/zod-openapi/src/index.test-d.ts | 1 - packages/zod-openapi/tsconfig.build.json | 12 ++++ packages/zod-openapi/tsconfig.json | 15 ++-- packages/zod-openapi/tsconfig.spec.json | 13 ++++ packages/zod-validator/package.json | 12 +++- packages/zod-validator/src/index.test.ts | 9 +++ packages/zod-validator/tsconfig.build.json | 12 ++++ packages/zod-validator/tsconfig.cjs.json | 8 --- packages/zod-validator/tsconfig.esm.json | 8 --- packages/zod-validator/tsconfig.json | 15 ++-- packages/zod-validator/tsconfig.spec.json | 13 ++++ tsconfig.base.json | 20 ++++++ tsconfig.json | 53 +++++++++++---- tsconfig.tsup.json | 8 +++ tsup.config.ts | 2 +- yarn.lock | 68 ++++++++++++------- 204 files changed, 1521 insertions(+), 286 deletions(-) create mode 100644 packages/ajv-validator/tsconfig.build.json create mode 100644 packages/ajv-validator/tsconfig.spec.json create mode 100644 packages/arktype-validator/tsconfig.build.json create mode 100644 packages/arktype-validator/tsconfig.spec.json create mode 100644 packages/auth-js/tsconfig.build.json create mode 100644 packages/auth-js/tsconfig.spec.json create mode 100644 packages/bun-transpiler/tsconfig.build.json create mode 100644 packages/bun-transpiler/tsconfig.spec.json create mode 100644 packages/casbin/tsconfig.build.json create mode 100644 packages/casbin/tsconfig.spec.json create mode 100644 packages/class-validator/tsconfig.build.json create mode 100644 packages/class-validator/tsconfig.spec.json delete mode 100644 packages/class-validator/tsconfig.vitest.json create mode 100644 packages/clerk-auth/tsconfig.build.json create mode 100644 packages/clerk-auth/tsconfig.spec.json create mode 100644 packages/cloudflare-access/tsconfig.build.json create mode 100644 packages/cloudflare-access/tsconfig.spec.json create mode 100644 packages/conform-validator/tsconfig.build.json delete mode 100644 packages/conform-validator/tsconfig.cjs.json delete mode 100644 packages/conform-validator/tsconfig.esm.json create mode 100644 packages/conform-validator/tsconfig.spec.json create mode 100644 packages/effect-validator/tsconfig.build.json create mode 100644 packages/effect-validator/tsconfig.spec.json create mode 100644 packages/esbuild-transpiler/tsconfig.build.json create mode 100644 packages/esbuild-transpiler/tsconfig.spec.json create mode 100644 packages/event-emitter/tsconfig.build.json create mode 100644 packages/event-emitter/tsconfig.spec.json create mode 100644 packages/firebase-auth/tsconfig.build.json create mode 100644 packages/firebase-auth/tsconfig.spec.json create mode 100644 packages/graphql-server/tsconfig.build.json create mode 100644 packages/graphql-server/tsconfig.spec.json create mode 100644 packages/hello/tsconfig.build.json create mode 100644 packages/hello/tsconfig.spec.json create mode 100644 packages/medley-router/tsconfig.build.json create mode 100644 packages/medley-router/tsconfig.spec.json create mode 100644 packages/node-ws/tsconfig.build.json create mode 100644 packages/node-ws/tsconfig.spec.json create mode 100644 packages/oauth-providers/tsconfig.build.json create mode 100644 packages/oauth-providers/tsconfig.spec.json create mode 100644 packages/oidc-auth/tsconfig.build.json create mode 100644 packages/oidc-auth/tsconfig.spec.json create mode 100644 packages/otel/tsconfig.build.json create mode 100644 packages/otel/tsconfig.spec.json create mode 100644 packages/prometheus/tsconfig.build.json create mode 100644 packages/prometheus/tsconfig.spec.json create mode 100644 packages/qwik-city/tsconfig.build.json create mode 100644 packages/react-compat/tsconfig.build.json create mode 100644 packages/react-renderer/tsconfig.build.json create mode 100644 packages/react-renderer/tsconfig.spec.json create mode 100644 packages/sentry/tsconfig.build.json create mode 100644 packages/sentry/tsconfig.spec.json create mode 100644 packages/standard-validator/tsconfig.build.json create mode 100644 packages/standard-validator/tsconfig.spec.json create mode 100644 packages/swagger-editor/tsconfig.build.json create mode 100644 packages/swagger-editor/tsconfig.spec.json create mode 100644 packages/swagger-ui/tsconfig.build.json create mode 100644 packages/swagger-ui/tsconfig.spec.json create mode 100644 packages/trpc-server/tsconfig.build.json create mode 100644 packages/trpc-server/tsconfig.spec.json create mode 100644 packages/tsyringe/tsconfig.build.json create mode 100644 packages/tsyringe/tsconfig.spec.json create mode 100644 packages/typebox-validator/tsconfig.build.json create mode 100644 packages/typebox-validator/tsconfig.spec.json create mode 100644 packages/typia-validator/tsconfig.build.json create mode 100644 packages/typia-validator/tsconfig.spec.json create mode 100644 packages/valibot-validator/tsconfig.build.json create mode 100644 packages/valibot-validator/tsconfig.spec.json create mode 100644 packages/zod-openapi/tsconfig.build.json create mode 100644 packages/zod-openapi/tsconfig.spec.json create mode 100644 packages/zod-validator/tsconfig.build.json delete mode 100644 packages/zod-validator/tsconfig.cjs.json delete mode 100644 packages/zod-validator/tsconfig.esm.json create mode 100644 packages/zod-validator/tsconfig.spec.json create mode 100644 tsconfig.base.json create mode 100644 tsconfig.tsup.json diff --git a/.github/workflows/ci-ajv-validator.yml b/.github/workflows/ci-ajv-validator.yml index ffd7e725..be4f5d15 100644 --- a/.github/workflows/ci-ajv-validator.yml +++ b/.github/workflows/ci-ajv-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/ajv-validator - run: yarn workspace @hono/ajv-validator build - run: yarn workspace @hono/ajv-validator publint + - run: yarn workspace @hono/ajv-validator typecheck - run: yarn eslint packages/ajv-validator - run: yarn test --coverage --project @hono/ajv-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-arktype-validator.yml b/.github/workflows/ci-arktype-validator.yml index 3af35685..c8510642 100644 --- a/.github/workflows/ci-arktype-validator.yml +++ b/.github/workflows/ci-arktype-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/arktype-validator - run: yarn workspace @hono/arktype-validator build - run: yarn workspace @hono/arktype-validator publint + - run: yarn workspace @hono/arktype-validator typecheck - run: yarn eslint packages/arktype-validator - run: yarn test --coverage --project @hono/arktype-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-auth-js.yml b/.github/workflows/ci-auth-js.yml index 4d874be0..93dd548a 100644 --- a/.github/workflows/ci-auth-js.yml +++ b/.github/workflows/ci-auth-js.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/auth-js - run: yarn workspace @hono/auth-js build - run: yarn workspace @hono/auth-js publint + - run: yarn workspace @hono/auth-js typecheck - run: yarn eslint packages/auth-js - run: yarn test --coverage --project @hono/auth-js - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-bun-transpiler.yml b/.github/workflows/ci-bun-transpiler.yml index 6eee2415..5b0598c7 100644 --- a/.github/workflows/ci-bun-transpiler.yml +++ b/.github/workflows/ci-bun-transpiler.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/bun-transpiler - run: yarn workspace @hono/bun-transpiler build - run: yarn workspace @hono/bun-transpiler publint + - run: yarn workspace @hono/bun-transpiler typecheck - run: yarn eslint packages/bun-transpiler - run: yarn workspace @hono/bun-transpiler test --coverage --coverage-reporter lcov - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-casbin.yml b/.github/workflows/ci-casbin.yml index 1bee855d..2c0dee1c 100644 --- a/.github/workflows/ci-casbin.yml +++ b/.github/workflows/ci-casbin.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/casbin - run: yarn workspace @hono/casbin build - run: yarn workspace @hono/casbin publint + - run: yarn workspace @hono/casbin typecheck - run: yarn eslint packages/casbin - run: yarn test --coverage --project @hono/casbin - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-class-validator.yml b/.github/workflows/ci-class-validator.yml index c43bdfc5..d2687358 100644 --- a/.github/workflows/ci-class-validator.yml +++ b/.github/workflows/ci-class-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/class-validator - run: yarn workspace @hono/class-validator build - run: yarn workspace @hono/class-validator publint + - run: yarn workspace @hono/class-validator typecheck - run: yarn eslint packages/class-validator - run: yarn test --coverage --project @hono/class-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-clerk-auth.yml b/.github/workflows/ci-clerk-auth.yml index 5bcbe8f7..a44f90bb 100644 --- a/.github/workflows/ci-clerk-auth.yml +++ b/.github/workflows/ci-clerk-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/clerk-auth - run: yarn workspace @hono/clerk-auth build - run: yarn workspace @hono/clerk-auth publint + - run: yarn workspace @hono/clerk-auth typecheck - run: yarn eslint packages/clerk-auth - run: yarn test --coverage --project @hono/clerk-auth - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-cloudflare-access.yml b/.github/workflows/ci-cloudflare-access.yml index 7e81563b..70ca0b8f 100644 --- a/.github/workflows/ci-cloudflare-access.yml +++ b/.github/workflows/ci-cloudflare-access.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/cloudflare-access - run: yarn workspace @hono/cloudflare-access build - run: yarn workspace @hono/cloudflare-access publint + - run: yarn workspace @hono/cloudflare-access typecheck - run: yarn eslint packages/cloudflare-access - run: yarn test --coverage --project @hono/cloudflare-access - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-conform-validator.yml b/.github/workflows/ci-conform-validator.yml index ed59a9d5..dcbb5f13 100644 --- a/.github/workflows/ci-conform-validator.yml +++ b/.github/workflows/ci-conform-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/conform-validator - run: yarn workspace @hono/conform-validator build - run: yarn workspace @hono/conform-validator publint + - run: yarn workspace @hono/conform-validator typecheck - run: yarn eslint packages/conform-validator - run: yarn test --coverage --project @hono/conform-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-effect-validator.yml b/.github/workflows/ci-effect-validator.yml index ac684a0c..952b0963 100644 --- a/.github/workflows/ci-effect-validator.yml +++ b/.github/workflows/ci-effect-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/effect-validator - run: yarn workspace @hono/effect-validator build - run: yarn workspace @hono/effect-validator publint + - run: yarn workspace @hono/effect-validator typecheck - run: yarn eslint packages/effect-validator - run: yarn test --coverage --project @hono/effect-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-esbuild-transpiler.yml b/.github/workflows/ci-esbuild-transpiler.yml index 855b53ae..6cba94b1 100644 --- a/.github/workflows/ci-esbuild-transpiler.yml +++ b/.github/workflows/ci-esbuild-transpiler.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/esbuild-transpiler - run: yarn workspace @hono/esbuild-transpiler build - run: yarn workspace @hono/esbuild-transpiler publint + - run: yarn workspace @hono/esbuild-transpiler typecheck - run: yarn eslint packages/esbuild-transpiler - run: yarn test --coverage --project @hono/esbuild-transpiler - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-event-emitter.yml b/.github/workflows/ci-event-emitter.yml index fcee588d..faa70372 100644 --- a/.github/workflows/ci-event-emitter.yml +++ b/.github/workflows/ci-event-emitter.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/event-emitter - run: yarn workspace @hono/event-emitter build - run: yarn workspace @hono/event-emitter publint + - run: yarn workspace @hono/event-emitter typecheck - run: yarn eslint packages/event-emitter - run: yarn test --coverage --project @hono/event-emitter - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-firebase-auth.yml b/.github/workflows/ci-firebase-auth.yml index f92741b0..99a6c0b3 100644 --- a/.github/workflows/ci-firebase-auth.yml +++ b/.github/workflows/ci-firebase-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/firebase-auth - run: yarn workspace @hono/firebase-auth build - run: yarn workspace @hono/firebase-auth publint + - run: yarn workspace @hono/firebase-auth typecheck - run: yarn eslint packages/firebase-auth - run: yarn test --coverage --project @hono/firebase-auth - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-graphql-server.yml b/.github/workflows/ci-graphql-server.yml index f123317c..407a1a81 100644 --- a/.github/workflows/ci-graphql-server.yml +++ b/.github/workflows/ci-graphql-server.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/graphql-server - run: yarn workspace @hono/graphql-server build - run: yarn workspace @hono/graphql-server publint + - run: yarn workspace @hono/graphql-server typecheck - run: yarn eslint packages/graphql-server - run: yarn test --coverage --project @hono/graphql-server - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index ab7b42f0..59b40800 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/hello - run: yarn workspace @hono/hello build - run: yarn workspace @hono/hello publint + - run: yarn workspace @hono/hello typecheck - run: yarn eslint packages/hello - run: yarn test --coverage --project @hono/hello - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-medley-router.yml b/.github/workflows/ci-medley-router.yml index 3e59f0aa..26de4b6b 100644 --- a/.github/workflows/ci-medley-router.yml +++ b/.github/workflows/ci-medley-router.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/medley-router - run: yarn workspace @hono/medley-router build - run: yarn workspace @hono/medley-router publint + - run: yarn workspace @hono/medley-router typecheck - run: yarn eslint packages/medley-router - run: yarn test --coverage --project @hono/medley-router - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-node-ws.yml b/.github/workflows/ci-node-ws.yml index d86a4b12..7ea21681 100644 --- a/.github/workflows/ci-node-ws.yml +++ b/.github/workflows/ci-node-ws.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/node-ws - run: yarn workspace @hono/node-ws build - run: yarn workspace @hono/node-ws publint + - run: yarn workspace @hono/node-ws typecheck - run: yarn eslint packages/node-ws - run: yarn test --coverage --project @hono/node-ws - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-oauth-providers.yml b/.github/workflows/ci-oauth-providers.yml index e9b99de7..fe867e38 100644 --- a/.github/workflows/ci-oauth-providers.yml +++ b/.github/workflows/ci-oauth-providers.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/oauth-providers - run: yarn workspace @hono/oauth-providers build - run: yarn workspace @hono/oauth-providers publint + - run: yarn workspace @hono/oauth-providers typecheck - run: yarn eslint packages/oauth-providers - run: yarn test --coverage --project @hono/oauth-providers - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-oidc-auth.yml b/.github/workflows/ci-oidc-auth.yml index ce0183ec..89d6d2e0 100644 --- a/.github/workflows/ci-oidc-auth.yml +++ b/.github/workflows/ci-oidc-auth.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/oidc-auth - run: yarn workspace @hono/oidc-auth build - run: yarn workspace @hono/oidc-auth publint + - run: yarn workspace @hono/oidc-auth typecheck - run: yarn eslint packages/oidc-auth - run: yarn test --coverage --project @hono/oidc-auth - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-otel.yml b/.github/workflows/ci-otel.yml index 46339fb5..d541213d 100644 --- a/.github/workflows/ci-otel.yml +++ b/.github/workflows/ci-otel.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/otel - run: yarn workspace @hono/otel build - run: yarn workspace @hono/otel publint + - run: yarn workspace @hono/otel typecheck - run: yarn eslint packages/otel - run: yarn test --coverage --project @hono/otel - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-prometheus.yml b/.github/workflows/ci-prometheus.yml index 98c8eb63..d32618ba 100644 --- a/.github/workflows/ci-prometheus.yml +++ b/.github/workflows/ci-prometheus.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/prometheus - run: yarn workspace @hono/prometheus build - run: yarn workspace @hono/prometheus publint + - run: yarn workspace @hono/prometheus typecheck - run: yarn eslint packages/prometheus - run: yarn test --coverage --project @hono/prometheus - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-qwik-city.yml b/.github/workflows/ci-qwik-city.yml index b371a400..b3337bad 100644 --- a/.github/workflows/ci-qwik-city.yml +++ b/.github/workflows/ci-qwik-city.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/qwik-city - run: yarn workspace @hono/qwik-city build - run: yarn workspace @hono/qwik-city publint + - run: yarn workspace @hono/qwik-city typecheck - run: yarn eslint packages/qwik-city # - run: yarn test --coverage --project @hono/qwik-city # - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-react-compat.yml b/.github/workflows/ci-react-compat.yml index f3fcb778..dbebfc37 100644 --- a/.github/workflows/ci-react-compat.yml +++ b/.github/workflows/ci-react-compat.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/react-compat - run: yarn workspace @hono/react-compat build - run: yarn workspace @hono/react-compat publint + - run: yarn workspace @hono/react-compat typecheck - run: yarn eslint packages/react-compat # - run: yarn test --coverage --project @hono/react-compat # - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml index 470637a0..00fabc2e 100644 --- a/.github/workflows/ci-react-renderer.yml +++ b/.github/workflows/ci-react-renderer.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/react-renderer - run: yarn workspace @hono/react-renderer build - run: yarn workspace @hono/react-renderer publint + - run: yarn workspace @hono/react-renderer typecheck - run: yarn eslint packages/react-renderer - run: yarn test --coverage --project @hono/react-renderer - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-sentry.yml b/.github/workflows/ci-sentry.yml index 5f7644ac..9eaf4ed8 100644 --- a/.github/workflows/ci-sentry.yml +++ b/.github/workflows/ci-sentry.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/sentry - run: yarn workspace @hono/sentry build - run: yarn workspace @hono/sentry publint + - run: yarn workspace @hono/sentry typecheck - run: yarn eslint packages/sentry - run: yarn test --coverage --project @hono/sentry - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-standard-validator.yml b/.github/workflows/ci-standard-validator.yml index b00310f1..3233f01c 100644 --- a/.github/workflows/ci-standard-validator.yml +++ b/.github/workflows/ci-standard-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/standard-validator - run: yarn workspace @hono/standard-validator build - run: yarn workspace @hono/standard-validator publint + - run: yarn workspace @hono/standard-validator typecheck - run: yarn eslint packages/standard-validator - run: yarn test --coverage --project @hono/standard-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-swagger-editor.yml b/.github/workflows/ci-swagger-editor.yml index 1c798b03..5326fc59 100644 --- a/.github/workflows/ci-swagger-editor.yml +++ b/.github/workflows/ci-swagger-editor.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/swagger-editor - run: yarn workspace @hono/swagger-editor build - run: yarn workspace @hono/swagger-editor publint + - run: yarn workspace @hono/swagger-editor typecheck - run: yarn eslint packages/swagger-editor - run: yarn test --coverage --project @hono/swagger-editor - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-swagger-ui.yml b/.github/workflows/ci-swagger-ui.yml index 5b77f8c9..a7c3693c 100644 --- a/.github/workflows/ci-swagger-ui.yml +++ b/.github/workflows/ci-swagger-ui.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/swagger-ui - run: yarn workspace @hono/swagger-ui build - run: yarn workspace @hono/swagger-ui publint + - run: yarn workspace @hono/swagger-ui typecheck - run: yarn eslint packages/swagger-ui - run: yarn test --coverage --project @hono/swagger-ui - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-trpc-server.yml b/.github/workflows/ci-trpc-server.yml index 6e6870a9..ef803837 100644 --- a/.github/workflows/ci-trpc-server.yml +++ b/.github/workflows/ci-trpc-server.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/trpc-server - run: yarn workspace @hono/trpc-server build - run: yarn workspace @hono/trpc-server publint + - run: yarn workspace @hono/trpc-server typecheck - run: yarn eslint packages/trpc-server - run: yarn test --coverage --project @hono/trpc-server - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-tsyringe.yml b/.github/workflows/ci-tsyringe.yml index 67c88e09..d4c76c08 100644 --- a/.github/workflows/ci-tsyringe.yml +++ b/.github/workflows/ci-tsyringe.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/tsyringe - run: yarn workspace @hono/tsyringe build - run: yarn workspace @hono/tsyringe publint + - run: yarn workspace @hono/tsyringe typecheck - run: yarn eslint packages/tsyringe - run: yarn test --coverage --project @hono/tsyringe - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-typebox-validator.yml b/.github/workflows/ci-typebox-validator.yml index cda0c949..5f9d9f46 100644 --- a/.github/workflows/ci-typebox-validator.yml +++ b/.github/workflows/ci-typebox-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/typebox-validator - run: yarn workspace @hono/typebox-validator build - run: yarn workspace @hono/typebox-validator publint + - run: yarn workspace @hono/typebox-validator typecheck - run: yarn eslint packages/typebox-validator - run: yarn test --coverage --project @hono/typebox-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-typia-validator.yml b/.github/workflows/ci-typia-validator.yml index e31c7e2a..af99d217 100644 --- a/.github/workflows/ci-typia-validator.yml +++ b/.github/workflows/ci-typia-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/typia-validator - run: yarn workspace @hono/typia-validator build - run: yarn workspace @hono/typia-validator publint + - run: yarn workspace @hono/typia-validator typecheck - run: yarn eslint packages/typia-validator - run: yarn test --coverage --project @hono/typia-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-valibot-validator.yml b/.github/workflows/ci-valibot-validator.yml index a7213f3a..2cca0a42 100644 --- a/.github/workflows/ci-valibot-validator.yml +++ b/.github/workflows/ci-valibot-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/valibot-validator - run: yarn workspace @hono/valibot-validator build - run: yarn workspace @hono/valibot-validator publint + - run: yarn workspace @hono/valibot-validator typecheck - run: yarn eslint packages/valibot-validator - run: yarn test --coverage --project @hono/valibot-validator - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-zod-openapi.yml b/.github/workflows/ci-zod-openapi.yml index 05468528..93b57402 100644 --- a/.github/workflows/ci-zod-openapi.yml +++ b/.github/workflows/ci-zod-openapi.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/zod-openapi - run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build - run: yarn workspace @hono/zod-openapi publint + - run: yarn workspace @hono/zod-openapi typecheck - run: yarn eslint packages/zod-openapi - run: yarn test --coverage --project @hono/zod-openapi - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml index 66eae5db..14772e3f 100644 --- a/.github/workflows/ci-zod-validator.yml +++ b/.github/workflows/ci-zod-validator.yml @@ -20,6 +20,7 @@ jobs: - run: yarn workspaces focus hono-middleware @hono/zod-validator - run: yarn workspace @hono/zod-validator build - run: yarn workspace @hono/zod-validator publint + - run: yarn workspace @hono/zod-validator typecheck - run: yarn eslint packages/zod-validator - run: yarn test --coverage --project @hono/zod-validator - uses: codecov/codecov-action@v5 diff --git a/package.json b/package.json index 2be6d308..0267502f 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,11 @@ ] }, "scripts": { - "build": "yarn workspaces foreach --all --parallel --topological --verbose run build", - "publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint", + "build": "yarn workspaces foreach --all --topological --verbose run build", + "publint": "yarn workspaces foreach --all --topological --verbose run publint", + "typecheck": "yarn tsc --build", + "typecheck:clean": "yarn tsc --build --clean", + "typecheck:watch": "yarn tsc --build --watch", "test": "vitest", "lint": "eslint 'packages/**/*.{ts,tsx}'", "lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'", @@ -29,7 +32,8 @@ "@cloudflare/workers-types": "^4.20230307.0", "@hono/eslint-config": "workspace:*", "@ryoppippi/unplugin-typia": "^1.2.0", - "@types/node": "^20.14.8", + "@types/node": "^20.17.28", + "@types/ws": "^8.18.0", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "@vitest/coverage-istanbul": "^3.0.8", diff --git a/packages/ajv-validator/package.json b/packages/ajv-validator/package.json index dac347ed..3d874b3c 100644 --- a/packages/ajv-validator/package.json +++ b/packages/ajv-validator/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -46,6 +47,7 @@ "ajv": ">=8.12.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/ajv-validator/src/index.test.ts b/packages/ajv-validator/src/index.test.ts index 81af94a1..1a6185e9 100644 --- a/packages/ajv-validator/src/index.test.ts +++ b/packages/ajv-validator/src/index.test.ts @@ -1,5 +1,6 @@ -import type { JSONSchemaType, type ErrorObject } from 'ajv' +import type { JSONSchemaType, ErrorObject } from 'ajv' import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { ajvValidator } from '.' @@ -40,6 +41,8 @@ describe('Basic', () => { success: boolean message: string } + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/ajv-validator/tsconfig.build.json b/packages/ajv-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/ajv-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/ajv-validator/tsconfig.json b/packages/ajv-validator/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/ajv-validator/tsconfig.json +++ b/packages/ajv-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/ajv-validator/tsconfig.spec.json b/packages/ajv-validator/tsconfig.spec.json new file mode 100644 index 00000000..c3312ce1 --- /dev/null +++ b/packages/ajv-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/ajv-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/arktype-validator/package.json b/packages/arktype-validator/package.json index 54a4e3da..a4b1233f 100644 --- a/packages/arktype-validator/package.json +++ b/packages/arktype-validator/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -47,6 +48,7 @@ "arktype": "^2.0.0-dev.14", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/arktype-validator/src/index.test.ts b/packages/arktype-validator/src/index.test.ts index 11934736..11dfa12b 100644 --- a/packages/arktype-validator/src/index.test.ts +++ b/packages/arktype-validator/src/index.test.ts @@ -1,5 +1,6 @@ import { type } from 'arktype' import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { arktypeValidator } from '.' @@ -53,6 +54,8 @@ describe('Basic', () => { message: string queryName: string | undefined } + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/arktype-validator/tsconfig.build.json b/packages/arktype-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/arktype-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/arktype-validator/tsconfig.json b/packages/arktype-validator/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/arktype-validator/tsconfig.json +++ b/packages/arktype-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/arktype-validator/tsconfig.spec.json b/packages/arktype-validator/tsconfig.spec.json new file mode 100644 index 00000000..6313653f --- /dev/null +++ b/packages/arktype-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/arktype-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/auth-js/package.json b/packages/auth-js/package.json index 3952c5a6..164394e2 100644 --- a/packages/auth-js/package.json +++ b/packages/auth-js/package.json @@ -40,6 +40,7 @@ "build": "tsup src/index.ts src/react.tsx", "prepack": "yarn build", "publint": "attw --pack --profile node16 && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -65,6 +66,7 @@ "publint": "^0.3.9", "react": "^18.2.0", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/auth-js/tsconfig.build.json b/packages/auth-js/tsconfig.build.json new file mode 100644 index 00000000..44b204b9 --- /dev/null +++ b/packages/auth-js/tsconfig.build.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "dist", + "jsx": "react" + }, + "include": ["src/**/*.ts", "src/**/*.tsx"], + "references": [] +} diff --git a/packages/auth-js/tsconfig.json b/packages/auth-js/tsconfig.json index 550ead33..d4d0929e 100644 --- a/packages/auth-js/tsconfig.json +++ b/packages/auth-js/tsconfig.json @@ -1,11 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "outDir": "./dist", - "jsx": "react", - "types": ["node", "vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/auth-js/tsconfig.spec.json b/packages/auth-js/tsconfig.spec.json new file mode 100644 index 00000000..5abc897a --- /dev/null +++ b/packages/auth-js/tsconfig.spec.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/auth-js", + "noEmit": true, + "jsx": "react" + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/bun-transpiler/package.json b/packages/bun-transpiler/package.json index 4cf85650..fdb3c9c5 100644 --- a/packages/bun-transpiler/package.json +++ b/packages/bun-transpiler/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts --external bun", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "bun test" }, "exports": { @@ -46,6 +47,7 @@ "@types/bun": "^1.0.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/bun-transpiler/tsconfig.build.json b/packages/bun-transpiler/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/bun-transpiler/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/bun-transpiler/tsconfig.json b/packages/bun-transpiler/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/bun-transpiler/tsconfig.json +++ b/packages/bun-transpiler/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/bun-transpiler/tsconfig.spec.json b/packages/bun-transpiler/tsconfig.spec.json new file mode 100644 index 00000000..b97b42c9 --- /dev/null +++ b/packages/bun-transpiler/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/bun-transpiler", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/casbin/package.json b/packages/casbin/package.json index 64a5e1e2..5a6df7f6 100644 --- a/packages/casbin/package.json +++ b/packages/casbin/package.json @@ -35,6 +35,7 @@ "build": "tsup ./src/index.ts ./src/helper/index.ts", "prepack": "yarn build", "publint": "attw --pack --profile node16 && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -57,6 +58,7 @@ "casbin": "^5.30.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/casbin/tsconfig.build.json b/packages/casbin/tsconfig.build.json new file mode 100644 index 00000000..72d37bcb --- /dev/null +++ b/packages/casbin/tsconfig.build.json @@ -0,0 +1,11 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["./src/**/*.ts"], + "references": [] +} diff --git a/packages/casbin/tsconfig.json b/packages/casbin/tsconfig.json index 30b09682..d4d0929e 100644 --- a/packages/casbin/tsconfig.json +++ b/packages/casbin/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "exactOptionalPropertyTypes": true - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/casbin/tsconfig.spec.json b/packages/casbin/tsconfig.spec.json new file mode 100644 index 00000000..8182bfb1 --- /dev/null +++ b/packages/casbin/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/casbin", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/class-validator/package.json b/packages/class-validator/package.json index 3479cfee..07dc1eea 100644 --- a/packages/class-validator/package.json +++ b/packages/class-validator/package.json @@ -26,6 +26,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -46,6 +47,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/class-validator/src/index.test.ts b/packages/class-validator/src/index.test.ts index 9025fc3c..d234060c 100644 --- a/packages/class-validator/src/index.test.ts +++ b/packages/class-validator/src/index.test.ts @@ -3,6 +3,7 @@ import type { ValidationError } from 'class-validator' import { IsInt, IsString, ValidateNested } from 'class-validator' import { Hono } from 'hono' import type { ExtractSchema } from 'hono/types' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { classValidator } from '.' @@ -39,6 +40,8 @@ describe('Basic', () => { success: boolean message: string } + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/class-validator/tsconfig.build.json b/packages/class-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/class-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/class-validator/tsconfig.json b/packages/class-validator/tsconfig.json index 61e8adc5..d4d0929e 100644 --- a/packages/class-validator/tsconfig.json +++ b/packages/class-validator/tsconfig.json @@ -1,8 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "emitDecoratorMetadata": true, - "experimentalDecorators": true - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/class-validator/tsconfig.spec.json b/packages/class-validator/tsconfig.spec.json new file mode 100644 index 00000000..c4c38349 --- /dev/null +++ b/packages/class-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/class-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/class-validator/tsconfig.vitest.json b/packages/class-validator/tsconfig.vitest.json deleted file mode 100644 index 0695d1bd..00000000 --- a/packages/class-validator/tsconfig.vitest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"], - "emitDecoratorMetadata": true, - "experimentalDecorators": true - } -} diff --git a/packages/class-validator/vitest.config.ts b/packages/class-validator/vitest.config.ts index e406a162..5cc451db 100644 --- a/packages/class-validator/vitest.config.ts +++ b/packages/class-validator/vitest.config.ts @@ -4,7 +4,8 @@ export default defineProject({ test: { globals: true, typecheck: { - tsconfig: './tsconfig.vitest.json', + tsconfig: './tsconfig.json', + enabled: true, }, }, }) diff --git a/packages/clerk-auth/package.json b/packages/clerk-auth/package.json index 956d6916..8e94bb5a 100644 --- a/packages/clerk-auth/package.json +++ b/packages/clerk-auth/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -49,6 +50,7 @@ "publint": "^0.3.9", "react": "^18.2.0", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/clerk-auth/tsconfig.build.json b/packages/clerk-auth/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/clerk-auth/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/clerk-auth/tsconfig.json b/packages/clerk-auth/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/clerk-auth/tsconfig.json +++ b/packages/clerk-auth/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/clerk-auth/tsconfig.spec.json b/packages/clerk-auth/tsconfig.spec.json new file mode 100644 index 00000000..3cbbc47f --- /dev/null +++ b/packages/clerk-auth/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/clerk-auth", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/cloudflare-access/package.json b/packages/cloudflare-access/package.json index 65d14710..e9a7df7e 100644 --- a/packages/cloudflare-access/package.json +++ b/packages/cloudflare-access/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -42,9 +43,9 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "@cloudflare/workers-types": "^4.20230307.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/cloudflare-access/tsconfig.build.json b/packages/cloudflare-access/tsconfig.build.json new file mode 100644 index 00000000..4dcca72d --- /dev/null +++ b/packages/cloudflare-access/tsconfig.build.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false, + "types": ["@cloudflare/workers-types"] + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/cloudflare-access/tsconfig.json b/packages/cloudflare-access/tsconfig.json index 60494f8f..d4d0929e 100644 --- a/packages/cloudflare-access/tsconfig.json +++ b/packages/cloudflare-access/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["@cloudflare/workers-types"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/cloudflare-access/tsconfig.spec.json b/packages/cloudflare-access/tsconfig.spec.json new file mode 100644 index 00000000..d5c39ccb --- /dev/null +++ b/packages/cloudflare-access/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/cloudflare-access", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/conform-validator/package.json b/packages/conform-validator/package.json index 9affb79d..17a6b6f4 100644 --- a/packages/conform-validator/package.json +++ b/packages/conform-validator/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -50,6 +51,7 @@ "conform-to-valibot": "^1.10.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "valibot": "^0.36.0", "vitest": "^3.0.8", "yup": "^1.4.0", diff --git a/packages/conform-validator/src/hook.test.ts b/packages/conform-validator/src/hook.test.ts index 459f96d2..821dd138 100644 --- a/packages/conform-validator/src/hook.test.ts +++ b/packages/conform-validator/src/hook.test.ts @@ -24,7 +24,7 @@ describe('Validate the hook option processing', () => { handlerMockFn ) const client = hc<typeof route>('http://localhost', { - fetch: (req, init) => { + fetch: (req: RequestInfo | URL, init?: RequestInit) => { return app.request(req, init) }, }) diff --git a/packages/conform-validator/src/valibot.test.ts b/packages/conform-validator/src/valibot.test.ts index faed1f74..2dc9ef1c 100644 --- a/packages/conform-validator/src/valibot.test.ts +++ b/packages/conform-validator/src/valibot.test.ts @@ -2,7 +2,7 @@ import { parseWithValibot } from 'conform-to-valibot' import { Hono } from 'hono' import { hc } from 'hono/client' import type { ExtractSchema, ParsedFormValue } from 'hono/types' -import type { StatusCode } from 'hono/utils/http-status' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as v from 'valibot' import { conformValidator } from '.' @@ -53,7 +53,7 @@ describe('Validate requests using a Valibot schema', () => { message: string } outputFormat: 'json' - status: StatusCode + status: ContentfulStatusCode } } } @@ -64,7 +64,7 @@ describe('Validate requests using a Valibot schema', () => { it('Should return 200 response', async () => { const client = hc<typeof route>('http://localhost', { - fetch: (req, init) => { + fetch: (req: RequestInfo | URL, init?: RequestInit) => { return app.request(req, init) }, }) diff --git a/packages/conform-validator/src/yup.test.ts b/packages/conform-validator/src/yup.test.ts index e17243b3..b7f8695f 100644 --- a/packages/conform-validator/src/yup.test.ts +++ b/packages/conform-validator/src/yup.test.ts @@ -2,7 +2,7 @@ import { parseWithYup } from '@conform-to/yup' import { Hono } from 'hono' import { hc } from 'hono/client' import type { ExtractSchema, ParsedFormValue } from 'hono/types' -import type { StatusCode } from 'hono/utils/http-status' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as y from 'yup' import { conformValidator } from '.' @@ -49,7 +49,7 @@ describe('Validate requests using a Yup schema', () => { message: string } outputFormat: 'json' - status: StatusCode + status: ContentfulStatusCode } } } @@ -60,7 +60,7 @@ describe('Validate requests using a Yup schema', () => { it('Should return 200 response', async () => { const client = hc<typeof route>('http://localhost', { - fetch: (req, init) => { + fetch: (req: RequestInfo | URL, init?: RequestInit) => { return app.request(req, init) }, }) diff --git a/packages/conform-validator/src/zod.test.ts b/packages/conform-validator/src/zod.test.ts index d8a0ee5b..c542fabc 100644 --- a/packages/conform-validator/src/zod.test.ts +++ b/packages/conform-validator/src/zod.test.ts @@ -2,7 +2,7 @@ import { parseWithZod } from '@conform-to/zod' import { Hono } from 'hono' import { hc } from 'hono/client' import type { ExtractSchema, ParsedFormValue } from 'hono/types' -import type { StatusCode } from 'hono/utils/http-status' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import * as z from 'zod' import { conformValidator } from '.' @@ -49,7 +49,7 @@ describe('Validate requests using a Zod schema', () => { message: string } outputFormat: 'json' - status: StatusCode + status: ContentfulStatusCode } } } @@ -60,7 +60,7 @@ describe('Validate requests using a Zod schema', () => { it('Should return 200 response', async () => { const client = hc<typeof route>('http://localhost', { - fetch: (req, init) => { + fetch: (req: RequestInfo | URL, init?: RequestInit) => { return app.request(req, init) }, }) diff --git a/packages/conform-validator/tsconfig.build.json b/packages/conform-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/conform-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/conform-validator/tsconfig.cjs.json b/packages/conform-validator/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/conform-validator/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/conform-validator/tsconfig.esm.json b/packages/conform-validator/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/conform-validator/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/conform-validator/tsconfig.json b/packages/conform-validator/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/conform-validator/tsconfig.json +++ b/packages/conform-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/conform-validator/tsconfig.spec.json b/packages/conform-validator/tsconfig.spec.json new file mode 100644 index 00000000..788532d1 --- /dev/null +++ b/packages/conform-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/conform-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/effect-validator/package.json b/packages/effect-validator/package.json index 0e143b7c..78663e66 100644 --- a/packages/effect-validator/package.json +++ b/packages/effect-validator/package.json @@ -25,6 +25,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -47,6 +48,7 @@ "effect": "3.10.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/effect-validator/src/index.test.ts b/packages/effect-validator/src/index.test.ts index d2e3bedd..6132292e 100644 --- a/packages/effect-validator/src/index.test.ts +++ b/packages/effect-validator/src/index.test.ts @@ -1,6 +1,6 @@ import { Schema as S } from 'effect' import { Hono } from 'hono' -import type { StatusCode } from 'hono/utils/http-status' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { effectValidator } from '.' @@ -59,7 +59,7 @@ describe('Basic', () => { queryName: string | undefined } outputFormat: 'json' - status: StatusCode + status: ContentfulStatusCode } } } @@ -135,7 +135,7 @@ describe('coerce', () => { page: number } outputFormat: 'json' - status: StatusCode + status: ContentfulStatusCode } } } diff --git a/packages/effect-validator/tsconfig.build.json b/packages/effect-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/effect-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/effect-validator/tsconfig.json b/packages/effect-validator/tsconfig.json index 30b09682..d4d0929e 100644 --- a/packages/effect-validator/tsconfig.json +++ b/packages/effect-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "exactOptionalPropertyTypes": true - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/effect-validator/tsconfig.spec.json b/packages/effect-validator/tsconfig.spec.json new file mode 100644 index 00000000..b99593c6 --- /dev/null +++ b/packages/effect-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/effect-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/esbuild-transpiler/package.json b/packages/esbuild-transpiler/package.json index 45ec2e49..83e18a49 100644 --- a/packages/esbuild-transpiler/package.json +++ b/packages/esbuild-transpiler/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/*.ts ./src/transpilers/*.ts --no-splitting --external esbuild-wasm,esbuild", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -76,6 +77,7 @@ "esbuild-wasm": "^0.19.5", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/esbuild-transpiler/tsconfig.build.json b/packages/esbuild-transpiler/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/esbuild-transpiler/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/esbuild-transpiler/tsconfig.json b/packages/esbuild-transpiler/tsconfig.json index f63ac453..d4d0929e 100644 --- a/packages/esbuild-transpiler/tsconfig.json +++ b/packages/esbuild-transpiler/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "skipLibCheck": false - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/esbuild-transpiler/tsconfig.spec.json b/packages/esbuild-transpiler/tsconfig.spec.json new file mode 100644 index 00000000..0c8781e6 --- /dev/null +++ b/packages/esbuild-transpiler/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/esbuild-transpiler", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 83578bc4..ba9d5b0d 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -22,7 +22,6 @@ "typescript": "^5.0.0" }, "dependencies": { - "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.10.0", "eslint-config-prettier": "^10.1.1", "eslint-import-resolver-typescript": "^4.2.2", diff --git a/packages/event-emitter/package.json b/packages/event-emitter/package.json index f8df3131..940c3b40 100644 --- a/packages/event-emitter/package.json +++ b/packages/event-emitter/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -46,6 +47,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/event-emitter/tsconfig.build.json b/packages/event-emitter/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/event-emitter/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/event-emitter/tsconfig.json b/packages/event-emitter/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/event-emitter/tsconfig.json +++ b/packages/event-emitter/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/event-emitter/tsconfig.spec.json b/packages/event-emitter/tsconfig.spec.json new file mode 100644 index 00000000..57c7b86d --- /dev/null +++ b/packages/event-emitter/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/event-emitter", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/firebase-auth/package.json b/packages/firebase-auth/package.json index 2972267e..04a96e7f 100644 --- a/packages/firebase-auth/package.json +++ b/packages/firebase-auth/package.json @@ -12,6 +12,7 @@ "scripts": { "start-firebase-emulator": "firebase emulators:start --project example-project12345", "test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'", + "typecheck": "tsc -b tsconfig.json", "test": "vitest", "build": "tsup ./src/index.ts", "prepack": "yarn build", @@ -49,12 +50,12 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "@cloudflare/workers-types": "^4.20240222.0", "firebase-tools": "^13.29.1", "miniflare": "^3.20240208.0", "prettier": "^3.2.5", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/firebase-auth/tsconfig.build.json b/packages/firebase-auth/tsconfig.build.json new file mode 100644 index 00000000..26c17ea5 --- /dev/null +++ b/packages/firebase-auth/tsconfig.build.json @@ -0,0 +1,8 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "dist", + "types": ["@cloudflare/workers-types"] + }, + "references": [] +} diff --git a/packages/firebase-auth/tsconfig.json b/packages/firebase-auth/tsconfig.json index f8678c52..d4d0929e 100644 --- a/packages/firebase-auth/tsconfig.json +++ b/packages/firebase-auth/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node", "@cloudflare/workers-types"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/firebase-auth/tsconfig.spec.json b/packages/firebase-auth/tsconfig.spec.json new file mode 100644 index 00000000..fd8c3cc0 --- /dev/null +++ b/packages/firebase-auth/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/firebase-auth", + "noEmit": true + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/graphql-server/package.json b/packages/graphql-server/package.json index 4256dec4..53c7107f 100644 --- a/packages/graphql-server/package.json +++ b/packages/graphql-server/package.json @@ -31,6 +31,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "peerDependencies": { @@ -41,9 +42,9 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "@cloudflare/workers-types": "^3.14.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/graphql-server/tsconfig.build.json b/packages/graphql-server/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/graphql-server/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/graphql-server/tsconfig.json b/packages/graphql-server/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/graphql-server/tsconfig.json +++ b/packages/graphql-server/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/graphql-server/tsconfig.spec.json b/packages/graphql-server/tsconfig.spec.json new file mode 100644 index 00000000..98883968 --- /dev/null +++ b/packages/graphql-server/tsconfig.spec.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/graphql-server", + "types": ["vitest/globals"] + }, + "exclude": ["bun_test"], + + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/hello/package.json b/packages/hello/package.json index ce1c2751..715c6bf4 100644 --- a/packages/hello/package.json +++ b/packages/hello/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -44,6 +45,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/hello/tsconfig.build.json b/packages/hello/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/hello/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/hello/tsconfig.json b/packages/hello/tsconfig.json index 9f275945..d4d0929e 100644 --- a/packages/hello/tsconfig.json +++ b/packages/hello/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/hello/tsconfig.spec.json b/packages/hello/tsconfig.spec.json new file mode 100644 index 00000000..f1428dff --- /dev/null +++ b/packages/hello/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/hello", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/medley-router/package.json b/packages/medley-router/package.json index c130aab1..0c1ae138 100644 --- a/packages/medley-router/package.json +++ b/packages/medley-router/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -45,6 +46,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/medley-router/src/router.ts b/packages/medley-router/src/router.ts index eb11b28d..f1c10c3e 100644 --- a/packages/medley-router/src/router.ts +++ b/packages/medley-router/src/router.ts @@ -2,6 +2,8 @@ // @ts-ignore import OriginalRouter from '@medley/router' // Should be exported from `hono/router` +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore import type { Result, Router } from 'hono/dist/types/router' export class MedleyRouter<T> implements Router<T> { diff --git a/packages/medley-router/tsconfig.build.json b/packages/medley-router/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/medley-router/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/medley-router/tsconfig.json b/packages/medley-router/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/medley-router/tsconfig.json +++ b/packages/medley-router/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/medley-router/tsconfig.spec.json b/packages/medley-router/tsconfig.spec.json new file mode 100644 index 00000000..bef87b66 --- /dev/null +++ b/packages/medley-router/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/medley-router", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/node-ws/package.json b/packages/node-ws/package.json index 31dce0dd..c925f215 100644 --- a/packages/node-ws/package.json +++ b/packages/node-ws/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -41,10 +42,9 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@hono/node-server": "^1.11.1", - "@types/node": "^20.14.8", - "@types/ws": "^8.18.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { @@ -57,4 +57,4 @@ "engines": { "node": ">=18.14.1" } -} +} \ No newline at end of file diff --git a/packages/node-ws/src/index.test.ts b/packages/node-ws/src/index.test.ts index 7240c42a..e27792d6 100644 --- a/packages/node-ws/src/index.test.ts +++ b/packages/node-ws/src/index.test.ts @@ -1,4 +1,6 @@ import { serve } from '@hono/node-server' +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore import type { ServerType } from '@hono/node-server/dist/types' import { Hono } from 'hono' import type { WSMessageReceive } from 'hono/ws' diff --git a/packages/node-ws/tsconfig.build.json b/packages/node-ws/tsconfig.build.json new file mode 100644 index 00000000..ddfdcb10 --- /dev/null +++ b/packages/node-ws/tsconfig.build.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false, + "types": ["node", "ws"] + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/node-ws/tsconfig.json b/packages/node-ws/tsconfig.json index 869e4530..d4d0929e 100644 --- a/packages/node-ws/tsconfig.json +++ b/packages/node-ws/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node", "vitest/globals", "ws"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/node-ws/tsconfig.spec.json b/packages/node-ws/tsconfig.spec.json new file mode 100644 index 00000000..6c34c5e0 --- /dev/null +++ b/packages/node-ws/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/node-ws", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/oauth-providers/package.json b/packages/oauth-providers/package.json index 55b99ddb..e5e7f6b1 100644 --- a/packages/oauth-providers/package.json +++ b/packages/oauth-providers/package.json @@ -13,6 +13,7 @@ "build": "tsup ./src/index.ts ./src/providers/**/index.ts ./src/providers/**/types.ts --no-splitting", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -70,6 +71,7 @@ "msw": "^2.0.11", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/oauth-providers/tsconfig.build.json b/packages/oauth-providers/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/oauth-providers/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/oauth-providers/tsconfig.json b/packages/oauth-providers/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/oauth-providers/tsconfig.json +++ b/packages/oauth-providers/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/oauth-providers/tsconfig.spec.json b/packages/oauth-providers/tsconfig.spec.json new file mode 100644 index 00000000..34b7316d --- /dev/null +++ b/packages/oauth-providers/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/oauth-providers", + "types": ["vitest/globals"] + }, + "include": ["mocks.ts", "**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/oidc-auth/package.json b/packages/oidc-auth/package.json index 5c44249e..cdf49921 100644 --- a/packages/oidc-auth/package.json +++ b/packages/oidc-auth/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -46,6 +47,7 @@ "jsonwebtoken": "^9.0.2", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { diff --git a/packages/oidc-auth/tsconfig.build.json b/packages/oidc-auth/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/oidc-auth/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/oidc-auth/tsconfig.json b/packages/oidc-auth/tsconfig.json index 26687d28..d4d0929e 100644 --- a/packages/oidc-auth/tsconfig.json +++ b/packages/oidc-auth/tsconfig.json @@ -1,8 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/oidc-auth/tsconfig.spec.json b/packages/oidc-auth/tsconfig.spec.json new file mode 100644 index 00000000..13981866 --- /dev/null +++ b/packages/oidc-auth/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/oidc-auth", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/otel/package.json b/packages/otel/package.json index f68132a4..f19e3291 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -50,6 +51,7 @@ "@opentelemetry/sdk-trace-node": "^1.30.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/otel/tsconfig.build.json b/packages/otel/tsconfig.build.json new file mode 100644 index 00000000..66b0baa9 --- /dev/null +++ b/packages/otel/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["package.json", "src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/otel/tsconfig.json b/packages/otel/tsconfig.json index 4aa90bfc..d4d0929e 100644 --- a/packages/otel/tsconfig.json +++ b/packages/otel/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "module": "ESNext", - "resolveJsonModule": true, - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/otel/tsconfig.spec.json b/packages/otel/tsconfig.spec.json new file mode 100644 index 00000000..13981866 --- /dev/null +++ b/packages/otel/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/oidc-auth", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/prometheus/package.json b/packages/prometheus/package.json index e6d63fa8..bcebb705 100644 --- a/packages/prometheus/package.json +++ b/packages/prometheus/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -46,6 +47,7 @@ "prom-client": "^15.0.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/prometheus/tsconfig.build.json b/packages/prometheus/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/prometheus/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/prometheus/tsconfig.json b/packages/prometheus/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/prometheus/tsconfig.json +++ b/packages/prometheus/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/prometheus/tsconfig.spec.json b/packages/prometheus/tsconfig.spec.json new file mode 100644 index 00000000..084707d0 --- /dev/null +++ b/packages/prometheus/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/prometheus", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/qwik-city/package.json b/packages/qwik-city/package.json index efa892f1..76f31164 100644 --- a/packages/qwik-city/package.json +++ b/packages/qwik-city/package.json @@ -11,7 +11,8 @@ "scripts": { "build": "tsup ./src/index.ts", "prepack": "yarn build", - "publint": "attw --pack && publint" + "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json" }, "exports": { ".": { @@ -46,7 +47,8 @@ "@builder.io/qwik": "^1.2.0", "@builder.io/qwik-city": "^1.2.0", "publint": "^0.3.9", - "tsup": "^8.4.0" + "tsup": "^8.4.0", + "typescript": "^5.8.2" }, "engines": { "node": ">=18" diff --git a/packages/qwik-city/tsconfig.build.json b/packages/qwik-city/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/qwik-city/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/qwik-city/tsconfig.json b/packages/qwik-city/tsconfig.json index b4e69ae1..4398f303 100644 --- a/packages/qwik-city/tsconfig.json +++ b/packages/qwik-city/tsconfig.json @@ -1,6 +1,10 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] } diff --git a/packages/react-compat/package.json b/packages/react-compat/package.json index e4c99642..f7bc0088 100644 --- a/packages/react-compat/package.json +++ b/packages/react-compat/package.json @@ -12,7 +12,8 @@ "scripts": { "build": "tsup ./src", "prepack": "yarn build", - "publint": "attw --pack && publint" + "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json" }, "exports": { ".": { @@ -30,6 +31,7 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", - "tsup": "^8.4.0" + "tsup": "^8.4.0", + "typescript": "^5.8.2" } } diff --git a/packages/react-compat/tsconfig.build.json b/packages/react-compat/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/react-compat/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/react-compat/tsconfig.json b/packages/react-compat/tsconfig.json index 9f275945..4398f303 100644 --- a/packages/react-compat/tsconfig.json +++ b/packages/react-compat/tsconfig.json @@ -1,6 +1,10 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist" - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] } diff --git a/packages/react-renderer/package.json b/packages/react-renderer/package.json index ad29b6df..df392532 100644 --- a/packages/react-renderer/package.json +++ b/packages/react-renderer/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -51,6 +52,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" }, "engines": { diff --git a/packages/react-renderer/tsconfig.build.json b/packages/react-renderer/tsconfig.build.json new file mode 100644 index 00000000..55295897 --- /dev/null +++ b/packages/react-renderer/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.tsx"], + "references": [] +} diff --git a/packages/react-renderer/tsconfig.json b/packages/react-renderer/tsconfig.json index 8db7eb41..d4d0929e 100644 --- a/packages/react-renderer/tsconfig.json +++ b/packages/react-renderer/tsconfig.json @@ -1,10 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "outDir": "./dist", - "jsx": "react-jsx", - "jsxImportSource": "react", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/react-renderer/tsconfig.spec.json b/packages/react-renderer/tsconfig.spec.json new file mode 100644 index 00000000..b7fe69a3 --- /dev/null +++ b/packages/react-renderer/tsconfig.spec.json @@ -0,0 +1,17 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "module": "es2022", + "moduleResolution": "bundler", + "jsx": "react-jsx", + "jsxImportSource": "react", + "outDir": "../../dist/out-tsc/packages/react-renderer", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.tsx"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/sentry/package.json b/packages/sentry/package.json index c5f350b2..12cf7a98 100644 --- a/packages/sentry/package.json +++ b/packages/sentry/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -48,6 +49,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/sentry/tsconfig.build.json b/packages/sentry/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/sentry/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/sentry/tsconfig.json b/packages/sentry/tsconfig.json index 103e4e38..d4d0929e 100644 --- a/packages/sentry/tsconfig.json +++ b/packages/sentry/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/sentry/tsconfig.spec.json b/packages/sentry/tsconfig.spec.json new file mode 100644 index 00000000..862ee1f7 --- /dev/null +++ b/packages/sentry/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/sentry", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/standard-validator/package.json b/packages/standard-validator/package.json index 23a52dc0..35c43bfe 100644 --- a/packages/standard-validator/package.json +++ b/packages/standard-validator/package.json @@ -25,6 +25,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -48,6 +49,7 @@ "arktype": "^2.0.0-rc.26", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "valibot": "^1.0.0-beta.9", "vitest": "^3.0.8", "zod": "^3.24.0" diff --git a/packages/standard-validator/src/__schemas__/arktype.ts b/packages/standard-validator/src/__schemas__/arktype.ts index 33167f31..3f0fb8d6 100644 --- a/packages/standard-validator/src/__schemas__/arktype.ts +++ b/packages/standard-validator/src/__schemas__/arktype.ts @@ -23,7 +23,6 @@ const queryPaginationSchema = type({ }) const querySortSchema = type({ - order: "'asc'|'desc'", }) diff --git a/packages/standard-validator/tsconfig.build.json b/packages/standard-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/standard-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/standard-validator/tsconfig.json b/packages/standard-validator/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/standard-validator/tsconfig.json +++ b/packages/standard-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/standard-validator/tsconfig.spec.json b/packages/standard-validator/tsconfig.spec.json new file mode 100644 index 00000000..95db8fbc --- /dev/null +++ b/packages/standard-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/standard-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/swagger-editor/package.json b/packages/swagger-editor/package.json index 62c70fb7..26cb561b 100644 --- a/packages/swagger-editor/package.json +++ b/packages/swagger-editor/package.json @@ -25,6 +25,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -45,6 +46,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/swagger-editor/tsconfig.build.json b/packages/swagger-editor/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/swagger-editor/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/swagger-editor/tsconfig.json b/packages/swagger-editor/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/swagger-editor/tsconfig.json +++ b/packages/swagger-editor/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/swagger-editor/tsconfig.spec.json b/packages/swagger-editor/tsconfig.spec.json new file mode 100644 index 00000000..abc354fe --- /dev/null +++ b/packages/swagger-editor/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/swagger-editor", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/swagger-ui/package.json b/packages/swagger-ui/package.json index 8a57e5c3..4353ab0f 100644 --- a/packages/swagger-ui/package.json +++ b/packages/swagger-ui/package.json @@ -25,6 +25,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -46,6 +47,7 @@ "@types/swagger-ui-dist": "^3.30.5", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/swagger-ui/tsconfig.build.json b/packages/swagger-ui/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/swagger-ui/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/swagger-ui/tsconfig.json b/packages/swagger-ui/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/swagger-ui/tsconfig.json +++ b/packages/swagger-ui/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/swagger-ui/tsconfig.spec.json b/packages/swagger-ui/tsconfig.spec.json new file mode 100644 index 00000000..fc4118de --- /dev/null +++ b/packages/swagger-ui/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/swagger-ui", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/trpc-server/package.json b/packages/trpc-server/package.json index ede39225..842738fe 100644 --- a/packages/trpc-server/package.json +++ b/packages/trpc-server/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -46,6 +47,7 @@ "@trpc/server": "^11.0.0", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8", "zod": "^3.20.2" }, diff --git a/packages/trpc-server/tsconfig.build.json b/packages/trpc-server/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/trpc-server/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/trpc-server/tsconfig.json b/packages/trpc-server/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/trpc-server/tsconfig.json +++ b/packages/trpc-server/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/trpc-server/tsconfig.spec.json b/packages/trpc-server/tsconfig.spec.json new file mode 100644 index 00000000..40353fb6 --- /dev/null +++ b/packages/trpc-server/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/trpc-server", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/tsyringe/package.json b/packages/tsyringe/package.json index 599f64f2..602ec173 100644 --- a/packages/tsyringe/package.json +++ b/packages/tsyringe/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -47,6 +48,7 @@ "reflect-metadata": "^0.2.2", "tsup": "^8.4.0", "tsyringe": "^4.8.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/tsyringe/tsconfig.build.json b/packages/tsyringe/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/tsyringe/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/tsyringe/tsconfig.json b/packages/tsyringe/tsconfig.json index d0f6fbf3..d4d0929e 100644 --- a/packages/tsyringe/tsconfig.json +++ b/packages/tsyringe/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/tsyringe/tsconfig.spec.json b/packages/tsyringe/tsconfig.spec.json new file mode 100644 index 00000000..294f126f --- /dev/null +++ b/packages/tsyringe/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/tsyringe", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/typebox-validator/package.json b/packages/typebox-validator/package.json index 45caa1bd..0c722cc1 100644 --- a/packages/typebox-validator/package.json +++ b/packages/typebox-validator/package.json @@ -24,6 +24,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -46,6 +47,7 @@ "@sinclair/typebox": "^0.31.15", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8" } } diff --git a/packages/typebox-validator/src/index.test.ts b/packages/typebox-validator/src/index.test.ts index 5d416bcf..6ba60641 100644 --- a/packages/typebox-validator/src/index.test.ts +++ b/packages/typebox-validator/src/index.test.ts @@ -1,6 +1,7 @@ import { Type as T } from '@sinclair/typebox' import type { ValueError } from '@sinclair/typebox/value' import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { tbValidator } from '.' @@ -37,6 +38,8 @@ describe('Basic', () => { success: boolean message: string } + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/typebox-validator/tsconfig.build.json b/packages/typebox-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/typebox-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/typebox-validator/tsconfig.json b/packages/typebox-validator/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/typebox-validator/tsconfig.json +++ b/packages/typebox-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/typebox-validator/tsconfig.spec.json b/packages/typebox-validator/tsconfig.spec.json new file mode 100644 index 00000000..3f4dce9c --- /dev/null +++ b/packages/typebox-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/typebox-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/typia-validator/package.json b/packages/typia-validator/package.json index 5e7f22ac..2d12ab7f 100644 --- a/packages/typia-validator/package.json +++ b/packages/typia-validator/package.json @@ -34,6 +34,7 @@ "build": "tsup ./src/index.ts ./src/http.ts", "prepack": "yarn build", "publint": "attw --pack --profile node16 && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -56,6 +57,7 @@ "@ryoppippi/unplugin-typia": "^2.1.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "typia": "^8.0.3", "vitest": "^3.0.8" } diff --git a/packages/typia-validator/src/http.test.ts b/packages/typia-validator/src/http.test.ts index 9f3114e4..3f7b6580 100644 --- a/packages/typia-validator/src/http.test.ts +++ b/packages/typia-validator/src/http.test.ts @@ -1,4 +1,5 @@ import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import type { tags } from 'typia' import typia from 'typia' @@ -68,6 +69,8 @@ describe('Basic', () => { queryName: string | undefined headerCategory: ('x' | 'y' | 'z')[] } + outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -158,6 +161,8 @@ describe('transform', () => { page: (0 | 1 | 2)[] categories: (0 | 1 | 2)[] } + outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -417,6 +422,8 @@ describe('Case-Insensitive Headers', () => { header: HeaderSchema } output: HeaderSchema + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/typia-validator/src/index.test.ts b/packages/typia-validator/src/index.test.ts index ed5822a0..8d4988d3 100644 --- a/packages/typia-validator/src/index.test.ts +++ b/packages/typia-validator/src/index.test.ts @@ -1,4 +1,5 @@ import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import type { tags } from 'typia' import typia from 'typia' @@ -36,6 +37,8 @@ describe('Basic', () => { success: boolean message: string } + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/typia-validator/tsconfig.build.json b/packages/typia-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/typia-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/typia-validator/tsconfig.json b/packages/typia-validator/tsconfig.json index 6409810a..d4d0929e 100644 --- a/packages/typia-validator/tsconfig.json +++ b/packages/typia-validator/tsconfig.json @@ -1,11 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - }, - "plugins": [ + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ { - "transform": "typia/lib/transform" + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" } ] } diff --git a/packages/typia-validator/tsconfig.spec.json b/packages/typia-validator/tsconfig.spec.json new file mode 100644 index 00000000..914e7464 --- /dev/null +++ b/packages/typia-validator/tsconfig.spec.json @@ -0,0 +1,18 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/typia-validator", + "types": ["vitest/globals"] + }, + + "plugins": [ + { + "transform": "typia/lib/transform" + } + ], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/valibot-validator/package.json b/packages/valibot-validator/package.json index b20c7be4..e36ed3b7 100644 --- a/packages/valibot-validator/package.json +++ b/packages/valibot-validator/package.json @@ -18,6 +18,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -39,6 +40,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "valibot": "^1.0.0", "vitest": "^3.0.8" } diff --git a/packages/valibot-validator/src/index.test.ts b/packages/valibot-validator/src/index.test.ts index 09f475d9..690c12a6 100644 --- a/packages/valibot-validator/src/index.test.ts +++ b/packages/valibot-validator/src/index.test.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import type { StatusCode } from 'hono/utils/http-status' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { number, object, objectAsync, optional, optionalAsync, string } from 'valibot' import { vValidator } from '.' @@ -58,8 +58,8 @@ describe('Basic', () => { success: boolean message: string } - status: StatusCode outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -217,8 +217,8 @@ describe('Async', () => { success: boolean message: string } - status: StatusCode outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/valibot-validator/tsconfig.build.json b/packages/valibot-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/valibot-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/valibot-validator/tsconfig.json b/packages/valibot-validator/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/valibot-validator/tsconfig.json +++ b/packages/valibot-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/valibot-validator/tsconfig.spec.json b/packages/valibot-validator/tsconfig.spec.json new file mode 100644 index 00000000..90b7df89 --- /dev/null +++ b/packages/valibot-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/valibot-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/zod-openapi/package.json b/packages/zod-openapi/package.json index 583cdf07..b678b8c8 100644 --- a/packages/zod-openapi/package.json +++ b/packages/zod-openapi/package.json @@ -12,6 +12,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { @@ -45,6 +46,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8", "yaml": "^2.4.3", "zod": "^3.22.1" diff --git a/packages/zod-openapi/src/handler.test-d.ts b/packages/zod-openapi/src/handler.test-d.ts index 4ab7bef4..14750fc5 100644 --- a/packages/zod-openapi/src/handler.test-d.ts +++ b/packages/zod-openapi/src/handler.test-d.ts @@ -1,7 +1,6 @@ import type { MiddlewareHandler } from 'hono' import type { Equal, Expect } from 'hono/utils/types' import type { MiddlewareToHandlerType, OfHandlerType, RouteHandler } from '.' - import { OpenAPIHono, createRoute, z } from '.' describe('supports async handler', () => { diff --git a/packages/zod-openapi/src/index.test-d.ts b/packages/zod-openapi/src/index.test-d.ts index 349ed13e..99865105 100644 --- a/packages/zod-openapi/src/index.test-d.ts +++ b/packages/zod-openapi/src/index.test-d.ts @@ -1,7 +1,6 @@ import { createMiddleware } from 'hono/factory' import type { ExtractSchema } from 'hono/types' import type { Equal, Expect } from 'hono/utils/types' -import { assertType, describe, it } from 'vitest' import { OpenAPIHono, createRoute, z } from './index' import type { MiddlewareToHandlerType, OfHandlerType } from './index' diff --git a/packages/zod-openapi/tsconfig.build.json b/packages/zod-openapi/tsconfig.build.json new file mode 100644 index 00000000..59a0ad18 --- /dev/null +++ b/packages/zod-openapi/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts", "**/*.test-d.ts"], + "references": [{ "path": "../zod-validator/tsconfig.json" }] +} diff --git a/packages/zod-openapi/tsconfig.json b/packages/zod-openapi/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/zod-openapi/tsconfig.json +++ b/packages/zod-openapi/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/zod-openapi/tsconfig.spec.json b/packages/zod-openapi/tsconfig.spec.json new file mode 100644 index 00000000..191c0270 --- /dev/null +++ b/packages/zod-openapi/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/zod-openapi", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/zod-validator/package.json b/packages/zod-validator/package.json index 7a328266..3e6d6c9b 100644 --- a/packages/zod-validator/package.json +++ b/packages/zod-validator/package.json @@ -8,8 +8,14 @@ "exports": { "./package.json": "./package.json", ".": { - "import": "./dist/index.js", - "default": "./dist/index.cjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "files": [ @@ -19,6 +25,7 @@ "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", + "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "license": "MIT", @@ -40,6 +47,7 @@ "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", + "typescript": "^5.8.2", "vitest": "^3.0.8", "zod": "^3.22.4" } diff --git a/packages/zod-validator/src/index.test.ts b/packages/zod-validator/src/index.test.ts index 5ab21389..23e21bd8 100644 --- a/packages/zod-validator/src/index.test.ts +++ b/packages/zod-validator/src/index.test.ts @@ -1,4 +1,5 @@ import { Hono } from 'hono' +import type { ContentfulStatusCode } from 'hono/utils/http-status' import type { Equal, Expect } from 'hono/utils/types' import { vi } from 'vitest' import { z } from 'zod' @@ -58,6 +59,8 @@ describe('Basic', () => { message: string queryName: string | undefined } + outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -129,6 +132,8 @@ describe('coerce', () => { output: { page: number } + outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -333,6 +338,8 @@ describe('Only Types', () => { output: { order: 'asc' | 'desc' } + outputFormat: 'json' + status: ContentfulStatusCode } } } @@ -363,6 +370,8 @@ describe('Case-Insensitive Headers', () => { header: z.infer<typeof headerSchema> } output: z.infer<typeof headerSchema> + outputFormat: 'json' + status: ContentfulStatusCode } } } diff --git a/packages/zod-validator/tsconfig.build.json b/packages/zod-validator/tsconfig.build.json new file mode 100644 index 00000000..ccc2f65a --- /dev/null +++ b/packages/zod-validator/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist", + "tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", + "emitDeclarationOnly": false + }, + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts"], + "references": [] +} diff --git a/packages/zod-validator/tsconfig.cjs.json b/packages/zod-validator/tsconfig.cjs.json deleted file mode 100644 index b8bf50ee..00000000 --- a/packages/zod-validator/tsconfig.cjs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "CommonJS", - "declaration": false, - "outDir": "./dist/cjs" - } -} \ No newline at end of file diff --git a/packages/zod-validator/tsconfig.esm.json b/packages/zod-validator/tsconfig.esm.json deleted file mode 100644 index 8130f1a5..00000000 --- a/packages/zod-validator/tsconfig.esm.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "declaration": true, - "outDir": "./dist/esm" - } -} \ No newline at end of file diff --git a/packages/zod-validator/tsconfig.json b/packages/zod-validator/tsconfig.json index dcc1e9e9..d4d0929e 100644 --- a/packages/zod-validator/tsconfig.json +++ b/packages/zod-validator/tsconfig.json @@ -1,6 +1,13 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["vitest/globals"] - } + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.build.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] } diff --git a/packages/zod-validator/tsconfig.spec.json b/packages/zod-validator/tsconfig.spec.json new file mode 100644 index 00000000..460b123b --- /dev/null +++ b/packages/zod-validator/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/zod-validator", + "types": ["vitest/globals"] + }, + "include": ["**/*.test.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 00000000..0ec210d0 --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "esnext", + "composite": true, + "declaration": true, + "declarationMap": true, + "moduleResolution": "bundler", + "esModuleInterop": true, + "emitDeclarationOnly": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "noUnusedLocals": false, + "noUnusedParameters": true, + "types": [] + } +} diff --git a/tsconfig.json b/tsconfig.json index 5c38be16..729f1639 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,44 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "target": "ES2022", - "module": "commonjs", - "declaration": true, - "moduleResolution": "Node", - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "noUnusedParameters": true, - "types": ["node", "@cloudflare/workers-types"] - } + "noEmit": true + }, + "files": [], + "references": [ + { "path": "packages/ajv-validator" }, + { "path": "packages/arktype-validator" }, + { "path": "packages/auth-js" }, + { "path": "packages/bun-transpiler" }, + { "path": "packages/casbin" }, + { "path": "packages/class-validator" }, + { "path": "packages/clerk-auth" }, + { "path": "packages/cloudflare-access" }, + { "path": "packages/conform-validator" }, + { "path": "packages/effect-validator" }, + { "path": "packages/esbuild-transpiler" }, + { "path": "packages/event-emitter" }, + { "path": "packages/firebase-auth" }, + { "path": "packages/graphql-server" }, + { "path": "packages/hello" }, + { "path": "packages/medley-router" }, + { "path": "packages/node-ws" }, + { "path": "packages/oauth-providers" }, + { "path": "packages/oidc-auth" }, + { "path": "packages/otel" }, + { "path": "packages/prometheus" }, + { "path": "packages/qwik-city" }, + { "path": "packages/react-compat" }, + { "path": "packages/react-renderer" }, + { "path": "packages/sentry" }, + { "path": "packages/standard-validator" }, + { "path": "packages/swagger-editor" }, + { "path": "packages/swagger-ui" }, + { "path": "packages/trpc-server" }, + { "path": "packages/tsyringe" }, + { "path": "packages/typebox-validator" }, + { "path": "packages/typia-validator" }, + { "path": "packages/valibot-validator" }, + { "path": "packages/zod-openapi" }, + { "path": "packages/zod-validator" } + ] } diff --git a/tsconfig.tsup.json b/tsconfig.tsup.json new file mode 100644 index 00000000..2c136612 --- /dev/null +++ b/tsconfig.tsup.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false, + "jsx": "react", + "types": ["@cloudflare/workers-types", "node", "ws"] + } +} diff --git a/tsup.config.ts b/tsup.config.ts index b3e00b1a..58560943 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -6,5 +6,5 @@ export default defineConfig((overrideOptions) => ({ dts: true, format: ['cjs', 'esm'], outDir: 'dist', - tsconfig: 'tsconfig.json', + tsconfig: 'tsconfig.tsup.json', })) diff --git a/yarn.lock b/yarn.lock index 74328493..8bb033f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -815,13 +815,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workers-types@npm:^3.14.0": - version: 3.19.0 - resolution: "@cloudflare/workers-types@npm:3.19.0" - checksum: 3b899caeb7c8b5fcf9b7c4fb5cacedcd94bae5be6861ee5122a74029ae4119c9f5194359c7a9327bc4f860e8de961b37e29c67089c7271741bf507034ba86e89 - languageName: node - linkType: hard - "@cloudflare/workers-types@npm:^4.20230307.0": version: 4.20250321.0 resolution: "@cloudflare/workers-types@npm:4.20250321.0" @@ -829,13 +822,6 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workers-types@npm:^4.20240222.0": - version: 4.20240222.0 - resolution: "@cloudflare/workers-types@npm:4.20240222.0" - checksum: b1b4af08fae1040112e9acd38e6d762c8537a2548d816da4d3bb9a3a16cd380ffd8abf802b5a7ac38ca86676ccb5744046d637a3601f1e93a7299f06db7df93e - languageName: node - linkType: hard - "@colors/colors@npm:1.5.0": version: 1.5.0 resolution: "@colors/colors@npm:1.5.0" @@ -1651,7 +1637,7 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.1.0, @eslint/eslintrc@npm:^3.3.1": +"@eslint/eslintrc@npm:^3.3.1": version: 3.3.1 resolution: "@eslint/eslintrc@npm:3.3.1" dependencies: @@ -1805,6 +1791,7 @@ __metadata: ajv: "npm:>=8.12.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: ajv: ">=8.12.0" @@ -1820,6 +1807,7 @@ __metadata: arktype: "npm:^2.0.0-dev.14" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: arktype: ^2.0.0-dev.14 @@ -1837,6 +1825,7 @@ __metadata: publint: "npm:^0.3.9" react: "npm:^18.2.0" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: "@auth/core": 0.* @@ -1853,6 +1842,7 @@ __metadata: "@types/bun": "npm:^1.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -1867,6 +1857,7 @@ __metadata: casbin: "npm:^5.30.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: casbin: ">=5.30.0" @@ -1884,6 +1875,7 @@ __metadata: publint: "npm:^0.3.9" reflect-metadata: "npm:^0.2.2" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.0" @@ -1900,6 +1892,7 @@ __metadata: publint: "npm:^0.3.9" react: "npm:^18.2.0" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: "@clerk/backend": ^1.0.0 @@ -1912,9 +1905,9 @@ __metadata: resolution: "@hono/cloudflare-access@workspace:packages/cloudflare-access" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - "@cloudflare/workers-types": "npm:^4.20230307.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -1932,6 +1925,7 @@ __metadata: conform-to-valibot: "npm:^1.10.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" valibot: "npm:^0.36.0" vitest: "npm:^3.0.8" yup: "npm:^1.4.0" @@ -1950,6 +1944,7 @@ __metadata: effect: "npm:3.10.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: effect: ">=3.10.0" @@ -1966,6 +1961,7 @@ __metadata: esbuild-wasm: "npm:^0.19.5" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.9.2" @@ -1976,7 +1972,6 @@ __metadata: version: 0.0.0-use.local resolution: "@hono/eslint-config@workspace:packages/eslint-config" dependencies: - "@eslint/eslintrc": "npm:^3.1.0" "@eslint/js": "npm:^9.10.0" eslint: "npm:^9.23.0" eslint-config-prettier: "npm:^10.1.1" @@ -1998,6 +1993,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2009,13 +2005,13 @@ __metadata: resolution: "@hono/firebase-auth@workspace:packages/firebase-auth" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - "@cloudflare/workers-types": "npm:^4.20240222.0" firebase-auth-cloudflare-workers: "npm:^2.0.6" firebase-tools: "npm:^13.29.1" miniflare: "npm:^3.20240208.0" prettier: "npm:^3.2.5" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2027,10 +2023,10 @@ __metadata: resolution: "@hono/graphql-server@workspace:packages/graphql-server" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - "@cloudflare/workers-types": "npm:^3.14.0" graphql: "npm:^16.5.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.0.0" @@ -2044,6 +2040,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2058,6 +2055,7 @@ __metadata: "@medley/router": "npm:^0.2.1" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.8.0" @@ -2079,10 +2077,9 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@hono/node-server": "npm:^1.11.1" - "@types/node": "npm:^20.14.8" - "@types/ws": "npm:^8.18.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" ws: "npm:^8.17.0" peerDependencies: @@ -2099,6 +2096,7 @@ __metadata: msw: "npm:^2.0.11" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -2115,6 +2113,7 @@ __metadata: oauth4webapi: "npm:^2.6.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -2132,6 +2131,7 @@ __metadata: "@opentelemetry/semantic-conventions": "npm:^1.28.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2146,6 +2146,7 @@ __metadata: prom-client: "npm:^15.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -2162,6 +2163,7 @@ __metadata: "@builder.io/qwik-city": "npm:^1.2.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" peerDependencies: "@builder.io/qwik": ^1.2.0 "@builder.io/qwik-city": ^1.2.0 @@ -2176,6 +2178,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" peerDependencies: hono: ">=4.5.*" languageName: unknown @@ -2193,6 +2196,7 @@ __metadata: react: "npm:^18.2.0" react-dom: "npm:^18.2.0" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2209,6 +2213,7 @@ __metadata: publint: "npm:^0.3.9" toucan-js: "npm:^4.0.0" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=3.*" @@ -2224,6 +2229,7 @@ __metadata: arktype: "npm:^2.0.0-rc.26" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" valibot: "npm:^1.0.0-beta.9" vitest: "npm:^3.0.8" zod: "npm:^3.24.0" @@ -2240,6 +2246,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2254,6 +2261,7 @@ __metadata: "@types/swagger-ui-dist": "npm:^3.30.5" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: "*" @@ -2268,6 +2276,7 @@ __metadata: "@trpc/server": "npm:^11.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" zod: "npm:^3.20.2" peerDependencies: @@ -2285,6 +2294,7 @@ __metadata: reflect-metadata: "npm:^0.2.2" tsup: "npm:^8.4.0" tsyringe: "npm:^4.8.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: hono: ">=4.*" @@ -2300,6 +2310,7 @@ __metadata: "@sinclair/typebox": "npm:^0.31.15" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" peerDependencies: "@sinclair/typebox": ">=0.31.15 <1" @@ -2315,6 +2326,7 @@ __metadata: "@ryoppippi/unplugin-typia": "npm:^2.1.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" typia: "npm:^8.0.3" vitest: "npm:^3.0.8" peerDependencies: @@ -2330,6 +2342,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" valibot: "npm:^1.0.0" vitest: "npm:^3.0.8" peerDependencies: @@ -2347,6 +2360,7 @@ __metadata: "@hono/zod-validator": "workspace:^" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" yaml: "npm:^2.4.3" zod: "npm:^3.22.1" @@ -2363,6 +2377,7 @@ __metadata: "@arethetypeswrong/cli": "npm:^0.17.4" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" + typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" zod: "npm:^3.22.4" peerDependencies: @@ -3886,12 +3901,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.14.8": - version: 20.17.27 - resolution: "@types/node@npm:20.17.27" +"@types/node@npm:^20.17.28": + version: 20.17.28 + resolution: "@types/node@npm:20.17.28" dependencies: undici-types: "npm:~6.19.2" - checksum: 09f30c65e5f2a082eddf26a7ffa859bf2b77e1123829309823e7691227fd5a691b30cd3ac413d65829aa25c1eebd2f717bed80f2f8a7f83aaa6c2c3a047b3504 + checksum: d77214e54d8f303d0a79fc896f8c4267b057fbc774448f6d09d24874d521293cd6036292e79b2791a6aef18895bd80dc58c1853bd8a0cf261b08500083f07273 languageName: node linkType: hard @@ -8370,7 +8385,8 @@ __metadata: "@cloudflare/workers-types": "npm:^4.20230307.0" "@hono/eslint-config": "workspace:*" "@ryoppippi/unplugin-typia": "npm:^1.2.0" - "@types/node": "npm:^20.14.8" + "@types/node": "npm:^20.17.28" + "@types/ws": "npm:^8.18.0" "@typescript-eslint/eslint-plugin": "npm:^8.7.0" "@typescript-eslint/parser": "npm:^8.7.0" "@vitest/coverage-istanbul": "npm:^3.0.8" From 091b182a6ac1b7bb1129123d3cd0acca5e41b80d Mon Sep 17 00:00:00 2001 From: liquidleif <56021265+liquidleif@users.noreply.github.com> Date: Thu, 3 Apr 2025 16:18:24 +0200 Subject: [PATCH 71/81] fix(oauth-providers): Update twitter authorization url (#1099) Closes #1100 * Update twitter authorization url The twitter authorization URL is outdated. * add a changeset --- .changeset/violet-melons-glow.md | 5 +++++ packages/oauth-providers/src/providers/x/authFlow.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/violet-melons-glow.md diff --git a/.changeset/violet-melons-glow.md b/.changeset/violet-melons-glow.md new file mode 100644 index 00000000..f3c0e135 --- /dev/null +++ b/.changeset/violet-melons-glow.md @@ -0,0 +1,5 @@ +--- +'@hono/oauth-providers': patch +--- + +fix: Update twitter authorization url diff --git a/packages/oauth-providers/src/providers/x/authFlow.ts b/packages/oauth-providers/src/providers/x/authFlow.ts index 4bbf7379..6dabb965 100644 --- a/packages/oauth-providers/src/providers/x/authFlow.ts +++ b/packages/oauth-providers/src/providers/x/authFlow.ts @@ -74,7 +74,7 @@ export class AuthFlow { code_challenge: this.code_challenge, code_challenge_method: 'S256', }) - return `https://twitter.com/i/oauth2/authorize?${parsedOptions}` + return `https://x.com/i/oauth2/authorize?${parsedOptions}` } private async getTokenFromCode() { From f349fba499a471570f8380f180440f4c9f0059e1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Apr 2025 23:23:22 +0900 Subject: [PATCH 72/81] Version Packages (#1101) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/violet-melons-glow.md | 5 ----- packages/oauth-providers/CHANGELOG.md | 6 ++++++ packages/oauth-providers/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/violet-melons-glow.md diff --git a/.changeset/violet-melons-glow.md b/.changeset/violet-melons-glow.md deleted file mode 100644 index f3c0e135..00000000 --- a/.changeset/violet-melons-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/oauth-providers': patch ---- - -fix: Update twitter authorization url diff --git a/packages/oauth-providers/CHANGELOG.md b/packages/oauth-providers/CHANGELOG.md index fd16a137..d4b9d9e0 100644 --- a/packages/oauth-providers/CHANGELOG.md +++ b/packages/oauth-providers/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/oauth-providers +## 0.7.1 + +### Patch Changes + +- [#1099](https://github.com/honojs/middleware/pull/1099) [`091b182a6ac1b7bb1129123d3cd0acca5e41b80d`](https://github.com/honojs/middleware/commit/091b182a6ac1b7bb1129123d3cd0acca5e41b80d) Thanks [@liquidleif](https://github.com/liquidleif)! - fix: Update twitter authorization url + ## 0.7.0 ### Minor Changes diff --git a/packages/oauth-providers/package.json b/packages/oauth-providers/package.json index e5e7f6b1..799926d0 100644 --- a/packages/oauth-providers/package.json +++ b/packages/oauth-providers/package.json @@ -1,6 +1,6 @@ { "name": "@hono/oauth-providers", - "version": "0.7.0", + "version": "0.7.1", "description": "Social login for Hono JS, integrate authentication with facebook, github, google and linkedin to your projects.", "type": "module", "main": "dist/index.js", From 448a8fc687cca2bcab2353ea4237f1293706d5e2 Mon Sep 17 00:00:00 2001 From: Yusuke Wada <yusuke@kamawada.com> Date: Mon, 7 Apr 2025 18:41:04 +0900 Subject: [PATCH 73/81] fix(zod-openapi): infer Env correctly if the middleware is `[]` (#1106) * fix(zod-openapi): infer Env correctly if the middleware is `[]` * add changeset --- .changeset/dark-kiwis-check.md | 5 +++++ packages/zod-openapi/src/index.test-d.ts | 21 +++++++++++++++++++++ packages/zod-openapi/src/index.ts | 2 +- packages/zod-openapi/tsconfig.spec.json | 11 ++++++++--- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 .changeset/dark-kiwis-check.md diff --git a/.changeset/dark-kiwis-check.md b/.changeset/dark-kiwis-check.md new file mode 100644 index 00000000..58b4a664 --- /dev/null +++ b/.changeset/dark-kiwis-check.md @@ -0,0 +1,5 @@ +--- +'@hono/zod-openapi': patch +--- + +fix: infer Env correctly if the middleware is `[]` diff --git a/packages/zod-openapi/src/index.test-d.ts b/packages/zod-openapi/src/index.test-d.ts index 99865105..e0127e9c 100644 --- a/packages/zod-openapi/src/index.test-d.ts +++ b/packages/zod-openapi/src/index.test-d.ts @@ -337,4 +337,25 @@ describe('Middleware', () => { } ) }) + + it('Should infer Env correctly when the middleware is empty', async () => { + const app = new OpenAPIHono<{ Variables: { foo: string } }>() + app.openapi( + createRoute({ + method: 'get', + path: '/books', + middleware: [] as const, // empty + responses: { + 200: { + description: 'response', + }, + }, + }), + (c) => { + const foo = c.get('foo') + type verify = Expect<Equal<typeof foo, string>> + return c.json({}) + } + ) + }) }) diff --git a/packages/zod-openapi/src/index.ts b/packages/zod-openapi/src/index.ts index f42a2f68..6e477c34 100644 --- a/packages/zod-openapi/src/index.ts +++ b/packages/zod-openapi/src/index.ts @@ -305,7 +305,7 @@ export type MiddlewareToHandlerType<M extends MiddlewareHandler<any, any, any>[] : never : M extends [infer Last] ? Last // Return the last remaining handler in the array - : never + : MiddlewareHandler<Env> type RouteMiddlewareParams<R extends RouteConfig> = OfHandlerType< MiddlewareToHandlerType<AsArray<R['middleware']>> diff --git a/packages/zod-openapi/tsconfig.spec.json b/packages/zod-openapi/tsconfig.spec.json index 191c0270..a1c2f484 100644 --- a/packages/zod-openapi/tsconfig.spec.json +++ b/packages/zod-openapi/tsconfig.spec.json @@ -2,12 +2,17 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "../../dist/out-tsc/packages/zod-openapi", - "types": ["vitest/globals"] + "types": [ + "vitest/globals" + ] }, - "include": ["**/*.test.ts"], + "include": [ + "**/*.test.ts", + "**/*.test-d.ts" + ], "references": [ { "path": "./tsconfig.build.json" } ] -} +} \ No newline at end of file From 9f3027a4a05cc148c0430401dab59fb27e5a4667 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:46:24 +0900 Subject: [PATCH 74/81] Version Packages (#1107) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dark-kiwis-check.md | 5 ----- packages/zod-openapi/CHANGELOG.md | 6 ++++++ packages/zod-openapi/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/dark-kiwis-check.md diff --git a/.changeset/dark-kiwis-check.md b/.changeset/dark-kiwis-check.md deleted file mode 100644 index 58b4a664..00000000 --- a/.changeset/dark-kiwis-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/zod-openapi': patch ---- - -fix: infer Env correctly if the middleware is `[]` diff --git a/packages/zod-openapi/CHANGELOG.md b/packages/zod-openapi/CHANGELOG.md index 3ef03ee6..85591345 100644 --- a/packages/zod-openapi/CHANGELOG.md +++ b/packages/zod-openapi/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/zod-openapi +## 0.19.3 + +### Patch Changes + +- [#1106](https://github.com/honojs/middleware/pull/1106) [`448a8fc687cca2bcab2353ea4237f1293706d5e2`](https://github.com/honojs/middleware/commit/448a8fc687cca2bcab2353ea4237f1293706d5e2) Thanks [@yusukebe](https://github.com/yusukebe)! - fix: infer Env correctly if the middleware is `[]` + ## 0.19.2 ### Patch Changes diff --git a/packages/zod-openapi/package.json b/packages/zod-openapi/package.json index b678b8c8..a8d60e09 100644 --- a/packages/zod-openapi/package.json +++ b/packages/zod-openapi/package.json @@ -1,6 +1,6 @@ { "name": "@hono/zod-openapi", - "version": "0.19.2", + "version": "0.19.3", "description": "A wrapper class of Hono which supports OpenAPI.", "type": "module", "module": "dist/index.js", From 1fd8ebf9b6d8d9f473196266bf63681988dc7979 Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Mon, 7 Apr 2025 20:31:09 +1000 Subject: [PATCH 75/81] feat(eslint-config): enable linting with type information (#1098) --- .changeset/fifty-aliens-rhyme.md | 10 + eslint.config.mjs | 58 +++- package.json | 8 +- packages/ajv-validator/tsconfig.spec.json | 2 +- packages/arktype-validator/tsconfig.spec.json | 2 +- packages/auth-js/tsconfig.spec.json | 2 +- packages/bun-transpiler/package.json | 1 - packages/bun-transpiler/tsconfig.spec.json | 2 +- packages/casbin/tsconfig.spec.json | 2 +- packages/class-validator/tsconfig.spec.json | 2 +- packages/clerk-auth/tsconfig.spec.json | 2 +- packages/cloudflare-access/tsconfig.spec.json | 2 +- packages/conform-validator/tsconfig.spec.json | 2 +- packages/effect-validator/tsconfig.spec.json | 2 +- .../esbuild-transpiler/tsconfig.spec.json | 2 +- packages/eslint-config/index.js | 3 +- packages/eslint-config/package.json | 4 - packages/event-emitter/tsconfig.spec.json | 2 +- packages/firebase-auth/package.json | 1 - packages/firebase-auth/tsconfig.spec.json | 2 +- packages/graphql-server/tsconfig.bun.json | 14 + packages/graphql-server/tsconfig.json | 3 + packages/graphql-server/tsconfig.spec.json | 2 +- packages/hello/tsconfig.spec.json | 2 +- packages/medley-router/tsconfig.spec.json | 2 +- packages/node-ws/tsconfig.spec.json | 2 +- packages/oauth-providers/tsconfig.spec.json | 2 +- packages/oidc-auth/tsconfig.spec.json | 2 +- packages/otel/tsconfig.spec.json | 2 +- packages/prometheus/tsconfig.spec.json | 2 +- packages/react-renderer/tsconfig.spec.json | 2 +- packages/sentry/tsconfig.spec.json | 2 +- .../standard-validator/tsconfig.spec.json | 2 +- packages/swagger-editor/tsconfig.spec.json | 2 +- .../swagger-ui/src/option-renderer.test.ts | 2 - packages/swagger-ui/tsconfig.spec.json | 2 +- packages/trpc-server/tsconfig.spec.json | 2 +- packages/tsyringe/tsconfig.spec.json | 2 +- packages/typebox-validator/tsconfig.spec.json | 2 +- packages/valibot-validator/tsconfig.spec.json | 2 +- packages/zod-openapi/tsconfig.spec.json | 3 +- packages/zod-validator/tsconfig.spec.json | 2 +- tsconfig.json | 3 +- tsconfig.repo-config-files.json | 14 + yarn.lock | 262 ++---------------- 45 files changed, 154 insertions(+), 294 deletions(-) create mode 100644 .changeset/fifty-aliens-rhyme.md create mode 100644 packages/graphql-server/tsconfig.bun.json create mode 100644 tsconfig.repo-config-files.json diff --git a/.changeset/fifty-aliens-rhyme.md b/.changeset/fifty-aliens-rhyme.md new file mode 100644 index 00000000..bd9418aa --- /dev/null +++ b/.changeset/fifty-aliens-rhyme.md @@ -0,0 +1,10 @@ +--- +'@hono/eslint-config': major +--- + +Includes `typescript-eslint` presets for typed linting + +- [`strict-type-checked`](https://typescript-eslint.io/users/configs#strict-type-checked) +- [`stylistic-type-checked`](https://typescript-eslint.io/users/configs#stylistic-type-checked) + +See [Linting with Type Information](https://typescript-eslint.io/getting-started/typed-linting) for more information diff --git a/eslint.config.mjs b/eslint.config.mjs index 156bab4e..224c89ba 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,62 @@ import baseConfig from '@hono/eslint-config' import { defineConfig, globalIgnores } from 'eslint/config' -export default defineConfig(globalIgnores(['.yarn', '**/dist']), { +export default defineConfig(globalIgnores(['.yarn', '**/coverage', '**/dist']), { extends: baseConfig, + + languageOptions: { + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + }, + + linterOptions: { + reportUnusedDisableDirectives: 'error', + reportUnusedInlineConfigs: 'error', + }, + + rules: { + '@typescript-eslint/array-type': 'off', + '@typescript-eslint/await-thenable': 'off', + '@typescript-eslint/consistent-indexed-object-style': 'off', + '@typescript-eslint/consistent-type-definitions': 'off', + '@typescript-eslint/dot-notation': 'off', + '@typescript-eslint/no-base-to-string': 'off', + '@typescript-eslint/no-confusing-void-expression': 'off', + '@typescript-eslint/no-deprecated': 'off', + '@typescript-eslint/no-duplicate-type-constituents': 'off', + '@typescript-eslint/no-dynamic-delete': 'off', + '@typescript-eslint/no-floating-promises': 'off', + '@typescript-eslint/no-invalid-void-type': 'off', + '@typescript-eslint/no-misused-promises': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/no-redundant-type-constituents': 'off', + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off', + '@typescript-eslint/no-unnecessary-condition': 'off', + '@typescript-eslint/no-unnecessary-template-expression': 'off', + '@typescript-eslint/no-unnecessary-type-arguments': 'off', + '@typescript-eslint/no-unnecessary-type-assertion': 'off', + '@typescript-eslint/no-unnecessary-type-parameters': 'off', + '@typescript-eslint/no-unsafe-argument': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-enum-comparison': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + '@typescript-eslint/no-unsafe-return': 'off', + '@typescript-eslint/no-useless-constructor': 'off', + '@typescript-eslint/non-nullable-type-assertion-style': 'off', + '@typescript-eslint/only-throw-error': 'off', + '@typescript-eslint/prefer-function-type': 'off', + '@typescript-eslint/prefer-includes': 'off', + '@typescript-eslint/prefer-nullish-coalescing': 'off', + '@typescript-eslint/prefer-optional-chain': 'off', + '@typescript-eslint/prefer-regexp-exec': 'off', + '@typescript-eslint/prefer-return-this-type': 'off', + '@typescript-eslint/require-await': 'off', + '@typescript-eslint/restrict-plus-operands': 'off', + '@typescript-eslint/restrict-template-expressions': 'off', + '@typescript-eslint/unbound-method': 'off', + '@typescript-eslint/unified-signatures': 'off', + }, }) diff --git a/package.json b/package.json index 0267502f..b3d10988 100644 --- a/package.json +++ b/package.json @@ -32,15 +32,13 @@ "@cloudflare/workers-types": "^4.20230307.0", "@hono/eslint-config": "workspace:*", "@ryoppippi/unplugin-typia": "^1.2.0", + "@types/bun": "^1.0.0", "@types/node": "^20.17.28", "@types/ws": "^8.18.0", - "@typescript-eslint/eslint-plugin": "^8.7.0", - "@typescript-eslint/parser": "^8.7.0", "@vitest/coverage-istanbul": "^3.0.8", - "eslint": "^9.17.0", + "eslint": "^9.23.0", "hono": "^4.7.5", - "npm-run-all2": "^6.2.2", - "prettier": "^2.7.1", + "prettier": "^3.5.3", "tsup": "^8.4.0", "typescript": "^5.8.2", "vitest": "^3.0.8" diff --git a/packages/ajv-validator/tsconfig.spec.json b/packages/ajv-validator/tsconfig.spec.json index c3312ce1..d6bae88e 100644 --- a/packages/ajv-validator/tsconfig.spec.json +++ b/packages/ajv-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/ajv-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/arktype-validator/tsconfig.spec.json b/packages/arktype-validator/tsconfig.spec.json index 6313653f..866bb767 100644 --- a/packages/arktype-validator/tsconfig.spec.json +++ b/packages/arktype-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/arktype-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/auth-js/tsconfig.spec.json b/packages/auth-js/tsconfig.spec.json index 5abc897a..b8e78e02 100644 --- a/packages/auth-js/tsconfig.spec.json +++ b/packages/auth-js/tsconfig.spec.json @@ -5,7 +5,7 @@ "noEmit": true, "jsx": "react" }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/bun-transpiler/package.json b/packages/bun-transpiler/package.json index fdb3c9c5..3ed3dfc0 100644 --- a/packages/bun-transpiler/package.json +++ b/packages/bun-transpiler/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", - "@types/bun": "^1.0.0", "publint": "^0.3.9", "tsup": "^8.4.0", "typescript": "^5.8.2", diff --git a/packages/bun-transpiler/tsconfig.spec.json b/packages/bun-transpiler/tsconfig.spec.json index b97b42c9..4781ea36 100644 --- a/packages/bun-transpiler/tsconfig.spec.json +++ b/packages/bun-transpiler/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/bun-transpiler", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/casbin/tsconfig.spec.json b/packages/casbin/tsconfig.spec.json index 8182bfb1..0551d091 100644 --- a/packages/casbin/tsconfig.spec.json +++ b/packages/casbin/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/casbin", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts", "vitest.setup.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/class-validator/tsconfig.spec.json b/packages/class-validator/tsconfig.spec.json index c4c38349..cc8ed6b7 100644 --- a/packages/class-validator/tsconfig.spec.json +++ b/packages/class-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/class-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/clerk-auth/tsconfig.spec.json b/packages/clerk-auth/tsconfig.spec.json index 3cbbc47f..087e77e6 100644 --- a/packages/clerk-auth/tsconfig.spec.json +++ b/packages/clerk-auth/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/clerk-auth", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/cloudflare-access/tsconfig.spec.json b/packages/cloudflare-access/tsconfig.spec.json index d5c39ccb..c7a3afff 100644 --- a/packages/cloudflare-access/tsconfig.spec.json +++ b/packages/cloudflare-access/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/cloudflare-access", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/conform-validator/tsconfig.spec.json b/packages/conform-validator/tsconfig.spec.json index 788532d1..2ca1fd9f 100644 --- a/packages/conform-validator/tsconfig.spec.json +++ b/packages/conform-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/conform-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/effect-validator/tsconfig.spec.json b/packages/effect-validator/tsconfig.spec.json index b99593c6..ebe7f084 100644 --- a/packages/effect-validator/tsconfig.spec.json +++ b/packages/effect-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/effect-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/esbuild-transpiler/tsconfig.spec.json b/packages/esbuild-transpiler/tsconfig.spec.json index 0c8781e6..114920fb 100644 --- a/packages/esbuild-transpiler/tsconfig.spec.json +++ b/packages/esbuild-transpiler/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/esbuild-transpiler", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index d3a86ca8..d2f65be9 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -7,7 +7,8 @@ import tseslint from 'typescript-eslint' export default [ js.configs.recommended, nodePlugin.configs['flat/recommended'], - ...tseslint.configs.recommended, + ...tseslint.configs.strictTypeChecked, + ...tseslint.configs.stylisticTypeChecked, { plugins: { '@typescript-eslint': tseslint.plugin, diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index ba9d5b0d..fef011b4 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -28,9 +28,5 @@ "eslint-plugin-import-x": "^4.1.1", "eslint-plugin-n": "^17.10.2", "typescript-eslint": "^8.27.0" - }, - "devDependencies": { - "eslint": "^9.23.0", - "typescript": "^5.3.3" } } diff --git a/packages/event-emitter/tsconfig.spec.json b/packages/event-emitter/tsconfig.spec.json index 57c7b86d..d7dd91c4 100644 --- a/packages/event-emitter/tsconfig.spec.json +++ b/packages/event-emitter/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/event-emitter", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/firebase-auth/package.json b/packages/firebase-auth/package.json index 04a96e7f..69adbcd9 100644 --- a/packages/firebase-auth/package.json +++ b/packages/firebase-auth/package.json @@ -52,7 +52,6 @@ "@arethetypeswrong/cli": "^0.17.4", "firebase-tools": "^13.29.1", "miniflare": "^3.20240208.0", - "prettier": "^3.2.5", "publint": "^0.3.9", "tsup": "^8.4.0", "typescript": "^5.8.2", diff --git a/packages/firebase-auth/tsconfig.spec.json b/packages/firebase-auth/tsconfig.spec.json index fd8c3cc0..b25d85bc 100644 --- a/packages/firebase-auth/tsconfig.spec.json +++ b/packages/firebase-auth/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/firebase-auth", "noEmit": true }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/graphql-server/tsconfig.bun.json b/packages/graphql-server/tsconfig.bun.json new file mode 100644 index 00000000..df347ba7 --- /dev/null +++ b/packages/graphql-server/tsconfig.bun.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc/packages/graphql-server", + "types": ["bun"] + }, + "exclude": ["src/**/*.test.ts"], + "include": ["bun_test", "vitest.config.ts"], + "references": [ + { + "path": "./tsconfig.build.json" + } + ] +} diff --git a/packages/graphql-server/tsconfig.json b/packages/graphql-server/tsconfig.json index d4d0929e..549e82e2 100644 --- a/packages/graphql-server/tsconfig.json +++ b/packages/graphql-server/tsconfig.json @@ -6,6 +6,9 @@ { "path": "./tsconfig.build.json" }, + { + "path": "./tsconfig.bun.json" + }, { "path": "./tsconfig.spec.json" } diff --git a/packages/graphql-server/tsconfig.spec.json b/packages/graphql-server/tsconfig.spec.json index 98883968..511a7714 100644 --- a/packages/graphql-server/tsconfig.spec.json +++ b/packages/graphql-server/tsconfig.spec.json @@ -5,7 +5,7 @@ "types": ["vitest/globals"] }, "exclude": ["bun_test"], - + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/hello/tsconfig.spec.json b/packages/hello/tsconfig.spec.json index f1428dff..887243a2 100644 --- a/packages/hello/tsconfig.spec.json +++ b/packages/hello/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/hello", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/medley-router/tsconfig.spec.json b/packages/medley-router/tsconfig.spec.json index bef87b66..b84503a0 100644 --- a/packages/medley-router/tsconfig.spec.json +++ b/packages/medley-router/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/medley-router", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/node-ws/tsconfig.spec.json b/packages/node-ws/tsconfig.spec.json index 6c34c5e0..c60c26c6 100644 --- a/packages/node-ws/tsconfig.spec.json +++ b/packages/node-ws/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/node-ws", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/oauth-providers/tsconfig.spec.json b/packages/oauth-providers/tsconfig.spec.json index 34b7316d..0ee144ab 100644 --- a/packages/oauth-providers/tsconfig.spec.json +++ b/packages/oauth-providers/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/oauth-providers", "types": ["vitest/globals"] }, - "include": ["mocks.ts", "**/*.test.ts"], + "include": ["mocks.ts", "**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/oidc-auth/tsconfig.spec.json b/packages/oidc-auth/tsconfig.spec.json index 13981866..d9060a6e 100644 --- a/packages/oidc-auth/tsconfig.spec.json +++ b/packages/oidc-auth/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/oidc-auth", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/otel/tsconfig.spec.json b/packages/otel/tsconfig.spec.json index 13981866..d9060a6e 100644 --- a/packages/otel/tsconfig.spec.json +++ b/packages/otel/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/oidc-auth", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/prometheus/tsconfig.spec.json b/packages/prometheus/tsconfig.spec.json index 084707d0..a8132779 100644 --- a/packages/prometheus/tsconfig.spec.json +++ b/packages/prometheus/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/prometheus", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/react-renderer/tsconfig.spec.json b/packages/react-renderer/tsconfig.spec.json index b7fe69a3..1782d6a0 100644 --- a/packages/react-renderer/tsconfig.spec.json +++ b/packages/react-renderer/tsconfig.spec.json @@ -8,7 +8,7 @@ "outDir": "../../dist/out-tsc/packages/react-renderer", "types": ["vitest/globals"] }, - "include": ["**/*.test.tsx"], + "include": ["**/*.test.tsx", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/sentry/tsconfig.spec.json b/packages/sentry/tsconfig.spec.json index 862ee1f7..09488550 100644 --- a/packages/sentry/tsconfig.spec.json +++ b/packages/sentry/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/sentry", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/standard-validator/tsconfig.spec.json b/packages/standard-validator/tsconfig.spec.json index 95db8fbc..a68ad693 100644 --- a/packages/standard-validator/tsconfig.spec.json +++ b/packages/standard-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/standard-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/swagger-editor/tsconfig.spec.json b/packages/swagger-editor/tsconfig.spec.json index abc354fe..c6e213aa 100644 --- a/packages/swagger-editor/tsconfig.spec.json +++ b/packages/swagger-editor/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/swagger-editor", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/swagger-ui/src/option-renderer.test.ts b/packages/swagger-ui/src/option-renderer.test.ts index abb9422e..28b16248 100644 --- a/packages/swagger-ui/src/option-renderer.test.ts +++ b/packages/swagger-ui/src/option-renderer.test.ts @@ -1,5 +1,3 @@ -/*eslint quotes: ["off", "single"]*/ - import type { DistSwaggerUIOptions } from './swagger/renderer' import { renderSwaggerUIOptions } from './swagger/renderer' diff --git a/packages/swagger-ui/tsconfig.spec.json b/packages/swagger-ui/tsconfig.spec.json index fc4118de..3e084b9d 100644 --- a/packages/swagger-ui/tsconfig.spec.json +++ b/packages/swagger-ui/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/swagger-ui", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/trpc-server/tsconfig.spec.json b/packages/trpc-server/tsconfig.spec.json index 40353fb6..fa325840 100644 --- a/packages/trpc-server/tsconfig.spec.json +++ b/packages/trpc-server/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/trpc-server", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/tsyringe/tsconfig.spec.json b/packages/tsyringe/tsconfig.spec.json index 294f126f..790382af 100644 --- a/packages/tsyringe/tsconfig.spec.json +++ b/packages/tsyringe/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/tsyringe", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/typebox-validator/tsconfig.spec.json b/packages/typebox-validator/tsconfig.spec.json index 3f4dce9c..ac62fd3b 100644 --- a/packages/typebox-validator/tsconfig.spec.json +++ b/packages/typebox-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/typebox-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/valibot-validator/tsconfig.spec.json b/packages/valibot-validator/tsconfig.spec.json index 90b7df89..12e631de 100644 --- a/packages/valibot-validator/tsconfig.spec.json +++ b/packages/valibot-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/valibot-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/packages/zod-openapi/tsconfig.spec.json b/packages/zod-openapi/tsconfig.spec.json index a1c2f484..a4a702cd 100644 --- a/packages/zod-openapi/tsconfig.spec.json +++ b/packages/zod-openapi/tsconfig.spec.json @@ -8,7 +8,8 @@ }, "include": [ "**/*.test.ts", - "**/*.test-d.ts" + "**/*.test-d.ts", + "vitest.config.ts" ], "references": [ { diff --git a/packages/zod-validator/tsconfig.spec.json b/packages/zod-validator/tsconfig.spec.json index 460b123b..77c02e13 100644 --- a/packages/zod-validator/tsconfig.spec.json +++ b/packages/zod-validator/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../../dist/out-tsc/packages/zod-validator", "types": ["vitest/globals"] }, - "include": ["**/*.test.ts"], + "include": ["**/*.test.ts", "vitest.config.ts"], "references": [ { "path": "./tsconfig.build.json" diff --git a/tsconfig.json b/tsconfig.json index 729f1639..beb24e19 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,6 +39,7 @@ { "path": "packages/typia-validator" }, { "path": "packages/valibot-validator" }, { "path": "packages/zod-openapi" }, - { "path": "packages/zod-validator" } + { "path": "packages/zod-validator" }, + { "path": "./tsconfig.repo-config-files.json" } ] } diff --git a/tsconfig.repo-config-files.json b/tsconfig.repo-config-files.json new file mode 100644 index 00000000..aa8306aa --- /dev/null +++ b/tsconfig.repo-config-files.json @@ -0,0 +1,14 @@ +{ + "extends": "./tsconfig.base.json", + "compilerOptions": { + "outDir": "dist/out-tsc/root/eslint", + "allowJs": true + }, + "include": [ + "eslint.config.mjs", + "packages/eslint-config/index.js", + "tsup.config.ts", + "vitest.config.ts", + "vitest.workspace.ts" + ] +} diff --git a/yarn.lock b/yarn.lock index 8bb033f7..4f56a6d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1839,7 +1839,6 @@ __metadata: resolution: "@hono/bun-transpiler@workspace:packages/bun-transpiler" dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" - "@types/bun": "npm:^1.0.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" typescript: "npm:^5.8.2" @@ -1973,12 +1972,10 @@ __metadata: resolution: "@hono/eslint-config@workspace:packages/eslint-config" dependencies: "@eslint/js": "npm:^9.10.0" - eslint: "npm:^9.23.0" eslint-config-prettier: "npm:^10.1.1" eslint-import-resolver-typescript: "npm:^4.2.2" eslint-plugin-import-x: "npm:^4.1.1" eslint-plugin-n: "npm:^17.10.2" - typescript: "npm:^5.3.3" typescript-eslint: "npm:^8.27.0" peerDependencies: eslint: ^9.0.0 @@ -2008,7 +2005,6 @@ __metadata: firebase-auth-cloudflare-workers: "npm:^2.0.6" firebase-tools: "npm:^13.29.1" miniflare: "npm:^3.20240208.0" - prettier: "npm:^3.2.5" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" typescript: "npm:^5.8.2" @@ -4043,29 +4039,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.7.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/type-utils": "npm:8.7.0" - "@typescript-eslint/utils": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: f04d6fa6a30e32d51feba0f08789f75ca77b6b67cfe494bdbd9aafa241871edc918fa8b344dc9d13dd59ae055d42c3920f0e542534f929afbfdca653dae598fa - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/parser@npm:8.28.0" @@ -4082,24 +4055,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/parser@npm:8.7.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/typescript-estree": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 1d5020ff1f5d3eb726bc6034d23f0a71e8fe7a713756479a0a0b639215326f71c0b44e2c25cc290b4e7c144bd3c958f1405199711c41601f0ea9174068714a64 - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/scope-manager@npm:8.28.0" @@ -4110,16 +4065,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/scope-manager@npm:8.7.0" - dependencies: - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" - checksum: 8b731a0d0bd3e8f6a322b3b25006f56879b5d2aad86625070fa438b803cf938cb8d5c597758bfa0d65d6e142b204dc6f363fa239bc44280a74e25aa427408eda - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/type-utils@npm:8.28.0" @@ -4135,21 +4080,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/type-utils@npm:8.7.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:8.7.0" - "@typescript-eslint/utils": "npm:8.7.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 2bd9fb93a50ff1c060af41528e39c775ae93b09dd71450defdb42a13c68990dd388460ae4e81fb2f4a49c38dc12152c515d43e845eca6198c44b14aab66733bc - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/types@npm:8.28.0" @@ -4157,13 +4087,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/types@npm:8.7.0" - checksum: f7529eaea4ecc0f5e2d94ea656db8f930f6d1c1e65a3ffcb2f6bec87361173de2ea981405c2c483a35a927b3bdafb606319a1d0395a6feb1284448c8ba74c31e - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/typescript-estree@npm:8.28.0" @@ -4182,25 +4105,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.7.0" - dependencies: - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" - debug: "npm:^4.3.4" - fast-glob: "npm:^3.3.2" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: d714605b6920a9631ab1511b569c1c158b1681c09005ab240125c442a63e906048064151a61ce5eb5f8fe75cea861ce5ae1d87be9d7296b012e4ab6d88755e8b - languageName: node - linkType: hard - "@typescript-eslint/utils@npm:8.28.0, @typescript-eslint/utils@npm:^8.27.0": version: 8.28.0 resolution: "@typescript-eslint/utils@npm:8.28.0" @@ -4216,20 +4120,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/utils@npm:8.7.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/typescript-estree": "npm:8.7.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - checksum: 7355b754ce2fc118773ed27a3e02b7dfae270eec73c2d896738835ecf842e8309544dfd22c5105aba6cae2787bfdd84129bbc42f4b514f57909dc7f6890b8eba - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.28.0": version: 8.28.0 resolution: "@typescript-eslint/visitor-keys@npm:8.28.0" @@ -4240,16 +4130,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.7.0" - dependencies: - "@typescript-eslint/types": "npm:8.7.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 1240da13c15f9f875644b933b0ad73713ef12f1db5715236824c1ec359e6ef082ce52dd9b2186d40e28be6a816a208c226e6e9af96e5baeb24b4399fe786ae7c - languageName: node - linkType: hard - "@ungap/structured-clone@npm:^1.0.0": version: 1.3.0 resolution: "@ungap/structured-clone@npm:1.3.0" @@ -4660,7 +4540,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": +"ansi-styles@npm:^6.1.0": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" checksum: 5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c @@ -5917,7 +5797,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6": +"cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -7082,7 +6962,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.17.0, eslint@npm:^9.23.0": +"eslint@npm:^9.23.0": version: 9.23.0 resolution: "eslint@npm:9.23.0" dependencies: @@ -8385,15 +8265,13 @@ __metadata: "@cloudflare/workers-types": "npm:^4.20230307.0" "@hono/eslint-config": "workspace:*" "@ryoppippi/unplugin-typia": "npm:^1.2.0" + "@types/bun": "npm:^1.0.0" "@types/node": "npm:^20.17.28" "@types/ws": "npm:^8.18.0" - "@typescript-eslint/eslint-plugin": "npm:^8.7.0" - "@typescript-eslint/parser": "npm:^8.7.0" "@vitest/coverage-istanbul": "npm:^3.0.8" - eslint: "npm:^9.17.0" + eslint: "npm:^9.23.0" hono: "npm:^4.7.5" - npm-run-all2: "npm:^6.2.2" - prettier: "npm:^2.7.1" + prettier: "npm:^3.5.3" tsup: "npm:^8.4.0" typescript: "npm:^5.8.2" vitest: "npm:^3.0.8" @@ -9133,13 +9011,6 @@ __metadata: languageName: node linkType: hard -"json-parse-even-better-errors@npm:^3.0.0": - version: 3.0.2 - resolution: "json-parse-even-better-errors@npm:3.0.2" - checksum: 147f12b005768abe9fab78d2521ce2b7e1381a118413d634a40e6d907d7d10f5e9a05e47141e96d6853af7cc36d2c834d0a014251be48791e037ff2f13d2b94b - languageName: node - linkType: hard - "json-parse-helpfulerror@npm:^1.0.3": version: 1.0.3 resolution: "json-parse-helpfulerror@npm:1.0.3" @@ -9918,13 +9789,6 @@ __metadata: languageName: node linkType: hard -"memorystream@npm:^0.3.1": - version: 0.3.1 - resolution: "memorystream@npm:0.3.1" - checksum: 4bd164657711d9747ff5edb0508b2944414da3464b7fe21ac5c67cf35bba975c4b446a0124bd0f9a8be54cfc18faf92e92bd77563a20328b1ccf2ff04e9f39b9 - languageName: node - linkType: hard - "merge-descriptors@npm:1.0.3": version: 1.0.3 resolution: "merge-descriptors@npm:1.0.3" @@ -10444,15 +10308,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.0, minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": - version: 9.0.5 - resolution: "minimatch@npm:9.0.5" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed - languageName: node - linkType: hard - "minimatch@npm:^9.0.1": version: 9.0.3 resolution: "minimatch@npm:9.0.3" @@ -10462,6 +10317,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed + languageName: node + linkType: hard + "minimist@npm:^1.2.0": version: 1.2.8 resolution: "minimist@npm:1.2.8" @@ -10905,34 +10769,6 @@ __metadata: languageName: node linkType: hard -"npm-normalize-package-bin@npm:^3.0.0": - version: 3.0.1 - resolution: "npm-normalize-package-bin@npm:3.0.1" - checksum: f1831a7f12622840e1375c785c3dab7b1d82dd521211c17ee5e9610cd1a34d8b232d3fdeebf50c170eddcb321d2c644bf73dbe35545da7d588c6b3fa488db0a5 - languageName: node - linkType: hard - -"npm-run-all2@npm:^6.2.2": - version: 6.2.6 - resolution: "npm-run-all2@npm:6.2.6" - dependencies: - ansi-styles: "npm:^6.2.1" - cross-spawn: "npm:^7.0.3" - memorystream: "npm:^0.3.1" - minimatch: "npm:^9.0.0" - pidtree: "npm:^0.6.0" - read-package-json-fast: "npm:^3.0.2" - shell-quote: "npm:^1.7.3" - which: "npm:^3.0.1" - bin: - npm-run-all: bin/npm-run-all/index.js - npm-run-all2: bin/npm-run-all/index.js - run-p: bin/run-p/index.js - run-s: bin/run-s/index.js - checksum: 043b0851958b22b1910002cacd996e2ee8d45fefd3aa0f6da2795c50f1eb1d520631f993f6c8c7d28aeca73882a95b35451024fcd796c26a7907e1a1dacb0a84 - languageName: node - linkType: hard - "nth-check@npm:^2.0.1": version: 2.1.1 resolution: "nth-check@npm:2.1.1" @@ -11540,15 +11376,6 @@ __metadata: languageName: node linkType: hard -"pidtree@npm:^0.6.0": - version: 0.6.0 - resolution: "pidtree@npm:0.6.0" - bin: - pidtree: bin/pidtree.js - checksum: 0829ec4e9209e230f74ebf4265f5ccc9ebfb488334b525cb13f86ff801dca44b362c41252cd43ae4d7653a10a5c6ab3be39d2c79064d6895e0d78dc50a5ed6e9 - languageName: node - linkType: hard - "pify@npm:^4.0.1": version: 4.0.1 resolution: "pify@npm:4.0.1" @@ -11702,7 +11529,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.2.5": +"prettier@npm:^3.5.3": version: 3.5.3 resolution: "prettier@npm:3.5.3" bin: @@ -12075,16 +11902,6 @@ __metadata: languageName: node linkType: hard -"read-package-json-fast@npm:^3.0.2": - version: 3.0.2 - resolution: "read-package-json-fast@npm:3.0.2" - dependencies: - json-parse-even-better-errors: "npm:^3.0.0" - npm-normalize-package-bin: "npm:^3.0.0" - checksum: 37787e075f0260a92be0428687d9020eecad7ece3bda37461c2219e50d1ec183ab6ba1d9ada193691435dfe119a42c8a5b5b5463f08c8ddbc3d330800b265318 - languageName: node - linkType: hard - "read-yaml-file@npm:^1.1.0": version: 1.1.0 resolution: "read-yaml-file@npm:1.1.0" @@ -12996,13 +12813,6 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:^1.7.3": - version: 1.8.2 - resolution: "shell-quote@npm:1.8.2" - checksum: 85fdd44f2ad76e723d34eb72c753f04d847ab64e9f1f10677e3f518d0e5b0752a176fd805297b30bb8c3a1556ebe6e77d2288dbd7b7b0110c7e941e9e9c20ce1 - languageName: node - linkType: hard - "side-channel-list@npm:^1.0.0": version: 1.0.0 resolution: "side-channel-list@npm:1.0.0" @@ -13924,15 +13734,6 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.3.0": - version: 1.3.0 - resolution: "ts-api-utils@npm:1.3.0" - peerDependencies: - typescript: ">=4.2.0" - checksum: f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c - languageName: node - linkType: hard - "ts-api-utils@npm:^2.0.1": version: 2.1.0 resolution: "ts-api-utils@npm:2.1.0" @@ -14114,16 +13915,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.3": - version: 5.3.3 - resolution: "typescript@npm:5.3.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f - languageName: node - linkType: hard - "typescript@npm:^5.8.2": version: 5.8.2 resolution: "typescript@npm:5.8.2" @@ -14154,16 +13945,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>": - version: 5.3.3 - resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.8.2#optional!builtin<compat/typescript>": version: 5.8.2 resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin<compat/typescript>::version=5.8.2&hash=e012d7" @@ -14899,17 +14680,6 @@ __metadata: languageName: node linkType: hard -"which@npm:^3.0.1": - version: 3.0.1 - resolution: "which@npm:3.0.1" - dependencies: - isexe: "npm:^2.0.0" - bin: - node-which: bin/which.js - checksum: 15263b06161a7c377328fd2066cb1f093f5e8a8f429618b63212b5b8847489be7bcab0ab3eb07f3ecc0eda99a5a7ea52105cf5fa8266bedd083cc5a9f6da24f1 - languageName: node - linkType: hard - "which@npm:^4.0.0": version: 4.0.0 resolution: "which@npm:4.0.0" From 542391f8dbfd4247b6a3ee59ff353339a2b10550 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 19:34:59 +0900 Subject: [PATCH 76/81] Version Packages (#1108) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/fifty-aliens-rhyme.md | 10 ---------- packages/eslint-config/CHANGELOG.md | 11 +++++++++++ packages/eslint-config/package.json | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 .changeset/fifty-aliens-rhyme.md diff --git a/.changeset/fifty-aliens-rhyme.md b/.changeset/fifty-aliens-rhyme.md deleted file mode 100644 index bd9418aa..00000000 --- a/.changeset/fifty-aliens-rhyme.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@hono/eslint-config': major ---- - -Includes `typescript-eslint` presets for typed linting - -- [`strict-type-checked`](https://typescript-eslint.io/users/configs#strict-type-checked) -- [`stylistic-type-checked`](https://typescript-eslint.io/users/configs#stylistic-type-checked) - -See [Linting with Type Information](https://typescript-eslint.io/getting-started/typed-linting) for more information diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md index 4afefccb..ff0b39cc 100644 --- a/packages/eslint-config/CHANGELOG.md +++ b/packages/eslint-config/CHANGELOG.md @@ -1,5 +1,16 @@ # @hono/eslint-config +## 2.0.0 + +### Major Changes + +- [#1098](https://github.com/honojs/middleware/pull/1098) [`1fd8ebf9b6d8d9f473196266bf63681988dc7979`](https://github.com/honojs/middleware/commit/1fd8ebf9b6d8d9f473196266bf63681988dc7979) Thanks [@BarryThePenguin](https://github.com/BarryThePenguin)! - Includes `typescript-eslint` presets for typed linting + + - [`strict-type-checked`](https://typescript-eslint.io/users/configs#strict-type-checked) + - [`stylistic-type-checked`](https://typescript-eslint.io/users/configs#stylistic-type-checked) + + See [Linting with Type Information](https://typescript-eslint.io/getting-started/typed-linting) for more information + ## 1.1.1 ### Patch Changes diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index fef011b4..ec9ff146 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@hono/eslint-config", - "version": "1.1.1", + "version": "2.0.0", "description": "ESLint Config for Hono projects", "type": "module", "module": "./index.js", From ad4622a8536c8ef9c5feec2e447f36c2629ecbca Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Wed, 9 Apr 2025 19:37:30 +1000 Subject: [PATCH 77/81] fix(zod-openapi): republish without workspace reference (#1111) fixes #1109 --- .changeset/full-words-design.md | 5 +++++ .github/workflows/release.yml | 6 ++---- package.json | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .changeset/full-words-design.md diff --git a/.changeset/full-words-design.md b/.changeset/full-words-design.md new file mode 100644 index 00000000..105cd4e8 --- /dev/null +++ b/.changeset/full-words-design.md @@ -0,0 +1,5 @@ +--- +'@hono/zod-openapi': patch +--- + +Republish v0.19.3 without workspace reference diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed029c7b..f0976ce5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,14 +23,12 @@ jobs: - name: Install Dependencies run: yarn - - name: Build - run: yarn build - - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: - publish: yarn changeset publish + publish: yarn run publish + version: yarn changeset version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index b3d10988..36924d1c 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "scripts": { "build": "yarn workspaces foreach --all --topological --verbose run build", "publint": "yarn workspaces foreach --all --topological --verbose run publint", + "publish": "yarn workspaces foreach --all --no-private --topological --verbose npm publish --tolerate-republish", "typecheck": "yarn tsc --build", "typecheck:clean": "yarn tsc --build --clean", "typecheck:watch": "yarn tsc --build --watch", @@ -44,4 +45,4 @@ "vitest": "^3.0.8" }, "packageManager": "yarn@4.0.2" -} +} \ No newline at end of file From 99e7bf2e643a63184ee4d782f6884b30561a5a78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Apr 2025 18:40:50 +0900 Subject: [PATCH 78/81] Version Packages (#1115) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/full-words-design.md | 5 ----- packages/zod-openapi/CHANGELOG.md | 6 ++++++ packages/zod-openapi/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/full-words-design.md diff --git a/.changeset/full-words-design.md b/.changeset/full-words-design.md deleted file mode 100644 index 105cd4e8..00000000 --- a/.changeset/full-words-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hono/zod-openapi': patch ---- - -Republish v0.19.3 without workspace reference diff --git a/packages/zod-openapi/CHANGELOG.md b/packages/zod-openapi/CHANGELOG.md index 85591345..50d572de 100644 --- a/packages/zod-openapi/CHANGELOG.md +++ b/packages/zod-openapi/CHANGELOG.md @@ -1,5 +1,11 @@ # @hono/zod-openapi +## 0.19.4 + +### Patch Changes + +- [#1111](https://github.com/honojs/middleware/pull/1111) [`ad4622a8536c8ef9c5feec2e447f36c2629ecbca`](https://github.com/honojs/middleware/commit/ad4622a8536c8ef9c5feec2e447f36c2629ecbca) Thanks [@BarryThePenguin](https://github.com/BarryThePenguin)! - Republish v0.19.3 without workspace reference + ## 0.19.3 ### Patch Changes diff --git a/packages/zod-openapi/package.json b/packages/zod-openapi/package.json index a8d60e09..51e32a32 100644 --- a/packages/zod-openapi/package.json +++ b/packages/zod-openapi/package.json @@ -1,6 +1,6 @@ { "name": "@hono/zod-openapi", - "version": "0.19.3", + "version": "0.19.4", "description": "A wrapper class of Hono which supports OpenAPI.", "type": "module", "module": "dist/index.js", From 73c899bc814373f3b24819f7bddb085686ea934c Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Wed, 9 Apr 2025 19:59:58 +1000 Subject: [PATCH 79/81] ci(release): restore build during release (#1116) --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0976ce5..6c22da97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: - name: Install Dependencies run: yarn + - name: Build + run: yarn build + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 From 26d0efb036fae651400e5c0c9c03e9a6a20fd0ee Mon Sep 17 00:00:00 2001 From: chimame <rito.tamata@gmail.com> Date: Wed, 9 Apr 2025 19:08:21 +0900 Subject: [PATCH 80/81] chore(conform-validator): Change conform valibot adapter to official library (#1114) --- packages/conform-validator/README.md | 2 +- packages/conform-validator/package.json | 2 +- .../conform-validator/src/valibot.test.ts | 2 +- yarn.lock | 25 ++++++++++--------- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/packages/conform-validator/README.md b/packages/conform-validator/README.md index 5e61ce36..0bfe8fdc 100644 --- a/packages/conform-validator/README.md +++ b/packages/conform-validator/README.md @@ -59,7 +59,7 @@ Valibot: ```ts import { object, string } from 'valibot' -import { parseWithValibot } from 'conform-to-valibot' +import { parseWithValibot } from '@conform-to/valibot' import { conformValidator } from '@hono/conform-validator' import { HTTPException } from 'hono/http-exception' diff --git a/packages/conform-validator/package.json b/packages/conform-validator/package.json index 17a6b6f4..5a670163 100644 --- a/packages/conform-validator/package.json +++ b/packages/conform-validator/package.json @@ -46,9 +46,9 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@conform-to/dom": "^1.1.5", + "@conform-to/valibot": "^1.0.0", "@conform-to/yup": "^1.1.5", "@conform-to/zod": "^1.1.5", - "conform-to-valibot": "^1.10.0", "publint": "^0.3.9", "tsup": "^8.4.0", "typescript": "^5.8.2", diff --git a/packages/conform-validator/src/valibot.test.ts b/packages/conform-validator/src/valibot.test.ts index 2dc9ef1c..1b10c8a0 100644 --- a/packages/conform-validator/src/valibot.test.ts +++ b/packages/conform-validator/src/valibot.test.ts @@ -1,4 +1,4 @@ -import { parseWithValibot } from 'conform-to-valibot' +import { parseWithValibot } from '@conform-to/valibot' import { Hono } from 'hono' import { hc } from 'hono/client' import type { ExtractSchema, ParsedFormValue } from 'hono/types' diff --git a/yarn.lock b/yarn.lock index 4f56a6d1..442686c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -836,13 +836,24 @@ __metadata: languageName: node linkType: hard -"@conform-to/dom@npm:1.3.0, @conform-to/dom@npm:^1.1.5": +"@conform-to/dom@npm:1.3.0, @conform-to/dom@npm:^1.1.5, @conform-to/dom@npm:^1.3.0": version: 1.3.0 resolution: "@conform-to/dom@npm:1.3.0" checksum: 1b00c9a072c27484efb2832fd5e04e791fe8926cd551732108889979cae1e3bef88a420cae0a8f813370d686d5b44dfff910c4638a486223ccac654574c68a04 languageName: node linkType: hard +"@conform-to/valibot@npm:^1.0.0": + version: 1.0.0 + resolution: "@conform-to/valibot@npm:1.0.0" + dependencies: + "@conform-to/dom": "npm:^1.3.0" + peerDependencies: + valibot: ">= 0.32.0" + checksum: 0d15518be8d76df4edb59e04aa252593fed6291f3e1f39b95f417411900fcb5edccf7ded90fa73cb521c66b364f59c2aa82266824397c3b6f5d7a1952b037e58 + languageName: node + linkType: hard + "@conform-to/yup@npm:^1.1.5": version: 1.3.0 resolution: "@conform-to/yup@npm:1.3.0" @@ -1919,9 +1930,9 @@ __metadata: dependencies: "@arethetypeswrong/cli": "npm:^0.17.4" "@conform-to/dom": "npm:^1.1.5" + "@conform-to/valibot": "npm:^1.0.0" "@conform-to/yup": "npm:^1.1.5" "@conform-to/zod": "npm:^1.1.5" - conform-to-valibot: "npm:^1.10.0" publint: "npm:^0.3.9" tsup: "npm:^8.4.0" typescript: "npm:^5.8.2" @@ -5655,16 +5666,6 @@ __metadata: languageName: node linkType: hard -"conform-to-valibot@npm:^1.10.0": - version: 1.14.3 - resolution: "conform-to-valibot@npm:1.14.3" - peerDependencies: - "@conform-to/dom": ">= 1.0.0" - valibot: ">= 0.32.0" - checksum: 73eaa0c8973a3d05a67a721555a8f5beb56ef145f6ac1414d0bab35b4dc511b940aaa1321c091fa58da696207873cf6839e36021a46f7c17540825897b418218 - languageName: node - linkType: hard - "connect@npm:^3.7.0": version: 3.7.0 resolution: "connect@npm:3.7.0" From bebdfa2a8891435590bb941bd18c43e086458b02 Mon Sep 17 00:00:00 2001 From: Jonathan Haines <jonno.haines@gmail.com> Date: Wed, 9 Apr 2025 20:25:08 +1000 Subject: [PATCH 81/81] ci(release): yarn config set npmAuthToken (#1117) --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c22da97..0767c9ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,11 @@ jobs: - name: Build run: yarn build + - name: Set NPM Auth Token + run: yarn config set npmAuthToken ${NPM_TOKEN} + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1