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>
This commit is contained in:
renovate[bot] 2024-01-24 09:23:54 +00:00 committed by GitHub
parent afda9d89ab
commit a665f028c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 59 additions and 47 deletions

View file

@ -16,6 +16,7 @@ limitations under the License.
import * as Sentry from "@sentry/browser"; import * as Sentry from "@sentry/browser";
import { MatrixClient } from "matrix-js-sdk/src/matrix"; import { MatrixClient } from "matrix-js-sdk/src/matrix";
import { type Integration } from "@sentry/types/types/integration";
import SdkConfig from "./SdkConfig"; import SdkConfig from "./SdkConfig";
import { MatrixClientPeg } from "./MatrixClientPeg"; import { MatrixClientPeg } from "./MatrixClientPeg";
@ -203,7 +204,7 @@ export function setSentryUser(mxid: string): void {
export async function initSentry(sentryConfig: IConfigOptions["sentry"]): Promise<void> { export async function initSentry(sentryConfig: IConfigOptions["sentry"]): Promise<void> {
if (!sentryConfig) return; if (!sentryConfig) return;
// Only enable Integrations.GlobalHandlers, which hooks uncaught exceptions, if automaticErrorReporting is true // Only enable Integrations.GlobalHandlers, which hooks uncaught exceptions, if automaticErrorReporting is true
const integrations = [ const integrations: Integration[] = [
new Sentry.Integrations.InboundFilters(), new Sentry.Integrations.InboundFilters(),
new Sentry.Integrations.FunctionToString(), new Sentry.Integrations.FunctionToString(),
new Sentry.Integrations.Breadcrumbs(), new Sentry.Integrations.Breadcrumbs(),

103
yarn.lock
View file

@ -2364,65 +2364,76 @@
dependencies: dependencies:
"@babel/runtime" "^7.13.10" "@babel/runtime" "^7.13.10"
"@sentry-internal/feedback@7.93.0": "@sentry-internal/feedback@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.93.0.tgz#c6648ce625792c72d7afdbee8f5db878c7f16fee" resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.95.0.tgz#7f85d3888df542e697ecbb1035153794e149c58d"
integrity sha512-4G7rMeQbYGfCHxEoFroABX+UREYc2BSbFqjLmLbIcWowSpgzcwweLLphWHKOciqK6f7DnNDK0jZzx3u7NrkWHw== integrity sha512-UWNUUg+OrhV58/ChQNY0yLCCYdEI2cIYVwq1riZ+AFU9Z2ZyCxEoSRVLh7c5tnCPLbKAPR+VvlEsSjMqucAKnA==
dependencies: dependencies:
"@sentry/core" "7.93.0" "@sentry/core" "7.95.0"
"@sentry/types" "7.93.0" "@sentry/types" "7.95.0"
"@sentry/utils" "7.93.0" "@sentry/utils" "7.95.0"
"@sentry-internal/tracing@7.93.0": "@sentry-internal/replay-canvas@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.93.0.tgz#8cee8b610695d828af75edd2929b64b7caf0385d" resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.95.0.tgz#1492ba099aa395b41e95b789624a1dcebfbe6a53"
integrity sha512-DjuhmQNywPp+8fxC9dvhGrqgsUb6wI/HQp25lS2Re7VxL1swCasvpkg8EOYP4iBniVQ86QK0uITkOIRc5tdY1w== integrity sha512-nK+VYLnhlxLnnEUPMnzN8BSCFXPy2dQ5OVFO+fiTNPlGCbxsq8O9SnkX6E+u1oPLSA/151s2B3VxIasR8bXJAQ==
dependencies: dependencies:
"@sentry/core" "7.93.0" "@sentry/core" "7.95.0"
"@sentry/types" "7.93.0" "@sentry/replay" "7.95.0"
"@sentry/utils" "7.93.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": "@sentry/browser@^7.0.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.93.0.tgz#acb559125ab0576091a3fc9718e520ba9b2eb1b9" resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.95.0.tgz#40a3928b1196535795a0e86ad2192c804349abad"
integrity sha512-MtLTcQ7y3rfk+aIvnnwCfSJvYhTJnIJi+Mf6y/ap6SKObdlsKMbQoJLlRViglGLq+nKxHLAvU0fONiCEmKfV6A== integrity sha512-J+bAryc/7StRZSeaJByLTnEslWu7uXaZ1zERQF17sZbRxvbyaYbAO7cqSUKZ1gK3p9QfrkqzNl7xA8thg4FtHQ==
dependencies: dependencies:
"@sentry-internal/feedback" "7.93.0" "@sentry-internal/feedback" "7.95.0"
"@sentry-internal/tracing" "7.93.0" "@sentry-internal/replay-canvas" "7.95.0"
"@sentry/core" "7.93.0" "@sentry-internal/tracing" "7.95.0"
"@sentry/replay" "7.93.0" "@sentry/core" "7.95.0"
"@sentry/types" "7.93.0" "@sentry/replay" "7.95.0"
"@sentry/utils" "7.93.0" "@sentry/types" "7.95.0"
"@sentry/utils" "7.95.0"
"@sentry/core@7.93.0": "@sentry/core@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.93.0.tgz#50a14bf305130dfef51810e4c97fcba4972a57ef" resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.95.0.tgz#b16a4d82cdcaa3b330091dd624a4416e63d157ab"
integrity sha512-vZQSUiDn73n+yu2fEcH+Wpm4GbRmtxmnXnYCPgM6IjnXqkVm3awWAkzrheADblx3kmxrRiOlTXYHw9NTWs56fg== integrity sha512-z+ffO6jK/ZUxnRbBGmnj5sOouKZ4mvRY0KJa33kbyqcmeiJKrN81M7Ecj1IJUCamo/6RqX0GCwDDxgUPZZZBwA==
dependencies: dependencies:
"@sentry/types" "7.93.0" "@sentry/types" "7.95.0"
"@sentry/utils" "7.93.0" "@sentry/utils" "7.95.0"
"@sentry/replay@7.93.0": "@sentry/replay@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.93.0.tgz#55e3c424cd5529041fbc987e4c2e74e30a94b1b8" resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.95.0.tgz#a4d6c03cb77893ab7677eadde8ff237ba61ce862"
integrity sha512-dMlLU8v+OkUeGCrPvTu5NriH7BGj3el4rGHWWAYicfJ2QXqTTq50vfasQBP1JeVNcFqnf1y653TdEIvo4RH4tw== integrity sha512-WAAEvWCXoNC7hfPI1fNoxODB9UzUYhXtscrWIm89Mn3AAi8haayVNNiUWKVj6+Vpt87C+/sb9UsERwdPWpl/Sw==
dependencies: dependencies:
"@sentry-internal/tracing" "7.93.0" "@sentry-internal/tracing" "7.95.0"
"@sentry/core" "7.93.0" "@sentry/core" "7.95.0"
"@sentry/types" "7.93.0" "@sentry/types" "7.95.0"
"@sentry/utils" "7.93.0" "@sentry/utils" "7.95.0"
"@sentry/types@7.93.0": "@sentry/types@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.93.0.tgz#d76d26259b40cd0688e1d634462fbff31476c1ec" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.95.0.tgz#94fbde10eaec4949d81ca9e3f6fe1d1cc0b2d9e5"
integrity sha512-UnzUccNakhFRA/esWBWP+0v7cjNg+RilFBQC03Mv9OEMaZaS29zSbcOGtRzuFOXXLBdbr44BWADqpz3VW0XaNw== integrity sha512-ouU7NsEcrwmcnXHMNBGmKZEmKMzmgPGoBydZn1gukCI67Ci71fAYpPNrbtmjai6+jtsY21o45rVLqExru2sdfw==
"@sentry/utils@7.93.0": "@sentry/utils@7.95.0":
version "7.93.0" version "7.95.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.93.0.tgz#36225038661fe977baf01e4695ef84794d591e45" resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.95.0.tgz#2b66778eb70a412f3ac0147bbcd0648a914f0411"
integrity sha512-Iovj7tUnbgSkh/WrAaMrd5UuYjW7AzyzZlFDIUrwidsyIdUficjCG2OIxYzh76H6nYIx9SxewW0R54Q6XoB4uA== integrity sha512-0zget8AOaQWLIEA9cTx/qiQQYpx2x0UfnaW5xRmQg12QGTSngo/cUm9O04zuHw5gpBBGG0ocMDHxwwr+UCCBiw==
dependencies: dependencies:
"@sentry/types" "7.93.0" "@sentry/types" "7.95.0"
"@sinclair/typebox@^0.27.8": "@sinclair/typebox@^0.27.8":
version "0.27.8" version "0.27.8"