diff --git a/package.json b/package.json index e05cf2f8..1844d9a2 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.19.0", - "@sentry/core": "8.19.0", - "@sentry/node": "8.19.0", - "@sentry/types": "8.19.0", - "@sentry/utils": "8.19.0", + "@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", "deepmerge": "4.3.1" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", - "@sentry-internal/eslint-config-sdk": "8.19.0", - "@sentry-internal/typescript": "8.19.0", + "@sentry-internal/eslint-config-sdk": "8.20.0", + "@sentry-internal/typescript": "8.20.0", "@types/busboy": "^0.2.3", "@types/form-data": "^2.5.0", "@types/koa": "^2.0.52", diff --git a/src/renderer/sdk.ts b/src/renderer/sdk.ts index 80ef1df6..6fb4c822 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_19_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_20_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 b77d30f2..44976e71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -688,22 +688,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.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.19.0.tgz#7a25111c5c3430c07b881d5fc83d1598af6d5676" - integrity sha512-kM/2KlikKuBR63nFi2q7MGS3V9K9hakjvUknhr/jHZqDVfEuBKmp1ZlHFAdJtglKHHJy07gPj/XqDH7BbYh5yg== - dependencies: - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry-internal/eslint-config-sdk@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.19.0.tgz#15297d778df91eb57743e6c31f00d13d9e35ebbb" - integrity sha512-zHqH1g774qKFE8oOAEMh9B4izfm0NhKBOv0kDpbeWXCPG4wbhkFkX+7ILtRdpFgbnvjamE3PmSIYUMK5Rye//A== - dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.19.0" - "@sentry-internal/typescript" "8.19.0" +"@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== + dependencies: + "@sentry/core" "8.20.0" + "@sentry/types" "8.20.0" + "@sentry/utils" "8.20.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== + dependencies: + "@sentry-internal/eslint-plugin-sdk" "8.20.0" + "@sentry-internal/typescript" "8.20.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -713,70 +713,70 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.19.0.tgz#84c9d23c61fa59b5154ff350370417f5997fa1ce" - integrity sha512-i4HiDDT/Z7MD6x/kjPHQubYQ8qNvbuCQa15M7e1x4LGhb64HDcy3/yVoHO8PGTixMg15lXA9UCXwt4r5HhOedQ== - -"@sentry-internal/feedback@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.19.0.tgz#7efef695fd4a058b36ef5c98145c4a990bbe877c" - integrity sha512-Jc77H8fEaGcBhERc2U/o7Q8CZHvlZLT9vAlzq0ZZR20v/1vwYcJW1ysKfTuvmw22hCR6ukhFNl6pqJocXFVhvA== - dependencies: - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry-internal/replay-canvas@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.19.0.tgz#4afe06acadf14a709e36efe5ad7da350e3ce0815" - integrity sha512-l4pKJDHrXEctxrK7Xme/+fKToXpGwr/G2t77BzeE1WEw9LwSwADz/hi8HoMdZzuKWriM2BNbz20tpVS84sODxA== - dependencies: - "@sentry-internal/replay" "8.19.0" - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry-internal/replay@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.19.0.tgz#7b290b19d6ba5c0ab742c4c48839cce329129b3f" - integrity sha512-EW9e1J6XbqXUXQST1AfSIzT9O8OwPyeFOkhkn9/gqOQv08TJvQEIBtWJEoJS+XFMEUuB8IqIzVWNVko/DnGt9A== - dependencies: - "@sentry-internal/browser-utils" "8.19.0" - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry-internal/typescript@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.19.0.tgz#d8ef9e5bc294b209e419c0d271839fb932a3e4d0" - integrity sha512-Gd6eABKflMG5T522Zd+asPu3lgz//n9QhQdsbNDIJwoyKjfTT5XjXhVMW7pXHfTwMt6OBLFK4HLWUcDznm0FMQ== - -"@sentry/browser@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.19.0.tgz#64551150cda979728297035f9a367ed344c7d586" - integrity sha512-ZC1HxIFm4TIGONyy9MkPG6Dw8IAhzq43t5mq9PqrB1ehuWj8GX6Vk3E26kuc2sydAm4AXbj0562OmvZHsAJpUA== - dependencies: - "@sentry-internal/browser-utils" "8.19.0" - "@sentry-internal/feedback" "8.19.0" - "@sentry-internal/replay" "8.19.0" - "@sentry-internal/replay-canvas" "8.19.0" - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry/core@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.19.0.tgz#427d09ca27557ddc7c1bfa5e810b7f802836e0b4" - integrity sha512-MrgjsZCEjOJgQjIznnDSrLEy7qL+4LVpNieAvr49cV1rzBNSwGmWRnt/puVaPsLyCUgupVx/43BPUHB/HtKNUw== - dependencies: - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" - -"@sentry/node@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.19.0.tgz#366ca24436461b103c245867cc7881c8f5aca13c" - integrity sha512-r7AeKxfB9eE/UW0NZT3AMh+hNA65NFEwtsMYO6iI52FPLFZh0DLOvzVOeNsmsJqPpyetooUGTtUYpBdinZldWA== +"@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== dependencies: "@opentelemetry/api" "^1.9.0" "@opentelemetry/context-async-hooks" "^1.25.1" @@ -801,33 +801,34 @@ "@opentelemetry/sdk-trace-base" "^1.25.1" "@opentelemetry/semantic-conventions" "^1.25.1" "@prisma/instrumentation" "5.17.0" - "@sentry/core" "8.19.0" - "@sentry/opentelemetry" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.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" optionalDependencies: opentelemetry-instrumentation-fetch-node "1.2.3" -"@sentry/opentelemetry@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.19.0.tgz#5656cfb372e09a4e792838692885435d7b7b6cfd" - integrity sha512-L1aSxO/aJJ7D3pIlTaVOgbiZJAnUHXezobTc8j5pqFCQACjxnLMSDrt53QfFV52CcjbliDWCYe4IB8umu4DgpA== +"@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== dependencies: - "@sentry/core" "8.19.0" - "@sentry/types" "8.19.0" - "@sentry/utils" "8.19.0" + "@sentry/core" "8.20.0" + "@sentry/types" "8.20.0" + "@sentry/utils" "8.20.0" -"@sentry/types@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.19.0.tgz#26a5d56c823c5eabbb7d6f53112da335b6d96dcb" - integrity sha512-52C8X5V7mK2KIxMJt8MV5TxXAFHqrQR1RKm1oPTwKVWm8hKr1ZYJXINymNrWvpAc3oVIKLC/sa9WFYgXQh+YlA== +"@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/utils@8.19.0": - version "8.19.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.19.0.tgz#f22df2a38327b1cff1e04ba7f11fdf1a32d3ba22" - integrity sha512-8dWJJKaUN6Hf92Oxw2TBmHchGua2W3ZmonrZTTwLvl06jcAigbiQD0MGuF5ytZP8PHx860orV+SbTGKFzfU3Pg== +"@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== dependencies: - "@sentry/types" "8.19.0" + "@sentry/types" "8.20.0" "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -2870,6 +2871,16 @@ 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== + dependencies: + acorn "^8.8.2" + acorn-import-attributes "^1.9.5" + cjs-module-lexer "^1.2.2" + module-details-from-path "^1.0.3" + import-in-the-middle@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-1.8.1.tgz#8b51c2cc631b64e53e958d7048d2d9463ce628f8"