diff --git a/package.json b/package.json index 80521296..c715e124 100644 --- a/package.json +++ b/package.json @@ -56,18 +56,18 @@ "e2e": "xvfb-maybe vitest run --root=./test/e2e --silent=false --disable-console-intercept" }, "dependencies": { - "@sentry/browser": "8.27.0", - "@sentry/core": "8.27.0", - "@sentry/node": "8.27.0", - "@sentry/types": "8.27.0", - "@sentry/utils": "8.27.0", + "@sentry/browser": "8.28.0", + "@sentry/core": "8.28.0", + "@sentry/node": "8.28.0", + "@sentry/types": "8.28.0", + "@sentry/utils": "8.28.0", "deepmerge": "4.3.1" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", - "@sentry-internal/eslint-config-sdk": "8.27.0", - "@sentry-internal/typescript": "8.27.0", + "@sentry-internal/eslint-config-sdk": "8.28.0", + "@sentry-internal/typescript": "8.28.0", "@types/busboy": "^0.2.3", "@types/form-data": "^2.5.0", "@types/koa": "^2.0.52", diff --git a/src/main/index.ts b/src/main/index.ts index 9ffe8e25..762c9d4a 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -87,6 +87,7 @@ export { parameterize, postgresIntegration, prismaIntegration, + profiler, redisIntegration, requestDataIntegration, rewriteFramesIntegration, diff --git a/src/renderer/sdk.ts b/src/renderer/sdk.ts index d0b1d267..9174e253 100644 --- a/src/renderer/sdk.ts +++ b/src/renderer/sdk.ts @@ -44,7 +44,7 @@ interface ElectronRendererOptions extends BrowserOptions { export function init( options: ElectronRendererOptions & O = {} as ElectronRendererOptions & O, // This parameter name ensures that TypeScript error messages contain a hint for fixing SDK version mismatches - originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_27_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_28_0: O) => void = browserInit, ): void { // Ensure the browser SDK is only init'ed once. if (window?.__SENTRY__RENDERER_INIT__) { diff --git a/yarn.lock b/yarn.lock index 3d4eaf36..afc057ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -696,22 +696,22 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.16.4.tgz#c09ad9a132ccb5a67c4f211d909323ab1294f95f" integrity sha512-YunpoOAyGLDseanENHmbFvQSfVL5BxW3k7hhy0eN4rb3gS/ct75dVD0EXOWIqFT/nE8XYW6LP6vz6ctKRi0k9A== -"@sentry-internal/browser-utils@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.27.0.tgz#b8fd1c5e6b8c01d76abbba7ac5017eebcf7d3ed2" - integrity sha512-YTIwQ1GM1NTRXgN4DvpFSQ2x4pjlqQ0FQAyHW5x2ZYv4z7VmqG4Xkid1P/srQUipECk6nxkebfD4WR19nLsvnQ== - dependencies: - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry-internal/eslint-config-sdk@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.27.0.tgz#66930344394b6cdf64afdafbad8fbeea503286fb" - integrity sha512-JOx0DUWInhZ+g4IzhbctU+AZTx/GCIM9eX0w60uXxzsoiGCYpdmd/p51ZNmGPOcq2XFcxX+HC4pLGoKM/ptNXA== - dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.27.0" - "@sentry-internal/typescript" "8.27.0" +"@sentry-internal/browser-utils@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.28.0.tgz#bddc58c154e898195d45e971e058e237085bbcc2" + integrity sha512-tE9++KEy8SlqibTmYymuxFVAnutsXBqrwQ936WJbjaMfkqXiro7C1El0ybkprskd0rKS7kln20Q6nQlNlMEoTA== + dependencies: + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry-internal/eslint-config-sdk@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.28.0.tgz#330a817cca04d79518a879704913f18ee08e7c41" + integrity sha512-2x7FP7uYAAPT2f3D8Y2MwQAzqAWvc4w4M4hxD8tTugtgu4g+hetj9jKxtLwARpfQhjSvCWnilhmBG10PlSwTLQ== + dependencies: + "@sentry-internal/eslint-plugin-sdk" "8.28.0" + "@sentry-internal/typescript" "8.28.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -721,70 +721,70 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.27.0.tgz#b9b45088589c713e3c751a7906a50d5d2f4244cf" - integrity sha512-71qBtnXIfeO+2iBsN8kIoIBq8RA5waQ/RikVVqlwHtfMQrhaFHpBHTNwGKGBKTxdzGageMU6vC9s6JCMWakF1w== - -"@sentry-internal/feedback@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.27.0.tgz#46a4cbde49d7a1cb182792c28341a8c89249e6b1" - integrity sha512-b71PQc9aK1X9b/SO1DiJlrnAEx4n0MzPZQ/tKd9oRWDyGit6pJWZfQns9r2rvc96kJPMOTxFAa/upXRCkA723A== - dependencies: - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry-internal/replay-canvas@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.27.0.tgz#24a154f37b200ed99bb99a39cf98c35f25c2b93b" - integrity sha512-uuEfiWbjwugB9M4KxXxovHYiKRqg/R6U4EF8xM/Ub4laUuEcWsfRp7lQ3MxL3qYojbca8ncIFic2bIoKMPeejA== - dependencies: - "@sentry-internal/replay" "8.27.0" - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry-internal/replay@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.27.0.tgz#7762647930c3a9b3d99f6d4c486b28f9d3da70c2" - integrity sha512-Ofucncaon98dvlxte2L//hwuG9yILSxNrTz/PmO0k+HzB9q+oBic4667QF+azWR2qv4oKSWpc+vEovP3hVqveA== - dependencies: - "@sentry-internal/browser-utils" "8.27.0" - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry-internal/typescript@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.27.0.tgz#118f61036250b8671fcc92479389090dc9ebed6b" - integrity sha512-+hnzaMFaRWeF3SxEfeu80whtbcVkHVnAmHyFmJainf7boMs/RisTKjWqH9aMiqnC44x7a39CEZl9mDicxB2REw== - -"@sentry/browser@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.27.0.tgz#997eb6b3c298a659a109704a0fb660eae365cd3a" - integrity sha512-eL1eaHwoYUGkp4mpeYesH6WtCrm+0u9jYCW5Lm0MAeTmpx22BZKEmj0OljuUJXGnJwFbvPDlRjyz6QG11m8kZA== - dependencies: - "@sentry-internal/browser-utils" "8.27.0" - "@sentry-internal/feedback" "8.27.0" - "@sentry-internal/replay" "8.27.0" - "@sentry-internal/replay-canvas" "8.27.0" - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry/core@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.27.0.tgz#a0ebe31cdd9313186a14d9738238ed9cf7a59c01" - integrity sha512-4frlXluHT3Du+Omw91K04jpvbfMtydvg4Bxj2+gt/DT19Swhm/fbEpzdUjgbAd3Jinj/n0qk/jFRXjr9JZKFjg== - dependencies: - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" - -"@sentry/node@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.27.0.tgz#91a56b907f4cf7f5d7b2cbb97dbee313383f2887" - integrity sha512-nE2VPSHOW/tzH/lB6CoBtYkmXqXncUuWMC56RLRiPyHEXDktZx8oFp364/3m117iKOjO0XHP57Kl5cdb90IM7g== +"@sentry-internal/eslint-plugin-sdk@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.28.0.tgz#5e750fa82f8b04d5d900a3ac10b5ad98d96185ee" + integrity sha512-F9HxX6733Kx2G6x2EEHQ5r+L5Zv7aIfm59KieqqE0pFhTX4ria6D+i5BnNFMJPs0h6fBvBoCJSqcFmt/W/+9zw== + +"@sentry-internal/feedback@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.28.0.tgz#f278548ead037ad38e54d24b1afcdc1f711c5715" + integrity sha512-5vYunPCDBLCJ8QNnhepacdYheiN+UtYxpGAIaC/zjBC1nDuBgWs+TfKPo1UlO/1sesfgs9ibpxtShOweucL61g== + dependencies: + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry-internal/replay-canvas@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.28.0.tgz#6a08541f9fecd912b7334c693a403469c9e34a89" + integrity sha512-RfpYHDHMUKGeEdx41QtHITjEn6P3tGaDPHvatqdrD3yv4j+wbJ6laX1PrIxCpGFUtjdzkqi/KUcvUd2kzbH/FA== + dependencies: + "@sentry-internal/replay" "8.28.0" + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry-internal/replay@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.28.0.tgz#a84523066ab363239ef6b4180726908cab510e5f" + integrity sha512-70jvzzOL5O74gahgXKyRkZgiYN93yly5gq+bbj4/6NRQ+EtPd285+ccy0laExdfyK0ugvvwD4v+1MQit52OAsg== + dependencies: + "@sentry-internal/browser-utils" "8.28.0" + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry-internal/typescript@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.28.0.tgz#64dc045951ed896494df212e108ae1cffc9b59c0" + integrity sha512-mSmCMUI85d+ZeSmniRregXXwvy8FhGqsbNAz1catXy+F1zzHSv4DV2TonUxh4SOq6BloavWRPf1tuMwZ65ns/w== + +"@sentry/browser@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.28.0.tgz#e3d28e7a917c212418c887b4fabacc6ed88baea8" + integrity sha512-i/gjMYzIGQiPFH1pCbdnTwH9xs9mTAqzN+goP3GWX5a58frc7h8vxyA/5z0yMd0aCW6U8mVxnoAT72vGbKbx0g== + dependencies: + "@sentry-internal/browser-utils" "8.28.0" + "@sentry-internal/feedback" "8.28.0" + "@sentry-internal/replay" "8.28.0" + "@sentry-internal/replay-canvas" "8.28.0" + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry/core@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.28.0.tgz#dd28fa913c296b443d4070f147c63e81edf429c8" + integrity sha512-+If9uubvpZpvaQQw4HLiKPhrSS9/KcoA/AcdQkNm+5CVwAoOmDPtyYfkPBgfo2hLZnZQqR1bwkz/PrNoOm+gqA== + dependencies: + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" + +"@sentry/node@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.28.0.tgz#fef8cccd2c75345cb3e8840dba8b748a07376060" + integrity sha512-444hx0S7EAYDdq3g2U37qHFC/WFErgf8ZvXqhWfoCI4RweHHntdFbz3azexYnO61iUsmSAnFAX6htJtAG2zNdA== dependencies: "@opentelemetry/api" "^1.9.0" "@opentelemetry/context-async-hooks" "^1.25.1" @@ -810,34 +810,34 @@ "@opentelemetry/sdk-trace-base" "^1.25.1" "@opentelemetry/semantic-conventions" "^1.25.1" "@prisma/instrumentation" "5.18.0" - "@sentry/core" "8.27.0" - "@sentry/opentelemetry" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" + "@sentry/core" "8.28.0" + "@sentry/opentelemetry" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" import-in-the-middle "^1.11.0" optionalDependencies: opentelemetry-instrumentation-fetch-node "1.2.3" -"@sentry/opentelemetry@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.27.0.tgz#d5b55cf277ad1fc8111467887fd40ef428229a40" - integrity sha512-FRz7ApnyZYDFmi2CWUhKBux2N/0WswRLHwHDZ31FYCajujw7vQKucgdsxDW2RIRPWDwcMxHY1kvt6EzM1hIsxQ== +"@sentry/opentelemetry@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.28.0.tgz#402465eb5f2cf015f389321361953b9637e24e5e" + integrity sha512-xClK/fa2Y9AMoaV6f7sWfoHAz56actn2RN3UuYAfxlgmNEfZEa0tc78x4XygCT+2b83QbUb+qf1q4+1ft+HEsQ== dependencies: - "@sentry/core" "8.27.0" - "@sentry/types" "8.27.0" - "@sentry/utils" "8.27.0" + "@sentry/core" "8.28.0" + "@sentry/types" "8.28.0" + "@sentry/utils" "8.28.0" -"@sentry/types@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.27.0.tgz#a5c7d2877c6c3620f812b2b31377b58d390b89d4" - integrity sha512-B6lrP46+m2x0lfqWc9F4VcUbN893mVGnPEd7KIMRk95mPzkFJ3sNxggTQF5/ZfNO7lDQYQb22uysB5sj/BqFiw== +"@sentry/types@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.28.0.tgz#a1cfc004d5714679cb3fed06c27298b0275d13b5" + integrity sha512-hOfqfd92/AzBrEdMgmmV1VfOXJbIfleFTnerRl0mg/+CcNgP/6+Fdonp354TD56ouWNF2WkOM6sEKSXMWp6SEQ== -"@sentry/utils@8.27.0": - version "8.27.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.27.0.tgz#308f6cc34acac175c500e4dd5b5007cdb621c79e" - integrity sha512-gyJM3SyLQe0A3mkQVVNdKYvk3ZoikkYgyA/D+5StFNLKdyUgEbJgXOGXrQSSYPF7BSX6Sc5b0KHCglPII0KuKw== +"@sentry/utils@8.28.0": + version "8.28.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.28.0.tgz#0feb46015033879b2a3cee4c0661386610025f47" + integrity sha512-smhk7PJpvDMQ2DB5p2qn9UeoUHdU41IgjMmS2xklZpa8tjzBTxDeWpGvrX2fuH67D9bAJuLC/XyZjJCHLoEW5g== dependencies: - "@sentry/types" "8.27.0" + "@sentry/types" "8.28.0" "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -4323,16 +4323,7 @@ streamsearch@0.1.2: resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a" integrity sha512-jos8u++JKm0ARcSUTAZXOVC0mSox7Bhn6sBgty73P1f3JGf7yG2clTbBNHUdde/kdvP2FESam+vM6l8jBrNxHA== -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -4388,14 +4379,7 @@ string.prototype.trimstart@^1.0.8: define-properties "^1.2.1" es-object-atoms "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==