Upgrade Sentry SDK (#20806)

GitOrigin-RevId: 70cfbfd7f2ae61bbc865d32c576aa8f195837fb5
This commit is contained in:
Alf Eaton 2024-10-03 13:33:50 +01:00 committed by Copybot
parent b881a96b84
commit a9fac2370b
5 changed files with 406 additions and 96 deletions

485
package-lock.json generated
View file

@ -8893,78 +8893,252 @@
"loose-envify": "^1.0.0"
}
},
"node_modules/@sentry/browser": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.8.1.tgz",
"integrity": "sha512-9JuagYqHyaZu/4RqyxrAgEHo71oV592XBuUKC33gajCVKWbyG3mNqudSMoHtdM1DrV9REZ4Elha7zFaE2cJX6g==",
"node_modules/@sentry-internal/browser-utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.33.0.tgz",
"integrity": "sha512-zwjmD+XI3pgxxiqKGLXYDGSd+zfO7az9zzbLn1le8Vv9cRL2lZyMLcwiwEaTpwz3B0pPONeDZMT8+bzMGRs8zw==",
"dev": true,
"dependencies": {
"@sentry/core": "7.8.1",
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=8"
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/browser-utils/node_modules/@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/browser-utils/node_modules/@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true,
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/browser-utils/node_modules/@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/feedback": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.33.0.tgz",
"integrity": "sha512-KSW/aiNgmJc8PDl2NsM+ONvGure4tPaluj7O1Nw+947Dh8W6CJnQ9srB7xPyoYYWyQW8Hyl1vzxY9W0J+fjlhA==",
"dev": true,
"dependencies": {
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/feedback/node_modules/@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/feedback/node_modules/@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true,
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/feedback/node_modules/@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.33.0.tgz",
"integrity": "sha512-GFBaDA4yhlEf3wTXOVXnJVG/diuKxeqZuXcuhsAwJb+YcFR0NhgsRn3wIGuYOZZF8GBXzx9PFnb9yIuFgx5Nbw==",
"dev": true,
"dependencies": {
"@sentry-internal/browser-utils": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay-canvas": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.33.0.tgz",
"integrity": "sha512-9fEhMP+gQYQrtn/SQd1Vd7U7emTSGBpLKc5h5f0iV0yDmjYAhNVbq4RgPTYAgnBEcdVo3qgboL6UIz9Dv+dYRQ==",
"dev": true,
"dependencies": {
"@sentry-internal/replay": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay-canvas/node_modules/@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay-canvas/node_modules/@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true,
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay-canvas/node_modules/@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay/node_modules/@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay/node_modules/@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true,
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay/node_modules/@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"dependencies": {
"@sentry/types": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/browser": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.33.0.tgz",
"integrity": "sha512-qu/g20ZskywEU8BWc4Fts1kXFFBtw1vS+XvPq7Ta9zCeRG5dlXhhYDVQ4/v4nAL/cs0o6aLCq73m109CFF0Kig==",
"dev": true,
"dependencies": {
"@sentry-internal/browser-utils": "8.33.0",
"@sentry-internal/feedback": "8.33.0",
"@sentry-internal/replay": "8.33.0",
"@sentry-internal/replay-canvas": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/browser/node_modules/@sentry/core": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.8.1.tgz",
"integrity": "sha512-PRivbdIzApi/gSixAxozhOBTylSVdw/9VxaStYHd7JJGhs36KXkV8ylpbCmYO4ap7/Ue9/slzwpvPOJJzmzAgA==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"dependencies": {
"@sentry/hub": "7.8.1",
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@sentry/browser/node_modules/@sentry/hub": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.8.1.tgz",
"integrity": "sha512-AxwyGyS9Lp4XsURu4t8opa5vZ+NAB6I/n+B/Uix3YZea9z8jdWYAu9vsXSizOrtxekc/i7ZN4bnlNgXVHix0iA==",
"dev": true,
"dependencies": {
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
},
"engines": {
"node": ">=8"
"node": ">=14.18"
}
},
"node_modules/@sentry/browser/node_modules/@sentry/types": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.8.1.tgz",
"integrity": "sha512-LOoaeBXVI23Kh5SpIbxSRiJ6+eYZXVOFyPFH1T1mGBj95LPwRMqOdg0lUTmFJGBKbDGDB/YNjNnu1kQ7GrXBXw==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true,
"engines": {
"node": ">=8"
"node": ">=14.18"
}
},
"node_modules/@sentry/browser/node_modules/@sentry/utils": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.8.1.tgz",
"integrity": "sha512-isUZjft4HWTOk1Z58KFJ/zzXeFtIJgP82CkYQlW464ZR2WCqPHYlXXXRWZpOHOfMnrf+gWeX9WAGS9rTAdhiSg==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"dependencies": {
"@sentry/types": "7.8.1",
"tslib": "^1.9.3"
"@sentry/types": "8.33.0"
},
"engines": {
"node": ">=8"
"node": ">=14.18"
}
},
"node_modules/@sentry/browser/node_modules/tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
"dev": true
},
"node_modules/@sentry/core": {
"version": "6.17.3",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.17.3.tgz",
@ -43823,7 +43997,7 @@
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624",
"@sentry/browser": "^7.8.1",
"@sentry/browser": "^8.33.0",
"@storybook/addon-a11y": "^8.0.4",
"@storybook/addon-essentials": "^8.0.4",
"@storybook/addon-interactions": "^8.0.4",
@ -52334,7 +52508,7 @@
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624",
"@sentry/browser": "^7.8.1",
"@sentry/browser": "^8.33.0",
"@slack/webhook": "^7.0.2",
"@storybook/addon-a11y": "^8.0.4",
"@storybook/addon-essentials": "^8.0.4",
@ -53996,62 +54170,199 @@
}
}
},
"@sentry/browser": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.8.1.tgz",
"integrity": "sha512-9JuagYqHyaZu/4RqyxrAgEHo71oV592XBuUKC33gajCVKWbyG3mNqudSMoHtdM1DrV9REZ4Elha7zFaE2cJX6g==",
"@sentry-internal/browser-utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.33.0.tgz",
"integrity": "sha512-zwjmD+XI3pgxxiqKGLXYDGSd+zfO7az9zzbLn1le8Vv9cRL2lZyMLcwiwEaTpwz3B0pPONeDZMT8+bzMGRs8zw==",
"dev": true,
"requires": {
"@sentry/core": "7.8.1",
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"dependencies": {
"@sentry/core": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.8.1.tgz",
"integrity": "sha512-PRivbdIzApi/gSixAxozhOBTylSVdw/9VxaStYHd7JJGhs36KXkV8ylpbCmYO4ap7/Ue9/slzwpvPOJJzmzAgA==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"requires": {
"@sentry/hub": "7.8.1",
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.8.1.tgz",
"integrity": "sha512-AxwyGyS9Lp4XsURu4t8opa5vZ+NAB6I/n+B/Uix3YZea9z8jdWYAu9vsXSizOrtxekc/i7ZN4bnlNgXVHix0iA==",
"dev": true,
"requires": {
"@sentry/types": "7.8.1",
"@sentry/utils": "7.8.1",
"tslib": "^1.9.3"
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
}
},
"@sentry/types": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.8.1.tgz",
"integrity": "sha512-LOoaeBXVI23Kh5SpIbxSRiJ6+eYZXVOFyPFH1T1mGBj95LPwRMqOdg0lUTmFJGBKbDGDB/YNjNnu1kQ7GrXBXw==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true
},
"@sentry/utils": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.8.1.tgz",
"integrity": "sha512-isUZjft4HWTOk1Z58KFJ/zzXeFtIJgP82CkYQlW464ZR2WCqPHYlXXXRWZpOHOfMnrf+gWeX9WAGS9rTAdhiSg==",
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"requires": {
"@sentry/types": "7.8.1",
"tslib": "^1.9.3"
"@sentry/types": "8.33.0"
}
}
}
},
"@sentry-internal/feedback": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.33.0.tgz",
"integrity": "sha512-KSW/aiNgmJc8PDl2NsM+ONvGure4tPaluj7O1Nw+947Dh8W6CJnQ9srB7xPyoYYWyQW8Hyl1vzxY9W0J+fjlhA==",
"dev": true,
"requires": {
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"dependencies": {
"@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
}
},
"tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
"@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true
},
"@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0"
}
}
}
},
"@sentry-internal/replay": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.33.0.tgz",
"integrity": "sha512-GFBaDA4yhlEf3wTXOVXnJVG/diuKxeqZuXcuhsAwJb+YcFR0NhgsRn3wIGuYOZZF8GBXzx9PFnb9yIuFgx5Nbw==",
"dev": true,
"requires": {
"@sentry-internal/browser-utils": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"dependencies": {
"@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
}
},
"@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true
},
"@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0"
}
}
}
},
"@sentry-internal/replay-canvas": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.33.0.tgz",
"integrity": "sha512-9fEhMP+gQYQrtn/SQd1Vd7U7emTSGBpLKc5h5f0iV0yDmjYAhNVbq4RgPTYAgnBEcdVo3qgboL6UIz9Dv+dYRQ==",
"dev": true,
"requires": {
"@sentry-internal/replay": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"dependencies": {
"@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
}
},
"@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true
},
"@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0"
}
}
}
},
"@sentry/browser": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.33.0.tgz",
"integrity": "sha512-qu/g20ZskywEU8BWc4Fts1kXFFBtw1vS+XvPq7Ta9zCeRG5dlXhhYDVQ4/v4nAL/cs0o6aLCq73m109CFF0Kig==",
"dev": true,
"requires": {
"@sentry-internal/browser-utils": "8.33.0",
"@sentry-internal/feedback": "8.33.0",
"@sentry-internal/replay": "8.33.0",
"@sentry-internal/replay-canvas": "8.33.0",
"@sentry/core": "8.33.0",
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
},
"dependencies": {
"@sentry/core": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.33.0.tgz",
"integrity": "sha512-618PQGHQLBVCpAq1s+e/rpIUaLUnj19IPUgn97rUGXLLna8ETIAoyQoG70wz4q9niw4Z4GlS5kZNrael2O3+2w==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
}
},
"@sentry/types": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.33.0.tgz",
"integrity": "sha512-V/A+72ZdnfGtXeXIpz1kUo3LRdq3WKEYYFUR2RKpCdPh9yeOrHq6u/rmzTWx49+om0yhZN+JhVoxDzt75UoFRg==",
"dev": true
},
"@sentry/utils": {
"version": "8.33.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.33.0.tgz",
"integrity": "sha512-TdwtGdevJij2wq2x/hDUr+x5TXt47ZhWxZ8zluai/lnIDTUB3Xs/L9yHtj1J+H9hr8obkMASE9IanUrWXzrP6Q==",
"dev": true,
"requires": {
"@sentry/types": "8.33.0"
}
}
}
},

