From fc4f64b0d6ed52e8a92d4f434432c6c863ff97bc Mon Sep 17 00:00:00 2001 From: timfish Date: Sat, 6 Jul 2024 09:03:55 +0000 Subject: [PATCH] test: New Sentry SDK version --- package.json | 14 +-- src/renderer/sdk.ts | 2 +- yarn.lock | 204 ++++++++++++++++++++++---------------------- 3 files changed, 110 insertions(+), 110 deletions(-) diff --git a/package.json b/package.json index d3c0091b..129ac4a1 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.13.0", - "@sentry/core": "8.13.0", - "@sentry/node": "8.13.0", - "@sentry/types": "8.13.0", - "@sentry/utils": "8.13.0", + "@sentry/browser": "8.15.0", + "@sentry/core": "8.15.0", + "@sentry/node": "8.15.0", + "@sentry/types": "8.15.0", + "@sentry/utils": "8.15.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.13.0", - "@sentry-internal/typescript": "8.13.0", + "@sentry-internal/eslint-config-sdk": "8.15.0", + "@sentry-internal/typescript": "8.15.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 9a64a7e6..448264e3 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_13_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_15_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 5022a182..e4663bed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -572,10 +572,10 @@ "@pnpm/network.ca-file" "^1.0.1" config-chain "^1.1.11" -"@prisma/instrumentation@5.16.0": - version "5.16.0" - resolved "https://registry.yarnpkg.com/@prisma/instrumentation/-/instrumentation-5.16.0.tgz#ee50f851945364c43e4067b84fe4071235ca3dd2" - integrity sha512-MVzNRW2ikWvVNnMIEgQMcwWxpFD+XF2U2h0Qz7MjutRqJxrhWexWV2aSi2OXRaU8UL5wzWw7pnjdKUzYhWauLg== +"@prisma/instrumentation@5.16.1": + version "5.16.1" + resolved "https://registry.yarnpkg.com/@prisma/instrumentation/-/instrumentation-5.16.1.tgz#93f996f9c95874156badbb5edbb97994667f7c3f" + integrity sha512-4m5gRFWnQb8s/yTyGbMZkL7A5uJgqOWcWJxapwcAD0T0kh5sGPEVSQl/zTQvE9aduXhFAxOtC3gO+R8Hb5xO1Q== dependencies: "@opentelemetry/api" "^1.8" "@opentelemetry/instrumentation" "^0.49 || ^0.50 || ^0.51 || ^0.52.0" @@ -690,22 +690,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.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.13.0.tgz#b7c3bdd49d2382f60dde31745716d29dd419b6ba" - integrity sha512-lqq8BYbbs9KTlDuyB5NjdZB6P/llqQs32KUgaCQ/k5DFB4Zf56+BFHXObnMHxwx375X1uixtnEphagWZa+nsLQ== +"@sentry-internal/browser-utils@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.15.0.tgz#d78646d02d76445ba71c7ed423d749b192ef010c" + integrity sha512-DquySUQRnmMyRbfHH9t/JDwPMsVaCOCzV/6XmMb7s4FDYTWSCSpumJEYfiyJCuI9NeebPHZWF7LZCHH4glSAJQ== dependencies: - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" -"@sentry-internal/eslint-config-sdk@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.13.0.tgz#5d5e2607bb15ab965a50a94f93c0735bfda00b79" - integrity sha512-Dlro9JTzl9i2xzzb4gAyFOHB8Fg2bmJEmLa+9dzpNtA5grG0WGRMhfO4qla1mcMEpwUpf8ejLl4Lllgga2gX0A== +"@sentry-internal/eslint-config-sdk@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.15.0.tgz#c7415e1702d03b74096ec1a974ba78ddf0fd06f7" + integrity sha512-XhWv9ruEube/1o7SdI1H6nlxcqLwj2tfN/JPqoab9mKmJN/9bh3gwZyzuVcrzn89nWW52mijjf8DRTAUmHU9Eg== dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.13.0" - "@sentry-internal/typescript" "8.13.0" + "@sentry-internal/eslint-plugin-sdk" "8.15.0" + "@sentry-internal/typescript" "8.15.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -715,70 +715,70 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.13.0.tgz#2ccc36db76eb5bbeb1293aaa87616e378f2cd9d0" - integrity sha512-OYCPIm5ETdaBUn4262LzJSV+eAVXwbtlkMuCshwd441Sm8cD+DkwZQYpZKRKlppt0YlsfhkJaZqaRYgB0LxNpA== - -"@sentry-internal/feedback@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.13.0.tgz#100eeeb558536e2390ded8fb58cba3984ac41abd" - integrity sha512-YyJ6SzpTonixvguAg0H9vkEp7Jq8ZeVY8M4n47ClR0+TtaAUp04ZhcJpHKF7PwBIAzc7DRr2XP112tmWgiVEcg== - dependencies: - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" - -"@sentry-internal/replay-canvas@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.13.0.tgz#fce0fb82ab85badb421244d75bc616948fb6db64" - integrity sha512-lPlfWVIHX+gW4S8a/UOVutuqMyQhlkNUAay0W21MVhZJT5Mtj0p21D/Cz7nrOQRDIiLNq90KAGK2tLxx5NkiWA== - dependencies: - "@sentry-internal/replay" "8.13.0" - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" - -"@sentry-internal/replay@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.13.0.tgz#84e57e3596e24ad0bc31eb61540c81c3737c09ff" - integrity sha512-DJ1jF/Pab0FH4SeCvSGCnGAu/s0wJvhBWM5VjQp7Jjmcfunp+R3vJibqU8gAVZU1nYRLaqprLdIXrSyP2Km8nQ== - dependencies: - "@sentry-internal/browser-utils" "8.13.0" - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" - -"@sentry-internal/typescript@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.13.0.tgz#3746383085114aeb8910ab745ff9a2feb03392ae" - integrity sha512-QSrwIcSrO1N/9OmQawUrBuBN20jjoD/GXG8uniq6fxVObparhQEl+C3GqcXd6sjb0/E24QfF8T5clxQt0PNxbQ== - -"@sentry/browser@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.13.0.tgz#38329ff716d681d8dc5445c1660698b186d05723" - integrity sha512-/tp7HZ5qjwDLtwooPMoexdAi2PG7gMNY0bHeMlwy20hs8mclC8RW8ZiJA6czXHfgnbmvxfrHaY53IJyz//JnlA== - dependencies: - "@sentry-internal/browser-utils" "8.13.0" - "@sentry-internal/feedback" "8.13.0" - "@sentry-internal/replay" "8.13.0" - "@sentry-internal/replay-canvas" "8.13.0" - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" - -"@sentry/core@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.13.0.tgz#5b2a83402013b828bf2c49c82e751ca490f8669a" - integrity sha512-N9Qg4ZGxZWp8eb2eUUHVVKgjBLtFIjS805nG92s6yJmkvOpKm6mLtcUaT/iDf3Hta6nG+xRkhbE3r+Z4cbXG8w== - dependencies: - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" - -"@sentry/node@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.13.0.tgz#5c41099b755a7c1f422c72ccbb5cbd93d6ecae94" - integrity sha512-OeZ7K90RhyxfwfreerIi4cszzHrPRRH36STJno2+p3sIGbG5VScOccqXzYEOAqHpByxnti4KQN34BLAT2BFOEA== +"@sentry-internal/eslint-plugin-sdk@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.15.0.tgz#437a55fc84cdee6686854f33e8c2d7c0e460d906" + integrity sha512-H7RFcR2OcHr2hfhe5V2g0/+U/mZ+PNw6cu5B9zoTovpWI9AN3akC7itQu8uQVlGkVPlvLAHQ+4h0oYFrk60w7g== + +"@sentry-internal/feedback@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.15.0.tgz#c28a176208dd53025c7aff4eb4df0fa19f48e0c4" + integrity sha512-W6XiLpw7fL1A0KaHxIH45nbC2M8uagrMoBnMZ1NcqE4AoSe7VtoDqPsLvQ7MgMXwsBYiPu2AItRnKoGFS/dUBA== + dependencies: + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" + +"@sentry-internal/replay-canvas@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.15.0.tgz#0201eaae000678bdb0b054cd558f5c1bb0882454" + integrity sha512-gfezIuvf94wY748l5wSy4pRm+45GjiBm0Q/KLnXROLZKmbI7MTJrdQXA2Oxut848iISTQo4/LimecFnBDiaGtw== + dependencies: + "@sentry-internal/replay" "8.15.0" + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" + +"@sentry-internal/replay@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.15.0.tgz#5382790b9c5b0d223aebdf50ad84135463eecd32" + integrity sha512-d4cA8pjr0CGHkTe8ulqMROYCX3bMHBAi/7DJBr11i4MdNCUl+/pndA9C5TiFv0sFzk/hDZQZS3J+MfGp56ZQHw== + dependencies: + "@sentry-internal/browser-utils" "8.15.0" + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" + +"@sentry-internal/typescript@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.15.0.tgz#0acc7ae82278b966463ab418cf13150ed27f7a9c" + integrity sha512-IyNaeVrX7tKvTyCbn+N2rUwP9q/l5erJkIMlysEn9ugYGy8gO4twNzy9p2dZ6Fk6j7utAr/ikY4j8NuMebRu9w== + +"@sentry/browser@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.15.0.tgz#81223a4ee448c7ffed662301314132c3f442ec08" + integrity sha512-Tx4eFgAqa8tedg30+Cgr7qFocWHise8p3jb/RSNs+TCEBXLVtQidHHVZMO71FWUAC86D7woo5hMKTt+UmB8pgg== + dependencies: + "@sentry-internal/browser-utils" "8.15.0" + "@sentry-internal/feedback" "8.15.0" + "@sentry-internal/replay" "8.15.0" + "@sentry-internal/replay-canvas" "8.15.0" + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" + +"@sentry/core@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.15.0.tgz#a8df0a6bfeedad090c7b5ac3f76656f8ed28ac70" + integrity sha512-RjuEq/34VjNmxlfzq+485jG63/Vst90svQapLwVgBZWgM8jxrLyCRXHU0wfBc7/1IhV/T9GYAplrJQAkG4J9Ow== + dependencies: + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" + +"@sentry/node@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.15.0.tgz#0224dd6307616b6ceaf78fcc10474abaddac772f" + integrity sha512-GQO9n+M4EldBE3TNWhGzFocpUw1BU5rGfX6KC6I8BDKUeJDPDZpDknmNHzcjE5aXd+SieGiyt0sE5PaT48cGlQ== dependencies: "@opentelemetry/api" "^1.9.0" "@opentelemetry/context-async-hooks" "^1.25.1" @@ -802,34 +802,34 @@ "@opentelemetry/resources" "^1.25.1" "@opentelemetry/sdk-trace-base" "^1.25.1" "@opentelemetry/semantic-conventions" "^1.25.1" - "@prisma/instrumentation" "5.16.0" - "@sentry/core" "8.13.0" - "@sentry/opentelemetry" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" + "@prisma/instrumentation" "5.16.1" + "@sentry/core" "8.15.0" + "@sentry/opentelemetry" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" optionalDependencies: opentelemetry-instrumentation-fetch-node "1.2.0" -"@sentry/opentelemetry@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.13.0.tgz#2fb4910b10f8af67749c41f636bf3610c2690203" - integrity sha512-NYn/HNE/SxFXe8pfnxJknhrrRzYRMHNssCoi5M1CeR5G7F2BGxxVmaGsd8j0WyTCpUS4i97G4vhYtDGxHvWN6w== +"@sentry/opentelemetry@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.15.0.tgz#065a263ee42672ae52711cea4faab831cda2b20e" + integrity sha512-2ZkmdzvYgb2Ij8656Z3vvu9o9AWFSHeLXQgAHX+1VMvxTz+uc5EXeXv8aTboPnRxVje446DbNJ7j3gxNSD15cA== dependencies: - "@sentry/core" "8.13.0" - "@sentry/types" "8.13.0" - "@sentry/utils" "8.13.0" + "@sentry/core" "8.15.0" + "@sentry/types" "8.15.0" + "@sentry/utils" "8.15.0" -"@sentry/types@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.13.0.tgz#0753700af93592b65272e63c396b3c0202dd3105" - integrity sha512-r63s/H5gvQnQM9tTGBXz2xErUbxZALh4e2Lg/1aHj4zIvGLBjA2z5qWsh6TEZYbpmgAyGShLDr6+rWeUVf9yBQ== +"@sentry/types@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.15.0.tgz#bcf1eca41bccbc6eb434cc14ab7364eed41a8c17" + integrity sha512-AZc9nSHKuNH8P/7ihmq5fbZBiQ7Gr35kJq9Tad9eVuOgL8D+2b6Vqu/61ljVVlMFI0tBGFsSkWJ/00PfBcVKWg== -"@sentry/utils@8.13.0": - version "8.13.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.13.0.tgz#b2cce61705ea95a639db932f000247bddf13aa16" - integrity sha512-PxV0v9VbGWH9zP37P5w2msLUFDr287nYjoY2XVF+RSolyiTs1CQNI5ZMUO3o4MsSac/dpXxjyrZXQd72t/jRYA== +"@sentry/utils@8.15.0": + version "8.15.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.15.0.tgz#31890e97e77bd27484c0831402e1666d3e289b03" + integrity sha512-1ISmyYFuRHJbGun0gUYscyz1aP6RfILUldNAUwQwF0Ycu8YOi4n8uwJRN0aov6cCi41tnZWOMBagSeLxbJiJgQ== dependencies: - "@sentry/types" "8.13.0" + "@sentry/types" "8.15.0" "@sinclair/typebox@^0.27.8": version "0.27.8"