Skip to content

Commit

Permalink
feat: Update JavaScript SDKs to v8.31.0 (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish authored Sep 24, 2024
1 parent 8adfce4 commit d965c65
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 123 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@
"e2e": "xvfb-maybe vitest run --root=./test/e2e --silent=false --disable-console-intercept"
},
"dependencies": {
"@sentry/browser": "8.30.0",
"@sentry/core": "8.30.0",
"@sentry/node": "8.30.0",
"@sentry/types": "8.30.0",
"@sentry/utils": "8.30.0",
"@sentry/browser": "8.31.0",
"@sentry/core": "8.31.0",
"@sentry/node": "8.31.0",
"@sentry/types": "8.31.0",
"@sentry/utils": "8.31.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.30.0",
"@sentry-internal/typescript": "8.30.0",
"@sentry-internal/eslint-config-sdk": "8.31.0",
"@sentry-internal/typescript": "8.31.0",
"@types/busboy": "^0.2.3",
"@types/form-data": "^2.5.0",
"@types/koa": "^2.0.52",
Expand Down
1 change: 1 addition & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export {
createGetModuleFromFilename,
createTransport,
cron,
dataloaderIntegration,
debugIntegration,
dedupeIntegration,
DEFAULT_USER_INCLUDES,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface ElectronRendererOptions extends BrowserOptions {
export function init<O extends ElectronRendererOptions>(
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_30_0: O) => void = browserInit,
originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v8_31_0: O) => void = browserInit,
): void {
// Ensure the browser SDK is only init'ed once.
if (window?.__SENTRY__RENDERER_INIT__) {
Expand Down
222 changes: 107 additions & 115 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,13 @@
"@opentelemetry/semantic-conventions" "^1.27.0"
"@types/connect" "3.4.36"

"@opentelemetry/instrumentation-dataloader@0.12.0":
version "0.12.0"
resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-dataloader/-/instrumentation-dataloader-0.12.0.tgz#de03a3948dec4f15fed80aa424d6bd5d6a8d10c7"
integrity sha512-pnPxatoFE0OXIZDQhL2okF//dmbiWFzcSc8pUg9TqofCLYZySSxDCgQc69CJBo5JnI3Gz1KP+mOjS4WAeRIH4g==
dependencies:
"@opentelemetry/instrumentation" "^0.53.0"

"@opentelemetry/instrumentation-express@0.42.0":
version "0.42.0"
resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-express/-/instrumentation-express-0.42.0.tgz#279f195aa66baee2b98623a16666c6229c8e7564"
Expand Down Expand Up @@ -720,22 +727,22 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.4.tgz#3dd5d53e900df2a40841882c02e56f866c04d202"
integrity sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==

"@sentry-internal/browser-utils@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.30.0.tgz#eb68c79556ffb864eb5924a53affde52f2b77362"
integrity sha512-pwX+awNWaxSOAsBLVLqc1+Hw+Fm1Nci9mbKFA6Ed5YzCG049PnBVQwugpmx2dcyyCqJpORhcIqb9jHdCkYmCiA==
"@sentry-internal/browser-utils@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.31.0.tgz#7c2c2916dfe77f771fbc0a9f73c9447aff9039f1"
integrity sha512-Bq7TFMhPr1PixRGYkB/6ar9ws7sj224XzQ+hgpz6OxGEc9fQakvD8t/Nn7dp14k3FI/hcBRA6BBvpOKUUuPgGA==
dependencies:
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry-internal/eslint-config-sdk@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.30.0.tgz#67c37238833d282f4e4e09f51a8538d9ea150497"
integrity sha512-1GKg8wx3CmYvLjwhP/eVM42xaT0EcX/yNChtwUQkYLoqZc4LpvOBUqla65SoJtWDdfmf7fhicmYwuncyHe9Fpg==
"@sentry-internal/eslint-config-sdk@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.31.0.tgz#06ee0f97df6ad39ac8471e37edc4cb27d1900f99"
integrity sha512-iOy+VakTOu0HlMW5leqt8XVsbFDqOtKvpuk05xizGsWkpm19RgSeaqgwZ1KO5jAukoprlBgGUK4yzAHa17/1ZQ==
dependencies:
"@sentry-internal/eslint-plugin-sdk" "8.30.0"
"@sentry-internal/typescript" "8.30.0"
"@sentry-internal/eslint-plugin-sdk" "8.31.0"
"@sentry-internal/typescript" "8.31.0"
"@typescript-eslint/eslint-plugin" "^5.48.0"
"@typescript-eslint/parser" "^5.48.0"
eslint-config-prettier "^6.11.0"
Expand All @@ -745,76 +752,77 @@
eslint-plugin-jsdoc "^30.0.3"
eslint-plugin-simple-import-sort "^5.0.3"

"@sentry-internal/eslint-plugin-sdk@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.30.0.tgz#b4abaa1286af3ce3be3760f6750a86efd56fd4d3"
integrity sha512-UmwHWJ6zj/qaStrJ7OtL8A7s7J9CPvvZZaBiCMYYxQdymomk0YBZe+xMARvfNBUrcy23grVcJjoiF8yazE7LGA==

"@sentry-internal/feedback@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.30.0.tgz#6f78a245298502e4cc5ce77313dde6965abfecfe"
integrity sha512-ParFRxQY6helxkwUDmro77Wc5uSIC6rZos88jYMrYwFmoTJaNWf4lDzPyECfdSiSYyzSMZk4dorSUN85Ul7DCg==
dependencies:
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"

"@sentry-internal/replay-canvas@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.30.0.tgz#3630eec14d23b1fd368d8c331ee695aa5bb41425"
integrity sha512-y/QqcvchhtMlVA6eOZicIfTxtZarazQZJuFW0018ynPxBTiuuWSxMCLqduulXUYsFejfD8/eKHb3BpCIFdDYjg==
dependencies:
"@sentry-internal/replay" "8.30.0"
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"

"@sentry-internal/replay@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.30.0.tgz#6a4a8bd551a16ea5f77f913acbccd88061868c84"
integrity sha512-/KFre+BrovPCiovgAu5N1ErJtkDVzkJA5hV3Jw011AlxRWxrmPwu6+9sV9/rn3tqYAGyq6IggYqeIOHhLh1Ihg==
dependencies:
"@sentry-internal/browser-utils" "8.30.0"
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"

"@sentry-internal/typescript@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.30.0.tgz#d8f716159ef2e4798bd413ff9a5dd351fccc476d"
integrity sha512-eyeqEXapi+l//wI0ho0VjYTxu95+wlsc1rmt+cjfvTyPw2U+CrTjykA8c6zM0SCILnUxmjhr73zQ/Up/Yrj3PA==

"@sentry/browser@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.30.0.tgz#3c6d5ef62d7daca2873b47f59b136c33941b56de"
integrity sha512-M+tKqawH9S3CqlAIcqdZcHbcsNQkEa9MrPqPCYvXco3C4LRpNizJP2XwBiGQY2yK+fOSvbaWpPtlI938/wuRZQ==
dependencies:
"@sentry-internal/browser-utils" "8.30.0"
"@sentry-internal/feedback" "8.30.0"
"@sentry-internal/replay" "8.30.0"
"@sentry-internal/replay-canvas" "8.30.0"
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"

"@sentry/core@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.30.0.tgz#f929e42e9a537bfa3eb6024082714e9ab98d822b"
integrity sha512-CJ/FuWLw0QEKGKXGL/nm9eaOdajEcmPekLuHAuOCxID7N07R9l9laz3vFbAkUZ97GGDv3sYrJZgywfY3Moropg==
dependencies:
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"

"@sentry/node@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.30.0.tgz#730461be3a3382ab17e2c3f95c08e4e85a207429"
integrity sha512-Tog0Ag7sU3lNj4cPUZy1KRJXyYXZlWiwlk34KYNNxAk0vDiK6W0bF8mvS+aaUukgb7FO5A0eu9l+VApdBJOr3Q==
"@sentry-internal/eslint-plugin-sdk@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.31.0.tgz#b59a020ec1f27303e4cd2ccf793ca3a971177e0e"
integrity sha512-AeAq7dPL9Q4YlV0VexpI4054pifD42GPwVYNXwQzr977JT10mR6++Bv1TwnmWJjBzmikTmD1s6TK4EfpFGZF1A==

"@sentry-internal/feedback@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.31.0.tgz#36135365eb1f4226ed4f5c4446263eef2461dc6e"
integrity sha512-R3LcC2IaTe8lgi5AU9h0rMgyVPpaTiMSLRhRlVeQPVmAKCz8pSG/um13q37t0BsXpTaImW9yYQ71Aj6h6IrShQ==
dependencies:
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry-internal/replay-canvas@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.31.0.tgz#368d2169757c7254634ca968a6ce8262f18f3b03"
integrity sha512-ConyrhWozx4HluRj0+9teN4XTC1ndXjxMdJQvDnbLFsQhCCEdwUfaZVshV1CFe9T08Bfyjruaw33yR7pDXYktw==
dependencies:
"@sentry-internal/replay" "8.31.0"
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry-internal/replay@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.31.0.tgz#0ee6b0c9f7b62caf8282576d53e1b6801449e495"
integrity sha512-r8hmFDwWxeAxpdzBCRWTKQ/QHl8QanFw8XfM0fvFes/H1d/b43Vwc/IiUnsYoMOdooIP8hJFGDKlfq+Y5uVVGA==
dependencies:
"@sentry-internal/browser-utils" "8.31.0"
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry-internal/typescript@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.31.0.tgz#0e1dabeddcddeb47ffce778f5fc8bff42e675628"
integrity sha512-g20aFuIfmq248cvSdaQ7GKNhoEK8+MT3jVhxQjGK8zoGLlYWBqIz9JsP4haMhY3eD0KhjbogSB9QVCf3b0YRzA==

"@sentry/browser@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.31.0.tgz#9c1452e05046d50f74229961590286bdb5fb22ac"
integrity sha512-LZK0uLPGB4Al+qWc1eaad+H/1SR6CY9a0V2XWpUbNAT3+VkEo0Z/78bW1kb43N0cok87hNPOe+c66SfwdxphVQ==
dependencies:
"@sentry-internal/browser-utils" "8.31.0"
"@sentry-internal/feedback" "8.31.0"
"@sentry-internal/replay" "8.31.0"
"@sentry-internal/replay-canvas" "8.31.0"
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry/core@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.31.0.tgz#09435534967c4f7254ea1015ef2b3a3bfed18434"
integrity sha512-5zsMBOML18e5a/ZoR5XpcYF59e2kSxb6lTg13u52f/+NA27EPgxKgXim5dz6L/6+0cizgwwmFaZFGJiFc2qoAA==
dependencies:
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry/node@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-8.31.0.tgz#83871ebc4538dda33572545827a4a2344668ff17"
integrity sha512-S4UFpomNruEkBhPgAdHeFrtKfIJp3s4VbIvWIuKsft+SoA3J19a4ozCqijoKu+y6sa++osAYi4S9M7fA7nO0bg==
dependencies:
"@opentelemetry/api" "^1.9.0"
"@opentelemetry/context-async-hooks" "^1.25.1"
"@opentelemetry/core" "^1.25.1"
"@opentelemetry/instrumentation" "^0.53.0"
"@opentelemetry/instrumentation-connect" "0.39.0"
"@opentelemetry/instrumentation-dataloader" "0.12.0"
"@opentelemetry/instrumentation-express" "0.42.0"
"@opentelemetry/instrumentation-fastify" "0.39.0"
"@opentelemetry/instrumentation-fs" "0.15.0"
Expand All @@ -837,32 +845,32 @@
"@opentelemetry/sdk-trace-base" "^1.26.0"
"@opentelemetry/semantic-conventions" "^1.27.0"
"@prisma/instrumentation" "5.19.1"
"@sentry/core" "8.30.0"
"@sentry/opentelemetry" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"
"@sentry/core" "8.31.0"
"@sentry/opentelemetry" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"
import-in-the-middle "^1.11.0"

"@sentry/opentelemetry@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.30.0.tgz#b80417d44e4d20f03a7ecf5173a8a4ed4f317a57"
integrity sha512-6mCIP2zvxAiEsNEoF8kv+UUD4XGWSKJU6RY5BF1U26HLitXv1fNPtzaTR96Ehv9h0zktjLfqfpVUZ7DGkdBvLA==
"@sentry/opentelemetry@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/opentelemetry/-/opentelemetry-8.31.0.tgz#37c58dd493ef4854d5e5fe0be5551e82804a3e1d"
integrity sha512-aAbUMlyZ6EMc3IRcRcr2d5nuNevUgpXpSfhzo9pJbSEfhMe4drJEBnhyAYgPm0HeZtKomWnlXAyrjwSU8weTXg==
dependencies:
"@sentry/core" "8.30.0"
"@sentry/types" "8.30.0"
"@sentry/utils" "8.30.0"
"@sentry/core" "8.31.0"
"@sentry/types" "8.31.0"
"@sentry/utils" "8.31.0"

"@sentry/types@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.30.0.tgz#5f5011f5b16bafd30a039ca5e8c337e948c703fb"
integrity sha512-kgWW2BCjBmVlSQRG32GonHEVyeDbys74xf9mLPvynwHTgw3+NUlNAlEdu05xnb2ow4bCTHfbkS5G1zRgyv5k4Q==
"@sentry/types@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.31.0.tgz#b1ca002df2c8840c3b491ceb019925ff504306f8"
integrity sha512-prRM/n5nlP+xQZSpdEkSR8BwwZtgsLk0NbI8eCjTMu2isVlrlggop8pVaJb7y9HmElVtDA1Q6y4u8TD2htQKFQ==

"@sentry/utils@8.30.0":
version "8.30.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.30.0.tgz#2343dd8593ea83890b3e0d792ed3fa257955a26b"
integrity sha512-wZxU2HWlzsnu8214Xy7S7cRIuD6h8Z5DnnkojJfX0i0NLooepZQk2824el1Q13AakLb7/S8CHSHXOMnCtoSduw==
"@sentry/utils@8.31.0":
version "8.31.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.31.0.tgz#56d44250f685bcc56cbf2f8837ffa88ed7e754a2"
integrity sha512-9W2LZ9QIHKc0HSyH/7UmTolc01Q4vX/qMSZk7i1noinlkQtnRUmTP39r1DSITjKCrDHj6zvB/J1RPDUoRcTXxQ==
dependencies:
"@sentry/types" "8.30.0"
"@sentry/types" "8.31.0"

"@sinclair/typebox@^0.27.8":
version "0.27.8"
Expand Down Expand Up @@ -4325,16 +4333,7 @@ streamsearch@0.1.2:
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a"
integrity sha512-jos8u++JKm0ARcSUTAZXOVC0mSox7Bhn6sBgty73P1f3JGf7yG2clTbBNHUdde/kdvP2FESam+vM6l8jBrNxHA==

"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

string-width@^4.1.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -4390,14 +4389,7 @@ string.prototype.trimstart@^1.0.8:
define-properties "^1.2.1"
es-object-atoms "^1.0.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down

0 comments on commit d965c65

Please sign in to comment.