diff --git a/package.json b/package.json index b55f30a0..4413c58a 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.20.0", - "@sentry/core": "8.20.0", - "@sentry/node": "8.20.0", - "@sentry/types": "8.20.0", - "@sentry/utils": "8.20.0", + "@sentry/browser": "8.26.0", + "@sentry/core": "8.26.0", + "@sentry/node": "8.26.0", + "@sentry/types": "8.26.0", + "@sentry/utils": "8.26.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.20.0", - "@sentry-internal/typescript": "8.20.0", + "@sentry-internal/eslint-config-sdk": "8.26.0", + "@sentry-internal/typescript": "8.26.0", "@types/busboy": "^0.2.3", "@types/form-data": "^2.5.0", "@types/koa": "^2.0.52", @@ -96,4 +96,4 @@ "node": "20.12.0", "yarn": "1.22.19" } -} +} \ No newline at end of file diff --git a/src/renderer/sdk.ts b/src/renderer/sdk.ts index 6fb4c822..31157545 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_20_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_26_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 44976e71..e2d188f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -305,10 +305,10 @@ "@opentelemetry/semantic-conventions" "^1.22.0" "@types/connect" "3.4.36" -"@opentelemetry/instrumentation-express@0.41.0": - version "0.41.0" - resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-express/-/instrumentation-express-0.41.0.tgz#e23f0ad1945cbff3ac27fb1f64f7b4ee3c1e25dd" - integrity sha512-/B7fbMdaf3SYe5f1P973tkqd6s7XZirjpfkoJ63E7nltU30qmlgm9tY5XwZOzAFI0rHS9tbrFI2HFPAvQUFe/A== +"@opentelemetry/instrumentation-express@0.41.1": + version "0.41.1" + resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-express/-/instrumentation-express-0.41.1.tgz#658561df6ffbae86f5ad33e8d7ef2abb7b4967fc" + integrity sha512-uRx0V3LPGzjn2bxAnV8eUsDT82vT7NTwI0ezEuPMBOTOsnPpGhWdhcdNdhH80sM4TrWrOfXm9HGEdfWE3TRIww== dependencies: "@opentelemetry/core" "^1.8.0" "@opentelemetry/instrumentation" "^0.52.0" @@ -323,6 +323,14 @@ "@opentelemetry/instrumentation" "^0.52.0" "@opentelemetry/semantic-conventions" "^1.22.0" +"@opentelemetry/instrumentation-fs@0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-fs/-/instrumentation-fs-0.14.0.tgz#19f1cb38a8c2d05f3b96af67f1c8d43f0af2829b" + integrity sha512-pVc8P5AgliC1DphyyBUgsxXlm2XaPH4BpYvt7rAZDMIqUpRk8gs19SioABtKqqxvFzg5jPtgJfJsdxq0Y+maLw== + dependencies: + "@opentelemetry/core" "^1.8.0" + "@opentelemetry/instrumentation" "^0.52.0" + "@opentelemetry/instrumentation-graphql@0.42.0": version "0.42.0" resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-graphql/-/instrumentation-graphql-0.42.0.tgz#588a18c39e3b3f655bc09243566172ab0b638d35" @@ -688,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.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.20.0.tgz#26837f889cff1caf09ddfd6ca7f0adad9256b981" - integrity sha512-GGYNiELnT4ByidHyS4/M8UF8Oxagm5R13QyTncQGq8nZcQhcFZ9mdxLnf1/R4+j44Fph2Cgzafe8jGP/AMA9zw== +"@sentry-internal/browser-utils@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.26.0.tgz#3c76015e1bddde6775e6a7e115fbb494f247fed1" + integrity sha512-O2Tj+WK33/ZVp5STnz6ZL0OO+/Idk2KqsH0ITQkQmyZ2z0kdzWOeqK7s7q3/My6rB1GfPcyqPcBBv4dVv92FYQ== dependencies: - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" -"@sentry-internal/eslint-config-sdk@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.20.0.tgz#f9183816186037d7cdd77909a04bfab559b9307d" - integrity sha512-FWWeBe4emFih50NNisePhr0FzU3Z2m5aEBWOLM9IYor19F2fNbfiNtmDGSlIEDhgMiWaaUyPySeJLw7ein49HQ== +"@sentry-internal/eslint-config-sdk@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.26.0.tgz#f8181ab65453efcc9203fddd21d6cdfd6f461ebb" + integrity sha512-wM6rzTVq660Yay+LLiCuwZGCY/kjlQ/6TqiR1XgN1wAH7pOBIPRj/S4KWOnW/32Y7s6UHIt940hCx8vsl/xg6g== dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.20.0" - "@sentry-internal/typescript" "8.20.0" + "@sentry-internal/eslint-plugin-sdk" "8.26.0" + "@sentry-internal/typescript" "8.26.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -713,78 +721,79 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.20.0.tgz#e33ca1f5c02174608ccc834a8cac03713db4aeb7" - integrity sha512-Vz6+HBoUa8STibAALoXbHVH5xcKYiGLNsHjgUr3vAbttD4T+k78TPXQb3Q+EN8gPpdogzVvcu0FB2miz6LmC+A== - -"@sentry-internal/feedback@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.20.0.tgz#8e4ab43bb4048951f6670bd48b2af04deb75eff4" - integrity sha512-mFvAoVpVShkDB2AgEr/dE96NSTPKI/lGMBznZMg7ZEcwZhLfH7HvLYCadIskRfzqFTLOUpbm9ciIO4SyR/4bDA== - dependencies: - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - -"@sentry-internal/replay-canvas@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.20.0.tgz#abaa845278dd397670fb01baed505f751b1c9989" - integrity sha512-LXV/pMH9KMw6CtImenMsiBkYIFIc97pDJ/rC7mVImKIROQ45fxGp/JBXM4Id0GENyA2+SySMWVQCAAapSfHZTw== - dependencies: - "@sentry-internal/replay" "8.20.0" - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - -"@sentry-internal/replay@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.20.0.tgz#1e1b514651a6c499609cb90cf8df3ee18a1df157" - integrity sha512-sCiI7SOAHq5XsxkixtoMofeSyKd/hVgDV+4145f6nN9m7nLzig4PBQwh2SgK2piJ2mfaXfqcdzA1pShPYldaJA== - dependencies: - "@sentry-internal/browser-utils" "8.20.0" - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - -"@sentry-internal/typescript@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.20.0.tgz#ca3d2ee613cbcc8692bdbeadb1c3b3375c810e29" - integrity sha512-pKj6TqlF7TMuy5zr1i3vnsZWN11DuCypUguSOtUV/L8+VMeho8msYQXJqDu+5QjhvfRpdPBEqeuK6lr7plDn7Q== - -"@sentry/browser@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.20.0.tgz#6644d3223f891b031684210d89511275a5d6c657" - integrity sha512-JDZbCreY44/fHYN28QzsAwEHXa2rc1hzM6GE4RSlXCdAhNfrjVxyYDxhw/50pVEHZg1WXxf7ZmERjocV5VJHsw== - dependencies: - "@sentry-internal/browser-utils" "8.20.0" - "@sentry-internal/feedback" "8.20.0" - "@sentry-internal/replay" "8.20.0" - "@sentry-internal/replay-canvas" "8.20.0" - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - -"@sentry/core@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.20.0.tgz#c50d082033a44295d2fe9140319f912ba1f946d3" - integrity sha512-R81snuw+67VT4aCxr6ShST/s0Y6FlwN2YczhDwaGyzumn5rlvA6A4JtQDeExduNoDDyv4T3LrmW8wlYZn3CJJw== - dependencies: - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - -"@sentry/node@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.20.0.tgz#dc20f03dfdec8797f2a0074ebe90044d305d1c59" - integrity sha512-i4ywT2m0Gw65U3uwI4NwiNcyqp9YF6/RsusfH1pg4YkiL/RYp7FS0MPVgMggfvoue9S3KjCgRVlzTLwFATyPXQ== +"@sentry-internal/eslint-plugin-sdk@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.26.0.tgz#9d08c3e342e6cabd2a0f423bd7cbaba3fe062314" + integrity sha512-p9flHwd7ITjcLCTcrhLztFCGPEJvR/txCwcA2gN3YrpAKmLcDxyICsWiYoqBQfk97rsJbADn2ZzxU9fQsZkJPA== + +"@sentry-internal/feedback@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.26.0.tgz#c29a2a4d97d9a9b56344521f3dbb16e2c40d799e" + integrity sha512-hQtw1gg8n6ERK1UH47F7ZI1zOsbhu0J2VX+TrnkpaQR2FgxDW1oe9Ja6oCV4CQKuR4w+1ZI/Kj4imSt0K33kEw== + dependencies: + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + +"@sentry-internal/replay-canvas@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.26.0.tgz#005e4ebed631d0e505e117d42ae8bc64748628d1" + integrity sha512-2CFQW6f9aJHIo/DqmqYa9PaYoLn1o36ywc0h8oyGrD4oPCbrnE5F++PmTdc71GBODu41HBn/yoCTLmxOD+UjpA== + dependencies: + "@sentry-internal/replay" "8.26.0" + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + +"@sentry-internal/replay@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.26.0.tgz#7d01b1915343bf8ca3d9ef7500994d4a45f3785e" + integrity sha512-JDY7W2bswlp5c3483lKP4kcb75fHNwGNfwD8x8FsY9xMjv7nxeXjLpR5cCEk1XqPq2+n6w4j7mJOXhEXGiUIKg== + dependencies: + "@sentry-internal/browser-utils" "8.26.0" + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + +"@sentry-internal/typescript@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.26.0.tgz#ffdb2bf903d91f188dcc8f4fc2b9603ff39db17a" + integrity sha512-v3dZ6QRTyMzJmOIOLXkE8F90uTOzmb9nCHtFysfM+kUyuR3PbnWy3YzlmqNm5CiDoY4mBUDJu+yz4MJA64gy/Q== + +"@sentry/browser@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.26.0.tgz#749508ca8d1da857930f41430eb3a77102712f46" + integrity sha512-e5s6eKlwLZWzTwQcBwqyAGZMMuQROW9Z677VzwkSyREWAIkKjfH2VBxHATnNGc0IVkNHjD7iH3ixo3C0rLKM3w== + dependencies: + "@sentry-internal/browser-utils" "8.26.0" + "@sentry-internal/feedback" "8.26.0" + "@sentry-internal/replay" "8.26.0" + "@sentry-internal/replay-canvas" "8.26.0" + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + +"@sentry/core@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.26.0.tgz#0673a9e2c5b699cf1bde1ed073a345cc393577da" + integrity sha512-g/tVmTZD4GNbLFf++hKJfBpcCAtduFEMLnbfa9iT/QEZjlmP+EzY+GsH9bafM5VsNe8DiOUp+kJKWtShzlVdBA== + dependencies: + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + +"@sentry/node@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.26.0.tgz#aabe8619fb2934ed119f1b953172aa08b4783876" + integrity sha512-N9mNLzicnfGgsq6P10ckPdTzEFusjTC7gpqPopwq5eEMF7g798hH8CcE5o6FZ4iAAR3vWliAR/jgccdoMmJMpQ== dependencies: "@opentelemetry/api" "^1.9.0" "@opentelemetry/context-async-hooks" "^1.25.1" "@opentelemetry/core" "^1.25.1" "@opentelemetry/instrumentation" "^0.52.1" "@opentelemetry/instrumentation-connect" "0.38.0" - "@opentelemetry/instrumentation-express" "0.41.0" + "@opentelemetry/instrumentation-express" "0.41.1" "@opentelemetry/instrumentation-fastify" "0.38.0" + "@opentelemetry/instrumentation-fs" "0.14.0" "@opentelemetry/instrumentation-graphql" "0.42.0" "@opentelemetry/instrumentation-hapi" "0.40.0" "@opentelemetry/instrumentation-http" "0.52.1" @@ -801,34 +810,34 @@ "@opentelemetry/sdk-trace-base" "^1.25.1" "@opentelemetry/semantic-conventions" "^1.25.1" "@prisma/instrumentation" "5.17.0" - "@sentry/core" "8.20.0" - "@sentry/opentelemetry" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" - import-in-the-middle "^1.10.0" + "@sentry/core" "8.26.0" + "@sentry/opentelemetry" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" + import-in-the-middle "^1.11.0" optionalDependencies: opentelemetry-instrumentation-fetch-node "1.2.3" -"@sentry/opentelemetry@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.20.0.tgz#5e62a361f43e6b53686037a62b82a7de51995578" - integrity sha512-NFcLK6+t9wUc4HlGKeuDn6W4KjZxZfZmWlrK2/tgC5KzG1cnVeOnWUrJzGHTa+YDDdIijpjiFUcpXGPkX3rmIg== +"@sentry/opentelemetry@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.26.0.tgz#358df3f81299c93c27465a7f173b1aeed10b2e63" + integrity sha512-HBDheM/+ysfIz8R1OH4bBIxdgD7ZbQkKLJAUXkdAbBcfbpK/CTtwcplbauF5wY7Q+GYvwL/ShuDwvXRfW+gFyQ== dependencies: - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" + "@sentry/core" "8.26.0" + "@sentry/types" "8.26.0" + "@sentry/utils" "8.26.0" -"@sentry/types@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.20.0.tgz#f0f50c84eb768df8b55ee7b41459fec2d39d0d5e" - integrity sha512-6IP278KojOpiAA7vrd1hjhUyn26cl0n0nGsShzic5ztCVs92sTeVRnh7MTB9irDVtAbOEyt/YH6go3h+Jia1pA== +"@sentry/types@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.26.0.tgz#c999fdd9e52587570f723d2370244bad8f79b571" + integrity sha512-zKmh6SWsJh630rpt7a9vP4Cm4m1C2gDTUqUiH565CajCL/4cePpNWYrNwalSqsOSL7B9OrczA1+n6a6XvND+ng== -"@sentry/utils@8.20.0": - version "8.20.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.20.0.tgz#fcbf46c8e8c8eccbf1db532b087547eb4f6c449c" - integrity sha512-+1I5H8dojURiEUGPliDwheQk8dhjp8uV1sMccR/W/zjFrt4wZyPs+Ttp/V7gzm9LDJoNek9tmELert/jQqWTgg== +"@sentry/utils@8.26.0": + version "8.26.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.26.0.tgz#c6629f0f2bc8cbc4fddd124770e9063b4e2d1c65" + integrity sha512-xvlPU9Hd2BlyT+FhWHGNwnxWqdVRk2AHnDtVcW4Ma0Ri5EwS+uy4Jeik5UkSv8C5RVb9VlxFmS8LN3I1MPJsLw== dependencies: - "@sentry/types" "8.20.0" + "@sentry/types" "8.26.0" "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -2871,10 +2880,10 @@ import-in-the-middle@1.8.0: cjs-module-lexer "^1.2.2" module-details-from-path "^1.0.3" -import-in-the-middle@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-1.10.0.tgz#f15b0841950ded8d899b635058da5646256949b1" - integrity sha512-Z1jumVdF2GwnnYfM0a/y2ts7mZbwFMgt5rRuVmLgobgahC6iKgN5MBuXjzfTIOUpq5LSU10vJIPpVKe0X89fIw== +import-in-the-middle@^1.11.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-1.11.0.tgz#a94c4925b8da18256cde3b3b7b38253e6ca5e708" + integrity sha512-5DimNQGoe0pLUHbR9qK84iWaWjjbsxiqXnw6Qz64+azRgleqv9k2kTt5fw7QsOpmaGYtuxxursnPPsnTKEx10Q== dependencies: acorn "^8.8.2" acorn-import-attributes "^1.9.5"