From ba9ff242d2d97502bdd592a4a449b67164c84890 Mon Sep 17 00:00:00 2001 From: timfish Date: Wed, 10 Jul 2024 09:03:45 +0000 Subject: [PATCH] test: New Sentry SDK version --- package.json | 14 ++-- src/renderer/sdk.ts | 2 +- yarn.lock | 200 ++++++++++++++++++++++---------------------- 3 files changed, 108 insertions(+), 108 deletions(-) diff --git a/package.json b/package.json index 129ac4a1..9b314fd8 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.15.0", - "@sentry/core": "8.15.0", - "@sentry/node": "8.15.0", - "@sentry/types": "8.15.0", - "@sentry/utils": "8.15.0", + "@sentry/browser": "8.16.0", + "@sentry/core": "8.16.0", + "@sentry/node": "8.16.0", + "@sentry/types": "8.16.0", + "@sentry/utils": "8.16.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.15.0", - "@sentry-internal/typescript": "8.15.0", + "@sentry-internal/eslint-config-sdk": "8.16.0", + "@sentry-internal/typescript": "8.16.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 448264e3..9bd922c8 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_15_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_16_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 e4663bed..420013da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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.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.15.0" - "@sentry/types" "8.15.0" - "@sentry/utils" "8.15.0" - -"@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.15.0" - "@sentry-internal/typescript" "8.15.0" +"@sentry-internal/browser-utils@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.16.0.tgz#182931f169a586dde50cf255237b129aad00dde7" + integrity sha512-40lzNy5F6dUFCN85AGThBxHPQLSwoNhZM2hWqhAR5rZ3Yed0uBaKlm4aNJCeeUB9l4kd0sH0In+i9Nqu6TGKrw== + dependencies: + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry-internal/eslint-config-sdk@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.16.0.tgz#487e3f947b4c1e7d90ab0ed0c6918074eb133fab" + integrity sha512-gbTADoGzXjh61LRTz8kT0/lWGaexKCsQ+XDpPPb8xB2Hs69nC1OzphlzN9afIQSS5GVCu3c4mxyYkDh8QnnNcw== + dependencies: + "@sentry-internal/eslint-plugin-sdk" "8.16.0" + "@sentry-internal/typescript" "8.16.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.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== +"@sentry-internal/eslint-plugin-sdk@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.16.0.tgz#13589afd8dab63187701ebc26ea32a719575a8eb" + integrity sha512-avQN/dBtIm+ulKyMSZPL9JoI4aWTOwdsjaf/SKw06+jM6xe2qZaZIGzbpEjvl+66sxbZHEevkAsXTz59rmoKag== + +"@sentry-internal/feedback@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.16.0.tgz#dc8a3b807a37d0df136e62937e87ac23ce2ce6a8" + integrity sha512-BmRazZKl6iiVSg6eybUNOI1ve4eZqYpJYjkX48Jedn+7iZg7z12MNYl6IWPFBcN+sg+clf4wiKDr/SYS0yNemQ== + dependencies: + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry-internal/replay-canvas@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.16.0.tgz#c6501dd9f7e5dac1399978cc9e2797eb281a8f70" + integrity sha512-Bjh6pCDLZIPAPU2dNvJfI7BQV16rsRtYcylJgkGamjf8IcaBu7r/Whsvt1q34xO29xc0ISlp+0xG+YAdN1690Q== + dependencies: + "@sentry-internal/replay" "8.16.0" + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry-internal/replay@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.16.0.tgz#5bf564d7293d4fb4993327567e9ad12079ceb951" + integrity sha512-JT/wmYU2JPtl8Ldl9oml/25Yz6C5wG+SpylDeUx4mPh728E/iI9vesIc2652J/0xots/DZXe4K6K5nYjdFtEcQ== + dependencies: + "@sentry-internal/browser-utils" "8.16.0" + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry-internal/typescript@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.16.0.tgz#61cf729c0b3f463823fb6d48662fd289eb509100" + integrity sha512-d94lhc/QGhBYxcCjaS3/9kxutkqCyzKrNHXoMv63m+IToFHBhaGZMdbhPFFQyCTa34DAv9/McqlTRW+i6dDTQw== + +"@sentry/browser@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.16.0.tgz#af9b7b7556198d6de03cbc41b7abb5a16ecfc342" + integrity sha512-8Fxmk2aFWRixi2IKixiJR10Du34yb13HYr2iRw1haPKb5ZKa6CFA+XAnSzwpPZxO0RSHuPQR06YNkXaQ8fRAQQ== + dependencies: + "@sentry-internal/browser-utils" "8.16.0" + "@sentry-internal/feedback" "8.16.0" + "@sentry-internal/replay" "8.16.0" + "@sentry-internal/replay-canvas" "8.16.0" + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry/core@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.16.0.tgz#cf2f4e572240983ec7e9fa083cc1ffce3147f20b" + integrity sha512-l9mQgm5OqnykvZMh6PmJ/9ygW4qLyEFop+pQH/uM5zQCZQvEa7rvAd9QXKHdbVKq1CxJa/nJiByc8wPWxsftGQ== + dependencies: + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" + +"@sentry/node@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.16.0.tgz#b411837ade3b48d8b2b90883356add60e085cd06" + integrity sha512-MIc09ECfTcJ5Vqo0QUJ9MUVSQZU6IDqIzPj2QsRDnRVU5QnghNgZcK7raovNz8vByFEWoFuMwPpKabf1pN4pWA== dependencies: "@opentelemetry/api" "^1.9.0" "@opentelemetry/context-async-hooks" "^1.25.1" @@ -803,33 +803,33 @@ "@opentelemetry/sdk-trace-base" "^1.25.1" "@opentelemetry/semantic-conventions" "^1.25.1" "@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" + "@sentry/core" "8.16.0" + "@sentry/opentelemetry" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" optionalDependencies: opentelemetry-instrumentation-fetch-node "1.2.0" -"@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== +"@sentry/opentelemetry@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.16.0.tgz#3eac0d16155036f6cc5d23b75725774d04c48688" + integrity sha512-x5yXEpv6flmNMcghTdgKd7zktWqnjG0H2g90j+XAetvsLxVGzmQkwn4XR4YDoL5qFJ08DxcWdXs4B5oplOtsVA== dependencies: - "@sentry/core" "8.15.0" - "@sentry/types" "8.15.0" - "@sentry/utils" "8.15.0" + "@sentry/core" "8.16.0" + "@sentry/types" "8.16.0" + "@sentry/utils" "8.16.0" -"@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/types@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.16.0.tgz#a9ae39cffd50a0bdba0556a1596fb135d035cf26" + integrity sha512-cIRsn7gWGVaWHgCniBWA0N8PNwzDYibhjyjPRTMxUjuZCT37i7zxByKKmd9u4TpRIJ64MyirNyM0O6T0A26fpg== -"@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== +"@sentry/utils@8.16.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.16.0.tgz#5d1c9fb6cd562660b507c6647e6437282bef939a" + integrity sha512-tltCf2DVzz5TiYjxu/Rxbc9Qmm04893MFshV97jOTBcQeO2AAZBEl5rAoTCv1P08y7Yg+KiVwCx9Zj2x5U80/g== dependencies: - "@sentry/types" "8.15.0" + "@sentry/types" "8.16.0" "@sinclair/typebox@^0.27.8": version "0.27.8"