Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

chore: Update @sentry/browser to latest version #39901

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions client/browser/src/shared/sentry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const callSentryInit = once((extensionID: string) => {
keep = event.exception.values.some(
({ stacktrace }) => !!(stacktrace && isExtensionStackTrace(stacktrace, extensionID))
)
} else if (event.stacktrace) {
keep = isExtensionStackTrace(event.stacktrace, extensionID)
Comment on lines -25 to -26
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following the deprecation of top-level stacktrace on events, this check is unnecessary, and stacktrace is not an object of event's interface.

}
return keep ? event : null
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
"@reach/tabs": "^0.16.4",
"@reach/visually-hidden": "^0.16.0",
"@react-aria/live-announcer": "^3.1.0",
"@sentry/browser": "^6.13.2",
"@sentry/browser": "^7.8.1",
"@slimsag/react-shortcuts": "^1.2.1",
"@sourcegraph/extension-api-classes": "^1.1.0",
"@stripe/react-stripe-js": "^1.8.0-0",
Expand Down
70 changes: 30 additions & 40 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3949,14 +3949,14 @@
dependencies:
any-observable "^0.3.0"

"@sentry/browser@^6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/browser/-/browser-6.13.2.tgz#8b731ecf8c3cdd92a4b6893a26f975fd5844056d"
integrity sha512-bkFXK4vAp2UX/4rQY0pj2Iky55Gnwr79CtveoeeMshoLy5iDgZ8gvnLNAz7om4B9OQk1u7NzLEa4IXAmHTUyag==
dependencies:
"@sentry/core" "6.13.2"
"@sentry/types" "6.13.2"
"@sentry/utils" "6.13.2"
"@sentry/browser@^7.8.1":
version "7.8.1"
resolved "https://registry.npmjs.org/@sentry/browser/-/browser-7.8.1.tgz#ca91c80a5da745e1b5379bc215100ba4660bac29"
integrity sha512-9JuagYqHyaZu/4RqyxrAgEHo71oV592XBuUKC33gajCVKWbyG3mNqudSMoHtdM1DrV9REZ4Elha7zFaE2cJX6g==
dependencies:
"@sentry/core" "7.8.1"
"@sentry/types" "7.8.1"
"@sentry/utils" "7.8.1"
tslib "^1.9.3"

"@sentry/cli@^1.74.4":
Expand All @@ -3972,46 +3972,36 @@
proxy-from-env "^1.1.0"
which "^2.0.2"

"@sentry/core@6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/core/-/core-6.13.2.tgz#2ce164f81667aa89cd116f807d772b4718434583"
integrity sha512-snXNNFLwlS7yYxKTX4DBXebvJK+6ikBWN6noQ1CHowvM3ReFBlrdrs0Z0SsSFEzXm2S4q7f6HHbm66GSQZ/8FQ==
dependencies:
"@sentry/hub" "6.13.2"
"@sentry/minimal" "6.13.2"
"@sentry/types" "6.13.2"
"@sentry/utils" "6.13.2"
tslib "^1.9.3"

"@sentry/hub@6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/hub/-/hub-6.13.2.tgz#ebc66fd55c96c7686a53ffd3521b6a63f883bb79"
integrity sha512-sppSuJdNMiMC/vFm/dQowCBh11uTrmvks00fc190YWgxHshodJwXMdpc+pN61VSOmy2QA4MbQ5aMAgHzPzel3A==
"@sentry/core@7.8.1":
version "7.8.1"
resolved "https://registry.npmjs.org/@sentry/core/-/core-7.8.1.tgz#d11ba7c97766d1e47edf697dbfd47fe4041477d9"
integrity sha512-PRivbdIzApi/gSixAxozhOBTylSVdw/9VxaStYHd7JJGhs36KXkV8ylpbCmYO4ap7/Ue9/slzwpvPOJJzmzAgA==
dependencies:
"@sentry/types" "6.13.2"
"@sentry/utils" "6.13.2"
"@sentry/hub" "7.8.1"
"@sentry/types" "7.8.1"
"@sentry/utils" "7.8.1"
tslib "^1.9.3"

"@sentry/minimal@6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.13.2.tgz#de3ecc62b9463bf56ccdbcf4c75f7ea1aeeebc11"
integrity sha512-6iJfEvHzzpGBHDfLxSHcGObh73XU1OSQKWjuhDOe7UQDyI4BQmTfcXAC+Fr8sm8C/tIsmpVi/XJhs8cubFdSMw==
"@sentry/hub@7.8.1":
version "7.8.1"
resolved "https://registry.npmjs.org/@sentry/hub/-/hub-7.8.1.tgz#bc255c6b8e99a3333e737f189c984c715df504aa"
integrity sha512-AxwyGyS9Lp4XsURu4t8opa5vZ+NAB6I/n+B/Uix3YZea9z8jdWYAu9vsXSizOrtxekc/i7ZN4bnlNgXVHix0iA==
dependencies:
"@sentry/hub" "6.13.2"
"@sentry/types" "6.13.2"
"@sentry/types" "7.8.1"
"@sentry/utils" "7.8.1"
tslib "^1.9.3"

"@sentry/types@6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/types/-/types-6.13.2.tgz#8388d5b92ea8608936e7aae842801dc90e0184e6"
integrity sha512-6WjGj/VjjN8LZDtqJH5ikeB1o39rO1gYS6anBxiS3d0sXNBb3Ux0pNNDFoBxQpOhmdDHXYS57MEptX9EV82gmg==
"@sentry/types@7.8.1":
version "7.8.1"
resolved "https://registry.npmjs.org/@sentry/types/-/types-7.8.1.tgz#c00a1ed02ad8f69d3b94fcda91e2d24e0bb3492a"
integrity sha512-LOoaeBXVI23Kh5SpIbxSRiJ6+eYZXVOFyPFH1T1mGBj95LPwRMqOdg0lUTmFJGBKbDGDB/YNjNnu1kQ7GrXBXw==

"@sentry/utils@6.13.2":
version "6.13.2"
resolved "https://registry.npmjs.org/@sentry/utils/-/utils-6.13.2.tgz#fb8010e7b67cc8c084d8067d64ef25289269cda5"
integrity sha512-foF4PbxqPMWNbuqdXkdoOmKm3quu3PP7Q7j/0pXkri4DtCuvF/lKY92mbY0V9rHS/phCoj+3/Se5JvM2ymh2/w==
"@sentry/utils@7.8.1":
version "7.8.1"
resolved "https://registry.npmjs.org/@sentry/utils/-/utils-7.8.1.tgz#5d8a7e1c8d834de608ad834cf648d5291c62ba39"
integrity sha512-isUZjft4HWTOk1Z58KFJ/zzXeFtIJgP82CkYQlW464ZR2WCqPHYlXXXRWZpOHOfMnrf+gWeX9WAGS9rTAdhiSg==
dependencies:
"@sentry/types" "6.13.2"
"@sentry/types" "7.8.1"
tslib "^1.9.3"

"@sentry/webpack-plugin@^1.18.9":
Expand Down