From b6267e721d619a71ec9112f5b1cbc9861964b513 Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 18 Mar 2025 17:38:54 +1100 Subject: [PATCH] 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"