From a665f028c22f5562e25ba6bf643843ccd02c45dd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:23:54 +0000 Subject: [PATCH] Update dependency @sentry/browser to v7.94.1 (#12171) * Update dependency @sentry/browser to v7.94.1 * Fix types Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- src/sentry.ts | 3 +- yarn.lock | 103 ++++++++++++++++++++++++++++---------------------- 2 files changed, 59 insertions(+), 47 deletions(-) diff --git a/src/sentry.ts b/src/sentry.ts index 3db8753f5b..5466cdff9a 100644 --- a/src/sentry.ts +++ b/src/sentry.ts @@ -16,6 +16,7 @@ limitations under the License. import * as Sentry from "@sentry/browser"; import { MatrixClient } from "matrix-js-sdk/src/matrix"; +import { type Integration } from "@sentry/types/types/integration"; import SdkConfig from "./SdkConfig"; import { MatrixClientPeg } from "./MatrixClientPeg"; @@ -203,7 +204,7 @@ export function setSentryUser(mxid: string): void { export async function initSentry(sentryConfig: IConfigOptions["sentry"]): Promise { if (!sentryConfig) return; // Only enable Integrations.GlobalHandlers, which hooks uncaught exceptions, if automaticErrorReporting is true - const integrations = [ + const integrations: Integration[] = [ new Sentry.Integrations.InboundFilters(), new Sentry.Integrations.FunctionToString(), new Sentry.Integrations.Breadcrumbs(), diff --git a/yarn.lock b/yarn.lock index 93128f829e..5379cbc354 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2364,65 +2364,76 @@ dependencies: "@babel/runtime" "^7.13.10" -"@sentry-internal/feedback@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.93.0.tgz#c6648ce625792c72d7afdbee8f5db878c7f16fee" - integrity sha512-4G7rMeQbYGfCHxEoFroABX+UREYc2BSbFqjLmLbIcWowSpgzcwweLLphWHKOciqK6f7DnNDK0jZzx3u7NrkWHw== +"@sentry-internal/feedback@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.95.0.tgz#7f85d3888df542e697ecbb1035153794e149c58d" + integrity sha512-UWNUUg+OrhV58/ChQNY0yLCCYdEI2cIYVwq1riZ+AFU9Z2ZyCxEoSRVLh7c5tnCPLbKAPR+VvlEsSjMqucAKnA== dependencies: - "@sentry/core" "7.93.0" - "@sentry/types" "7.93.0" - "@sentry/utils" "7.93.0" + "@sentry/core" "7.95.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" -"@sentry-internal/tracing@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.93.0.tgz#8cee8b610695d828af75edd2929b64b7caf0385d" - integrity sha512-DjuhmQNywPp+8fxC9dvhGrqgsUb6wI/HQp25lS2Re7VxL1swCasvpkg8EOYP4iBniVQ86QK0uITkOIRc5tdY1w== +"@sentry-internal/replay-canvas@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.95.0.tgz#1492ba099aa395b41e95b789624a1dcebfbe6a53" + integrity sha512-nK+VYLnhlxLnnEUPMnzN8BSCFXPy2dQ5OVFO+fiTNPlGCbxsq8O9SnkX6E+u1oPLSA/151s2B3VxIasR8bXJAQ== dependencies: - "@sentry/core" "7.93.0" - "@sentry/types" "7.93.0" - "@sentry/utils" "7.93.0" + "@sentry/core" "7.95.0" + "@sentry/replay" "7.95.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" + +"@sentry-internal/tracing@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.95.0.tgz#d439ac65bc612ec9a808ad39a2088d1577c17a18" + integrity sha512-YKiLPMnEgTsTh7u/W1Zep9HtV1rJqAetqJ4ekaIxyUUB6ppi6V00MacSjb01o++fwlNNDYFxNpJlgQqNPqsCNA== + dependencies: + "@sentry/core" "7.95.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" "@sentry/browser@^7.0.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.93.0.tgz#acb559125ab0576091a3fc9718e520ba9b2eb1b9" - integrity sha512-MtLTcQ7y3rfk+aIvnnwCfSJvYhTJnIJi+Mf6y/ap6SKObdlsKMbQoJLlRViglGLq+nKxHLAvU0fONiCEmKfV6A== + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.95.0.tgz#40a3928b1196535795a0e86ad2192c804349abad" + integrity sha512-J+bAryc/7StRZSeaJByLTnEslWu7uXaZ1zERQF17sZbRxvbyaYbAO7cqSUKZ1gK3p9QfrkqzNl7xA8thg4FtHQ== dependencies: - "@sentry-internal/feedback" "7.93.0" - "@sentry-internal/tracing" "7.93.0" - "@sentry/core" "7.93.0" - "@sentry/replay" "7.93.0" - "@sentry/types" "7.93.0" - "@sentry/utils" "7.93.0" + "@sentry-internal/feedback" "7.95.0" + "@sentry-internal/replay-canvas" "7.95.0" + "@sentry-internal/tracing" "7.95.0" + "@sentry/core" "7.95.0" + "@sentry/replay" "7.95.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" -"@sentry/core@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.93.0.tgz#50a14bf305130dfef51810e4c97fcba4972a57ef" - integrity sha512-vZQSUiDn73n+yu2fEcH+Wpm4GbRmtxmnXnYCPgM6IjnXqkVm3awWAkzrheADblx3kmxrRiOlTXYHw9NTWs56fg== +"@sentry/core@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.95.0.tgz#b16a4d82cdcaa3b330091dd624a4416e63d157ab" + integrity sha512-z+ffO6jK/ZUxnRbBGmnj5sOouKZ4mvRY0KJa33kbyqcmeiJKrN81M7Ecj1IJUCamo/6RqX0GCwDDxgUPZZZBwA== dependencies: - "@sentry/types" "7.93.0" - "@sentry/utils" "7.93.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" -"@sentry/replay@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.93.0.tgz#55e3c424cd5529041fbc987e4c2e74e30a94b1b8" - integrity sha512-dMlLU8v+OkUeGCrPvTu5NriH7BGj3el4rGHWWAYicfJ2QXqTTq50vfasQBP1JeVNcFqnf1y653TdEIvo4RH4tw== +"@sentry/replay@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.95.0.tgz#a4d6c03cb77893ab7677eadde8ff237ba61ce862" + integrity sha512-WAAEvWCXoNC7hfPI1fNoxODB9UzUYhXtscrWIm89Mn3AAi8haayVNNiUWKVj6+Vpt87C+/sb9UsERwdPWpl/Sw== dependencies: - "@sentry-internal/tracing" "7.93.0" - "@sentry/core" "7.93.0" - "@sentry/types" "7.93.0" - "@sentry/utils" "7.93.0" + "@sentry-internal/tracing" "7.95.0" + "@sentry/core" "7.95.0" + "@sentry/types" "7.95.0" + "@sentry/utils" "7.95.0" -"@sentry/types@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.93.0.tgz#d76d26259b40cd0688e1d634462fbff31476c1ec" - integrity sha512-UnzUccNakhFRA/esWBWP+0v7cjNg+RilFBQC03Mv9OEMaZaS29zSbcOGtRzuFOXXLBdbr44BWADqpz3VW0XaNw== +"@sentry/types@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.95.0.tgz#94fbde10eaec4949d81ca9e3f6fe1d1cc0b2d9e5" + integrity sha512-ouU7NsEcrwmcnXHMNBGmKZEmKMzmgPGoBydZn1gukCI67Ci71fAYpPNrbtmjai6+jtsY21o45rVLqExru2sdfw== -"@sentry/utils@7.93.0": - version "7.93.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.93.0.tgz#36225038661fe977baf01e4695ef84794d591e45" - integrity sha512-Iovj7tUnbgSkh/WrAaMrd5UuYjW7AzyzZlFDIUrwidsyIdUficjCG2OIxYzh76H6nYIx9SxewW0R54Q6XoB4uA== +"@sentry/utils@7.95.0": + version "7.95.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.95.0.tgz#2b66778eb70a412f3ac0147bbcd0648a914f0411" + integrity sha512-0zget8AOaQWLIEA9cTx/qiQQYpx2x0UfnaW5xRmQg12QGTSngo/cUm9O04zuHw5gpBBGG0ocMDHxwwr+UCCBiw== dependencies: - "@sentry/types" "7.93.0" + "@sentry/types" "7.95.0" "@sinclair/typebox@^0.27.8": version "0.27.8"