-
Notifications
You must be signed in to change notification settings - Fork 17
Update dependency @sentry/browser to v7 [SECURITY] #5451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| "@fancyapps/fancybox": "^3.5.7", | ||
| "@material-ui/core": "^4.2.1", | ||
| "@mitodl/iso-3166-2": "^1.0.1", | ||
| "@sentry/browser": "^6.4.1", | ||
| "@sentry/browser": "^7.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Upgrading Suggested FixUpdate the Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Upgrading Suggested FixUpdate the webpack configuration in Prompt for AI AgentThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixRegenerate the Prompt for AI Agent |
||
| "@sentry/webpack-plugin": "^1.18.3", | ||
| "ajaxchimp": "^1.3.0", | ||
| "autoprefixer": "^7.1.1", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The Sentry v7 upgrade introduces ES6 syntax that is not being transpiled by Babel, which will break the application on older browsers like IE11.
Severity: HIGH
Suggested Fix
Update the
includearray for thebabelSharedLoaderinwebpack.config.shared.jsto also process the@sentry/browserpackage. This will ensure its ES6 syntax is correctly transpiled to ES5 for compatibility with older browsers.Prompt for AI Agent