View file

@ -10,7 +10,9 @@ if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then
SENTRY_RELEASE=${COMMIT_SHA}
sentry-cli releases new "$SENTRY_RELEASE"
sentry-cli releases set-commits --auto "$SENTRY_RELEASE"
sentry-cli releases files "$SENTRY_RELEASE" upload-sourcemaps --no-rewrite --url-prefix ~ .
sentry-cli files upload --release="$SENTRY_RELEASE" .
sentry-cli sourcemaps inject .
sentry-cli sourcemaps upload --no-rewrite --url-prefix ~ .
sentry-cli releases finalize "$SENTRY_RELEASE"
rm -rf sentry_upload

View file

@ -68,7 +68,7 @@ function PdfJsViewer({ url, pdfFile }: PdfJsViewerProps) {
try {
wrapper = new PDFJSWrapper(parent.firstChild)
setPdfJsWrapper(wrapper)
} catch (error) {
} catch (error: any) {
setLoadingError(true)
captureException(error)
}

View file

@ -64,7 +64,8 @@ function sentryReporter() {
// Do not send events related to third party code (extensions)
if (
event.extra?.arguments?.[0]?.type === 'UNSTABLE_editor:extensions'
(event.extra?.arguments as { type: string }[] | undefined)?.[0]
?.type === 'UNSTABLE_editor:extensions'
) {
return null // Block the event from sending
}
@ -100,7 +101,7 @@ function nullReporter() {
})
}
export function captureException(err, options) {
export function captureException(err: Error, options?: Record<string, any>) {
options = options || {}
const extra = Object.assign(OError.getFullInfo(err), options.extra || {})
const fullStack = OError.getFullStack(err)
@ -115,7 +116,3 @@ export function captureException(err, options) {
})
)
}
export function captureMessage(...args) {
reporterPromise.then(reporter => reporter.captureMessage(...args))
}

View file

@ -220,7 +220,7 @@
"@replit/codemirror-emacs": "overleaf/codemirror-emacs#4394c03858f27053f8768258e9493866e06e938e",
"@replit/codemirror-indentation-markers": "overleaf/codemirror-indentation-markers#1b1f93c0bcd04293aea6986aa2275185b2c56803",
"@replit/codemirror-vim": "overleaf/codemirror-vim#51ce0933e95705268256467fbbbcce5999ed3624",
"@sentry/browser": "^7.8.1",
"@sentry/browser": "^8.33.0",
"@storybook/addon-a11y": "^8.0.4",
"@storybook/addon-essentials": "^8.0.4",
"@storybook/addon-interactions": "^8.0.4",