From 2195b5d27a33189449364d65ba5c87bf34112d19 Mon Sep 17 00:00:00 2001 From: Maxime Golfier <25312957+maxgfr@users.noreply.github.com> Date: Thu, 20 Jun 2024 21:23:09 +0200 Subject: [PATCH] fix(sentry): adding commit information to release context + avoid to create n release by n commit on dev (#5974) * fix: source map * fix: source map * fix: sentry secret * fix: config * fix: config * fix: config * fix: config * fix: config * fix: config * fix: done * fix: done * fix: test --- .kontinuous/env/dev/values.yaml | 2 +- Dockerfile | 2 +- .../{next.config.js => next.config.mjs} | 20 +- .../code-du-travail-frontend/package.json | 6 +- .../code-du-travail-frontend/tsconfig.json | 7 +- yarn.lock | 458 ++++++++++-------- 6 files changed, 282 insertions(+), 213 deletions(-) rename packages/code-du-travail-frontend/{next.config.js => next.config.mjs} (84%) diff --git a/.kontinuous/env/dev/values.yaml b/.kontinuous/env/dev/values.yaml index a43a7b5447..636cdb0eea 100644 --- a/.kontinuous/env/dev/values.yaml +++ b/.kontinuous/env/dev/values.yaml @@ -6,7 +6,7 @@ jobs: buildArgs: NEXT_PUBLIC_SENTRY_DSN: https://81b6e3d265cf736588f894040d265705@sentry.fabrique.social.gouv.fr/107 NEXT_PUBLIC_SENTRY_ENV: dev - NEXT_PUBLIC_SENTRY_RELEASE: "{{.Values.global.sha}}" + NEXT_PUBLIC_SENTRY_RELEASE: "{{.Values.global.branchSlug32}}" NEXT_PUBLIC_BUCKET_DEFAULT_FOLDER: "default" NEXT_PUBLIC_BUCKET_SITEMAP_FOLDER: "sitemap" NEXT_PUBLIC_BUCKET_URL: https://cdtn-prod-public.s3.gra.io.cloud.ovh.net/preview diff --git a/Dockerfile b/Dockerfile index 2310e426a3..51eed059b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,7 +76,7 @@ USER 1000 COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/.next /app/packages/code-du-travail-frontend/.next COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/package.json /app/packages/code-du-travail-frontend/package.json COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/public /app/packages/code-du-travail-frontend/public -COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/next.config.js /app/packages/code-du-travail-frontend/next.config.js +COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/next.config.mjs /app/packages/code-du-travail-frontend/next.config.mjs COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/instrumentation.ts /app/packages/code-du-travail-frontend/instrumentation.ts COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/sentry.client.config.ts /app/packages/code-du-travail-frontend/sentry.client.config.ts COPY --from=dist --chown=1000:1000 /dep/packages/code-du-travail-frontend/sentry.server.config.ts /app/packages/code-du-travail-frontend/sentry.server.config.ts diff --git a/packages/code-du-travail-frontend/next.config.js b/packages/code-du-travail-frontend/next.config.mjs similarity index 84% rename from packages/code-du-travail-frontend/next.config.js rename to packages/code-du-travail-frontend/next.config.mjs index c946dee788..9d75a7582c 100644 --- a/packages/code-du-travail-frontend/next.config.js +++ b/packages/code-du-travail-frontend/next.config.mjs @@ -1,3 +1,6 @@ +import { withSentryConfig } from "@sentry/nextjs"; +import MappingReplacement from "./redirects.json" assert { type: "json" }; + const ContentSecurityPolicy = ` default-src 'self' *.travail.gouv.fr *.data.gouv.fr *.fabrique.social.gouv.fr; img-src 'self' data: *.fabrique.social.gouv.fr https://travail-emploi.gouv.fr https://mon-entreprise.urssaf.fr https://www.service-public.fr https://cdtn-prod-public.s3.gra.io.cloud.ovh.net; @@ -11,15 +14,20 @@ worker-src 'self' blob:; child-src 'self' blob:; `; -const { withSentryConfig } = require("@sentry/nextjs"); -const MappingReplacement = require("./redirects"); - const sentryConfig = { org: process.env.NEXT_PUBLIC_SENTRY_ORG, project: process.env.NEXT_PUBLIC_SENTRY_PROJECT, - authToken: process.env.SENTRY_AUTH_TOKEN, - release: { name: process.env.NEXT_PUBLIC_SENTRY_RELEASE }, sentryUrl: process.env.NEXT_PUBLIC_SENTRY_URL, + authToken: process.env.SENTRY_AUTH_TOKEN, + release: { + name: process.env.NEXT_PUBLIC_SENTRY_RELEASE, + setCommits: process.env.NEXT_PUBLIC_COMMIT + ? { + repo: "SocialGouv/code-du-travail-numerique", + commit: process.env.NEXT_PUBLIC_COMMIT, + } + : { auto: true }, + }, hideSourceMaps: true, widenClientFileUpload: true, }; @@ -86,4 +94,4 @@ const moduleExports = { }, }; -module.exports = withSentryConfig(moduleExports, sentryConfig); +export default withSentryConfig(moduleExports, sentryConfig); diff --git a/packages/code-du-travail-frontend/package.json b/packages/code-du-travail-frontend/package.json index 78541d3351..6306bb40ea 100644 --- a/packages/code-du-travail-frontend/package.json +++ b/packages/code-du-travail-frontend/package.json @@ -36,7 +36,7 @@ "@opentelemetry/instrumentation-generic-pool": "^0.37.0", "@opentelemetry/instrumentation-http": "^0.52.0", "@opentelemetry/instrumentation-net": "^0.37.0", - "@sentry/nextjs": "^8.9.2", + "@sentry/nextjs": "^8.10.0", "@socialgouv/cdtn-elasticsearch": "^2.44.2", "@socialgouv/cdtn-logger": "^2.0.0", "@socialgouv/cdtn-types": "^2.42.3", @@ -62,7 +62,7 @@ "lit": "2.6.1", "lodash.deburr": "^4.1.0", "memoizee": "^0.4.15", - "next": "14.2.3", + "next": "14.2.4", "p-debounce": "^2.1.0", "prop-types": "^15.8.1", "publicodes": "1.0.0-beta.60", @@ -94,7 +94,7 @@ "cypress-html-validate": "^6.1.0", "cypress-iframe": "^1.0.1", "eslint": "8.57.0", - "eslint-config-next": "14.1.0", + "eslint-config-next": "14.2.4", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-storybook": "^0.8.0", "jest": "^29.7.0", diff --git a/packages/code-du-travail-frontend/tsconfig.json b/packages/code-du-travail-frontend/tsconfig.json index 674e32dee4..10dfb9ff7a 100644 --- a/packages/code-du-travail-frontend/tsconfig.json +++ b/packages/code-du-travail-frontend/tsconfig.json @@ -1,20 +1,19 @@ { "compilerOptions": { - "target": "es6", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": false, - "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "strictNullChecks": true, "incremental": true, + "forceConsistentCasingInFileNames": true, + "strictNullChecks": true, "downlevelIteration": true }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], diff --git a/yarn.lock b/yarn.lock index 41877ef8c4..c696e83669 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2346,7 +2346,7 @@ __metadata: "@opentelemetry/instrumentation-generic-pool": ^0.37.0 "@opentelemetry/instrumentation-http": ^0.52.0 "@opentelemetry/instrumentation-net": ^0.37.0 - "@sentry/nextjs": ^8.9.2 + "@sentry/nextjs": ^8.10.0 "@socialgouv/cdtn-elasticsearch": ^2.44.2 "@socialgouv/cdtn-logger": ^2.0.0 "@socialgouv/cdtn-types": ^2.42.3 @@ -2374,7 +2374,7 @@ __metadata: debounce-promise: ^3.1.2 downshift: ^9.0.6 eslint: 8.57.0 - eslint-config-next: 14.1.0 + eslint-config-next: 14.2.4 eslint-plugin-cypress: ^2.12.1 eslint-plugin-storybook: ^0.8.0 final-form: ^4.20.2 @@ -2392,7 +2392,7 @@ __metadata: lodash.deburr: ^4.1.0 memoizee: ^0.4.15 mockdate: ^3.0.5 - next: 14.2.3 + next: 14.2.4 nextjs-http-supertest: ^1.0.6 p-debounce: ^2.1.0 postcss: ^8.4.19 @@ -4539,19 +4539,19 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:14.2.3": - version: 14.2.3 - resolution: "@next/env@npm:14.2.3" - checksum: 47ddb64ec6cdc13dfcf560ba42cce71d7948174bf800162738e20ba0147cc46a5f6fdde1eb7957a3676a9eca6dccf6603836ed7c755eab238d9f5c73614d9880 +"@next/env@npm:14.2.4": + version: 14.2.4 + resolution: "@next/env@npm:14.2.4" + checksum: ff47297f959c4f4a45393fc84eb2cdef0e92fb07903e1240e061ff71c2319d90d3faf23aa6f8e5747451a26527ab20b483a200845ac9c72629647d67407b15c2 languageName: node linkType: hard -"@next/eslint-plugin-next@npm:14.1.0": - version: 14.1.0 - resolution: "@next/eslint-plugin-next@npm:14.1.0" +"@next/eslint-plugin-next@npm:14.2.4": + version: 14.2.4 + resolution: "@next/eslint-plugin-next@npm:14.2.4" dependencies: glob: 10.3.10 - checksum: 7cd6789f27da102314b5784d4a4ba1a1789349f0c227bf5a90afcbd307bea98ea43b4cb1924fe9e67e11d48d3280eec1a1ca81558b6149e0122545fa37f00470 + checksum: 65929cea46c252490ff2deb9bc57e2e1fab9baf02ece1af043dfd3b3ac58cb12ea7c3adbed8687d2a6c2938c1175338a389a695fe9d072712c77a21b55ed29f6 languageName: node linkType: hard @@ -4576,9 +4576,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-darwin-arm64@npm:14.2.3" +"@next/swc-darwin-arm64@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-darwin-arm64@npm:14.2.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -4590,9 +4590,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-x64@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-darwin-x64@npm:14.2.3" +"@next/swc-darwin-x64@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-darwin-x64@npm:14.2.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -4618,9 +4618,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-arm64-gnu@npm:14.2.3" +"@next/swc-linux-arm64-gnu@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -4632,9 +4632,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-arm64-musl@npm:14.2.3" +"@next/swc-linux-arm64-musl@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -4646,9 +4646,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-x64-gnu@npm:14.2.3" +"@next/swc-linux-x64-gnu@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -4660,9 +4660,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-x64-musl@npm:14.2.3" +"@next/swc-linux-x64-musl@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-x64-musl@npm:14.2.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -4674,9 +4674,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-arm64-msvc@npm:14.2.3" +"@next/swc-win32-arm64-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -4688,9 +4688,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-ia32-msvc@npm:14.2.3" +"@next/swc-win32-ia32-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.4" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -4702,9 +4702,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-x64-msvc@npm:14.2.3" +"@next/swc-win32-x64-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -5618,22 +5618,22 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:24.0.0": - version: 24.0.0 - resolution: "@rollup/plugin-commonjs@npm:24.0.0" +"@rollup/plugin-commonjs@npm:26.0.1": + version: 26.0.1 + resolution: "@rollup/plugin-commonjs@npm:26.0.1" dependencies: "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 estree-walker: ^2.0.2 - glob: ^8.0.3 + glob: ^10.4.1 is-reference: 1.2.1 - magic-string: ^0.27.0 + magic-string: ^0.30.3 peerDependencies: - rollup: ^2.68.0||^3.0.0 + rollup: ^2.68.0||^3.0.0||^4.0.0 peerDependenciesMeta: rollup: optional: true - checksum: e2a1bf295bbb45ab56747f7ce636d4b94046bfecc758a64c7276823b80271e0ba1196642c232aa61d1b1a98abeaddad45486c7227ec19a97d19d16f7661d49a6 + checksum: 88d1349cc2cda4ad6193cce901356e4c14a830497fc01c91f38c94a871b203ffe657b29c9a98cd16787e3a6a8b45169dd0b471cb36d26d645478a177c958779a languageName: node linkType: hard @@ -5670,49 +5670,49 @@ __metadata: languageName: node linkType: hard -"@sentry-internal/browser-utils@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry-internal/browser-utils@npm:8.9.2" +"@sentry-internal/browser-utils@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry-internal/browser-utils@npm:8.10.0" dependencies: - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: d4157d0b8c3de00fc1f1766d15c8319d8191b60009fbab5c3315d6f8a1907792aedef1acd43813548d82b50f69a683a95422d4c421659859e6b999dc6103f453 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: 2d16d83a6cc2e0439231064b9cb5346f1ec0a25c0a580df8d599f645801f125fdb5f7b7c0e287c3734476d685d4cdce7ab4a7f8e7ab8cde98ef55307ce44574f languageName: node linkType: hard -"@sentry-internal/feedback@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry-internal/feedback@npm:8.9.2" +"@sentry-internal/feedback@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry-internal/feedback@npm:8.10.0" dependencies: - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: c5d8f96a4dfdd94e5ab750efdae69ed216031b45e178eaa9e3760d1d5884228c4264a20fcc65b619ddb6e8ef2525ca1cb5b6f86d7a4ab079fa3d96d540d45722 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: b55505600ebf04b5930e1bfb7aae3469c6d48976b860bf16c00af2fb04eb782c7d57f432d8c342cfda637439fc055cc298c3363c8f7919f269959042842ed4cd languageName: node linkType: hard -"@sentry-internal/replay-canvas@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry-internal/replay-canvas@npm:8.9.2" +"@sentry-internal/replay-canvas@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry-internal/replay-canvas@npm:8.10.0" dependencies: - "@sentry-internal/replay": 8.9.2 - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: 3e213378250b5f6156c79feed9dc4e6b39585d6cee231d55bcbd6ddbbc0c6f68e3db93e3273e6fc80983a7f11e4221ce99b14ea8cbfb66a90f15ab6397f25f0a + "@sentry-internal/replay": 8.10.0 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: 482ad986a260489c50b49132682d72d8995ec1dc1d55ab1c64ec64a96865e210b941b914261b58eb0863ab1345ea8580bc7322121ac4b8a708fc718f4777d6b7 languageName: node linkType: hard -"@sentry-internal/replay@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry-internal/replay@npm:8.9.2" +"@sentry-internal/replay@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry-internal/replay@npm:8.10.0" dependencies: - "@sentry-internal/browser-utils": 8.9.2 - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: 9a41f43997a78dd16c75bd5702a038dd8d74334be00a1318f646c6a93397826486c1396ad6ef67d7d0b1fc915f16982974f736c903cf8daf79b7728bbdbae814 + "@sentry-internal/browser-utils": 8.10.0 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: 40055d7641402d85843a1c1de858ad487f0af582771baf65799a686cdfc3da2384f153255bdf5a6293f16e8f77a48f41ce9d029b06610b40b9bd1ea42b77cfa0 languageName: node linkType: hard @@ -5723,18 +5723,18 @@ __metadata: languageName: node linkType: hard -"@sentry/browser@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/browser@npm:8.9.2" +"@sentry/browser@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/browser@npm:8.10.0" dependencies: - "@sentry-internal/browser-utils": 8.9.2 - "@sentry-internal/feedback": 8.9.2 - "@sentry-internal/replay": 8.9.2 - "@sentry-internal/replay-canvas": 8.9.2 - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: 4d979360161f2aa35544a6dc9e43ca6086bd76c6f27ab8343ceb0315b615e25bc001d65cdc0ae8f91be1ea07a23b9e7be2797fc0945c17e99ae182c9b07d8fa3 + "@sentry-internal/browser-utils": 8.10.0 + "@sentry-internal/feedback": 8.10.0 + "@sentry-internal/replay": 8.10.0 + "@sentry-internal/replay-canvas": 8.10.0 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: d92d3ba2c655f7593985c9632fad2a5e88da52459a4ba245ada3d6215b94e896d0de771e625d48dfa522b18293102c9f0b6bb657711eb34e3ad9995da0940c3a languageName: node linkType: hard @@ -5840,29 +5840,29 @@ __metadata: languageName: node linkType: hard -"@sentry/core@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/core@npm:8.9.2" +"@sentry/core@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/core@npm:8.10.0" dependencies: - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: d82247d2a99afd0748c7fd71e9d37e0b605d17a4169118be6456b26e37dab8b560264b577d28de6866e845d228f61940124839cec17bb7c1f8db2a8c334b8c38 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: 7f3ce3504375d6a1c03ba240c72c15b8d8979fbf7457c9cdf493443afaffe31b978d7845d1ab2f308f0d4fe8417aca40e56be8f0aa38efbdb8612c55052c8558 languageName: node linkType: hard -"@sentry/nextjs@npm:^8.9.2": - version: 8.9.2 - resolution: "@sentry/nextjs@npm:8.9.2" +"@sentry/nextjs@npm:^8.10.0": + version: 8.10.0 + resolution: "@sentry/nextjs@npm:8.10.0" dependencies: "@opentelemetry/instrumentation-http": 0.52.0 - "@rollup/plugin-commonjs": 24.0.0 - "@sentry/core": 8.9.2 - "@sentry/node": 8.9.2 - "@sentry/opentelemetry": 8.9.2 - "@sentry/react": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - "@sentry/vercel-edge": 8.9.2 + "@rollup/plugin-commonjs": 26.0.1 + "@sentry/core": 8.10.0 + "@sentry/node": 8.10.0 + "@sentry/opentelemetry": 8.10.0 + "@sentry/react": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + "@sentry/vercel-edge": 8.10.0 "@sentry/webpack-plugin": 2.18.0 chalk: 3.0.0 resolve: 1.22.8 @@ -5875,13 +5875,13 @@ __metadata: peerDependenciesMeta: webpack: optional: true - checksum: 903f5fd3dd08f26e6d2a4a7d0241cd4a22fbfa3af0cf090029d6a7bdc85dd69d2585e6f5e995907a73060dbe0fe8f5c19f9dee0f18c5501ab05ad9eada6f9354 + checksum: 0208319c2c2c31addc162ed15cf5d041cba1e192628c5028ff6cebfb06bcbb8e720a880a3d0f43c4a48e35b4c02a0c0d2486bd2d5fcb17bdf518284efbf49da5 languageName: node linkType: hard -"@sentry/node@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/node@npm:8.9.2" +"@sentry/node@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/node@npm:8.10.0" dependencies: "@opentelemetry/api": ^1.9.0 "@opentelemetry/context-async-hooks": ^1.25.0 @@ -5906,74 +5906,74 @@ __metadata: "@opentelemetry/sdk-trace-base": ^1.25.0 "@opentelemetry/semantic-conventions": ^1.25.0 "@prisma/instrumentation": 5.15.0 - "@sentry/core": 8.9.2 - "@sentry/opentelemetry": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 + "@sentry/core": 8.10.0 + "@sentry/opentelemetry": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 opentelemetry-instrumentation-fetch-node: 1.2.0 dependenciesMeta: opentelemetry-instrumentation-fetch-node: optional: true - checksum: 6d75a094b3dc931417ce8b5a801ace8e92f70d68a3e9a1dd8e18038f81ee66e4a975773f27d956b3797c7c65fce418b8e2e565e8ccdf6a21f7bb58370e6582e8 + checksum: 598a338d6e41bfbcb04b52dbe3bc7618dcc93b10ef461fa77b4325dc61d0fc0f659122b83dc61422492ec761970198324e511a7f4bbd2495b3c7786fe11c876f languageName: node linkType: hard -"@sentry/opentelemetry@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/opentelemetry@npm:8.9.2" +"@sentry/opentelemetry@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/opentelemetry@npm:8.10.0" dependencies: - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 peerDependencies: "@opentelemetry/api": ^1.9.0 "@opentelemetry/core": ^1.25.0 "@opentelemetry/instrumentation": ^0.52.0 "@opentelemetry/sdk-trace-base": ^1.25.0 "@opentelemetry/semantic-conventions": ^1.25.0 - checksum: 5e2960aae2fda479b14b1a8c5e236877cfc67728c23c20b76c51082527ec8e5ae26ff5e0229a94b2109f3d19b36bd00e3ca06b6100bda35b738748f95bf180ab + checksum: be4c08786be780f9343211cc73b2f96298da6da9ac7f7fe8b078bea8e4f12697ac81eb41f4150a50c1e8b40f2d66cd8abddf6376a7aa85b3146b147a80f572ae languageName: node linkType: hard -"@sentry/react@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/react@npm:8.9.2" +"@sentry/react@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/react@npm:8.10.0" dependencies: - "@sentry/browser": 8.9.2 - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 + "@sentry/browser": 8.10.0 + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 hoist-non-react-statics: ^3.3.2 peerDependencies: react: ^16.14.0 || 17.x || 18.x || 19.x - checksum: f7d8c72ab1cc6e5e4047c4566f9623921b06e1b98dd6f5e0463fdd5a41337f2ce1de5cd8e0ccf4610451423613688086f84ea85427ef453b3d9202cf23b7f2ee + checksum: affb4ba11b4fbd605111be6d16d03b881112c7f11469ef397a60fe23be827a339597f3736020f6e0c25237a80c13c6a45e4bbf57abbac8b9d05b388b93877dfe languageName: node linkType: hard -"@sentry/types@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/types@npm:8.9.2" - checksum: 9370ccdb41c50ef94ded851b6a279ce7b9ac5bc2ad2e65b739001715912f65a76f48349c3ddb89367f8b6d25298f38e8a7a874eea77ad30f8488316de5af5c2c +"@sentry/types@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/types@npm:8.10.0" + checksum: afc85129aeaf47bfefa78bb564459d59e8327529a11ba97abf22ad074c7d2e116724fdb41dc94de300baba7793f1ab63654e57f98d9e7205f48713a898f7604b languageName: node linkType: hard -"@sentry/utils@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/utils@npm:8.9.2" +"@sentry/utils@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/utils@npm:8.10.0" dependencies: - "@sentry/types": 8.9.2 - checksum: 132e7d9f0e108841656fc39ee1cce809f3da294d24037c97a4e64d6d96bdbee2d425aca0e892309660ea06feee5ccfa405f29119f88b83c82e644bbd384240d6 + "@sentry/types": 8.10.0 + checksum: e9bd7070a45567b3271c418f43fd0ee61623c608591c8ee5daea7015c937cdffd5883fa216622cf749d0c908aaae1408931517b196113edc36eb74636cff8a86 languageName: node linkType: hard -"@sentry/vercel-edge@npm:8.9.2": - version: 8.9.2 - resolution: "@sentry/vercel-edge@npm:8.9.2" +"@sentry/vercel-edge@npm:8.10.0": + version: 8.10.0 + resolution: "@sentry/vercel-edge@npm:8.10.0" dependencies: - "@sentry/core": 8.9.2 - "@sentry/types": 8.9.2 - "@sentry/utils": 8.9.2 - checksum: 879f07b710cb5e711e6a92844ef008b03f7a437fb620b2c1425a45dae9d4218e936bc1a28a8ebed4f425f17453710187e1fad49de18517c0852db120301ac5bc + "@sentry/core": 8.10.0 + "@sentry/types": 8.10.0 + "@sentry/utils": 8.10.0 + checksum: 41fca379c4011dd2d8f1241c289fffda6d37bae3c5b9bca9ba408669e2e6aa318c514c1bfed452a5a5d706f200a3ac8cdd068018be6b6b699eadeb3cfd58cf9e languageName: node linkType: hard @@ -8623,21 +8623,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0": - version: 6.15.0 - resolution: "@typescript-eslint/parser@npm:6.15.0" +"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/parser@npm:7.2.0" dependencies: - "@typescript-eslint/scope-manager": 6.15.0 - "@typescript-eslint/types": 6.15.0 - "@typescript-eslint/typescript-estree": 6.15.0 - "@typescript-eslint/visitor-keys": 6.15.0 + "@typescript-eslint/scope-manager": 7.2.0 + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/typescript-estree": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 debug: ^4.3.4 peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 6f71b48f208e4d56025cbe3a5b287fe9c31484469e8b2a14a0ab5453cb56223a3c099beb70d298e0ce80de8a23e90aec65865ff8e939233cd0f1c3ffba12f3db + checksum: 21deb2e7ad1fc730f637af08f5c549f30ef5b50f424639f57f5bc01274e648db47c696bb994bb24e87424b593d4084e306447c9431a0c0e4807952996db306f4 languageName: node linkType: hard @@ -8678,13 +8678,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/scope-manager@npm:6.15.0" +"@typescript-eslint/scope-manager@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/scope-manager@npm:7.2.0" dependencies: - "@typescript-eslint/types": 6.15.0 - "@typescript-eslint/visitor-keys": 6.15.0 - checksum: 12316149aae3ad5c7e3411ed7da7fb7d9324df83482d64a93eecbd11063451660cea0fa42ceb026984df7974d770d5f7bc6c77c33e95bc0db0c44e4413f8b756 + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 + checksum: b4ef8e35a56f590fa56cf769e111907828abb4793f482bf57e3fc8c987294ec119acb96359aa4b0150eea7416816e0b2d8635dccd1e4a5c2b02678b0f74def94 languageName: node linkType: hard @@ -8702,10 +8702,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/types@npm:6.15.0" - checksum: 604cf287a339a55c9a82a6e301cf353bb256427b6e29b12ee8901b37d34581761a0dac3ae7e9d78925854e260e5d690ec472b54ca972339820f3db8512864875 +"@typescript-eslint/types@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/types@npm:7.2.0" + checksum: 237acd24aa55b762ee98904e4f422ba86579325200dcd058b3cbfe70775926e7f00ee0295788d81eb728f3a6326fe4401c648aee9eb1480d9030a441c17520e8 languageName: node linkType: hard @@ -8745,21 +8745,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.15.0" +"@typescript-eslint/typescript-estree@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.2.0" dependencies: - "@typescript-eslint/types": 6.15.0 - "@typescript-eslint/visitor-keys": 6.15.0 + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 + minimatch: 9.0.3 semver: ^7.5.4 ts-api-utils: ^1.0.1 peerDependenciesMeta: typescript: optional: true - checksum: fbd11a5acaee3166174fad4cc78cff2ad646411a60ca14e5a50598373302c7bedd76d073ed385b002eb3d6d2a44aea2dd5c74aa65fbef8441a2e079064e67640 + checksum: fe882195cad45bb67e7e127efa9c31977348d0ca923ef26bb9fbd03a2ab64e6772e6e60954ba07a437684fae8e35897d71f0e6a1ef8fbf3f0025cd314960cd9d languageName: node linkType: hard @@ -8801,13 +8802,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.15.0" +"@typescript-eslint/visitor-keys@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.2.0" dependencies: - "@typescript-eslint/types": 6.15.0 + "@typescript-eslint/types": 7.2.0 eslint-visitor-keys: ^3.4.1 - checksum: 1bccc4d4eea6fd10a4ab1daa9e1aaaf790d5f4dd5d02c6e3eb6e83414c086d8d5f14ac44c9fb587b2f7e0dad3e7aeae603158d89dec9ae89652024331bb84fea + checksum: d9b11b52737450f213cea5c6e07e4672684da48325905c096ee09302b6b261c0bb226e1e350011bdf127c0cbbdd9e6474c905befdfa0a2118fc89ece16770f2b languageName: node linkType: hard @@ -12830,13 +12831,13 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:14.1.0": - version: 14.1.0 - resolution: "eslint-config-next@npm:14.1.0" +"eslint-config-next@npm:14.2.4": + version: 14.2.4 + resolution: "eslint-config-next@npm:14.2.4" dependencies: - "@next/eslint-plugin-next": 14.1.0 + "@next/eslint-plugin-next": 14.2.4 "@rushstack/eslint-patch": ^1.3.3 - "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 + "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0 eslint-import-resolver-node: ^0.3.6 eslint-import-resolver-typescript: ^3.5.2 eslint-plugin-import: ^2.28.1 @@ -12849,7 +12850,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 6275f6bd05d0db34e11bda22efc88f56a3f10e2620cbaaad001016497d87b9cf9814ca9ddbf8f4ecd1456e6a2a486e5f12806602aac488b167a240488fe07611 + checksum: 408ab113ecfdfa2de376ef9d23445cb80b66090ef3ab69b5ff4e5d14e83e85f9671a2edb05c8fced9555f6f3602ab0095579facef67ea50dba066a2156d201da languageName: node linkType: hard @@ -14817,6 +14818,22 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.4.1": + version: 10.4.2 + resolution: "glob@npm:10.4.2" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^3.1.2 + minimatch: ^9.0.4 + minipass: ^7.1.2 + package-json-from-dist: ^1.0.0 + path-scurry: ^1.11.1 + bin: + glob: dist/esm/bin.mjs + checksum: bd7c0e30701136e936f414e5f6f82c7f04503f01df77408f177aa584927412f0bde0338e6ec541618cd21eacc57dde33e7b3c6c0a779cc1c6e6a0e14f3d15d9b + languageName: node + linkType: hard + "glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -16661,6 +16678,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^3.1.2": + version: 3.4.0 + resolution: "jackspeak@npm:3.4.0" + dependencies: + "@isaacs/cliui": ^8.0.2 + "@pkgjs/parseargs": ^0.11.0 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 350f6f311018bb175ffbe736b19c26ac0b134bb5a17a638169e89594eb0c24ab1c658ab3a2fda24ff63b3b19292e1a5ec19d2255bc526df704e8168d392bef85 + languageName: node + linkType: hard + "jake@npm:^10.8.5": version: 10.8.7 resolution: "jake@npm:10.8.7" @@ -18195,6 +18225,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.30.3": + version: 0.30.10 + resolution: "magic-string@npm:0.30.10" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.15 + checksum: 456fd47c39b296c47dff967e1965121ace35417eab7f45a99e681e725b8661b48e1573c366ee67a27715025b3740773c46b088f115421c7365ea4ea6fa10d399 + languageName: node + linkType: hard + "make-dir@npm:^2.0.0, make-dir@npm:^2.1.0": version: 2.1.0 resolution: "make-dir@npm:2.1.0" @@ -18578,6 +18617,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:9.0.3, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: ^2.0.1 + checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + languageName: node + linkType: hard + "minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -18605,12 +18653,12 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" +"minimatch@npm:^9.0.4": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" dependencies: brace-expansion: ^2.0.1 - checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + checksum: cf717f597ec3eed7dabc33153482a2e8d49f4fd3c26e58fd9c71a94c5029a0838728841b93f46bf1263b65a8010e2ee800d0dc9b004ab8ba8b6d1ec07cc115b5 languageName: node linkType: hard @@ -18733,6 +18781,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: 2bfd325b95c555f2b4d2814d49325691c7bee937d753814861b0b49d5edcda55cbbf22b6b6a60bb91eddac8668771f03c5ff647dcd9d0f798e9548b9cdc46ee3 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -18972,20 +19027,20 @@ __metadata: languageName: node linkType: hard -"next@npm:14.2.3": - version: 14.2.3 - resolution: "next@npm:14.2.3" +"next@npm:14.2.4": + version: 14.2.4 + resolution: "next@npm:14.2.4" dependencies: - "@next/env": 14.2.3 - "@next/swc-darwin-arm64": 14.2.3 - "@next/swc-darwin-x64": 14.2.3 - "@next/swc-linux-arm64-gnu": 14.2.3 - "@next/swc-linux-arm64-musl": 14.2.3 - "@next/swc-linux-x64-gnu": 14.2.3 - "@next/swc-linux-x64-musl": 14.2.3 - "@next/swc-win32-arm64-msvc": 14.2.3 - "@next/swc-win32-ia32-msvc": 14.2.3 - "@next/swc-win32-x64-msvc": 14.2.3 + "@next/env": 14.2.4 + "@next/swc-darwin-arm64": 14.2.4 + "@next/swc-darwin-x64": 14.2.4 + "@next/swc-linux-arm64-gnu": 14.2.4 + "@next/swc-linux-arm64-musl": 14.2.4 + "@next/swc-linux-x64-gnu": 14.2.4 + "@next/swc-linux-x64-musl": 14.2.4 + "@next/swc-win32-arm64-msvc": 14.2.4 + "@next/swc-win32-ia32-msvc": 14.2.4 + "@next/swc-win32-x64-msvc": 14.2.4 "@swc/helpers": 0.5.5 busboy: 1.6.0 caniuse-lite: ^1.0.30001579 @@ -19026,7 +19081,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: d34ea63adf23fe46efebe2a9c536c9127c0ee006d74c60d6d23aecbef650798c976b27c17910ca585f3bb1223b10924cb429b9ce930f3074aee1170d1519dccc + checksum: 3b858cfec2e061d811811921361855659b09424ea4178cf0f4a0bbe5d3978b45da6f04575fe213d76e47f626439db61591b79932f37ff984b7b7de87dd1ccce0 languageName: node linkType: hard @@ -20066,6 +20121,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: ac706ec856a5a03f5261e4e48fa974f24feb044d51f84f8332e2af0af04fbdbdd5bbbfb9cbbe354190409bc8307c83a9e38c6672c3c8855f709afb0006a009ea + languageName: node + linkType: hard + "pacote@npm:^13.0.3, pacote@npm:^13.6.1": version: 13.6.2 resolution: "pacote@npm:13.6.2" @@ -20290,7 +20352,7 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.6.1": +"path-scurry@npm:^1.11.1, path-scurry@npm:^1.6.1": version: 1.11.1 resolution: "path-scurry@npm:1.11.1" dependencies: