From f2b833d3ff344f47376499bb5ef907bc8def74b4 Mon Sep 17 00:00:00 2001 From: Puru D Date: Sat, 18 May 2024 01:44:19 -0500 Subject: [PATCH] feat: fix jobs and docker entrypoint --- .env.example | 2 +- compose.yml | 1 + docker/Dockerfile | 5 + pnpm-lock.yaml | 539 ++++++++++----------- src/instrumentation.ts | 5 +- src/jobs/auth-verification-email.ts | 2 +- src/{lib/pg-boss-base.ts => jobs/base.ts} | 5 +- src/jobs/esign-confirmation-email.ts | 2 +- src/jobs/esign-email.ts | 2 +- src/jobs/esign-pdf.ts | 2 +- src/jobs/member-inivite-email.ts | 2 +- src/jobs/password-reset-email.ts | 2 +- src/jobs/share-data-room-email.ts | 4 +- src/jobs/share-update-email.ts | 4 +- src/{lib/pg-boss-init.ts => jobs/start.ts} | 4 +- 15 files changed, 291 insertions(+), 290 deletions(-) rename src/{lib/pg-boss-base.ts => jobs/base.ts} (94%) rename src/{lib/pg-boss-init.ts => jobs/start.ts} (91%) diff --git a/.env.example b/.env.example index efc5ee0af..328d7160f 100644 --- a/.env.example +++ b/.env.example @@ -21,7 +21,7 @@ NEXT_TELEMETRY_DISABLED=1 # Prisma # https://www.prisma.io/docs/reference/database-reference/connection-urls#env -DATABASE_URL="postgres://captable:password@127.0.0.1:54321/captable" +DATABASE_URL="postgres://captable:password@pg:5432/captable" # Next Auth # You can generate a new secret on the command line with: diff --git a/compose.yml b/compose.yml index a27cfd862..bd4f2dbbb 100644 --- a/compose.yml +++ b/compose.yml @@ -7,6 +7,7 @@ services: - POSTGRES_USER=captable - POSTGRES_PASSWORD=password - POSTGRES_DB=captable + - POSTGRES_EXTENSIONS=pgcrypto ports: - 54321:5432 volumes: diff --git a/docker/Dockerfile b/docker/Dockerfile index a97e5ac36..a00b9ff01 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -63,12 +63,17 @@ COPY --from=builder --chown=nextjs:nodejs /app/scripts/migrate.sh ./scripts/migr COPY --from=builder --chown=nextjs:nodejs /app/prisma/schema.prisma ./prisma/schema.prisma COPY --from=builder --chown=nextjs:nodejs /app/prisma/migrations ./prisma/migrations + USER nextjs EXPOSE 3000 ENV PORT 3000 +# Run the migration script +RUN chmod +x ./scripts/migrate.sh +ENTRYPOINT [ "./scripts/migrate.sh" ] + # server.js is created by next build from the standalone output # https://nextjs.org/docs/pages/api-reference/next-config-js/output CMD HOSTNAME="0.0.0.0" node server.js diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c9c9f3330..da2080d6b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,10 +10,10 @@ dependencies: version: 2.2.3(@internationalized/date@3.5.3)(react-dom@18.2.0)(react@18.3.1) '@aws-sdk/client-s3': specifier: ^3.574.0 - version: 3.576.0 + version: 3.577.0 '@aws-sdk/s3-request-presigner': specifier: ^3.554.0 - version: 3.576.0 + version: 3.577.0 '@blocknote/react': specifier: ^0.12.2 version: 0.12.4(@tiptap/pm@2.4.0)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.3.1) @@ -103,7 +103,7 @@ dependencies: version: 8.17.3(react-dom@18.2.0)(react@18.3.1) '@tremor/react': specifier: ^3.15.1 - version: 3.16.2(react-dom@18.2.0)(react@18.3.1)(tailwindcss@3.4.3) + version: 3.16.3(react-dom@18.2.0)(react@18.3.1)(tailwindcss@3.4.3) '@trpc/client': specifier: ^10.43.6 version: 10.45.2(@trpc/server@10.45.2) @@ -172,7 +172,7 @@ dependencies: version: 2.3.12 next-runtime-env: specifier: ^3.2.1 - version: 3.2.1(next@14.2.3)(react@18.3.1) + version: 3.2.2(next@14.2.3)(react@18.3.1) nodemailer: specifier: ^6.9.8 version: 6.9.13 @@ -211,7 +211,7 @@ dependencies: version: 0.0.1 sharp: specifier: ^0.33.3 - version: 0.33.3 + version: 0.33.4 superjson: specifier: ^2.2.1 version: 2.2.1 @@ -285,7 +285,7 @@ devDependencies: version: 9.0.11 inquirer: specifier: ^9.2.17 - version: 9.2.21 + version: 9.2.22 lint-staged: specifier: ^15.2.2 version: 15.2.2 @@ -300,7 +300,7 @@ devDependencies: version: 3.4.3 tsx: specifier: ^4.7.0 - version: 4.10.2 + version: 4.10.4 typescript: specifier: ^5.4.5 version: 5.4.5 @@ -416,7 +416,7 @@ packages: resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false @@ -424,7 +424,7 @@ packages: resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false @@ -440,7 +440,7 @@ packages: '@aws-crypto/ie11-detection': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-locate-window': 3.568.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -453,7 +453,7 @@ packages: '@aws-crypto/sha256-js': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-locate-window': 3.568.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -463,7 +463,7 @@ packages: resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false @@ -476,39 +476,39 @@ packages: /@aws-crypto/util@3.0.0: resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false - /@aws-sdk/client-s3@3.576.0: - resolution: {integrity: sha512-6Xhj8x7ijLqoLYncKMUn433QKWzEezDLR3TipKv/qHThTa8oYXkymMat/MfJ/lx3jsc8wS72i+1kTwO+AFUg6w==} + /@aws-sdk/client-s3@3.577.0: + resolution: {integrity: sha512-mQYXwn6E4Rwggn6teF6EIWJtK8jsKcxnPj2QVETkSmD8QaFLm4g/DgLPdamDE97UI8k1k0cmWqXcTOLIaZ7wQg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha1-browser': 3.0.0 '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.576.0(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/client-sts': 3.576.0 + '@aws-sdk/client-sso-oidc': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/client-sts': 3.577.0 '@aws-sdk/core': 3.576.0 - '@aws-sdk/credential-provider-node': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/middleware-bucket-endpoint': 3.575.0 - '@aws-sdk/middleware-expect-continue': 3.575.0 - '@aws-sdk/middleware-flexible-checksums': 3.575.0 - '@aws-sdk/middleware-host-header': 3.575.0 - '@aws-sdk/middleware-location-constraint': 3.575.0 - '@aws-sdk/middleware-logger': 3.575.0 - '@aws-sdk/middleware-recursion-detection': 3.575.0 - '@aws-sdk/middleware-sdk-s3': 3.575.0 - '@aws-sdk/middleware-signing': 3.575.0 - '@aws-sdk/middleware-ssec': 3.575.0 - '@aws-sdk/middleware-user-agent': 3.575.0 - '@aws-sdk/region-config-resolver': 3.575.0 - '@aws-sdk/signature-v4-multi-region': 3.575.0 - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-endpoints': 3.575.0 - '@aws-sdk/util-user-agent-browser': 3.575.0 - '@aws-sdk/util-user-agent-node': 3.575.0 + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/middleware-bucket-endpoint': 3.577.0 + '@aws-sdk/middleware-expect-continue': 3.577.0 + '@aws-sdk/middleware-flexible-checksums': 3.577.0 + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-location-constraint': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-sdk-s3': 3.577.0 + '@aws-sdk/middleware-signing': 3.577.0 + '@aws-sdk/middleware-ssec': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/signature-v4-multi-region': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 '@aws-sdk/xml-builder': 3.575.0 '@smithy/config-resolver': 3.0.0 '@smithy/core': 2.0.1 @@ -547,24 +547,24 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso-oidc@3.576.0(@aws-sdk/client-sts@3.576.0): - resolution: {integrity: sha512-6U8933O9h6iMnQDpH3OtFhS3G3FVttYZUqTpC2T0FnSSX7zgG0GnlxdQiyZh1j1aFrEB8bFw/RSmxPcMJJuSlQ==} + /@aws-sdk/client-sso-oidc@3.577.0(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-njmKSPDWueWWYVFpFcZ2P3fI6/pdQVDa0FgCyYZhOnJLgEHZIcBBg1AsnkVWacBuLopp9XVt2m+7hO6ugY1/1g==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.576.0 + '@aws-sdk/client-sts': 3.577.0 '@aws-sdk/core': 3.576.0 - '@aws-sdk/credential-provider-node': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/middleware-host-header': 3.575.0 - '@aws-sdk/middleware-logger': 3.575.0 - '@aws-sdk/middleware-recursion-detection': 3.575.0 - '@aws-sdk/middleware-user-agent': 3.575.0 - '@aws-sdk/region-config-resolver': 3.575.0 - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-endpoints': 3.575.0 - '@aws-sdk/util-user-agent-browser': 3.575.0 - '@aws-sdk/util-user-agent-node': 3.575.0 + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 '@smithy/config-resolver': 3.0.0 '@smithy/core': 2.0.1 '@smithy/fetch-http-handler': 3.0.1 @@ -596,22 +596,22 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.576.0: - resolution: {integrity: sha512-xbKE4bf3HYvkdrvn5kkpUdcoi3mg7uDLLkSbGaj0tzW3vNSdx9qLrCMuwfV7KrhVKWwx+lnw/2LGuCR2B5y0IA==} + /@aws-sdk/client-sso@3.577.0: + resolution: {integrity: sha512-BwujdXrydlk6UEyPmewm5GqG4nkQ6OVyRhS/SyZP/6UKSFv2/sf391Cmz0hN0itUTH1rR4XeLln8XCOtarkrzg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 '@aws-sdk/core': 3.576.0 - '@aws-sdk/middleware-host-header': 3.575.0 - '@aws-sdk/middleware-logger': 3.575.0 - '@aws-sdk/middleware-recursion-detection': 3.575.0 - '@aws-sdk/middleware-user-agent': 3.575.0 - '@aws-sdk/region-config-resolver': 3.575.0 - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-endpoints': 3.575.0 - '@aws-sdk/util-user-agent-browser': 3.575.0 - '@aws-sdk/util-user-agent-node': 3.575.0 + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 '@smithy/config-resolver': 3.0.0 '@smithy/core': 2.0.1 '@smithy/fetch-http-handler': 3.0.1 @@ -642,24 +642,24 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.576.0: - resolution: {integrity: sha512-GHqqfRcUW/nGE4lpRafNKRxi4K7+SaQjYLjQnTEioUhr+w1IT/fFb3rGZYHHnN9ZCzbnrBULRC+1XOPIQWyLsw==} + /@aws-sdk/client-sts@3.577.0: + resolution: {integrity: sha512-509Kklimva1XVlhGbpTpeX3kOP6ORpm44twJxDHpa9TURbmoaxj7veWlnLCbDorxDTrbsDghvYZshvcLsojVpg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.576.0(@aws-sdk/client-sts@3.576.0) + '@aws-sdk/client-sso-oidc': 3.577.0(@aws-sdk/client-sts@3.577.0) '@aws-sdk/core': 3.576.0 - '@aws-sdk/credential-provider-node': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/middleware-host-header': 3.575.0 - '@aws-sdk/middleware-logger': 3.575.0 - '@aws-sdk/middleware-recursion-detection': 3.575.0 - '@aws-sdk/middleware-user-agent': 3.575.0 - '@aws-sdk/region-config-resolver': 3.575.0 - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-endpoints': 3.575.0 - '@aws-sdk/util-user-agent-browser': 3.575.0 - '@aws-sdk/util-user-agent-node': 3.575.0 + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 '@smithy/config-resolver': 3.0.0 '@smithy/core': 2.0.1 '@smithy/fetch-http-handler': 3.0.1 @@ -703,21 +703,21 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-env@3.575.0: - resolution: {integrity: sha512-YTgpq3rvYBXzW6OTDB00cE79evQtss/lz2GlJXgqqVXD0m7i77hGA8zb44VevP/WxtDaiSW7SSjuu8VCBGsg4g==} + /@aws-sdk/credential-provider-env@3.577.0: + resolution: {integrity: sha512-Jxu255j0gToMGEiqufP8ZtKI8HW90lOLjwJ3LrdlD/NLsAY0tOQf1fWc53u28hWmmNGMxmCrL2p66IOgMDhDUw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-http@3.575.0: - resolution: {integrity: sha512-xQfVmYI+9KqRvhWY8fyElnpcVUBBUgi/Hoji3oU6WLrUjrX98k93He7gKDQSyHf7ykMLUAJYWwsV4AjQ2j6njA==} + /@aws-sdk/credential-provider-http@3.577.0: + resolution: {integrity: sha512-n++yhCp67b9+ZRGEdY1jhamB5E/O+QsIDOPSuRmdaSGMCOd82oUEKPgIVEU1bkqxDsBxgiEWuvtfhK6sNiDS0A==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/fetch-http-handler': 3.0.1 '@smithy/node-http-handler': 3.0.0 '@smithy/property-provider': 3.0.0 @@ -728,18 +728,18 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-ini@3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0): - resolution: {integrity: sha512-AwH/+29SbjhxGJVYhFn6+7r0MZ7TjJClySTJzuOoyjJGPWAifTdEuFkyOw8Bs9fEvbJ0ExgFxSaa445fO56kmg==} + /@aws-sdk/credential-provider-ini@3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-q7lHPtv6BjRvChUE3m0tIaEZKxPTaZ1B3lKxGYsFl3VLAu5N8yGCUKwuA1izf4ucT+LyKscVGqK6VDZx1ev3nw==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': 3.576.0 + '@aws-sdk/client-sts': ^3.577.0 dependencies: - '@aws-sdk/client-sts': 3.576.0 - '@aws-sdk/credential-provider-env': 3.575.0 - '@aws-sdk/credential-provider-process': 3.575.0 - '@aws-sdk/credential-provider-sso': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0) - '@aws-sdk/credential-provider-web-identity': 3.575.0(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/types': 3.575.0 + '@aws-sdk/client-sts': 3.577.0 + '@aws-sdk/credential-provider-env': 3.577.0 + '@aws-sdk/credential-provider-process': 3.577.0 + '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -750,17 +750,17 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0): - resolution: {integrity: sha512-Ad244g3TJnfY1QFlZ+cywD6kgGD2yj+qg47Ryt50Y42bwmNuuqSpF9n0C71opRR68Rcl7ksOxixCJomWqpcHbA==} + /@aws-sdk/credential-provider-node@3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-epZ1HOMsrXBNczc0HQpv0VMjqAEpc09DUA7Rg3gUJfn8umhML7A7bXnUyqPA+S54q397UYg1leQKdSn23OiwQQ==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.575.0 - '@aws-sdk/credential-provider-http': 3.575.0 - '@aws-sdk/credential-provider-ini': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0)(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/credential-provider-process': 3.575.0 - '@aws-sdk/credential-provider-sso': 3.576.0(@aws-sdk/client-sso-oidc@3.576.0) - '@aws-sdk/credential-provider-web-identity': 3.575.0(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/types': 3.575.0 + '@aws-sdk/credential-provider-env': 3.577.0 + '@aws-sdk/credential-provider-http': 3.577.0 + '@aws-sdk/credential-provider-ini': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/credential-provider-process': 3.577.0 + '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -772,24 +772,24 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-process@3.575.0: - resolution: {integrity: sha512-2/5NJV7MZysKglqJSQ/O8OELNcwLcH3xknabL9NagtzB7RNB2p1AUXR0UlTey9sSDLL4oCmNa/+unYuglW/Ahg==} + /@aws-sdk/credential-provider-process@3.577.0: + resolution: {integrity: sha512-Gin6BWtOiXxIgITrJ3Nwc+Y2P1uVT6huYR4EcbA/DJUPWyO0n9y5UFLewPvVbLkRn15JeEqErBLUrHclkiOKtw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-sso@3.576.0(@aws-sdk/client-sso-oidc@3.576.0): - resolution: {integrity: sha512-1F17issiqf+mSG7KJ+D0SfZRYBZPAmRcA5+VHDUuMLozhh8tyYMe0mwzOt9IKc7ocrJA+2Wp7l7sg3h6aanedQ==} + /@aws-sdk/credential-provider-sso@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): + resolution: {integrity: sha512-iVm5SQvS7EgZTJsRaqUOmDQpBQPPPat42SCbWFvFQOLrl8qewq8OP94hFS5w2mP62zngeYzqhJnDel79HXbxew==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sso': 3.576.0 - '@aws-sdk/token-providers': 3.575.0(@aws-sdk/client-sso-oidc@3.576.0) - '@aws-sdk/types': 3.575.0 + '@aws-sdk/client-sso': 3.577.0 + '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 '@smithy/types': 3.0.0 @@ -799,24 +799,24 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-web-identity@3.575.0(@aws-sdk/client-sts@3.576.0): - resolution: {integrity: sha512-QcvVH7wpvpFRXGAGgCBfQeiF/ptD0NJ+Hrc8dDYfPGhFeZ0EoVQBYNphLi25xe7JZ+XbaqCKrURHZtr4fAEOJw==} + /@aws-sdk/credential-provider-web-identity@3.577.0(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-ZGHGNRaCtJJmszb9UTnC7izNCtRUttdPlLdMkh41KPS32vfdrBDHs1JrpbZijItRj1xKuOXsiYSXLAaHGcLh8Q==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': 3.575.0 + '@aws-sdk/client-sts': ^3.577.0 dependencies: - '@aws-sdk/client-sts': 3.576.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/client-sts': 3.577.0 + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-bucket-endpoint@3.575.0: - resolution: {integrity: sha512-ytsp7xcmbpkVk4TLoi91YyXQh/vwSIGdJ2Awo/pi6ac5Fqe6OntPijh5GHSVj5ZrxW4haPWb6HdBmKMo4liGEw==} + /@aws-sdk/middleware-bucket-endpoint@3.577.0: + resolution: {integrity: sha512-twlkNX2VofM6kHXzDEiJOiYCc9tVABe5cbyxMArRWscIsCWG9mamPhC77ezG4XsN9dFEwVdxEYD5Crpm/5EUiw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-arn-parser': 3.568.0 '@smithy/node-config-provider': 3.0.0 '@smithy/protocol-http': 4.0.0 @@ -825,23 +825,23 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-expect-continue@3.575.0: - resolution: {integrity: sha512-8Nq4UtEi63MJPoYBACW5YoMKQdbrkLNGIdTyrolNRNwVS+6nQqDMvBplakCzQ1nL1rHOEEsKKc8e2BlG9SkR5A==} + /@aws-sdk/middleware-expect-continue@3.577.0: + resolution: {integrity: sha512-6dPp8Tv4F0of4un5IAyG6q++GrRrNQQ4P2NAMB1W0VO4JoEu1C8GievbbDLi88TFIFmtKpnHB0ODCzwnoe8JsA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/protocol-http': 4.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-flexible-checksums@3.575.0: - resolution: {integrity: sha512-UbyqN39v6s+olyuVKwX778w6J2ZuYpxb1j+KdhFtZwpMSLd/UIQ0+A71U2vB6TrC52OEW0jIXEEBv6PcMBz9nw==} + /@aws-sdk/middleware-flexible-checksums@3.577.0: + resolution: {integrity: sha512-IHAUEipIfagjw92LV8SOSBiCF7ZnqfHcw14IkcZW2/mfrCy1Fh/k40MoS/t3Tro2tQ91rgQPwUoSgB/QCi2Org==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/crc32': 3.0.0 '@aws-crypto/crc32c': 3.0.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/is-array-buffer': 3.0.0 '@smithy/protocol-http': 4.0.0 '@smithy/types': 3.0.0 @@ -849,49 +849,49 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-host-header@3.575.0: - resolution: {integrity: sha512-V2WoLBiXNCc4rIWZt6FUcP4TN0Vk02A9PPCBWkTfyOooiqfq+WZmZjRRBpwl1+5UsvARslrKWF0VzheMRXPJLQ==} + /@aws-sdk/middleware-host-header@3.577.0: + resolution: {integrity: sha512-9ca5MJz455CODIVXs0/sWmJm7t3QO4EUa1zf8pE8grLpzf0J94bz/skDWm37Pli13T3WaAQBHCTiH2gUVfCsWg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/protocol-http': 4.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-location-constraint@3.575.0: - resolution: {integrity: sha512-MtQsLsEjSSSfm0OlQqg9PEzS1nxJDdApGoeCYLTbCzIp6hChdLZCCsDXwGg9S++24rjQsUglMhXh4WGXQ9FDnw==} + /@aws-sdk/middleware-location-constraint@3.577.0: + resolution: {integrity: sha512-DKPTD2D2s+t2QUo/IXYtVa/6Un8GZ+phSTBkyBNx2kfZz4Kwavhl/JJzSqTV3GfCXkVdFu7CrjoX7BZ6qWeTUA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-logger@3.575.0: - resolution: {integrity: sha512-7DEKx9Z11Maaye7FfhYtC8rjbM/PcFcMO2N4QEAfypcgWCj+w4gseE2OGdfAH9OFDoFc6YvLp53v16vbPjzQSg==} + /@aws-sdk/middleware-logger@3.577.0: + resolution: {integrity: sha512-aPFGpGjTZcJYk+24bg7jT4XdIp42mFXSuPt49lw5KygefLyJM/sB0bKKqPYYivW0rcuZ9brQ58eZUNthrzYAvg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-recursion-detection@3.575.0: - resolution: {integrity: sha512-ri89ldRFos6KZDGaknWPS2XPO9qr+gZ7+mPaoU8YkSM1W4uKqtnUSONyc+O3CFGJrqReuGHhRq0l2Sld0bjwOw==} + /@aws-sdk/middleware-recursion-detection@3.577.0: + resolution: {integrity: sha512-pn3ZVEd2iobKJlR3H+bDilHjgRnNrQ6HMmK9ZzZw89Ckn3Dcbv48xOv4RJvu0aU8SDLl/SNCxppKjeLDTPGBNA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/protocol-http': 4.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-sdk-s3@3.575.0: - resolution: {integrity: sha512-8cBG8/tap4F6+UigTpKu8D2bvsLgqRTmn1K86qo3LqRX0Wc5X8TVjdKA2PmG0onOOr7rqTLcP9Q02LCh3usU6Q==} + /@aws-sdk/middleware-sdk-s3@3.577.0: + resolution: {integrity: sha512-/t8Shvy6lGIRdTEKG6hA8xy+oon/CDF5H8Ksms/cd/uvIy/MYbNjOJ/Arwk8H5W6LB4DP/1O+tOzOpGx1MCufA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-arn-parser': 3.568.0 '@smithy/node-config-provider': 3.0.0 '@smithy/protocol-http': 4.0.0 @@ -902,11 +902,11 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-signing@3.575.0: - resolution: {integrity: sha512-frpGG7i3YngWwrYIeDq8/nbat3Gfl803qasaS112rmlPU0ezmYS1SPxpXjpIKxUUYofbzaFtRBAOHU1u7GnWew==} + /@aws-sdk/middleware-signing@3.577.0: + resolution: {integrity: sha512-QS/dh3+NqZbXtY0j/DZ867ogP413pG5cFGqBy9OeOhDMsolcwLrQbi0S0c621dc1QNq+er9ffaMhZ/aPkyXXIg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/protocol-http': 4.0.0 '@smithy/signature-v4': 3.0.0 @@ -915,31 +915,31 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-ssec@3.575.0: - resolution: {integrity: sha512-rEFt2w3DdlmPsHRvVXOW6rNDIPE7UaEZ5a4LAkn78XilQYuQdhm5wtw5Ao0pJpDSVYNCZDVZaAvdHKQ1dnfwCA==} + /@aws-sdk/middleware-ssec@3.577.0: + resolution: {integrity: sha512-i2BPJR+rp8xmRVIGc0h1kDRFcM2J9GnClqqpc+NLSjmYadlcg4mPklisz9HzwFVcRPJ5XcGf3U4BYs5G8+iTyg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-user-agent@3.575.0: - resolution: {integrity: sha512-fWlr4RfrUNS2R3PgP+WsoMYORAgv/47Lp0J0fb3dXO1YvdczNWddRbFSUX2MQxM/y9XFfQPLpLgzluhoL3Cjeg==} + /@aws-sdk/middleware-user-agent@3.577.0: + resolution: {integrity: sha512-P55HAXgwmiHHpFx5JEPvOnAbfhN7v6sWv9PBQs+z2tC7QiBcPS0cdJR6PfV7J1n4VPK52/OnrK3l9VxdQ7Ms0g==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-endpoints': 3.575.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 '@smithy/protocol-http': 4.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/region-config-resolver@3.575.0: - resolution: {integrity: sha512-sBJKwTWKCWu9y8FzXIijYGwkKr3tDkPXM7BylToe6W+tGkp4OirV4iXrWA9zReNwTTepoxHufofqjGK9BtcI8g==} + /@aws-sdk/region-config-resolver@3.577.0: + resolution: {integrity: sha512-4ChCFACNwzqx/xjg3zgFcW8Ali6R9C95cFECKWT/7CUM1D0MGvkclSH2cLarmHCmJgU6onKkJroFtWp0kHhgyg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/node-config-provider': 3.0.0 '@smithy/types': 3.0.0 '@smithy/util-config-provider': 3.0.0 @@ -947,13 +947,13 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/s3-request-presigner@3.576.0: - resolution: {integrity: sha512-ajoTWCFw3nm8QoF3antv05TltkKlnopPyISZmSMJDYv62dRzyDTmEhaCvMhikvza+rrBNzr1w/5cRws+HsWhCg==} + /@aws-sdk/s3-request-presigner@3.577.0: + resolution: {integrity: sha512-mlcf//A/gFSnKnY4Kc/zCt/zvRiFLeDfaH4t5vpwdBhNjZCRJcHwh6eJeC27/8R+IkRVU5s2CVXrUM5RyeLDWg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/signature-v4-multi-region': 3.575.0 - '@aws-sdk/types': 3.575.0 - '@aws-sdk/util-format-url': 3.575.0 + '@aws-sdk/signature-v4-multi-region': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-format-url': 3.577.0 '@smithy/middleware-endpoint': 3.0.0 '@smithy/protocol-http': 4.0.0 '@smithy/smithy-client': 3.0.1 @@ -961,34 +961,34 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/signature-v4-multi-region@3.575.0: - resolution: {integrity: sha512-QMwuLuNwnEQ51RCZX8H/lXnOJgBcJJOCgClB9usW/XujNJVq8GnpZ5E7TsQLN88G6fifmcjQWonLKummuh/zVA==} + /@aws-sdk/signature-v4-multi-region@3.577.0: + resolution: {integrity: sha512-mMykGRFBYmlDcMhdbhNM0z1JFUaYYZ8r9WV7Dd0T2PWELv2brSAjDAOBHdJLHObDMYRnM6H0/Y974qTl3icEcQ==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/middleware-sdk-s3': 3.575.0 - '@aws-sdk/types': 3.575.0 + '@aws-sdk/middleware-sdk-s3': 3.577.0 + '@aws-sdk/types': 3.577.0 '@smithy/protocol-http': 4.0.0 '@smithy/signature-v4': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.575.0(@aws-sdk/client-sso-oidc@3.576.0): - resolution: {integrity: sha512-EPNDPQoQkjKqn4D2t70qVzbfdtlaAy9KBdG58qD1yNWVxq8Rh/lXdwmB+aE2PSahtyfVikZdCRoZiFzxDh5IUA==} + /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): + resolution: {integrity: sha512-0CkIZpcC3DNQJQ1hDjm2bdSy/Xjs7Ny5YvSsacasGOkNfk+FdkiQy6N67bZX3Zbc9KIx+Nz4bu3iDeNSNplnnQ==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sso-oidc': 3.575.0 + '@aws-sdk/client-sso-oidc': ^3.577.0 dependencies: - '@aws-sdk/client-sso-oidc': 3.576.0(@aws-sdk/client-sts@3.576.0) - '@aws-sdk/types': 3.575.0 + '@aws-sdk/client-sso-oidc': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/types@3.575.0: - resolution: {integrity: sha512-XrnolQGs0wXxdgNudirR14OgNOarH7WUif38+2Pd4onZH+L7XoILem0EgA1tRpgFpw2pFHlZCNaAHDNSBEal7g==} + /@aws-sdk/types@3.577.0: + resolution: {integrity: sha512-FT2JZES3wBKN/alfmhlo+3ZOq/XJ0C7QOZcDNrpKjB0kqYoKjhVKZ/Hx6ArR0czkKfHzBBEs6y40ebIHx2nSmA==} engines: {node: '>=16.0.0'} dependencies: '@smithy/types': 3.0.0 @@ -1002,21 +1002,21 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-endpoints@3.575.0: - resolution: {integrity: sha512-wC5x+V6w3kRlR6X6XVINsAPDYG+Tzs3Wthlw+YLtjuPODUNZIQAqsABHahxnekFyAvse+1929Hwo+CaL+BHZGA==} + /@aws-sdk/util-endpoints@3.577.0: + resolution: {integrity: sha512-FjuUz1Kdy4Zly2q/c58tpdqHd6z7iOdU/caYzoc8jwgAHBDBbIJNQLCU9hXJnPV2M8pWxQDyIZsoVwtmvErPzw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/types': 3.0.0 '@smithy/util-endpoints': 2.0.0 tslib: 2.6.2 dev: false - /@aws-sdk/util-format-url@3.575.0: - resolution: {integrity: sha512-i9qxRgcHgJvLB6rutQohMouhPCSRkvWAoKSj/6WAOWbE8M+a/znq/2UYGE3F/sAKpEDMXpOo5GXKcKNVpy03Jw==} + /@aws-sdk/util-format-url@3.577.0: + resolution: {integrity: sha512-SyEGC2J+y/krFRuPgiF02FmMYhqbiIkOjDE6k4nYLJQRyS6XEAGxZoG+OHeOVEM+bsDgbxokXZiM3XKGu6qFIg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/querystring-builder': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 @@ -1029,17 +1029,17 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-browser@3.575.0: - resolution: {integrity: sha512-iADonXyaXgwvC4T0qRuDWCdKInz82GX2cyezq/oqVlL8bPY7HD8jwZZruuJdq5tkaJi1EhbO4+f1ksZqOiZKvQ==} + /@aws-sdk/util-user-agent-browser@3.577.0: + resolution: {integrity: sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA==} dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/types': 3.0.0 bowser: 2.11.0 tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-node@3.575.0: - resolution: {integrity: sha512-kwzvBfA0LoILDOFS6BV8uOkksBHrYulP6kNXegB5eZnDSNia5DbBsXqxQ/HknNF5a429SWQw2aaQJEgQvZB1VA==} + /@aws-sdk/util-user-agent-node@3.577.0: + resolution: {integrity: sha512-XqvtFjbSMtycZTWVwDe8DRWovuoMbA54nhUoZwVU6rW9OSD6NZWGR512BUGHFaWzW0Wg8++Dj10FrKTG2XtqfA==} engines: {node: '>=16.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -1047,7 +1047,7 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.575.0 + '@aws-sdk/types': 3.577.0 '@smithy/node-config-provider': 3.0.0 '@smithy/types': 3.0.0 tslib: 2.6.2 @@ -1478,9 +1478,9 @@ packages: react-dom: ^18 dependencies: '@blocknote/core': 0.12.4 - '@floating-ui/react': 0.26.14(react-dom@18.2.0)(react@18.3.1) - '@mantine/core': 7.9.1(@mantine/hooks@7.9.1)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.3.1) - '@mantine/hooks': 7.9.1(react@18.3.1) + '@floating-ui/react': 0.26.15(react-dom@18.2.0)(react@18.3.1) + '@mantine/core': 7.9.2(@mantine/hooks@7.9.2)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.3.1) + '@mantine/hooks': 7.9.2(react@18.3.1) '@mantine/utils': 6.0.21(react@18.3.1) '@tiptap/core': 2.4.0(@tiptap/pm@2.4.0) '@tiptap/react': 2.4.0(@tiptap/core@2.4.0)(@tiptap/pm@2.4.0)(react-dom@18.2.0)(react@18.3.1) @@ -1495,8 +1495,8 @@ packages: - supports-color dev: false - /@dot/log@0.1.3: - resolution: {integrity: sha512-Gh6enQBMuD5zxI5Rz7lNY74PnlR6K0DvavOrrSuU4uhKsUf9BgJlHyFR5or5Uu3hK8xJyfmdf0cS7rDoFD3N/A==} + /@dot/log@0.1.4: + resolution: {integrity: sha512-zymOZLqhkhJhEdU1/1odVaiTkkfMtAttpmm286yG55eReDsR43HQikJYgjv5qf4fUlE/TSKYdKFtBjkrLUjoIw==} engines: {node: '>=18'} dependencies: chalk: 4.1.2 @@ -2143,8 +2143,8 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0, npm: '>=6.14.13'} dev: true - /@floating-ui/core@1.6.1: - resolution: {integrity: sha512-42UH54oPZHPdRHdw6BgoBD6cg/eVTmVrFcgeRDM3jbO7uxSoipVcmcIGFcA5jmOHO5apcyvBhkSKES3fQJnu7A==} + /@floating-ui/core@1.6.2: + resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==} dependencies: '@floating-ui/utils': 0.2.2 dev: false @@ -2152,14 +2152,14 @@ packages: /@floating-ui/dom@1.6.3: resolution: {integrity: sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==} dependencies: - '@floating-ui/core': 1.6.1 + '@floating-ui/core': 1.6.2 '@floating-ui/utils': 0.2.2 dev: false /@floating-ui/dom@1.6.5: resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==} dependencies: - '@floating-ui/core': 1.6.1 + '@floating-ui/core': 1.6.2 '@floating-ui/utils': 0.2.2 dev: false @@ -2198,8 +2198,8 @@ packages: tabbable: 6.2.0 dev: false - /@floating-ui/react@0.26.14(react-dom@18.2.0)(react@18.3.1): - resolution: {integrity: sha512-I2EhfezC+H0WfkMEkCcF9+++PU1Wq08bDKhHHGIoBZVCciiftEQHgrSI4dTUTsa7446SiIVW0gWATliIlVNgfg==} + /@floating-ui/react@0.26.15(react-dom@18.2.0)(react@18.3.1): + resolution: {integrity: sha512-WKmfLkxTwCm09Dxq4LpjL3EPbZVSp5wvnap1jmculsfnzg2Ag/pCkP+OPyjE5dFMXqX97hsLIqJehboZ5XAHXw==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' @@ -2261,8 +2261,8 @@ packages: react-hook-form: 7.51.4(react@18.3.1) dev: false - /@img/sharp-darwin-arm64@0.33.3: - resolution: {integrity: sha512-FaNiGX1MrOuJ3hxuNzWgsT/mg5OHG/Izh59WW2mk1UwYHUwtfbhk5QNKYZgxf0pLOhx9ctGiGa2OykD71vOnSw==} + /@img/sharp-darwin-arm64@0.33.4: + resolution: {integrity: sha512-p0suNqXufJs9t3RqLBO6vvrgr5OhgbWp76s5gTRvdmxmuv9E1rcaqGUsl3l4mKVmXPkTkTErXediAui4x+8PSA==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [arm64] os: [darwin] @@ -2272,8 +2272,8 @@ packages: dev: false optional: true - /@img/sharp-darwin-x64@0.33.3: - resolution: {integrity: sha512-2QeSl7QDK9ru//YBT4sQkoq7L0EAJZA3rtV+v9p8xTKl4U1bUqTIaCnoC7Ctx2kCjQgwFXDasOtPTCT8eCTXvw==} + /@img/sharp-darwin-x64@0.33.4: + resolution: {integrity: sha512-0l7yRObwtTi82Z6ebVI2PnHT8EB2NxBgpK2MiKJZJ7cz32R4lxd001ecMhzzsZig3Yv9oclvqqdV93jo9hy+Dw==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [x64] os: [darwin] @@ -2355,8 +2355,8 @@ packages: dev: false optional: true - /@img/sharp-linux-arm64@0.33.3: - resolution: {integrity: sha512-Zf+sF1jHZJKA6Gor9hoYG2ljr4wo9cY4twaxgFDvlG0Xz9V7sinsPp8pFd1XtlhTzYo0IhDbl3rK7P6MzHpnYA==} + /@img/sharp-linux-arm64@0.33.4: + resolution: {integrity: sha512-2800clwVg1ZQtxwSoTlHvtm9ObgAax7V6MTAB/hDT945Tfyy3hVkmiHpeLPCKYqYR1Gcmv1uDZ3a4OFwkdBL7Q==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [arm64] os: [linux] @@ -2366,8 +2366,8 @@ packages: dev: false optional: true - /@img/sharp-linux-arm@0.33.3: - resolution: {integrity: sha512-Q7Ee3fFSC9P7vUSqVEF0zccJsZ8GiiCJYGWDdhEjdlOeS9/jdkyJ6sUSPj+bL8VuOYFSbofrW0t/86ceVhx32w==} + /@img/sharp-linux-arm@0.33.4: + resolution: {integrity: sha512-RUgBD1c0+gCYZGCCe6mMdTiOFS0Zc/XrN0fYd6hISIKcDUbAW5NtSQW9g/powkrXYm6Vzwd6y+fqmExDuCdHNQ==} engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [arm] os: [linux] @@ -2377,9 +2377,9 @@ packages: dev: false optional: true - /@img/sharp-linux-s390x@0.33.3: - resolution: {integrity: sha512-vFk441DKRFepjhTEH20oBlFrHcLjPfI8B0pMIxGm3+yilKyYeHEVvrZhYFdqIseSclIqbQ3SnZMwEMWonY5XFA==} - engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + /@img/sharp-linux-s390x@0.33.4: + resolution: {integrity: sha512-h3RAL3siQoyzSoH36tUeS0PDmb5wINKGYzcLB5C6DIiAn2F3udeFAum+gj8IbA/82+8RGCTn7XW8WTFnqag4tQ==} + engines: {glibc: '>=2.31', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [s390x] os: [linux] requiresBuild: true @@ -2388,8 +2388,8 @@ packages: dev: false optional: true - /@img/sharp-linux-x64@0.33.3: - resolution: {integrity: sha512-Q4I++herIJxJi+qmbySd072oDPRkCg/SClLEIDh5IL9h1zjhqjv82H0Seupd+q2m0yOfD+/fJnjSoDFtKiHu2g==} + /@img/sharp-linux-x64@0.33.4: + resolution: {integrity: sha512-GoR++s0XW9DGVi8SUGQ/U4AeIzLdNjHka6jidVwapQ/JebGVQIpi52OdyxCNVRE++n1FCLzjDovJNozif7w/Aw==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [x64] os: [linux] @@ -2399,8 +2399,8 @@ packages: dev: false optional: true - /@img/sharp-linuxmusl-arm64@0.33.3: - resolution: {integrity: sha512-qnDccehRDXadhM9PM5hLvcPRYqyFCBN31kq+ErBSZtZlsAc1U4Z85xf/RXv1qolkdu+ibw64fUDaRdktxTNP9A==} + /@img/sharp-linuxmusl-arm64@0.33.4: + resolution: {integrity: sha512-nhr1yC3BlVrKDTl6cO12gTpXMl4ITBUZieehFvMntlCXFzH2bvKG76tBL2Y/OqhupZt81pR7R+Q5YhJxW0rGgQ==} engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [arm64] os: [linux] @@ -2410,8 +2410,8 @@ packages: dev: false optional: true - /@img/sharp-linuxmusl-x64@0.33.3: - resolution: {integrity: sha512-Jhchim8kHWIU/GZ+9poHMWRcefeaxFIs9EBqf9KtcC14Ojk6qua7ghKiPs0sbeLbLj/2IGBtDcxHyjCdYWkk2w==} + /@img/sharp-linuxmusl-x64@0.33.4: + resolution: {integrity: sha512-uCPTku0zwqDmZEOi4ILyGdmW76tH7dm8kKlOIV1XC5cLyJ71ENAAqarOHQh0RLfpIpbV5KOpXzdU6XkJtS0daw==} engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [x64] os: [linux] @@ -2421,8 +2421,8 @@ packages: dev: false optional: true - /@img/sharp-wasm32@0.33.3: - resolution: {integrity: sha512-68zivsdJ0koE96stdUfM+gmyaK/NcoSZK5dV5CAjES0FUXS9lchYt8LAB5rTbM7nlWtxaU/2GON0HVN6/ZYJAQ==} + /@img/sharp-wasm32@0.33.4: + resolution: {integrity: sha512-Bmmauh4sXUsUqkleQahpdNXKvo+wa1V9KhT2pDA4VJGKwnKMJXiSTGphn0gnJrlooda0QxCtXc6RX1XAU6hMnQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [wasm32] requiresBuild: true @@ -2431,8 +2431,8 @@ packages: dev: false optional: true - /@img/sharp-win32-ia32@0.33.3: - resolution: {integrity: sha512-CyimAduT2whQD8ER4Ux7exKrtfoaUiVr7HG0zZvO0XTFn2idUWljjxv58GxNTkFb8/J9Ub9AqITGkJD6ZginxQ==} + /@img/sharp-win32-ia32@0.33.4: + resolution: {integrity: sha512-99SJ91XzUhYHbx7uhK3+9Lf7+LjwMGQZMDlO/E/YVJ7Nc3lyDFZPGhjwiYdctoH2BOzW9+TnfqcaMKt0jHLdqw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [ia32] os: [win32] @@ -2440,8 +2440,8 @@ packages: dev: false optional: true - /@img/sharp-win32-x64@0.33.3: - resolution: {integrity: sha512-viT4fUIDKnli3IfOephGnolMzhz5VaTvDRkYqtZxOMIoMQ4MrAziO7pT1nVnOt2FAm7qW5aa+CCc13aEY6Le0g==} + /@img/sharp-win32-x64@0.33.4: + resolution: {integrity: sha512-3QLocdTRVIrFNye5YocZl+KKpYKP+fksi1QhmOArgx7GyhIbQp/WrJRu176jm8IxromS7RIkzMiMINVdBtC8Aw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} cpu: [x64] os: [win32] @@ -2449,8 +2449,8 @@ packages: dev: false optional: true - /@inquirer/figures@1.0.1: - resolution: {integrity: sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw==} + /@inquirer/figures@1.0.2: + resolution: {integrity: sha512-4F1MBwVr3c/m4bAUef6LgkvBfSjzwH+OfldgHqcuacWwSUetFebM2wi58WfG9uk1rR98U6GwLed4asLJbwdV5w==} engines: {node: '>=18'} dev: true @@ -2595,15 +2595,15 @@ packages: call-bind: 1.0.7 dev: true - /@mantine/core@7.9.1(@mantine/hooks@7.9.1)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.3.1): - resolution: {integrity: sha512-UXK11t1fAQ2ROQ9HTIZfyU52XdwS8sFJ2SRUh5uHMWSahJo3wTdKzaCvYN7wg+ONM9p6ENT0hC0dfv5qXoKU4w==} + /@mantine/core@7.9.2(@mantine/hooks@7.9.2)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.3.1): + resolution: {integrity: sha512-ARNEiREF70tikW6at8QwFFcDbtennPjnhPOifaDL1sQurO3ORN/iOUFxiH1npWoqNydUZHxhsfFVpte8NNf/oQ==} peerDependencies: - '@mantine/hooks': 7.9.1 + '@mantine/hooks': 7.9.2 react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@floating-ui/react': 0.26.14(react-dom@18.2.0)(react@18.3.1) - '@mantine/hooks': 7.9.1(react@18.3.1) + '@floating-ui/react': 0.26.15(react-dom@18.2.0)(react@18.3.1) + '@mantine/hooks': 7.9.2(react@18.3.1) clsx: 2.1.0 react: 18.3.1 react-dom: 18.2.0(react@18.3.1) @@ -2615,8 +2615,8 @@ packages: - '@types/react' dev: false - /@mantine/hooks@7.9.1(react@18.3.1): - resolution: {integrity: sha512-nb2Ar+2HfGxLjGZgObapeUeqcQsUWJ+rvj4X2KNTUy3+YpvLIMD3CqREowWHF7/5OTGh4BCyBqQNZ9JFpnMeHQ==} + /@mantine/hooks@7.9.2(react@18.3.1): + resolution: {integrity: sha512-qT8vvHZ8K/qFXSSIyq/NHpKgtEs1Vas4Z2tPPtMTN7oyibjsel09XebPAt59nkJS/SACQbja0GZ4lUXI2+AFFw==} peerDependencies: react: ^18.2.0 dependencies: @@ -4911,8 +4911,8 @@ packages: react-dom: 18.2.0(react@18.3.1) dev: false - /@tremor/react@3.16.2(react-dom@18.2.0)(react@18.3.1)(tailwindcss@3.4.3): - resolution: {integrity: sha512-Isdc+Sf4WHlnrAAO8Hk/nK84HiXzCZvb6ZFRHrzOkF+APm6nDhvKPRorXcXZ2BKSS5T5L0QVsid5fIxly8kRdA==} + /@tremor/react@3.16.3(react-dom@18.2.0)(react@18.3.1)(tailwindcss@3.4.3): + resolution: {integrity: sha512-XiufPz4RRdrHrhwL7Cfcd9XoUEPyN/Q4jwj3kw1OQmFD1sYMCS2pAzzSP62k7zq02Z0QIPBuVK5p7/KQ+h4esQ==} peerDependencies: react: ^18.0.0 react-dom: '>=16.6.0' @@ -4920,9 +4920,9 @@ packages: '@floating-ui/react': 0.19.2(react-dom@18.2.0)(react@18.3.1) '@headlessui/react': 1.7.19(react-dom@18.2.0)(react@18.3.1) '@headlessui/tailwindcss': 0.2.0(tailwindcss@3.4.3) - date-fns: 2.30.0 + date-fns: 3.6.0 react: 18.3.1 - react-day-picker: 8.10.1(date-fns@2.30.0)(react@18.3.1) + react-day-picker: 8.10.1(date-fns@3.6.0)(react@18.3.1) react-dom: 18.2.0(react@18.3.1) react-transition-state: 2.1.1(react-dom@18.2.0)(react@18.3.1) recharts: 2.12.7(react-dom@18.2.0)(react@18.3.1) @@ -5086,11 +5086,11 @@ packages: /@types/lodash-es@4.17.12: resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} dependencies: - '@types/lodash': 4.17.1 + '@types/lodash': 4.17.4 dev: true - /@types/lodash@4.17.1: - resolution: {integrity: sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==} + /@types/lodash@4.17.4: + resolution: {integrity: sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ==} dev: true /@types/mdast@3.0.15: @@ -6021,7 +6021,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001618 + caniuse-lite: 1.0.30001620 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.1 @@ -6185,8 +6185,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001618 - electron-to-chromium: 1.4.769 + caniuse-lite: 1.0.30001620 + electron-to-chromium: 1.4.774 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -6236,8 +6236,8 @@ packages: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} - /caniuse-lite@1.0.30001618: - resolution: {integrity: sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==} + /caniuse-lite@1.0.30001620: + resolution: {integrity: sha512-WJvYsOjd1/BYUY6SNGUosK9DUidBPDTnOARHp3fSmFO1ekdxaY6nKRttEVrfMmYi80ctS0kz1wiWmm14fVc3ew==} /canvas@2.11.2: resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==} @@ -6735,11 +6735,8 @@ packages: engines: {node: '>=12'} dev: false - /date-fns@2.30.0: - resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} - engines: {node: '>=0.11'} - dependencies: - '@babel/runtime': 7.24.5 + /date-fns@3.6.0: + resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==} dev: false /dayjs@1.11.11: @@ -6940,8 +6937,8 @@ packages: jake: 10.9.1 dev: true - /electron-to-chromium@1.4.769: - resolution: {integrity: sha512-bZu7p623NEA2rHTc9K1vykl57ektSPQYFFqQir8BOYf6EKOB+yIsbFB9Kpm7Cgt6tsLr9sRkqfqSZUw7LP1XxQ==} + /electron-to-chromium@1.4.774: + resolution: {integrity: sha512-132O1XCd7zcTkzS3FgkAzKmnBuNJjK8WjcTtNuoylj7MYbqw5eXehjQ5OK91g0zm7OTKIPeaAG4CPoRfD9M1Mg==} /elliptic@6.5.5: resolution: {integrity: sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==} @@ -7951,11 +7948,11 @@ packages: react-dom: 18.2.0(react@18.3.1) dev: false - /inquirer@9.2.21: - resolution: {integrity: sha512-c/dwDruM1FtzeISV+xMHm+JZTmhpmgWPEZI2bU3+Fwu5MhbAX0zMHHxj5warNfttE5NUID3aijrFUpDc2yBvcA==} + /inquirer@9.2.22: + resolution: {integrity: sha512-SqLLa/Oe5rZUagTR9z+Zd6izyatHglbmbvVofo1KzuVB54YHleWzeHNLoR7FOICGOeQSqeLh1cordb3MzhGcEw==} engines: {node: '>=18'} dependencies: - '@inquirer/figures': 1.0.1 + '@inquirer/figures': 1.0.2 '@ljharb/through': 2.3.13 ansi-escapes: 4.3.2 chalk: 5.3.0 @@ -8207,7 +8204,7 @@ packages: '@jsx-email/app-preview': ^1.2.6 react: ^18.2.0 dependencies: - '@dot/log': 0.1.3 + '@dot/log': 0.1.4 '@jsx-email/app-preview': 1.2.6(@types/node@20.12.12)(@types/react-dom@18.3.0)(@types/react@18.3.2)(react@18.3.1) '@jsx-email/doiuse-email': 1.0.1 '@jsx-email/minify-preset': 1.0.1 @@ -8284,8 +8281,8 @@ packages: resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==} dev: false - /lib0@0.2.93: - resolution: {integrity: sha512-M5IKsiFJYulS+8Eal8f+zAqf5ckm1vffW0fFDxfgxJ+uiVopvDdd3PxJmz0GsVi3YNO7QCFSq0nAsiDmNhLj9Q==} + /lib0@0.2.94: + resolution: {integrity: sha512-hZ3p54jL4Wpu7IOg26uC7dnEWiMyNlUrb9KoG7+xYs45WkQwpVvKFndVq2+pqLYKe1u8Fp3+zAfZHVvTK34PvQ==} engines: {node: '>=16'} hasBin: true dependencies: @@ -9083,8 +9080,8 @@ packages: nodemailer: 6.9.13 oauth: 0.9.15 openid-client: 5.6.5 - preact: 10.21.0 - preact-render-to-string: 5.2.6(preact@10.21.0) + preact: 10.22.0 + preact-render-to-string: 5.2.6(preact@10.22.0) react: 18.3.1 react-dom: 18.2.0(react@18.3.1) uuid: 8.3.2 @@ -9096,8 +9093,8 @@ packages: nprogress: 0.2.0 dev: false - /next-runtime-env@3.2.1(next@14.2.3)(react@18.3.1): - resolution: {integrity: sha512-vyuTpUMwnGUA9GjOGXNnuosqFQOa52IcKmu4mnTaQi4EqeFoCy3aYUxSF6mLaKkQ5yNC8yLa/gFjny74czpc9Q==} + /next-runtime-env@3.2.2(next@14.2.3)(react@18.3.1): + resolution: {integrity: sha512-S5S6NxIf3XeaVc9fLBN2L5Jzu+6dLYCXeOaPQa1RzKRYlG2BBayxXOj6A4VsciocyNkJMazW1VAibtbb1/ZjAw==} peerDependencies: next: ^14 react: ^18 @@ -9127,7 +9124,7 @@ packages: '@next/env': 14.2.3 '@swc/helpers': 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001618 + caniuse-lite: 1.0.30001620 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 @@ -9800,17 +9797,17 @@ packages: xtend: 4.0.2 dev: false - /preact-render-to-string@5.2.6(preact@10.21.0): + /preact-render-to-string@5.2.6(preact@10.22.0): resolution: {integrity: sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw==} peerDependencies: preact: '>=10' dependencies: - preact: 10.21.0 + preact: 10.22.0 pretty-format: 3.8.0 dev: false - /preact@10.21.0: - resolution: {integrity: sha512-aQAIxtzWEwH8ou+OovWVSVNlFImL7xUCwJX3YMqA3U8iKCNC34999fFOnWjYNsylgfPgMexpbk7WYOLtKr/mxg==} + /preact@10.22.0: + resolution: {integrity: sha512-RRurnSjJPj4rp5K6XoP45Ui33ncb7e4H7WiOHVpjbkvqvA3U+N8Z6Qbo0AE6leGYBV66n8EhEaFixvIu3SkxFw==} dev: false /pretty-bytes@5.6.0: @@ -10069,13 +10066,13 @@ packages: safe-buffer: 5.2.1 dev: false - /react-day-picker@8.10.1(date-fns@2.30.0)(react@18.3.1): + /react-day-picker@8.10.1(date-fns@3.6.0)(react@18.3.1): resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==} peerDependencies: date-fns: ^2.28.0 || ^3.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - date-fns: 2.30.0 + date-fns: 3.6.0 react: 18.3.1 dev: false @@ -10823,8 +10820,8 @@ packages: safe-buffer: 5.2.1 dev: false - /sharp@0.33.3: - resolution: {integrity: sha512-vHUeXJU1UvlO/BNwTpT0x/r53WkLUVxrmb5JTgW92fdFCFk0ispLMAeu/jPO2vjkXM1fYUi3K7/qcLF47pwM1A==} + /sharp@0.33.4: + resolution: {integrity: sha512-7i/dt5kGl7qR4gwPRD2biwD2/SvBn3O04J77XKFgL2OnZtQw+AG9wnuS/csmu80nPRHLYE9E41fyEiG8nhH6/Q==} engines: {libvips: '>=8.15.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0} requiresBuild: true dependencies: @@ -10832,8 +10829,8 @@ packages: detect-libc: 2.0.3 semver: 7.6.2 optionalDependencies: - '@img/sharp-darwin-arm64': 0.33.3 - '@img/sharp-darwin-x64': 0.33.3 + '@img/sharp-darwin-arm64': 0.33.4 + '@img/sharp-darwin-x64': 0.33.4 '@img/sharp-libvips-darwin-arm64': 1.0.2 '@img/sharp-libvips-darwin-x64': 1.0.2 '@img/sharp-libvips-linux-arm': 1.0.2 @@ -10842,15 +10839,15 @@ packages: '@img/sharp-libvips-linux-x64': 1.0.2 '@img/sharp-libvips-linuxmusl-arm64': 1.0.2 '@img/sharp-libvips-linuxmusl-x64': 1.0.2 - '@img/sharp-linux-arm': 0.33.3 - '@img/sharp-linux-arm64': 0.33.3 - '@img/sharp-linux-s390x': 0.33.3 - '@img/sharp-linux-x64': 0.33.3 - '@img/sharp-linuxmusl-arm64': 0.33.3 - '@img/sharp-linuxmusl-x64': 0.33.3 - '@img/sharp-wasm32': 0.33.3 - '@img/sharp-win32-ia32': 0.33.3 - '@img/sharp-win32-x64': 0.33.3 + '@img/sharp-linux-arm': 0.33.4 + '@img/sharp-linux-arm64': 0.33.4 + '@img/sharp-linux-s390x': 0.33.4 + '@img/sharp-linux-x64': 0.33.4 + '@img/sharp-linuxmusl-arm64': 0.33.4 + '@img/sharp-linuxmusl-x64': 0.33.4 + '@img/sharp-wasm32': 0.33.4 + '@img/sharp-win32-ia32': 0.33.4 + '@img/sharp-win32-x64': 0.33.4 dev: false /shebang-command@2.0.0: @@ -11317,8 +11314,8 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsx@4.10.2: - resolution: {integrity: sha512-gOfACgv1ElsIjvt7Fp0rMJKGnMGjox0JfGOfX3kmZCV/yZumaNqtHGKBXt1KgaYS9KjDOmqGeI8gHk/W7kWVZg==} + /tsx@4.10.4: + resolution: {integrity: sha512-Gtg9qnZWNqC/OtcgiXfoAUdAKx3/cgKOYvEocAsv+m21MV/eKpV/WUjRXe6/sDCaGBl2/v8S6v29BpUnGMCX5A==} engines: {node: '>=18.0.0'} hasBin: true dependencies: @@ -11842,7 +11839,7 @@ packages: y-protocols: ^1.0.1 yjs: ^13.5.38 dependencies: - lib0: 0.2.93 + lib0: 0.2.94 prosemirror-model: 1.21.0 prosemirror-state: 1.4.3 prosemirror-view: 1.33.6 @@ -11855,7 +11852,7 @@ packages: peerDependencies: yjs: ^13.0.0 dependencies: - lib0: 0.2.93 + lib0: 0.2.94 yjs: 13.6.15 /y18n@5.0.8: @@ -11902,7 +11899,7 @@ packages: resolution: {integrity: sha512-moFv4uNYhp8BFxIk3AkpoAnnjts7gwdpiG8RtyFiKbMtxKCS0zVZ5wPaaGpwC3V2N/K8TK8MwtSI3+WO9CHWjQ==} engines: {node: '>=16.0.0', npm: '>=8.0.0'} dependencies: - lib0: 0.2.93 + lib0: 0.2.94 /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} diff --git a/src/instrumentation.ts b/src/instrumentation.ts index 2912343e8..58e6c77cd 100644 --- a/src/instrumentation.ts +++ b/src/instrumentation.ts @@ -1,7 +1,6 @@ export async function register() { if (process.env.NEXT_RUNTIME === "nodejs") { - const { initPgBoss } = await import("./lib/pg-boss-init"); - - await initPgBoss(); + const { startJobs } = await import("@/jobs/start"); + await startJobs(); } } diff --git a/src/jobs/auth-verification-email.ts b/src/jobs/auth-verification-email.ts index 88ef59850..94bcdc2e2 100644 --- a/src/jobs/auth-verification-email.ts +++ b/src/jobs/auth-verification-email.ts @@ -1,6 +1,6 @@ import AccountVerificationEmail from "@/emails/AccountVerificationEmail"; import { env } from "@/env"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; import type { Job } from "pg-boss"; diff --git a/src/lib/pg-boss-base.ts b/src/jobs/base.ts similarity index 94% rename from src/lib/pg-boss-base.ts rename to src/jobs/base.ts index a000f9516..0b0334c07 100644 --- a/src/lib/pg-boss-base.ts +++ b/src/jobs/base.ts @@ -1,9 +1,8 @@ -import { JOB_TYPES } from "@/constants/job"; +import type { JOB_TYPES } from "@/constants/job"; import { env } from "@/env"; +import { singleton } from "@/lib/singleton"; import pgBoss from "pg-boss"; -import { singleton } from "./singleton"; - type JobTypes = typeof JOB_TYPES; export type JobType = { diff --git a/src/jobs/esign-confirmation-email.ts b/src/jobs/esign-confirmation-email.ts index ce7386d21..aacfc6bb1 100644 --- a/src/jobs/esign-confirmation-email.ts +++ b/src/jobs/esign-confirmation-email.ts @@ -1,5 +1,5 @@ import ESignConfirmationEmail from "@/emails/EsignConfirmationEmail"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; import type { Job } from "pg-boss"; diff --git a/src/jobs/esign-email.ts b/src/jobs/esign-email.ts index a5ca6a58a..2fd5cb711 100644 --- a/src/jobs/esign-email.ts +++ b/src/jobs/esign-email.ts @@ -1,6 +1,6 @@ import EsignEmail from "@/emails/EsignEmail"; import { env } from "@/env"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { db } from "@/server/db"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; diff --git a/src/jobs/esign-pdf.ts b/src/jobs/esign-pdf.ts index b002c6692..869623650 100644 --- a/src/jobs/esign-pdf.ts +++ b/src/jobs/esign-pdf.ts @@ -1,4 +1,4 @@ -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { db } from "@/server/db"; import { type EsignGetTemplateType, diff --git a/src/jobs/member-inivite-email.ts b/src/jobs/member-inivite-email.ts index 7e275caaa..2086a1989 100644 --- a/src/jobs/member-inivite-email.ts +++ b/src/jobs/member-inivite-email.ts @@ -1,7 +1,7 @@ import MemberInviteEmail from "@/emails/MemberInviteEmail"; import { env } from "@/env"; +import { BaseJob } from "@/jobs/base"; import { constants } from "@/lib/constants"; -import { BaseJob } from "@/lib/pg-boss-base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; import type { Job } from "pg-boss"; diff --git a/src/jobs/password-reset-email.ts b/src/jobs/password-reset-email.ts index a1939039b..f01d049fa 100644 --- a/src/jobs/password-reset-email.ts +++ b/src/jobs/password-reset-email.ts @@ -1,6 +1,6 @@ import PasswordResetEmail from "@/emails/PasswordResetEmail"; import { env } from "@/env"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; import type { Job } from "pg-boss"; diff --git a/src/jobs/share-data-room-email.ts b/src/jobs/share-data-room-email.ts index 8528092bb..b71b2cfd9 100644 --- a/src/jobs/share-data-room-email.ts +++ b/src/jobs/share-data-room-email.ts @@ -1,8 +1,8 @@ import ShareDataRoomEmail from "@/emails/ShareDataRoomEmail"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; -import { Job } from "pg-boss"; +import type { Job } from "pg-boss"; export type DataRoomEmailPayloadType = { link: string; diff --git a/src/jobs/share-update-email.ts b/src/jobs/share-update-email.ts index 355448228..f229dd0a7 100644 --- a/src/jobs/share-update-email.ts +++ b/src/jobs/share-update-email.ts @@ -1,8 +1,8 @@ import ShareUpdateEmail from "@/emails/ShareUpdateEmail"; -import { BaseJob } from "@/lib/pg-boss-base"; +import { BaseJob } from "@/jobs/base"; import { sendMail } from "@/server/mailer"; import { render } from "jsx-email"; -import { Job } from "pg-boss"; +import type { Job } from "pg-boss"; export type UpdateSharePayloadType = { update: { diff --git a/src/lib/pg-boss-init.ts b/src/jobs/start.ts similarity index 91% rename from src/lib/pg-boss-init.ts rename to src/jobs/start.ts index 65c3372a6..4126116f8 100644 --- a/src/lib/pg-boss-init.ts +++ b/src/jobs/start.ts @@ -1,4 +1,5 @@ import { AuthVerificationEmailJob } from "@/jobs/auth-verification-email"; +import { JobManager, boss } from "@/jobs/base"; import { EsignConfirmationEmailJob } from "@/jobs/esign-confirmation-email"; import { EsignNotificationEmailJob } from "@/jobs/esign-email"; import { EsignPdfJob } from "@/jobs/esign-pdf"; @@ -6,9 +7,8 @@ import { SendMemberInviteEmailJob } from "@/jobs/member-inivite-email"; import { PasswordResetEmailJob } from "@/jobs/password-reset-email"; import { ShareDataRoomEmailJob } from "@/jobs/share-data-room-email"; import { ShareUpdateEmailJob } from "@/jobs/share-update-email"; -import { JobManager, boss } from "./pg-boss-base"; -export async function initPgBoss() { +export async function startJobs() { const jobs = new JobManager(boss) .register(AuthVerificationEmailJob) .register(ShareUpdateEmailJob)