mirror of https://github.com/zulip/zulip.git
sentry: Stop importing from `@sentry/tracing`, which is deprecated.
This was deprecated in 7.47.0[^1]. [^1]: https://github.com/getsentry/sentry-javascript/releases/tag/7.47.0
This commit is contained in:
parent
cadfbcac76
commit
e2a6a0c440
|
@ -11,7 +11,6 @@
|
|||
"@giphy/js-fetch-api": "^4.0.1",
|
||||
"@sentry/browser": "^7.51.2",
|
||||
"@sentry/integrations": "^7.51.2",
|
||||
"@sentry/tracing": "^7.51.2",
|
||||
"@uppy/core": "^3.0.2",
|
||||
"@uppy/progress-bar": "^3.0.1",
|
||||
"@uppy/xhr-upload": "^3.0.2",
|
||||
|
|
|
@ -31,9 +31,6 @@ dependencies:
|
|||
'@sentry/integrations':
|
||||
specifier: ^7.51.2
|
||||
version: 7.51.2
|
||||
'@sentry/tracing':
|
||||
specifier: ^7.51.2
|
||||
version: 7.51.2
|
||||
'@uppy/core':
|
||||
specifier: ^3.0.2
|
||||
version: 3.2.0
|
||||
|
@ -2631,13 +2628,6 @@ packages:
|
|||
'@sentry/utils': 7.51.2
|
||||
dev: false
|
||||
|
||||
/@sentry/tracing@7.51.2:
|
||||
resolution: {integrity: sha512-qYl8TtwdEAtLBFSSTtHX6OpSGI73sgoPZhc3ZtF7+cLe29FRM5M6uyV7HhgIrxCstAx/5lZRlCWJabkIewGfFA==}
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
'@sentry-internal/tracing': 7.51.2
|
||||
dev: false
|
||||
|
||||
/@sentry/types@7.51.2:
|
||||
resolution: {integrity: sha512-/hLnZVrcK7G5BQoD/60u9Qak8c9AvwV8za8TtYPJDUeW59GrqnqOkFji7RVhI7oH1OX4iBxV+9pAKzfYE6A6SA==}
|
||||
engines: {node: '>=8'}
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 179
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (238, 0)
|
||||
PROVISION_VERSION = (239, 0)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import * as Sentry from "@sentry/browser";
|
||||
import {BrowserTracing} from "@sentry/tracing";
|
||||
import _ from "lodash";
|
||||
|
||||
import {page_params} from "./page_params";
|
||||
|
@ -51,7 +50,7 @@ if (page_params.server_sentry_dsn) {
|
|||
|
||||
release: "zulip-server@" + ZULIP_VERSION,
|
||||
integrations: [
|
||||
new BrowserTracing({
|
||||
new Sentry.BrowserTracing({
|
||||
tracePropagationTargets: url_matches,
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue