From befe8b344764fbd7f199412ca0876af924c4e5a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 05:49:13 +0000 Subject: [PATCH 1/2] chore(deps): bump @react-navigation/native from 6.1.18 to 7.0.9 in /demo Bumps [@react-navigation/native](https://github.com/react-navigation/react-navigation/tree/HEAD/packages/native) from 6.1.18 to 7.0.9. - [Release notes](https://github.com/react-navigation/react-navigation/releases) - [Changelog](https://github.com/react-navigation/react-navigation/blob/main/packages/native/CHANGELOG.md) - [Commits](https://github.com/react-navigation/react-navigation/commits/@react-navigation/native@7.0.9/packages/native) --- updated-dependencies: - dependency-name: "@react-navigation/native" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- demo/package-lock.json | 93 ++++++++++++++++++++++++++---------------- demo/package.json | 2 +- 2 files changed, 58 insertions(+), 37 deletions(-) diff --git a/demo/package-lock.json b/demo/package-lock.json index bdfc2e2..912fd5e 100644 --- a/demo/package-lock.json +++ b/demo/package-lock.json @@ -11,7 +11,7 @@ "@react-native-async-storage/async-storage": "^2.0.0", "@react-native-community/checkbox": "^0.5.17", "@react-navigation/bottom-tabs": "^6.6.1", - "@react-navigation/native": "^6.1.18", + "@react-navigation/native": "^7.0.9", "raygun4reactnative": "file:../sdk", "react": "18.3.1", "react-native": "0.76.1", @@ -50,6 +50,7 @@ "@react-native-async-storage/async-storage": "^2.0.0" }, "devDependencies": { + "@eslint/js": "^9.15.0", "@types/jest": "^29.5.14", "@types/node": "^22.9.0", "@types/react": "^18.3.12", @@ -57,17 +58,18 @@ "@typescript-eslint/eslint-plugin": "^8.13.0", "@typescript-eslint/parser": "^8.13.0", "babel-plugin-syntax-hermes-parser": "^0.25.1", - "babel-plugin-transform-class-properties": "^6.24.1", + "babel-plugin-transform-class-properties": "^6.10.2", "copyfiles": "^2.4.1", - "eslint": "^9.14.0", + "eslint": "^9.15.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-react": "^7.22.0", + "eslint-plugin-react": "^7.37.2", "glob": "^11.0.0", + "globals": "^15.12.0", "jest": "^29.7.0", "jest-fetch-mock": "^3.0.3", "metro-react-native-babel-preset": "^0.77.0", @@ -77,7 +79,8 @@ "rimraf": "^6.0.1", "run-script-os": "^1.1.5", "ts-jest": "^29.2.5", - "typescript": "^5.6.3" + "typescript": "^5.6.3", + "typescript-eslint": "^8.15.0" } }, "node_modules/@ampproject/remapping": { @@ -3634,24 +3637,7 @@ "react-native-screens": ">= 3.0.0" } }, - "node_modules/@react-navigation/core": { - "version": "6.4.17", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.4.17.tgz", - "integrity": "sha512-Nd76EpomzChWAosGqWOYE3ItayhDzIEzzZsT7PfGcRFDgW5miHV2t4MZcq9YIK4tzxZjVVpYbIynOOQQd1e0Cg==", - "license": "MIT", - "dependencies": { - "@react-navigation/routers": "^6.1.9", - "escape-string-regexp": "^4.0.0", - "nanoid": "^3.1.23", - "query-string": "^7.1.3", - "react-is": "^16.13.0", - "use-latest-callback": "^0.2.1" - }, - "peerDependencies": { - "react": "*" - } - }, - "node_modules/@react-navigation/elements": { + "node_modules/@react-navigation/bottom-tabs/node_modules/@react-navigation/elements": { "version": "1.3.31", "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.31.tgz", "integrity": "sha512-bUzP4Awlljx5RKEExw8WYtif8EuQni2glDaieYROKTnaxsu9kEIA515sXQgUDZU4Ob12VoL7+z70uO3qrlfXcQ==", @@ -3663,29 +3649,54 @@ "react-native-safe-area-context": ">= 3.0.0" } }, + "node_modules/@react-navigation/core": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.1.2.tgz", + "integrity": "sha512-oqp5gxITz33uRjVOx86TQHslwhruGNPjago/fBmOb6LNWi0HwKgiExo9FEfx8lp9pXKtKW0HBZJscUGVvPWYhA==", + "license": "MIT", + "dependencies": { + "@react-navigation/routers": "^7.1.1", + "escape-string-regexp": "^4.0.0", + "nanoid": "3.3.7", + "query-string": "^7.1.3", + "react-is": "^18.2.0", + "use-latest-callback": "^0.2.1", + "use-sync-external-store": "^1.2.2" + }, + "peerDependencies": { + "react": ">= 18.2.0" + } + }, + "node_modules/@react-navigation/core/node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" + }, "node_modules/@react-navigation/native": { - "version": "6.1.18", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.1.18.tgz", - "integrity": "sha512-mIT9MiL/vMm4eirLcmw2h6h/Nm5FICtnYSdohq4vTLA2FF/6PNhByM7s8ffqoVfE5L0uAa6Xda1B7oddolUiGg==", + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.0.9.tgz", + "integrity": "sha512-VR2TSUCfYYNrql8VMkt4jajchUe24bOeUuj1ReaD7qFLxyT3/vxI/x8gDbf6lLIKo3KBS8g1JEA9rt48PO/Mmw==", "license": "MIT", "dependencies": { - "@react-navigation/core": "^6.4.17", + "@react-navigation/core": "^7.1.2", "escape-string-regexp": "^4.0.0", "fast-deep-equal": "^3.1.3", - "nanoid": "^3.1.23" + "nanoid": "3.3.7", + "use-latest-callback": "^0.2.1" }, "peerDependencies": { - "react": "*", + "react": ">= 18.2.0", "react-native": "*" } }, "node_modules/@react-navigation/routers": { - "version": "6.1.9", - "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.9.tgz", - "integrity": "sha512-lTM8gSFHSfkJvQkxacGM6VJtBt61ip2XO54aNfswD+KMw6eeZ4oehl7m0me3CR9hnDE4+60iAZR8sAhvCiI3NA==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.1.1.tgz", + "integrity": "sha512-OycWRj95p+/zENl9HU6tvvT6IUuxgVJirgsA0W9rQn3RC+9Hb0UVYA0+8avdt+WpMoWdrvwTxTXneB5mjYzHrw==", "license": "MIT", "dependencies": { - "nanoid": "^3.1.23" + "nanoid": "3.3.7" } }, "node_modules/@sideway/address": { @@ -11027,6 +11038,7 @@ "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true, "license": "MIT" }, "node_modules/react-native": { @@ -12726,14 +12738,23 @@ } }, "node_modules/use-latest-callback": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.1.tgz", - "integrity": "sha512-QWlq8Is8BGWBf883QOEQP5HWYX/kMI+JTbJ5rdtvJLmXTIh9XoHIO3PQcmQl8BU44VKxow1kbQUHa6mQSMALDQ==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.3.tgz", + "integrity": "sha512-7vI3fBuyRcP91pazVboc4qu+6ZqM8izPWX9k7cRnT8hbD5svslcknsh3S9BUhaK11OmgTV4oWZZVSeQAiV53SQ==", "license": "MIT", "peerDependencies": { "react": ">=16.8" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", + "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/demo/package.json b/demo/package.json index 0373164..7311bf9 100644 --- a/demo/package.json +++ b/demo/package.json @@ -13,7 +13,7 @@ "@react-native-async-storage/async-storage": "^2.0.0", "@react-native-community/checkbox": "^0.5.17", "@react-navigation/bottom-tabs": "^6.6.1", - "@react-navigation/native": "^6.1.18", + "@react-navigation/native": "^7.0.9", "raygun4reactnative": "file:../sdk", "react": "18.3.1", "react-native": "0.76.1", From d62df5ab414940244682d42fc28872426c1528c9 Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Tue, 3 Dec 2024 10:00:48 +0100 Subject: [PATCH 2/2] fix: dependencies --- demo/package-lock.json | 70 +++++++++++++++++++++++------------------- demo/package.json | 4 +-- 2 files changed, 41 insertions(+), 33 deletions(-) diff --git a/demo/package-lock.json b/demo/package-lock.json index 912fd5e..d05f657 100644 --- a/demo/package-lock.json +++ b/demo/package-lock.json @@ -10,8 +10,8 @@ "dependencies": { "@react-native-async-storage/async-storage": "^2.0.0", "@react-native-community/checkbox": "^0.5.17", - "@react-navigation/bottom-tabs": "^6.6.1", - "@react-navigation/native": "^7.0.9", + "@react-navigation/bottom-tabs": "^7.1.3", + "@react-navigation/native": "^7.0.13", "raygun4reactnative": "file:../sdk", "react": "18.3.1", "react-native": "0.76.1", @@ -3620,39 +3620,26 @@ } }, "node_modules/@react-navigation/bottom-tabs": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.6.1.tgz", - "integrity": "sha512-9oD4cypEBjPuaMiu9tevWGiQ4w/d6l3HNhcJ1IjXZ24xvYDSs0mqjUcdt8SWUolCvRrYc/DmNBLlT83bk0bHTw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.1.3.tgz", + "integrity": "sha512-cK5zE7OpZAgZLpFBnoH9AhZbSZfH9Qavdi3kIRd2vpQDtCfnnG5bQ2eM2u/IKHDLdI50Mhsf+srqYJgG2VcmVQ==", "license": "MIT", "dependencies": { - "@react-navigation/elements": "^1.3.31", - "color": "^4.2.3", - "warn-once": "^0.1.0" + "@react-navigation/elements": "^2.2.4", + "color": "^4.2.3" }, "peerDependencies": { - "@react-navigation/native": "^6.0.0", - "react": "*", - "react-native": "*", - "react-native-safe-area-context": ">= 3.0.0", - "react-native-screens": ">= 3.0.0" - } - }, - "node_modules/@react-navigation/bottom-tabs/node_modules/@react-navigation/elements": { - "version": "1.3.31", - "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.31.tgz", - "integrity": "sha512-bUzP4Awlljx5RKEExw8WYtif8EuQni2glDaieYROKTnaxsu9kEIA515sXQgUDZU4Ob12VoL7+z70uO3qrlfXcQ==", - "license": "MIT", - "peerDependencies": { - "@react-navigation/native": "^6.0.0", - "react": "*", + "@react-navigation/native": "^7.0.13", + "react": ">= 18.2.0", "react-native": "*", - "react-native-safe-area-context": ">= 3.0.0" + "react-native-safe-area-context": ">= 4.0.0", + "react-native-screens": ">= 4.0.0" } }, "node_modules/@react-navigation/core": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.1.2.tgz", - "integrity": "sha512-oqp5gxITz33uRjVOx86TQHslwhruGNPjago/fBmOb6LNWi0HwKgiExo9FEfx8lp9pXKtKW0HBZJscUGVvPWYhA==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.3.0.tgz", + "integrity": "sha512-mfUPRdFCuHkaC+uU5iczqevn0PCTKzf6ApxFwgG9E8DfAVbAT7/piZEzFye2inaIRkipBwyNW40h+mEvYqE1og==", "license": "MIT", "dependencies": { "@react-navigation/routers": "^7.1.1", @@ -3673,13 +3660,34 @@ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", "license": "MIT" }, + "node_modules/@react-navigation/elements": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.2.4.tgz", + "integrity": "sha512-/H6Gu/Hn2E/pBQTkZEMbP5SDi7C2q96PrHGvsDJiFtxFgOJusA3+ygUguqTeTP402s/5KvJm47g0UloCMiECwA==", + "license": "MIT", + "dependencies": { + "color": "^4.2.3" + }, + "peerDependencies": { + "@react-native-masked-view/masked-view": ">= 0.2.0", + "@react-navigation/native": "^7.0.13", + "react": ">= 18.2.0", + "react-native": "*", + "react-native-safe-area-context": ">= 4.0.0" + }, + "peerDependenciesMeta": { + "@react-native-masked-view/masked-view": { + "optional": true + } + } + }, "node_modules/@react-navigation/native": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.0.9.tgz", - "integrity": "sha512-VR2TSUCfYYNrql8VMkt4jajchUe24bOeUuj1ReaD7qFLxyT3/vxI/x8gDbf6lLIKo3KBS8g1JEA9rt48PO/Mmw==", + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.0.13.tgz", + "integrity": "sha512-HLoMyp453qIDGjG72cJ2xLeGHHpP4PQve5gQvSn3o/6r2+DAmDuIcd/jXTMJGCHd2LeR9LfuqIvpiIlihg1iBg==", "license": "MIT", "dependencies": { - "@react-navigation/core": "^7.1.2", + "@react-navigation/core": "^7.3.0", "escape-string-regexp": "^4.0.0", "fast-deep-equal": "^3.1.3", "nanoid": "3.3.7", diff --git a/demo/package.json b/demo/package.json index 7311bf9..11537a6 100644 --- a/demo/package.json +++ b/demo/package.json @@ -12,8 +12,8 @@ "dependencies": { "@react-native-async-storage/async-storage": "^2.0.0", "@react-native-community/checkbox": "^0.5.17", - "@react-navigation/bottom-tabs": "^6.6.1", - "@react-navigation/native": "^7.0.9", + "@react-navigation/bottom-tabs": "^7.1.3", + "@react-navigation/native": "^7.0.13", "raygun4reactnative": "file:../sdk", "react": "18.3.1", "react-native": "0.76.1",