build: update sentry

This commit is contained in:
AkaraChen 2024-10-29 17:50:28 +08:00
parent 082f6f6a5f
commit 8ff834bd3e
3 changed files with 73 additions and 104 deletions

View File

@ -14,9 +14,9 @@ const SentryInit = ({
Sentry.init({
dsn: SENTRY_DSN,
integrations: [
new Sentry.BrowserTracing({
Sentry.browserTracingIntegration({
}),
new Sentry.Replay(),
Sentry.replayIntegration(),
],
tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.1,

View File

@ -38,8 +38,8 @@
"@monaco-editor/react": "^4.6.0",
"@next/mdx": "^14.0.4",
"@remixicon/react": "^4.3.0",
"@sentry/react": "^7.54.0",
"@sentry/utils": "^7.54.0",
"@sentry/react": "^8.35.0",
"@sentry/utils": "^8.35.0",
"@svgdotjs/svg.js": "^3.2.4",
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.9",

View File

@ -56,11 +56,11 @@ importers:
specifier: ^4.3.0
version: 4.3.0(react@18.2.0)
'@sentry/react':
specifier: ^7.54.0
version: 7.119.2(react@18.2.0)
specifier: ^8.35.0
version: 8.35.0(react@18.2.0)
'@sentry/utils':
specifier: ^7.54.0
version: 7.119.2
specifier: ^8.35.0
version: 8.35.0
'@svgdotjs/svg.js':
specifier: ^3.2.4
version: 3.2.4
@ -2032,47 +2032,43 @@ packages:
'@rushstack/eslint-patch@1.10.4':
resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==}
'@sentry-internal/feedback@7.119.2':
resolution: {integrity: sha512-bnR1yJWVBZfXGx675nMXE8hCXsxluCBfIFy9GQT8PTN/urxpoS9cGz+5F7MA7Xe3Q06/7TT0Mz3fcDvjkqTu3Q==}
engines: {node: '>=12'}
'@sentry-internal/browser-utils@8.35.0':
resolution: {integrity: sha512-uj9nwERm7HIS13f/Q52hF/NUS5Al8Ma6jkgpfYGeppYvU0uSjPkwMogtqoJQNbOoZg973tV8qUScbcWY616wNA==}
engines: {node: '>=14.18'}
'@sentry-internal/replay-canvas@7.119.2':
resolution: {integrity: sha512-Lqo8IFyeKkdOrOGRqm9jCEqeBl8kINe5+c2VqULpkO/I6ql6ISwPSYnmG6yL8cCVIaT1893CLog/pS4FxCv8/Q==}
engines: {node: '>=12'}
'@sentry-internal/feedback@8.35.0':
resolution: {integrity: sha512-7bjSaUhL0bDArozre6EiIhhdWdT/1AWNWBC1Wc5w1IxEi5xF7nvF/FfvjQYrONQzZAI3HRxc45J2qhLUzHBmoQ==}
engines: {node: '>=14.18'}
'@sentry-internal/tracing@7.119.2':
resolution: {integrity: sha512-V2W+STWrafyGJhQv3ulMFXYDwWHiU6wHQAQBShsHVACiFaDrJ2kPRet38FKv4dMLlLlP2xN+ss2e5zv3tYlTiQ==}
engines: {node: '>=8'}
'@sentry-internal/replay-canvas@8.35.0':
resolution: {integrity: sha512-TUrH6Piv19kvHIiRyIuapLdnuwxk/Un/l1WDCQfq7mK9p1Pac0FkQ7Uufjp6zY3lyhDDZQ8qvCS4ioCMibCwQg==}
engines: {node: '>=14.18'}
'@sentry/browser@7.119.2':
resolution: {integrity: sha512-Wb2RzCsJBTNCmS9KPmbVyV5GGzFXjFdUThAN9xlnN5GgemMBwdQjGu/tRYr8yJAVsRb0EOFH8IuJBNKKNnO49g==}
engines: {node: '>=8'}
'@sentry-internal/replay@8.35.0':
resolution: {integrity: sha512-3wkW03vXYMyWtTLxl9yrtkV+qxbnKFgfASdoGWhXzfLjycgT6o4/04eb3Gn71q9aXqRwH17ISVQbVswnRqMcmA==}
engines: {node: '>=14.18'}
'@sentry/core@7.119.2':
resolution: {integrity: sha512-hQr3d2yWq/2lMvoyBPOwXw1IHqTrCjOsU1vYKhAa6w9vGbJZFGhKGGE2KEi/92c3gqGn+gW/PC7cV6waCTDuVA==}
engines: {node: '>=8'}
'@sentry/browser@8.35.0':
resolution: {integrity: sha512-WHfI+NoZzpCsmIvtr6ChOe7yWPLQyMchPnVhY3Z4UeC70bkYNdKcoj/4XZbX3m0D8+71JAsm0mJ9s9OC3Ue6MQ==}
engines: {node: '>=14.18'}
'@sentry/integrations@7.119.2':
resolution: {integrity: sha512-dCuXKvbUE3gXVVa696SYMjlhSP6CxpMH/gl4Jk26naEB8Xjsn98z/hqEoXLg6Nab73rjR9c/9AdKqBbwVMHyrQ==}
engines: {node: '>=8'}
'@sentry/core@8.35.0':
resolution: {integrity: sha512-Ci0Nmtw5ETWLqQJGY4dyF+iWh7PWKy6k303fCEoEmqj2czDrKJCp7yHBNV0XYbo00prj2ZTbCr6I7albYiyONA==}
engines: {node: '>=14.18'}
'@sentry/react@7.119.2':
resolution: {integrity: sha512-fE48R/mtb/bpc4/YVvKurKSAZ0ueUI5Ma0cVSr/Fi09rFdGwLRMcweM1UydREO/ILiyt8FezyZg7L20VAp4/TQ==}
engines: {node: '>=8'}
'@sentry/react@8.35.0':
resolution: {integrity: sha512-8Y+s4pE9hvT2TwSo5JS/Enw2cNFlwiLcJDNGCj/Hho+FePFYA59hbN06ouTHWARnO+swANHKZQj24Wp57p1/tg==}
engines: {node: '>=14.18'}
peerDependencies:
react: 15.x || 16.x || 17.x || 18.x
react: ^16.14.0 || 17.x || 18.x || 19.x
'@sentry/replay@7.119.2':
resolution: {integrity: sha512-nHDsBt0mlJXTWAHjzQdCzDbhV2fv8B62PPB5mu5SpI+G5h+ir3r5lR0lZZrMT8eurVowb/HnLXAs+XYVug3blg==}
engines: {node: '>=12'}
'@sentry/types@8.35.0':
resolution: {integrity: sha512-AVEZjb16MlYPifiDDvJ19dPQyDn0jlrtC1PHs6ZKO+Rzyz+2EX2BRdszvanqArldexPoU1p5Bn2w81XZNXThBA==}
engines: {node: '>=14.18'}
'@sentry/types@7.119.2':
resolution: {integrity: sha512-ydq1tWsdG7QW+yFaTp0gFaowMLNVikIqM70wxWNK+u98QzKnVY/3XTixxNLsUtnAB4Y+isAzFhrc6Vb5GFdFeg==}
engines: {node: '>=8'}
'@sentry/utils@7.119.2':
resolution: {integrity: sha512-TLdUCvcNgzKP0r9YD7tgCL1PEUp42TObISridsPJ5rhpVGQJvpr+Six0zIkfDUxerLYWZoK8QMm9KgFlPLNQzA==}
engines: {node: '>=8'}
'@sentry/utils@8.35.0':
resolution: {integrity: sha512-MdMb6+uXjqND7qIPWhulubpSeHzia6HtxeJa8jYI09OCvIcmNGPydv/Gx/LZBwosfMHrLdTWcFH7Y7aCxrq7cg==}
engines: {node: '>=14.18'}
'@sinclair/typebox@0.27.8':
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
@ -5011,9 +5007,6 @@ packages:
engines: {node: '>=16.x'}
hasBin: true
immediate@3.0.6:
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
immer@9.0.21:
resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==}
@ -5587,9 +5580,6 @@ packages:
engines: {node: '>=16'}
hasBin: true
lie@3.1.1:
resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==}
lilconfig@2.1.0:
resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
engines: {node: '>=10'}
@ -5626,9 +5616,6 @@ packages:
resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}
engines: {node: '>=14'}
localforage@1.10.0:
resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==}
locate-path@5.0.0:
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@ -10089,69 +10076,61 @@ snapshots:
'@rushstack/eslint-patch@1.10.4': {}
'@sentry-internal/feedback@7.119.2':
'@sentry-internal/browser-utils@8.35.0':
dependencies:
'@sentry/core': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry-internal/replay-canvas@7.119.2':
'@sentry-internal/feedback@8.35.0':
dependencies:
'@sentry/core': 7.119.2
'@sentry/replay': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry-internal/tracing@7.119.2':
'@sentry-internal/replay-canvas@8.35.0':
dependencies:
'@sentry/core': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry-internal/replay': 8.35.0
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry/browser@7.119.2':
'@sentry-internal/replay@8.35.0':
dependencies:
'@sentry-internal/feedback': 7.119.2
'@sentry-internal/replay-canvas': 7.119.2
'@sentry-internal/tracing': 7.119.2
'@sentry/core': 7.119.2
'@sentry/integrations': 7.119.2
'@sentry/replay': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry-internal/browser-utils': 8.35.0
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry/core@7.119.2':
'@sentry/browser@8.35.0':
dependencies:
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry-internal/browser-utils': 8.35.0
'@sentry-internal/feedback': 8.35.0
'@sentry-internal/replay': 8.35.0
'@sentry-internal/replay-canvas': 8.35.0
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry/integrations@7.119.2':
'@sentry/core@8.35.0':
dependencies:
'@sentry/core': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
localforage: 1.10.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
'@sentry/react@7.119.2(react@18.2.0)':
'@sentry/react@8.35.0(react@18.2.0)':
dependencies:
'@sentry/browser': 7.119.2
'@sentry/core': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry/browser': 8.35.0
'@sentry/core': 8.35.0
'@sentry/types': 8.35.0
'@sentry/utils': 8.35.0
hoist-non-react-statics: 3.3.2
react: 18.2.0
'@sentry/replay@7.119.2':
dependencies:
'@sentry-internal/tracing': 7.119.2
'@sentry/core': 7.119.2
'@sentry/types': 7.119.2
'@sentry/utils': 7.119.2
'@sentry/types@8.35.0': {}
'@sentry/types@7.119.2': {}
'@sentry/utils@7.119.2':
'@sentry/utils@8.35.0':
dependencies:
'@sentry/types': 7.119.2
'@sentry/types': 8.35.0
'@sinclair/typebox@0.27.8': {}
@ -13950,8 +13929,6 @@ snapshots:
dependencies:
queue: 6.0.2
immediate@3.0.6: {}
immer@9.0.21: {}
immutable@4.3.7: {}
@ -14701,10 +14678,6 @@ snapshots:
dependencies:
isomorphic.js: 0.2.5
lie@3.1.1:
dependencies:
immediate: 3.0.6
lilconfig@2.1.0: {}
lilconfig@3.1.2: {}
@ -14750,10 +14723,6 @@ snapshots:
mlly: 1.7.2
pkg-types: 1.2.1
localforage@1.10.0:
dependencies:
lie: 3.1.1
locate-path@5.0.0:
dependencies:
p-locate: 4.1.0