From 4efc5e5595c8691229853a95560518dc6c975834 Mon Sep 17 00:00:00 2001 From: timfish Date: Thu, 1 Aug 2024 09:03:38 +0000 Subject: [PATCH] test: New Sentry SDK version --- package.json | 16 ++-- src/renderer/sdk.ts | 2 +- yarn.lock | 214 ++++++++++++++++++++++---------------------- 3 files changed, 116 insertions(+), 116 deletions(-) diff --git a/package.json b/package.json index b55f30a02..c27808b58 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.22.0", + "@sentry/core": "8.22.0", + "@sentry/node": "8.22.0", + "@sentry/types": "8.22.0", + "@sentry/utils": "8.22.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.22.0", + "@sentry-internal/typescript": "8.22.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 6fb4c822b..bfeaad284 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_22_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 44976e713..e7b1cc7a0 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" @@ -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.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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.22.0.tgz#29f35a617ec69d881141decdcdbbe3a777528392" + integrity sha512-R0u8KPaSivueIwUOhmYxcisKaJq3gx+I0xOcWoluDB3OI1Ds/QOSP/vmTsMg/mjwG/nUJ8RRM8pj0s8vlqCrjg== dependencies: - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.22.0.tgz#321b5bc1bc901a1a5d7bb4c9a1a0a402d3195af2" + integrity sha512-Xb9MbtH5CZK/Mpyow+63a/xZTd2+cfCtdEshaDfU/1qGR4ZG41axhl36+2Iq3F4NiatoWDS0d1EaSF5QW0l3Xw== dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.20.0" - "@sentry-internal/typescript" "8.20.0" + "@sentry-internal/eslint-plugin-sdk" "8.22.0" + "@sentry-internal/typescript" "8.22.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -713,77 +713,77 @@ 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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.22.0.tgz#0950840e3ea4fc741f27f4d34d7a5a3990720ef1" + integrity sha512-5akW0sk+1WtWu0VnxzxEHUD53pjhIutaoHfgiiBcJDRJoXdFE0d2drpVT28Apvas9nv9dYQu5PJaEri/0UBZKQ== + +"@sentry-internal/feedback@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.22.0.tgz#d6b222ea08d72886b3efbc0760c8cf1f71b3e7fc" + integrity sha512-Sy2+v0xBmVnZ5LQ48603CvLy5vVQvAZ+hc9xQSAHexts07NkvApMU1qv26YNwxlAWfDha1wXiW6ryd4YDzaoVA== + dependencies: + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.0" + +"@sentry-internal/replay-canvas@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.22.0.tgz#70c5951a9d54f2e814e930fbe0371ab83fee1e72" + integrity sha512-/gV8qN3JqWw0LXTMuCGB8RDI8Bx1VESNRBdh/7Cmc5+hxYBfcketuix3S8mHWcE/JO+Ed9g1Abzys6GphTB9LA== + dependencies: + "@sentry-internal/replay" "8.22.0" + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.0" + +"@sentry-internal/replay@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.22.0.tgz#c76bbe4575f8ab478694fe54d4bae87010315d3a" + integrity sha512-sF8RyMPJP1fSIyyBDAbtybvKCu0dy8ZAfMwLP7ZqEnWrhZqktVuqM7/++EAFMlD5YaWJXm1IDuOXjgSQjUtSIQ== + dependencies: + "@sentry-internal/browser-utils" "8.22.0" + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.0" + +"@sentry-internal/typescript@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.22.0.tgz#ac027ca6de5771576df29caf9593e3b3536e4cec" + integrity sha512-4BsMaL+R2fRlURlgT6dFewsY5DoS87sJtZPxEs48KlW1wZ9rRAUVGRzROmj3XDmg+/zLZLhigQvhJwzZgIiS4A== + +"@sentry/browser@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.22.0.tgz#ee15b0ef7985732d56d01b62adbbc7b76bcc7ddc" + integrity sha512-t3b+/9WWcP9SQTWwrHrB57B33ENgmUjyFlW2+JSlCXkSJBSmAoquPZ/GPjOuPaSr3HIA0mu9uEr4A41d5diASQ== + dependencies: + "@sentry-internal/browser-utils" "8.22.0" + "@sentry-internal/feedback" "8.22.0" + "@sentry-internal/replay" "8.22.0" + "@sentry-internal/replay-canvas" "8.22.0" + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.0" + +"@sentry/core@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.22.0.tgz#755387b85c1f7d849fb80acd7e8d54ee73ee2853" + integrity sha512-fYPnxp7UkY2tckaOtivIySxnJvlbekuxs+Qi6rkUv9JpF+TYKpt7OPNUAbgVIhS0xazAEN6iKTfmnmpUbFRLmQ== + dependencies: + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.0" + +"@sentry/node@8.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.22.0.tgz#588a01fd6746219d47eef8f7e4b73f7eebf6827e" + integrity sha512-xDLB4TJXT8iFKwoFneOIJtlfpsUB6L0m32Do97TrQ1dY2WilspksznrU2Ac+XfshdNxa8Sqr4tSj07Yzn0VNiQ== 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-graphql" "0.42.0" "@opentelemetry/instrumentation-hapi" "0.40.0" @@ -801,34 +801,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.22.0" + "@sentry/opentelemetry" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.22.0.tgz#3589c548ddc14c30c72d7523d386c9705a92faeb" + integrity sha512-JqNsoyPdZ88Me2SdxAqq/5agcMzUzZ5xIjrM4ETC1aaeD+cPij/xL4U31b8S7aFJy3miaaZqFzpBy9A/YtFxLw== dependencies: - "@sentry/core" "8.20.0" - "@sentry/types" "8.20.0" - "@sentry/utils" "8.20.0" + "@sentry/core" "8.22.0" + "@sentry/types" "8.22.0" + "@sentry/utils" "8.22.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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.22.0.tgz#98bfc8cebd37c93f5afe76c6df97d88116b32127" + integrity sha512-1MLK3xO+uF2oJaa+M98aLIrQsEHzV7xnVWPfE3MhejYLNQebj4rQnQKTut/xZNIF9W0Q+bRcakLarC3ce2a74g== -"@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.22.0": + version "8.22.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.22.0.tgz#0e4411b19add83f84097fbf9c88423e69b8f6a38" + integrity sha512-0ITG2+3EtyMtyc/nQG8aB9z9eIQ4L43nM/KuNgYSnM1vPl/zegbaLT0Ek/xkQB1OLIOLkEPQ6x9GWe+248/n3g== dependencies: - "@sentry/types" "8.20.0" + "@sentry/types" "8.22.0" "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -2871,10 +2871,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"