From e542bae3e50313ab71337e208da59a4584e80778 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 12 May 2023 15:12:56 +0000 Subject: [PATCH 1/2] chore: update scripts/update-javascript.sh to 7.51.2 --- CHANGELOG.md | 6 +++ package.json | 18 +++---- yarn.lock | 148 +++++++++++++++++++++++++-------------------------- 3 files changed, 89 insertions(+), 83 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cad9569c53..fc809971e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ - Add `expo`, `react_native_version` and `hermes_version` to React Native Context ([#3050](https://github.com/getsentry/sentry-react-native/pull/3050)) +### Dependencies + +- Bump JavaScript SDK from v7.51.1 to v7.51.2 ([#3054](https://github.com/getsentry/sentry-react-native/pull/3054)) + - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7512) + - [diff](https://github.com/getsentry/sentry-javascript/compare/7.51.1...7.51.2) + ## 5.4.2 ### Fixes diff --git a/package.json b/package.json index c53e126e2d..8054c663bf 100644 --- a/package.json +++ b/package.json @@ -55,18 +55,18 @@ "react-native": ">=0.65.0" }, "dependencies": { - "@sentry/browser": "7.51.1", + "@sentry/browser": "7.51.2", "@sentry/cli": "2.17.5", - "@sentry/core": "7.51.1", - "@sentry/hub": "7.51.1", - "@sentry/integrations": "7.51.1", - "@sentry/react": "7.51.1", - "@sentry/types": "7.51.1", - "@sentry/utils": "7.51.1" + "@sentry/core": "7.51.2", + "@sentry/hub": "7.51.2", + "@sentry/integrations": "7.51.2", + "@sentry/react": "7.51.2", + "@sentry/types": "7.51.2", + "@sentry/utils": "7.51.2" }, "devDependencies": { - "@sentry-internal/eslint-config-sdk": "7.51.1", - "@sentry-internal/eslint-plugin-sdk": "7.51.1", + "@sentry-internal/eslint-config-sdk": "7.51.2", + "@sentry-internal/eslint-plugin-sdk": "7.51.2", "@sentry/typescript": "^5.20.1", "@sentry/wizard": "3.0.0", "@types/jest": "^29.2.5", diff --git a/yarn.lock b/yarn.lock index cddd5d1551..55cbc22fe7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1638,13 +1638,13 @@ resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa" integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ== -"@sentry-internal/eslint-config-sdk@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.51.1.tgz#cf996a6a274bc85009400a0214c7dca284182bbf" - integrity sha512-dnX8GAkHaoFgWdK0Covb9dEkT/V+727XnLnIg6qhOyHyahs7cthxvIGxgS3Mdv7G/ImtQ2xKpJIxgHDHZp1A4g== +"@sentry-internal/eslint-config-sdk@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.51.2.tgz#182e659161cf5ab21819dff36d1bbf8084f73cd9" + integrity sha512-E19F4VViTXzVGfxTPm6Hwahzmo1az2nLFcUxvtI9vcNaMzJDSRTZf9ya9TanrqqpfkCWkCi8LYmR7Dyqr5//4g== dependencies: - "@sentry-internal/eslint-plugin-sdk" "7.51.1" - "@sentry-internal/typescript" "7.51.1" + "@sentry-internal/eslint-plugin-sdk" "7.51.2" + "@sentry-internal/typescript" "7.51.2" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -1653,38 +1653,38 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.51.1.tgz#080bb5c4db1d822f8bdd49fe693a36ab76a26d8b" - integrity sha512-anO7WTQ8uLfwLJTcnb6ZyMl/7zJ8i3u6d4CeEVFKeo2dthpRtvrl04tkfk+qDGOVDtCQ3YmVKnwQqBbk5LWJjw== +"@sentry-internal/eslint-plugin-sdk@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.51.2.tgz#18e344ecc22b136a6f47f657f27681086ac47a8c" + integrity sha512-YdZPJKUuc2nrMANox+B0OKiTcmG080DayUlzLGszo7u1yipKOamFRaYNpHV1M+eRbZkDDIKkrqoOgs5lNXRUSA== dependencies: requireindex "~1.1.0" -"@sentry-internal/tracing@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.51.1.tgz#d6536441d955e830f1791eabd448f6db119edfcd" - integrity sha512-zwaEBnuXrCCy//q9nvsR1JzF4jv0XnjDQQhGzX6h3H+SmroCWQgF7scul8AJ31uIKS7D3vqd65RlBA9tLLwaMg== +"@sentry-internal/tracing@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.51.2.tgz#17833047646426ca71445327018ffcb33506a699" + integrity sha512-OBNZn7C4CyocmlSMUPfkY9ORgab346vTHu5kX35PgW5XR51VD2nO5iJCFbyFcsmmRWyCJcZzwMNARouc2V4V8A== dependencies: - "@sentry/core" "7.51.1" - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/core" "7.51.2" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" tslib "^1.9.3" -"@sentry-internal/typescript@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.51.1.tgz#08029cacf2d84be662341ec029d0add3bdfba4e2" - integrity sha512-XQq6XsNyWH6GybYWRs2o50iYFbJLAuqRD5aZ3gX43Nx5+3f2T5lon3uM8x6zlF38tdEgqV/IDMYxYkx5aF6FIw== - -"@sentry/browser@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.51.1.tgz#f4b2352440cf8d47d3747196e53985690f536006" - integrity sha512-8zI5byVJN+POa7Njg/SkKKubKh4vBVegoznGseUw3cbpUKNLJfmXL710BK9pXyTY13/TxX0KGFlpEeObnWuv+A== - dependencies: - "@sentry-internal/tracing" "7.51.1" - "@sentry/core" "7.51.1" - "@sentry/replay" "7.51.1" - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" +"@sentry-internal/typescript@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.51.2.tgz#5c906c268550b58a34a974229d028dbcc4f6e282" + integrity sha512-XYOdTrLUb1XcFhI3mWlHoJoTN1uRiWTm6kBaf2DBwDs0ofY5O7GpzYg7onUAO+jrMBPz5A0aX+KfoaZNxEM8Zw== + +"@sentry/browser@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.51.2.tgz#c01758a54c613be45df58ab503805737256f51a4" + integrity sha512-FQFEaTFbvYHPQE2emFjNoGSy+jXplwzoM/XEUBRjrGo62lf8BhMvWnPeG3H3UWPgrWA1mq0amvHRwXUkwofk0g== + dependencies: + "@sentry-internal/tracing" "7.51.2" + "@sentry/core" "7.51.2" + "@sentry/replay" "7.51.2" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" tslib "^1.9.3" "@sentry/cli@2.17.5": @@ -1711,59 +1711,59 @@ proxy-from-env "^1.1.0" which "^2.0.2" -"@sentry/core@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.51.1.tgz#36b01062812b044941c4e3d25cdfd2427617a7ab" - integrity sha512-j/4F2dHHdl4Jc1briPBj0rbhm9CulINUwEGOLpKHiXqEFFoKJA4gBCUj7ASkmWOvkMFoeo8qpr7bQFxog7M3eg== +"@sentry/core@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.51.2.tgz#f2c938de334f9bf26f4416079168275832423964" + integrity sha512-p8ZiSBxpKe+rkXDMEcgmdoyIHM/1bhpINLZUFPiFH8vzomEr7sgnwRhyrU8y/ADnkPeNg/2YF3QpDpk0OgZJUA== dependencies: - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" tslib "^1.9.3" -"@sentry/hub@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.51.1.tgz#f375297532b565ea3b8ce14a6a6a1b28216a6f0f" - integrity sha512-7nhDCxLJWe/8D8C4gVtrp+jeETfWdlgs6mYdJwhb+lPjy9nwj9UyC3HFCNIT/BeE0TpCWolRx05j6i1KvywNPQ== +"@sentry/hub@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.51.2.tgz#0a2e8f2fb81cb2b0ab4c022a3efd19ad55e9361d" + integrity sha512-fJ0Gq2ievCi6RA7xm+WIaYZOSq4nSdVzJk1VFe1CHVcPmkgIMS9xmIaMZ02J004cNd6yMwjRFypo7dxu8T00qg== dependencies: - "@sentry/core" "7.51.1" - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/core" "7.51.2" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" tslib "^1.9.3" -"@sentry/integrations@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.51.1.tgz#3d5d1e2e07d61375f3e7197c9a69afdfefba6700" - integrity sha512-gSM4JtYItJiLgwZ+D/ZBC2FyQtYt1y/ebqeKaGKw++A5AxJ39o4ziOp+ag29nvhJYf8AVwEZ1tyvpDaGcomswg== +"@sentry/integrations@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.51.2.tgz#fce58b9ced601c7f93344b508c67c69a9c883f3d" + integrity sha512-ZnSptbuDQOoQ13mFX9vvLDfXlbMGjenW2fMIssi9+08B7fD6qxmetkYnWmBK+oEipjoGA//0240Fj8FUvZr0Qg== dependencies: - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" localforage "^1.8.1" tslib "^1.9.3" -"@sentry/react@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.51.1.tgz#f4564c3a4446d0cf6910342f6412cdceb0ce2944" - integrity sha512-CEfdNj4AbAVZiHCw+mx7BtRoqB8L7OZ2gCQsVWvHjgFRcEMWMIl+9d3XQH4rwLZ/tWU/v4Le+z6k3S+lXcopQw== +"@sentry/react@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.51.2.tgz#8d09c8358a920d06225f879b0291867175d4f045" + integrity sha512-NiTbpiRaF7/2YnRONLqn8/bxT5UG+JN5MrR606ipxsl3ejF376VMLCHVvju6gJNw8mkrErEMkfxK+gGYqOdLEA== dependencies: - "@sentry/browser" "7.51.1" - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/browser" "7.51.2" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" hoist-non-react-statics "^3.3.2" tslib "^1.9.3" -"@sentry/replay@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.51.1.tgz#c7ecc41fbe0781bffcd7716bf1f0ddc6f9d19a69" - integrity sha512-F/GDAB+70Uc6z7ROqM+V2Fo0bT2MMLFdiIpJRMfWlHckUpHn4c2uE66YcbAR/xkneAJ5I7tRkhKymTfFXH8IUA== +"@sentry/replay@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.51.2.tgz#1f54e92b472ab87dfdb4e8cd6b8c8252600fe7b0" + integrity sha512-W8YnSxkK9LTUXDaYciM7Hn87u57AX9qvH8jGcxZZnvpKqHlDXOpSV8LRtBkARsTwgLgswROImSifY0ic0lyCWg== dependencies: - "@sentry/core" "7.51.1" - "@sentry/types" "7.51.1" - "@sentry/utils" "7.51.1" + "@sentry/core" "7.51.2" + "@sentry/types" "7.51.2" + "@sentry/utils" "7.51.2" -"@sentry/types@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.51.1.tgz#691071c23a42e9231a330e3f61caa29b1ac4047b" - integrity sha512-yY/OotxYmzs/JN3F7rmymtQNTUqdrPSvuvaF0fKo4JoX5cmuc+edF7G7jFCBvVZeiYK3lwllB9GJ3/l7NH5skg== +"@sentry/types@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.51.2.tgz#cb742f374d9549195f62c462c915adeafed31d65" + integrity sha512-/hLnZVrcK7G5BQoD/60u9Qak8c9AvwV8za8TtYPJDUeW59GrqnqOkFji7RVhI7oH1OX4iBxV+9pAKzfYE6A6SA== "@sentry/typescript@^5.20.1": version "5.20.1" @@ -1773,12 +1773,12 @@ tslint-config-prettier "^1.18.0" tslint-consistent-codestyle "^1.15.1" -"@sentry/utils@7.51.1": - version "7.51.1" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.51.1.tgz#b3d21c33f023324b39e23b67374f7c9a202874b2" - integrity sha512-KRXKzdMYrmii9on+hKD5CYbCRf9Pu5mKi5kocI6YT6XjIYsMcLMK56MzoOUgic81KAhKuqRNrjsrmm+4JMrStw== +"@sentry/utils@7.51.2": + version "7.51.2" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.51.2.tgz#2a52ac2cfb00ffd128248981279c0a561b39eccb" + integrity sha512-EcjBU7qG4IG+DpIPvdgIBcdIofROMawKoRUNKraeKzH/waEYH9DzCaqp/mzc5/rPBhpDB4BShX9xDDSeH+8c0A== dependencies: - "@sentry/types" "7.51.1" + "@sentry/types" "7.51.2" tslib "^1.9.3" "@sentry/wizard@3.0.0": From 293d071c9339f4f5340638effcbbfad4b00673bb Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Fri, 12 May 2023 19:17:16 +0200 Subject: [PATCH 2/2] Fix lint --- test/integrations/reactnativeinfo.test.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/integrations/reactnativeinfo.test.ts b/test/integrations/reactnativeinfo.test.ts index 4e21135903..52c9c5a823 100644 --- a/test/integrations/reactnativeinfo.test.ts +++ b/test/integrations/reactnativeinfo.test.ts @@ -66,10 +66,12 @@ describe('React Native Info', () => { expectMocksToBeCalledOnce(); expect(actualEvent?.tags?.hermes).toEqual('true'); - expect(actualEvent?.contexts?.react_native_context).toEqual(expect.objectContaining({ - js_engine: 'hermes', - hermes_version: 'for RN 999.0.0', - })); + expect(actualEvent?.contexts?.react_native_context).toEqual( + expect.objectContaining({ + js_engine: 'hermes', + hermes_version: 'for RN 999.0.0', + }), + ); }); it('does not override existing hermes tag', async () => {