mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 14:23:43 -05:00
Merge pull request #3994 from overleaf/ae-sentry-packages
Upgrade @sentry/browser to v6 GitOrigin-RevId: aec8e55b2c36de13bc084def5607ef92bb441b8f
This commit is contained in:
parent
3a1099c4d8
commit
0026e9d246
3 changed files with 36 additions and 32 deletions
|
@ -12,6 +12,7 @@ function sentryReporter() {
|
|||
Sentry.init({
|
||||
dsn: window.ExposedSettings.sentryDsn,
|
||||
release: window.ExposedSettings.sentryRelease,
|
||||
autoSessionTracking: false,
|
||||
|
||||
// Ignore errors unless they come from our origins
|
||||
// Adapted from: https://docs.sentry.io/platforms/javascript/#decluttering-sentry
|
||||
|
@ -49,7 +50,10 @@ function sentryReporter() {
|
|||
return Sentry
|
||||
})
|
||||
// If Sentry fails to load, use the null reporter instead
|
||||
.catch(nullReporter)
|
||||
.catch(error => {
|
||||
console.error(error)
|
||||
return nullReporter()
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
|
|
60
services/web/package-lock.json
generated
60
services/web/package-lock.json
generated
|
@ -4447,59 +4447,59 @@
|
|||
"integrity": "sha512-Pc/AFTdwZwEKJxFJvlxrSmGe/di+aAOBn60sremrpLo6VI/6cmiUYNNwlI5KNYttg7uypzA3ILPMPgxB2GYZEg=="
|
||||
},
|
||||
"@sentry/browser": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.27.6.tgz",
|
||||
"integrity": "sha512-pqrojE2ZmLUVz7l/ogtogK0+M2pK3bigYm0fja7vG7F7kXnCAwqAHDYfkFXEvFI8WvNwH+niy28lSoV95lnm0Q==",
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.3.5.tgz",
|
||||
"integrity": "sha512-fjkhPR5gLCGVWhbWjEoN64hnmTvfTLRCgWmYTc9SiGchWFoFEmLqZyF2uJFyt27+qamLQ9fN58nnv4Ly2yyxqg==",
|
||||
"requires": {
|
||||
"@sentry/core": "5.27.6",
|
||||
"@sentry/types": "5.27.6",
|
||||
"@sentry/utils": "5.27.6",
|
||||
"@sentry/core": "6.3.5",
|
||||
"@sentry/types": "6.3.5",
|
||||
"@sentry/utils": "6.3.5",
|
||||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
"@sentry/core": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.27.6.tgz",
|
||||
"integrity": "sha512-izCS5iyc6HAfpW1AsGXLAKetx82C1Sq1siAh97tOlSK58PVJAEH/WMiej9WuZJxCDTOtj94QtoLflssrZyAtFg==",
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.3.5.tgz",
|
||||
"integrity": "sha512-VR2ibDy33mryD0mT6d9fGhKjdNzS2FSwwZPe9GvmNOjkyjly/oV91BKVoYJneCqOeq8fyj2lvkJGKuupdJNDqg==",
|
||||
"requires": {
|
||||
"@sentry/hub": "5.27.6",
|
||||
"@sentry/minimal": "5.27.6",
|
||||
"@sentry/types": "5.27.6",
|
||||
"@sentry/utils": "5.27.6",
|
||||
"@sentry/hub": "6.3.5",
|
||||
"@sentry/minimal": "6.3.5",
|
||||
"@sentry/types": "6.3.5",
|
||||
"@sentry/utils": "6.3.5",
|
||||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
"@sentry/hub": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.27.6.tgz",
|
||||
"integrity": "sha512-bOMky3iu7zEghSaWmTayfme5tCpUok841qDCGxGKuyAtOhBDsgGNS/ApNEEDF2fyX0oo4G1cHYPWhX90ZFf/xA==",
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.3.5.tgz",
|
||||
"integrity": "sha512-ZYFo7VYKwdPVjuV9BDFiYn+MpANn6eZMz5QDBfZ2dugIvIVbuOyOOLx8PSa3ZXJoVTZZ7s2wD2fi/ZxKjNjZOQ==",
|
||||
"requires": {
|
||||
"@sentry/types": "5.27.6",
|
||||
"@sentry/utils": "5.27.6",
|
||||
"@sentry/types": "6.3.5",
|
||||
"@sentry/utils": "6.3.5",
|
||||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
"@sentry/minimal": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.27.6.tgz",
|
||||
"integrity": "sha512-pKhzVQX9nL4m1dcnb2i2Y47IWVNs+K3wiYLgCB9hl9+ApxppfOc+fquiFoCloST3IuaD4yly2TtbOJgAMWcMxQ==",
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.3.5.tgz",
|
||||
"integrity": "sha512-4RqIGAU0+8iI/1sw0GYPTr4SUA88/i2+JPjFJ+qloh5ANVaNwhFPRChw+Ys9xpre8LV9JZrEsEf8AvQr4fkNbA==",
|
||||
"requires": {
|
||||
"@sentry/hub": "5.27.6",
|
||||
"@sentry/types": "5.27.6",
|
||||
"@sentry/hub": "6.3.5",
|
||||
"@sentry/types": "6.3.5",
|
||||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
"@sentry/types": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.27.6.tgz",
|
||||
"integrity": "sha512-XOW9W8DrMk++4Hk7gWi9o5VR0o/GrqGfTKyFsHSIjqt2hL6kiMPvKeb2Hhmp7Iq37N2bDmRdWpM5m+68S2Jk6w=="
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.3.5.tgz",
|
||||
"integrity": "sha512-tY/3pkAmGYJ3F0BtwInsdt/uclNvF8aNG7XHsTPQNzk7BkNVWjCXx0sjxi6CILirl5nwNxYxVeTr2ZYAEZ/dSQ=="
|
||||
},
|
||||
"@sentry/utils": {
|
||||
"version": "5.27.6",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.27.6.tgz",
|
||||
"integrity": "sha512-/QMVLv+zrTfiIj2PU+SodSbSzD5MmamMOaljkDsRIVsj6gpkm1/VG1g2+40TZ0FbQ4hCW2F+iR7cnqzZBNmchA==",
|
||||
"version": "6.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.3.5.tgz",
|
||||
"integrity": "sha512-kHUcZ37QYlNzz7c9LVdApITXHaNmQK7+sw/If3M/qpff1fd5XoecA8laLfcYuz+Cw5mRhVmdhPcCRM3Xi1IGXg==",
|
||||
"requires": {
|
||||
"@sentry/types": "5.27.6",
|
||||
"@sentry/types": "6.3.5",
|
||||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"@pollyjs/adapter-node-http": "^4.2.1",
|
||||
"@pollyjs/core": "^4.2.1",
|
||||
"@pollyjs/persister-fs": "^4.2.1",
|
||||
"@sentry/browser": "^5.27.6",
|
||||
"@sentry/browser": "^6.3.5",
|
||||
"@uppy/core": "^1.15.0",
|
||||
"@uppy/dashboard": "^1.11.0",
|
||||
"@uppy/react": "^1.11.0",
|
||||
|
|
Loading…
Reference in a new issue