fix(deps): update dependency @sentry/browser to v8

This commit is contained in:
Renovate
2024-05-21 13:58:45 +00:00
parent 9773d71ca0
commit 08debebb3b
3 changed files with 60 additions and 126 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
"@auth0/auth0-vue": "^2.3.3",
"@mdi/font": "^7.4.47",
"@pinia/nuxt": "^0.5.1",
"@sentry/browser": "^7.102.1",
"@sentry/browser": "^8.0.0",
"@vue/apollo-composable": "^4.0.1",
"apollo-link-sentry": "^4.0.0",
"date-fns": "^3.3.1",
+2 -38
View File
@@ -1,6 +1,5 @@
import {
ApolloClient,
ApolloLink,
createHttpLink,
from,
InMemoryCache,
@@ -67,40 +66,7 @@ const authLink = setContext(async (_, { headers }) => {
}))
})
const traceHeaders = setContext((_, { headers }) => {
const th = Sentry.getCurrentHub().traceHeaders()
return {
headers: {
...headers,
...th,
},
}
})
const sentryTransactionLink = new ApolloLink((operation, forward) => {
const existingTransaction = Sentry.getCurrentHub()
.getScope()
?.getTransaction()
// Create a transaction if one does not exist in order to work around
// https://github.com/getsentry/sentry-javascript/issues/3169
// https://github.com/getsentry/sentry-javascript/issues/4072
const transaction =
existingTransaction ??
Sentry.startTransaction({
name: `Apollo Request: ${operation.operationName}`,
})
Sentry.getCurrentHub().configureScope((scope) => scope.setSpan(transaction))
operation.setContext({ tracing: { transaction } })
return forward(operation).map((data) => {
operation.getContext().tracing?.transaction?.finish()
return data
})
})
const link = sentryTransactionLink.concat(
traceHeaders.concat(
const link =
from([
new SentryLink({}),
split(
@@ -114,9 +80,7 @@ const link = sentryTransactionLink.concat(
authLink.concat(wsLink),
authLink.concat(httpLink),
),
]),
),
)
])
const instance = new ApolloClient({
connectToDevTools: true,
+57 -87
View File
@@ -2678,87 +2678,76 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.14.0.tgz#0bb7ac3cd1c3292db1f39afdabfd03ccea3a3d34"
integrity sha512-aGg7iToJjdklmxlUlJh/PaPNa4PmqHfyRMLunbL3eaMO0gp656+q1zOKkpJ/CVe9CryJv6tAN1HDoR8cNGzkag==
"@sentry-internal/feedback@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.116.0.tgz#f1352b1a0d5fd7b7167775330ccf03bcc1b7892b"
integrity sha512-tmfO+RTCrhIWMs3yg8X0axhbjWRZLsldSfoXBgfjNCk/XwkYiVGp7WnYVbb+IO+01mHCsis9uaYOBggLgFRB5Q==
"@sentry-internal/browser-utils@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.2.1.tgz#906eb450da146693cb0dc5f42c01937f368bebec"
integrity sha512-jWueDzeb+LPEMfnJ5OR4YM5+PVnWbBI35DNwbT0TMiHNsqFjp2xtWAr8rpK9OayuLXEe5YtcoeyTUwU5c6i3DA==
dependencies:
"@sentry/core" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry/core" "8.2.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry-internal/replay-canvas@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.116.0.tgz#1cd4a85f99dd3cd61120e087232f5cbea21d5eb2"
integrity sha512-Sy0ydY7A97JY/IFTIj8U25kHqR5rL9oBk3HFE5EK9Phw56irVhHzEwLWae0jlFeCQEWoBYqpPgO5vXsaYzrWvw==
"@sentry-internal/feedback@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.2.1.tgz#39f6802625b88e5f3fb32e2c3f7f2ed874473d33"
integrity sha512-HN2ys/dvisKmUybO3U6DwhutXujwZP+9bbuhBQWex7wu+iZrkIxT8TVb9Vye2Q0nsxupwD43dSzpKdGYBwx5XQ==
dependencies:
"@sentry/core" "7.116.0"
"@sentry/replay" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry/core" "8.2.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry-internal/tracing@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.116.0.tgz#af3e4e264c440aa5525b5877a10b9a0f870b40e3"
integrity sha512-y5ppEmoOlfr77c/HqsEXR72092qmGYS4QE5gSz5UZFn9CiinEwGfEorcg2xIrrCuU7Ry/ZU2VLz9q3xd04drRA==
"@sentry-internal/replay-canvas@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.2.1.tgz#608dd3d3722600bb71a05816ad46635eb3f0b8d3"
integrity sha512-pP/ga8BR1qYDFnmhfNO+eruNjjpYeeB84mc/vfeZz0Ah5zh5LuaH/BIQM/jW615Ts77H82RFNdXYSwESz9AWPw==
dependencies:
"@sentry/core" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry-internal/replay" "8.2.1"
"@sentry/core" "8.2.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry/browser@^7.102.1":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.116.0.tgz#950c1a9672bf886c556c2c7b9198b90189e3f0c2"
integrity sha512-2aosATT5qE+QLKgTmyF9t5Emsluy1MBczYNuPmLhDxGNfB+MA86S8u7Hb0CpxdwjS0nt14gmbiOtJHoeAF3uTw==
"@sentry-internal/replay@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.2.1.tgz#8812d2dbc8af8cd983e6304a18ecf21e154e2512"
integrity sha512-Jwpbig9jJ4WoLpaZ/jhQRqI0ND9gPf+MrwXCDYf2NgKnvaKjbQiv0/DGVMpKdLZiasGqoEU3POI/UGd+GzTuxw==
dependencies:
"@sentry-internal/feedback" "7.116.0"
"@sentry-internal/replay-canvas" "7.116.0"
"@sentry-internal/tracing" "7.116.0"
"@sentry/core" "7.116.0"
"@sentry/integrations" "7.116.0"
"@sentry/replay" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry-internal/browser-utils" "8.2.1"
"@sentry/core" "8.2.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry/core@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.116.0.tgz#7cff43134878a696b2b3b981ae384ec3db9ac8c3"
integrity sha512-J6Wmjjx+o7RwST0weTU1KaKUAlzbc8MGkJV1rcHM9xjNTWTva+nrcCM3vFBagnk2Gm/zhwv3h0PvWEqVyp3U1Q==
"@sentry/browser@^8.0.0":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.2.1.tgz#9e52cf79413b74cdee8f56504ee1eb82a7a7ea11"
integrity sha512-s9LcHtHOCYQYCnHYMJOcVbSQLeYRjAogskCCLNjVcxpBcfDU+fXnabRZq1rvH3IZnOogp3O6kvIgmLuO3yOBTw==
dependencies:
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry-internal/browser-utils" "8.2.1"
"@sentry-internal/feedback" "8.2.1"
"@sentry-internal/replay" "8.2.1"
"@sentry-internal/replay-canvas" "8.2.1"
"@sentry/core" "8.2.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry/integrations@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.116.0.tgz#b641342249da76cd2feb2fb5511424b66f967449"
integrity sha512-UZb60gaF+7veh1Yv79RiGvgGYOnU6xA97H+hI6tKgc1uT20YpItO4X56Vhp0lvyEyUGFZzBRRH1jpMDPNGPkqw==
"@sentry/core@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.2.1.tgz#0f559e9c283d01b79cf37901e22319a4f6c42e88"
integrity sha512-xHS+DGZodTwXkoqe35UnNR9zWZ7I8pptXGxHntPrNnd/PmXK3ysj4NsRBshtSzDX3gWfwUsMN+vmjrYSwcfYeQ==
dependencies:
"@sentry/core" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
localforage "^1.8.1"
"@sentry/types" "8.2.1"
"@sentry/utils" "8.2.1"
"@sentry/replay@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.116.0.tgz#cde921133c8927be92d60baf03c2b0aea73380f1"
integrity sha512-OrpDtV54pmwZuKp3g7PDiJg6ruRMJKOCzK08TF7IPsKrr4x4UQn56rzMOiABVuTjuS8lNfAWDar6c6vxXFz5KA==
"@sentry/types@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.2.1.tgz#00b4600424e453cd42306b5e404f5d190eba44b8"
integrity sha512-22ZuANU6Dj/XSvaGhcmNTKD+6WcMc7Zn5uKd8Oj7YcuME6rOnrU8dPGEVwbGTQkE87mTDjVTDSxl8ipb0L+Eag==
"@sentry/utils@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.2.1.tgz#adbd9b2a7f94e2701ba24b826450d5c0747c8765"
integrity sha512-qFeiCdo+QUVpwNSwe63LOPEKc8GWmJ051twtV3tfZ62XgUYOOi2C0qC6mliY3+GKiGVV8fQE6S930nM//j7G1w==
dependencies:
"@sentry-internal/tracing" "7.116.0"
"@sentry/core" "7.116.0"
"@sentry/types" "7.116.0"
"@sentry/utils" "7.116.0"
"@sentry/types@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.116.0.tgz#0be3434e7e53c86db4993e668af1c3a65bfb7519"
integrity sha512-QCCvG5QuQrwgKzV11lolNQPP2k67Q6HHD9vllZ/C4dkxkjoIym8Gy+1OgAN3wjsR0f/kG9o5iZyglgNpUVRapQ==
"@sentry/utils@7.116.0":
version "7.116.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.116.0.tgz#f32463ab10f76f464274233a9df202e5357d17ff"
integrity sha512-Vn9fcvwTq91wJvCd7WTMWozimqMi+dEZ3ie3EICELC2diONcN16ADFdzn65CQQbYwmUzRjN9EjDN2k41pKZWhQ==
dependencies:
"@sentry/types" "7.116.0"
"@sentry/types" "8.2.1"
"@shikijs/core@1.3.0":
version "1.3.0"
@@ -6527,11 +6516,6 @@ image-meta@^0.2.0:
resolved "https://registry.yarnpkg.com/image-meta/-/image-meta-0.2.0.tgz#ea28d05d52f5ad35f75b14f46278a44d626f48bc"
integrity sha512-ZBGjl0ZMEMeOC3Ns0wUF/5UdUmr3qQhBSCniT0LxOgGGIRHiNFOkMtIHB7EOznRU47V2AxPgiVP+s+0/UCU0Hg==
immediate@~3.0.5:
version "3.0.6"
resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"
integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==
immutable@^4.0.0:
version "4.3.6"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.6.tgz#6a05f7858213238e587fb83586ffa3b4b27f0447"
@@ -7227,13 +7211,6 @@ levn@^0.4.1:
prelude-ls "^1.2.1"
type-check "~0.4.0"
lie@3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e"
integrity sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==
dependencies:
immediate "~3.0.5"
lilconfig@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.1.1.tgz#9d8a246fa753106cfc205fd2d77042faca56e5e3"
@@ -7295,13 +7272,6 @@ local-pkg@^0.5.0:
mlly "^1.4.2"
pkg-types "^1.0.3"
localforage@^1.8.1:
version "1.10.0"
resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.10.0.tgz#5c465dc5f62b2807c3a84c0c6a1b1b3212781dd4"
integrity sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==
dependencies:
lie "3.1.1"
locate-path@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"