From a7fe5eceef880ec4db161174eb2485fcf922f26b Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Sat, 20 Jul 2024 14:20:41 +0200 Subject: [PATCH] chore: upgrade sentry --- apps/client/package.json | 2 +- apps/client/src/index.tsx | 2 +- pnpm-lock.yaml | 187 ++++++++++++++++++++------------------ 3 files changed, 102 insertions(+), 89 deletions(-) diff --git a/apps/client/package.json b/apps/client/package.json index daad8924a..e228f3f49 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -13,7 +13,7 @@ "@fontsource/open-sans": "^5.0.28", "@mantine/hooks": "^7.6.2", "@react-icons/all-files": "^4.1.0", - "@sentry/react": "^7.92.0", + "@sentry/react": "^8.19.0", "@tanstack/react-query": "^5.17.9", "@tanstack/react-query-devtools": "^5.17.9", "@tanstack/react-table": "^8.11.3", diff --git a/apps/client/src/index.tsx b/apps/client/src/index.tsx index dedd9d058..39397ccc3 100644 --- a/apps/client/src/index.tsx +++ b/apps/client/src/index.tsx @@ -38,7 +38,7 @@ const sentryRecommendedIgnore = [ Sentry.init({ dsn: 'https://5e4d2c4b57ab409cb98d4c08b2014755@o4504288369836032.ingest.sentry.io/4504288371343360', - integrations: [new Sentry.BrowserTracing()], + integrations: [Sentry.browserTracingIntegration()], tracesSampleRate: 0.3, release: ONTIME_VERSION, enabled: import.meta.env.PROD, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d7794707..ba3dcddb4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,33 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -catalogs: - default: - '@types/node': - specifier: 20.14.10 - version: 20.14.10 - '@typescript-eslint/eslint-plugin': - specifier: 7.16.1 - version: 7.16.1 - '@typescript-eslint/parser': - specifier: 7.16.1 - version: 7.16.1 - eslint: - specifier: 8.56.0 - version: 8.56.0 - eslint-config-prettier: - specifier: 9.1.0 - version: 9.1.0 - eslint-plugin-prettier: - specifier: 5.1.3 - version: 5.1.3 - prettier: - specifier: 3.3.1 - version: 3.3.1 - typescript: - specifier: 5.5.3 - version: 5.5.3 - importers: .: @@ -111,8 +84,8 @@ importers: specifier: ^4.1.0 version: 4.1.0(react@18.2.0) '@sentry/react': - specifier: ^7.92.0 - version: 7.92.0(react@18.2.0) + specifier: ^8.19.0 + version: 8.19.0(react@18.2.0) '@tanstack/react-query': specifier: ^5.17.9 version: 5.17.9(react@18.2.0) @@ -1803,21 +1776,29 @@ packages: cpu: [x64] os: [win32] - '@sentry-internal/feedback@7.92.0': - resolution: {integrity: sha512-/jEALRtVqboxB9kcK2tag8QCO6XANTlGBb9RV3oeGXJe0DDNJXRq6wVZbfgztXJRrfgx4XVDcNt1pRVoGGG++g==} - engines: {node: '>=12'} + '@sentry-internal/browser-utils@8.19.0': + resolution: {integrity: sha512-kM/2KlikKuBR63nFi2q7MGS3V9K9hakjvUknhr/jHZqDVfEuBKmp1ZlHFAdJtglKHHJy07gPj/XqDH7BbYh5yg==} + engines: {node: '>=14.18'} - '@sentry-internal/tracing@7.92.0': - resolution: {integrity: sha512-ur55vPcUUUWFUX4eVLNP71ohswK7ZZpleNZw9Y1GfLqyI+0ILQUwjtzqItJrdClvVsdRZJMRmDV40Hp9Lbb9mA==} - engines: {node: '>=8'} + '@sentry-internal/feedback@8.19.0': + resolution: {integrity: sha512-Jc77H8fEaGcBhERc2U/o7Q8CZHvlZLT9vAlzq0ZZR20v/1vwYcJW1ysKfTuvmw22hCR6ukhFNl6pqJocXFVhvA==} + engines: {node: '>=14.18'} + + '@sentry-internal/replay-canvas@8.19.0': + resolution: {integrity: sha512-l4pKJDHrXEctxrK7Xme/+fKToXpGwr/G2t77BzeE1WEw9LwSwADz/hi8HoMdZzuKWriM2BNbz20tpVS84sODxA==} + engines: {node: '>=14.18'} + + '@sentry-internal/replay@8.19.0': + resolution: {integrity: sha512-EW9e1J6XbqXUXQST1AfSIzT9O8OwPyeFOkhkn9/gqOQv08TJvQEIBtWJEoJS+XFMEUuB8IqIzVWNVko/DnGt9A==} + engines: {node: '>=14.18'} '@sentry/babel-plugin-component-annotate@2.16.1': resolution: {integrity: sha512-pJka66URsqQbk6hTs9H1XFpUeI0xxuqLYf9Dy5pRGNHSJMtfv91U+CaYSWt03aRRMGDXMduh62zAAY7Wf0HO+A==} engines: {node: '>= 14'} - '@sentry/browser@7.92.0': - resolution: {integrity: sha512-loMr02/zQ38u8aQhYLtIBg0i5n3ps2e3GUXrt3CdsJQdkRYfa62gcrE7SzvoEpMVHTk7VOI4fWGht8cWw/1k3A==} - engines: {node: '>=8'} + '@sentry/browser@8.19.0': + resolution: {integrity: sha512-ZC1HxIFm4TIGONyy9MkPG6Dw8IAhzq43t5mq9PqrB1ehuWj8GX6Vk3E26kuc2sydAm4AXbj0562OmvZHsAJpUA==} + engines: {node: '>=14.18'} '@sentry/bundler-plugin-core@2.16.1': resolution: {integrity: sha512-n6z8Ts3T9HROLuY7tVEYpBKvS+P7+b8NdqxP7QBcwp2nuPUlN5Ola1ivFjk1p5a7wRYeN9zM8orGe4l2HeNfYA==} @@ -1869,27 +1850,23 @@ packages: engines: {node: '>= 10'} hasBin: true - '@sentry/core@7.92.0': - resolution: {integrity: sha512-1Tly7YB2I1byI5xb0Cwrxs56Rhww+6mQ7m9P7rTmdC3/ijOzbEoohtYIUPwcooCEarpbEJe/tAayRx6BrH2UbQ==} - engines: {node: '>=8'} + '@sentry/core@8.19.0': + resolution: {integrity: sha512-MrgjsZCEjOJgQjIznnDSrLEy7qL+4LVpNieAvr49cV1rzBNSwGmWRnt/puVaPsLyCUgupVx/43BPUHB/HtKNUw==} + engines: {node: '>=14.18'} - '@sentry/react@7.92.0': - resolution: {integrity: sha512-lTvrLuvxtGEZbkW6NHru03K6eyixKyBliwiLwO+k37FK7Ha8Bwat2m77weyizWCdQ6DKlVazJNppkNeAlACIvQ==} - engines: {node: '>=8'} + '@sentry/react@8.19.0': + resolution: {integrity: sha512-MzuMy4AEdSuIrBEyp3W7c4+v215+2MiU9ba7Y0KBKcC/Nrf1cGfRFRbjl9OYm/JIuxkaop7kgYs6sPMrVJVlrQ==} + engines: {node: '>=14.18'} peerDependencies: - react: 15.x || 16.x || 17.x || 18.x + react: ^16.14.0 || 17.x || 18.x || 19.x - '@sentry/replay@7.92.0': - resolution: {integrity: sha512-G1t9Uvc9cR8VpNkElwvHIMGzykjIKikb10n0tfVd3e+rBPMCCjCPWOduwG6jZYxcvCjTpqmJh6NSLXxL/Mt4JA==} - engines: {node: '>=12'} + '@sentry/types@8.19.0': + resolution: {integrity: sha512-52C8X5V7mK2KIxMJt8MV5TxXAFHqrQR1RKm1oPTwKVWm8hKr1ZYJXINymNrWvpAc3oVIKLC/sa9WFYgXQh+YlA==} + engines: {node: '>=14.18'} - '@sentry/types@7.92.0': - resolution: {integrity: sha512-APmSOuZuoRGpbPpPeYIbMSplPjiWNLZRQa73QiXuTflW4Tu/ItDlU8hOa2+A6JKVkJCuD2EN6yUrxDGSMyNXeg==} - engines: {node: '>=8'} - - '@sentry/utils@7.92.0': - resolution: {integrity: sha512-3nEfrQ1z28b/2zgFGANPh5yMVtgwXmrasZxTvKbrAj+KWJpjrJHrIR84r9W277J44NMeZ5RhRW2uoDmuBslPnA==} - engines: {node: '>=8'} + '@sentry/utils@8.19.0': + resolution: {integrity: sha512-8dWJJKaUN6Hf92Oxw2TBmHchGua2W3ZmonrZTTwLvl06jcAigbiQD0MGuF5ytZP8PHx860orV+SbTGKFzfU3Pg==} + engines: {node: '>=14.18'} '@sentry/vite-plugin@2.16.1': resolution: {integrity: sha512-RSIyeqFG3PR5iJsZnagQxzOhM22z1Kh9DG+HQQsfVrxokzrWKRu/G17O2MIDh2I5iYEaL0Fkd/9RAXE4/b0aVg==} @@ -5450,6 +5427,33 @@ packages: react: optional: true +catalogs: + default: + '@types/node': + specifier: 20.14.10 + version: 20.14.10 + '@typescript-eslint/eslint-plugin': + specifier: 7.16.1 + version: 7.16.1 + '@typescript-eslint/parser': + specifier: 7.16.1 + version: 7.16.1 + eslint: + specifier: 8.56.0 + version: 8.56.0 + eslint-config-prettier: + specifier: 9.1.0 + version: 9.1.0 + eslint-plugin-prettier: + specifier: 5.1.3 + version: 5.1.3 + prettier: + specifier: 3.3.1 + version: 3.3.1 + typescript: + specifier: 5.5.3 + version: 5.5.3 + snapshots: 7zip-bin@5.2.0: {} @@ -6889,28 +6893,43 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.17.2': optional: true - '@sentry-internal/feedback@7.92.0': + '@sentry-internal/browser-utils@8.19.0': dependencies: - '@sentry/core': 7.92.0 - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 - '@sentry-internal/tracing@7.92.0': + '@sentry-internal/feedback@8.19.0': dependencies: - '@sentry/core': 7.92.0 - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 + + '@sentry-internal/replay-canvas@8.19.0': + dependencies: + '@sentry-internal/replay': 8.19.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 + + '@sentry-internal/replay@8.19.0': + dependencies: + '@sentry-internal/browser-utils': 8.19.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 '@sentry/babel-plugin-component-annotate@2.16.1': {} - '@sentry/browser@7.92.0': + '@sentry/browser@8.19.0': dependencies: - '@sentry-internal/feedback': 7.92.0 - '@sentry-internal/tracing': 7.92.0 - '@sentry/core': 7.92.0 - '@sentry/replay': 7.92.0 - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry-internal/browser-utils': 8.19.0 + '@sentry-internal/feedback': 8.19.0 + '@sentry-internal/replay': 8.19.0 + '@sentry-internal/replay-canvas': 8.19.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 '@sentry/bundler-plugin-core@2.16.1': dependencies: @@ -6966,31 +6985,25 @@ snapshots: - encoding - supports-color - '@sentry/core@7.92.0': + '@sentry/core@8.19.0': dependencies: - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 - '@sentry/react@7.92.0(react@18.2.0)': + '@sentry/react@8.19.0(react@18.2.0)': dependencies: - '@sentry/browser': 7.92.0 - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry/browser': 8.19.0 + '@sentry/core': 8.19.0 + '@sentry/types': 8.19.0 + '@sentry/utils': 8.19.0 hoist-non-react-statics: 3.3.2 react: 18.2.0 - '@sentry/replay@7.92.0': - dependencies: - '@sentry-internal/tracing': 7.92.0 - '@sentry/core': 7.92.0 - '@sentry/types': 7.92.0 - '@sentry/utils': 7.92.0 + '@sentry/types@8.19.0': {} - '@sentry/types@7.92.0': {} - - '@sentry/utils@7.92.0': + '@sentry/utils@8.19.0': dependencies: - '@sentry/types': 7.92.0 + '@sentry/types': 8.19.0 '@sentry/vite-plugin@2.16.1': dependencies: