diff --git a/CHANGELOG.md b/CHANGELOG.md index 12f741c70..5007cc5fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ - Bump Android SDK from v7.6.0 to v7.8.0 ([#3750](https://github.com/getsentry/sentry-react-native/pull/3750)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#780) - [diff](https://github.com/getsentry/sentry-java/compare/7.6.0...7.8.0) +- Bump JavaScript SDK from v7.100.1 to v7.107.0 ([#3601](https://github.com/getsentry/sentry-react-native/pull/3601)) + - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#71070) + - [diff](https://github.com/getsentry/sentry-javascript/compare/7.100.1...7.107.0) ## 5.21.0 diff --git a/package.json b/package.json index 6932a1c31..2330be7c7 100644 --- a/package.json +++ b/package.json @@ -66,22 +66,22 @@ "react-native": ">=0.65.0" }, "dependencies": { - "@sentry/browser": "7.100.1", + "@sentry/browser": "7.107.0", "@sentry/cli": "2.30.4", - "@sentry/core": "7.100.1", - "@sentry/hub": "7.100.1", - "@sentry/integrations": "7.100.1", - "@sentry/react": "7.100.1", - "@sentry/types": "7.100.1", - "@sentry/utils": "7.100.1" + "@sentry/core": "7.107.0", + "@sentry/hub": "7.107.0", + "@sentry/integrations": "7.107.0", + "@sentry/react": "7.107.0", + "@sentry/types": "7.107.0", + "@sentry/utils": "7.107.0" }, "devDependencies": { "@babel/core": "^7.23.5", "@expo/metro-config": "0.17.5", "@mswjs/interceptors": "^0.25.15", - "@sentry-internal/eslint-config-sdk": "7.100.1", - "@sentry-internal/eslint-plugin-sdk": "7.100.1", - "@sentry-internal/typescript": "7.100.1", + "@sentry-internal/eslint-config-sdk": "7.107.0", + "@sentry-internal/eslint-plugin-sdk": "7.107.0", + "@sentry-internal/typescript": "7.107.0", "@sentry/wizard": "3.16.3", "@types/jest": "^29.5.3", "@types/node": "^20.9.3", diff --git a/src/js/integrations/viewhierarchy.ts b/src/js/integrations/viewhierarchy.ts index 15b29b0d2..e84a113c6 100644 --- a/src/js/integrations/viewhierarchy.ts +++ b/src/js/integrations/viewhierarchy.ts @@ -1,4 +1,5 @@ import type { Event, EventHint, EventProcessor, Integration } from '@sentry/types'; +import type { AttachmentType } from '@sentry/types/types/attachment'; import { logger } from '@sentry/utils'; import { NATIVE } from '../wrapper'; @@ -12,7 +13,7 @@ export class ViewHierarchy implements Integration { private static _fileName: string = 'view-hierarchy.json'; private static _contentType: string = 'application/json'; - private static _attachmentType: string = 'event.view_hierarchy'; + private static _attachmentType: AttachmentType = 'event.view_hierarchy' as AttachmentType; /** * @inheritDoc diff --git a/src/js/tracing/addTracingExtensions.ts b/src/js/tracing/addTracingExtensions.ts index 265ad9886..d8b42585a 100644 --- a/src/js/tracing/addTracingExtensions.ts +++ b/src/js/tracing/addTracingExtensions.ts @@ -1,4 +1,4 @@ -import type { Hub, Span, Transaction } from '@sentry/core'; +import type { Hub, Transaction } from '@sentry/core'; import { addTracingExtensions, getCurrentHub, getMainCarrier } from '@sentry/core'; import type { CustomSamplingContext, SpanContext, TransactionContext } from '@sentry/types'; @@ -54,7 +54,7 @@ const _patchStartTransaction = (originalStartTransaction: StartTransactionFuncti const originalStartChild: Transaction['startChild'] = transaction.startChild.bind(transaction); transaction.startChild = ( spanContext?: Pick>, - ): Span => { + ): ReturnType => { return originalStartChild({ ...spanContext, // Native SDKs require op to be set diff --git a/yarn.lock b/yarn.lock index 10f06daff..7bdcc0a35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3717,13 +3717,13 @@ component-type "^1.2.1" join-component "^1.1.0" -"@sentry-internal/eslint-config-sdk@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.100.1.tgz#e52f321afa650601d7bae51ea4d784eaf4ae7076" - integrity sha512-n5y/qhtTe+e0UxwxRYi2fWP4BTSJy505fCKaNzLv8Z1Z9bPMWHXZarjgm8EHLhpV1xE2khV0ZQm0cFpxhwi0Ew== +"@sentry-internal/eslint-config-sdk@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.107.0.tgz#1958771bb73dc2426aebeaac2e019ee12fcf4fb1" + integrity sha512-rBgB72bF4vZSXteeHvPlRvjr2XHfydVGBcAnMySyuqp8iKLKZCvhg5rNIACXMJzEZVbsQqwDEUZpCKkUe2HzSw== dependencies: - "@sentry-internal/eslint-plugin-sdk" "7.100.1" - "@sentry-internal/typescript" "7.100.1" + "@sentry-internal/eslint-plugin-sdk" "7.107.0" + "@sentry-internal/typescript" "7.107.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -3733,40 +3733,40 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.100.1.tgz#246f16278472d26aca2ac6d969037d3c725db840" - integrity sha512-kv1J9msN4QcJ6/FTELVCvy/UOa1Mm3Cmo+o1WT03OxlN1HJSLupxAv8x2k2oJTG3ntAsHdNc5vbShhhQdXJd8w== +"@sentry-internal/eslint-plugin-sdk@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.107.0.tgz#91e9e80125941cdbbab38695d764250279515843" + integrity sha512-vBN4ibmEciITYKdY/OxMN6RpBsPSNkrzJBAV7+4HHw8eBPN1Hh7IbRy4d+sjcPrPwABEhwoFvnFXkjx18VukJQ== dependencies: requireindex "~1.1.0" -"@sentry-internal/feedback@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.100.1.tgz#99585ba6f71eca3e7afe918273dd55b12f3aac8a" - integrity sha512-yqcRVnjf+qS+tC4NxOKLJOaSJ+csHmh/dHUzvCTkf5rLsplwXYRnny2r0tqGTQ4tuXMxwgSMKPYwicg81P+xuw== +"@sentry-internal/feedback@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.107.0.tgz#144cf01b1c1739d61db3990519f59b49a356fef1" + integrity sha512-okF0B9AJHrpkwNMxNs/Lffw3N5ZNbGwz4uvCfyOfnMxc7E2VfDM18QzUvTBRvNr3bA9wl+InJ+EMG3aZhyPunA== dependencies: - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" -"@sentry-internal/replay-canvas@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.100.1.tgz#d37228575931b869d2ad415af46b342d83dd0fd7" - integrity sha512-TnqxqJGhbFhhYRhTG2WLFer+lVieV7mNGeIxFBiw1L4kuj8KGl+C0sknssKyZSRVJFSahhHIosHJGRMkkD//7g== +"@sentry-internal/replay-canvas@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.107.0.tgz#ce2a8f6bf63ab962e696f26b509cfb87aa931302" + integrity sha512-dmDL9g3QDfo7axBOsVnpiKdJ/DXrdeuRv1AqsLgwzJKvItsv0ZizX0u+rj5b1UoxcwbXRMxJ0hit5a1yt3t/ow== dependencies: - "@sentry/core" "7.100.1" - "@sentry/replay" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/core" "7.107.0" + "@sentry/replay" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" -"@sentry-internal/tracing@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.100.1.tgz#4329492e50c390567197a4acbf7e3672b1db7820" - integrity sha512-+u9RRf5eL3StiyiRyAHZmdkAR7GTSGx4Mt4Lmi5NEtCcWlTGZ1QgW2r8ZbhouVmTiJkjhQgYCyej3cojtazeJg== +"@sentry-internal/tracing@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.107.0.tgz#a10b4abcbc9e0d8da948e3a95029574387ca7b16" + integrity sha512-le9wM8+OHBbq7m/8P7JUJ1UhSPIty+Z/HmRXc5Z64ODZcOwFV6TmDpYx729IXDdz36XUKmeI+BeM7yQdTTZPfQ== dependencies: - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" "@sentry-internal/tracing@7.76.0": version "7.76.0" @@ -3777,23 +3777,23 @@ "@sentry/types" "7.76.0" "@sentry/utils" "7.76.0" -"@sentry-internal/typescript@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.100.1.tgz#85eef2c6caf87a3c2945de2931006f60099a9902" - integrity sha512-37RcaseQpGpiuxIxKkLrmN9+j3h0kU2dOEbNjPfJZKptOCzcmgaZ8cKyyfguLqtUJi4tvQBhgCvfBYCbUJcsaw== +"@sentry-internal/typescript@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.107.0.tgz#570f498f5101b8cc8bf1410e448ebd5b5915a41e" + integrity sha512-Pz1OkfAzhIqETRWpuP6bTuPnAhdCGDgFpcCUMdTBrgrQKsbmXqR4Cl78Z+1C9YRJJARSqxVJWReL7rh3ikFNLw== -"@sentry/browser@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.100.1.tgz#146ffca94cc187ecbf49915ef3100f6037316110" - integrity sha512-IxHQ08ixf0bmaWpe4yt1J4UUsOpg02fxax9z3tOQYXw5MSzz5pDXn8M8DFUVJB3wWuyXhHXTub9yD3VIP9fnoA== +"@sentry/browser@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.107.0.tgz#a1caf4a3c39857862ba3314b9d4ed03f9259f338" + integrity sha512-KnqaQDhxv6w9dJ+mYLsNwPeGZfgbpM3vaismBNyJCKLgWn2V75kxkSq+bDX8LQT/13AyK7iFp317L6P8EuNa3g== dependencies: - "@sentry-internal/feedback" "7.100.1" - "@sentry-internal/replay-canvas" "7.100.1" - "@sentry-internal/tracing" "7.100.1" - "@sentry/core" "7.100.1" - "@sentry/replay" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry-internal/feedback" "7.107.0" + "@sentry-internal/replay-canvas" "7.107.0" + "@sentry-internal/tracing" "7.107.0" + "@sentry/core" "7.107.0" + "@sentry/replay" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" "@sentry/cli-darwin@2.30.4": version "2.30.4" @@ -3862,13 +3862,13 @@ proxy-from-env "^1.1.0" which "^2.0.2" -"@sentry/core@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.100.1.tgz#7b8e101a931af8e8b3b2449534749f882772df4f" - integrity sha512-f+ItUge/o9AjlveQq0ZUbQauKlPH1FIJbC1TRaYLJ4KNfOdrsh8yZ29RmWv0cFJ/e+FGTr603gWpRPObF5rM8Q== +"@sentry/core@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.107.0.tgz#926838ba2c2861d6bd2bced0232e1f9d1ead6c75" + integrity sha512-C7ogye6+KPyBi8NVL0P8Rxx3Ur7Td8ufnjxosVy678lqY+dcYPk/HONROrzUFYW5fMKWL4/KYnwP+x9uHnkDmw== dependencies: - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" "@sentry/core@7.76.0": version "7.76.0" @@ -3878,23 +3878,23 @@ "@sentry/types" "7.76.0" "@sentry/utils" "7.76.0" -"@sentry/hub@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.100.1.tgz#aacc7608c5b6c056f1ca83ae877de6a9c122d403" - integrity sha512-zdt7f1k+5JE5FAunzBZUEFbvK5YP/LekLMeogTonaRObB07J6fJ9FD4mtNk7pV0utrTDwR+n942qmp+LbWauWA== +"@sentry/hub@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.107.0.tgz#893da2dae276af2a534383fd19ae19865fe15c85" + integrity sha512-9EVYyab0cYN/61CdQBAcf1dj4SSCF3uw3a5ahG28xZGh2jbRmPeNcOCUXcjVBIsANiAmLVVh1y4xlA5EiqgjbQ== dependencies: - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" -"@sentry/integrations@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.100.1.tgz#f0361a437877a33af389424313b58d5a57d7ad27" - integrity sha512-RUyZHcsN3Plc8G4hJN3BCMdbwS8ljUY3E3iLjzucA4HroBsGk5AMc6n7Pp/QqFIRgxrPjKEgA52Wgy5Nq6dSvw== +"@sentry/integrations@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.107.0.tgz#a46a82be885ef1482197ed7073d7982bd266c09a" + integrity sha512-0h2sZcjcdptS2pju1KSF4+sXaRaFTlmAN1ZokFfmfnVTs6cVtIFttUFxTYrwQUEE2knpAV05pz87zg1yfPAfYg== dependencies: - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" localforage "^1.8.1" "@sentry/node@^7.69.0": @@ -3908,43 +3908,43 @@ "@sentry/utils" "7.76.0" https-proxy-agent "^5.0.0" -"@sentry/react@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.100.1.tgz#a8621f2124848b6a7bb1fc6279167f5e3cbc44f1" - integrity sha512-EdrBtrXVLK2LSx4Rvz/nQP7HZUZQmr+t3GHV8436RAhF6vs5mntACVMBoQJRWiUvtZ1iRo3rIsIdah7DLiFPgQ== +"@sentry/react@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.107.0.tgz#45feb115383bde7d454e5f816663df34c1c28c39" + integrity sha512-3sXNKcDQjEimxwBPnRkewy3xNLt3KqStMAdDZ/dAF3rviOSVyk80DCQ3P6+HIqeB+IAXqWptg4eSWRA1qNZquA== dependencies: - "@sentry/browser" "7.100.1" - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry/browser" "7.107.0" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" hoist-non-react-statics "^3.3.2" -"@sentry/replay@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.100.1.tgz#d9af5f8e92ce0f93cef89f5aef74d91a8d12c3eb" - integrity sha512-B1NFjzGEFaqejxBRdUyEzH8ChXc2kfiqlA/W/Lg0aoWIl2/7nuMk+l4ld9gW5F5bIAXDTVd5vYltb1lWEbpr7w== +"@sentry/replay@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.107.0.tgz#d714f864ef8602e6d009b2fa8ff8e4ef63c3e9e4" + integrity sha512-BNJDEVaEwr/YnV22qnyVA1almx/3p615m3+KaF8lPo7YleYgJGSJv1auH64j1G8INkrJ0J0wFBujb1EFjMYkxA== dependencies: - "@sentry-internal/tracing" "7.100.1" - "@sentry/core" "7.100.1" - "@sentry/types" "7.100.1" - "@sentry/utils" "7.100.1" + "@sentry-internal/tracing" "7.107.0" + "@sentry/core" "7.107.0" + "@sentry/types" "7.107.0" + "@sentry/utils" "7.107.0" -"@sentry/types@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.100.1.tgz#1349b77269cecf4e80c087842575bd1a001e9995" - integrity sha512-fLM+LedHuKzOd8IhXBqaQuym+AA519MGjeczBa5kGakes/BbAsUMwsNfjsKQedp7Kh44RgYF99jwoRPK2oDrXw== +"@sentry/types@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.107.0.tgz#5ba4b472be6ccad9aecd58dbc0141a09dafb68c1" + integrity sha512-H7qcPjPSUWHE/Zf5bR1EE24G0pGVuJgrSx8Tvvl5nKEepswMYlbXHRVSDN0gTk/E5Z7cqf+hUBOpkQgZyps77w== "@sentry/types@7.76.0": version "7.76.0" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.76.0.tgz#628c9899bfa82ea762708314c50fd82f2138587d" integrity sha512-vj6z+EAbVrKAXmJPxSv/clpwS9QjPqzkraMFk2hIdE/kii8s8kwnkBwTSpIrNc8GnzV3qYC4r3qD+BXDxAGPaw== -"@sentry/utils@7.100.1": - version "7.100.1" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.100.1.tgz#6e26f3b06b1e485a2180f464ab3374ecb8d5e407" - integrity sha512-Ve6dXr1o6xiBe3VCoJgiutmBKrugryI65EZAbYto5XI+t+PjiLLf9wXtEMF24ZrwImo4Lv3E9Uqza+fWkEbw6A== +"@sentry/utils@7.107.0": + version "7.107.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.107.0.tgz#b8524539d052a40f9c5f34a8347501f0f81a0751" + integrity sha512-C6PbN5gHh73MRHohnReeQ60N8rrLYa9LciHue3Ru2290eSThg4CzsPnx4SzkGpkSeVlhhptKtKZ+hp/ha3iVuw== dependencies: - "@sentry/types" "7.100.1" + "@sentry/types" "7.107.0" "@sentry/utils@7.76.0": version "7.76.0"