From c8abb091979852c95d3eb496d5b59905edf3d6e0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 20 Oct 2024 23:39:37 +0000 Subject: [PATCH] fix: upgrade react-native-reanimated from 3.3.0 to 3.15.3 Snyk has created this PR to upgrade react-native-reanimated from 3.3.0 to 3.15.3. See this package in npm: https://www.npmjs.com/package/react-native-reanimated See this project in Snyk: https://app.snyk.io/org/kabir0x23/project/4498a641-09fb-4157-9ac3-34bf59a22676?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 66 +++++++++++++++++++---------------------------- package.json | 2 +- 2 files changed, 28 insertions(+), 40 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4067cca..00dd0d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "thecyberhub-app", - "version": "1.7.13", + "version": "1.7.14", "dependencies": { "@expo/dev-tools": "^0.13.173", "@expo/vector-icons": "^13.0.0", @@ -17,16 +17,16 @@ "@react-navigation/stack": "^6.3.10", "@types/react": "~18.2.14", "@types/react-native": "^0.70.6", - "expo": "^50.0.0", + "expo": "~50.0.0", "expo-av": "~13.4.1", "expo-file-system": "~15.4.5", "expo-linking": "^5.0.0", "expo-status-bar": "~1.6.0", "react": "18.2.0", "react-dom": "^18.1.0", - "react-native": "^0.73.0", + "react-native": "0.73.0", "react-native-gesture-handler": "~2.12.0", - "react-native-reanimated": "~3.3.0", + "react-native-reanimated": "^3.15.3", "react-native-reanimated-carousel": "^3.5.1", "react-native-safe-area-context": "4.6.3", "react-native-screens": "~3.22.0", @@ -1458,20 +1458,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-object-assign": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-assign/-/plugin-transform-object-assign-7.18.6.tgz", - "integrity": "sha512-mQisZ3JfqWh2gVXvfqYCAAyRs6+7oev+myBsTwW5RnPhYXOTuCEw2oe3YgxlXMViXUS53lG8koulI7mJ+8JE+A==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-transform-object-rest-spread": { "version": "7.24.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.5.tgz", @@ -23448,22 +23434,25 @@ } }, "node_modules/react-native-reanimated": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.3.0.tgz", - "integrity": "sha512-LzfpPZ1qXBGy5BcUHqw3pBC0qSd22qXS3t8hWSbozXNrBkzMhhOrcILE/nEg/PHpNNp1xvGOW8NwpAMF006roQ==", + "version": "3.15.3", + "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.15.3.tgz", + "integrity": "sha512-5QBk/7PZvZ98Adxm4MRyglwzsRzReTQIe4Hd2wbBBAZ68IC4OYKvsc8cPEjgx3/1mG8HgHFYhbcDe5U2RjeFqw==", + "license": "MIT", "dependencies": { - "@babel/plugin-transform-object-assign": "^7.16.7", + "@babel/plugin-transform-arrow-functions": "^7.0.0-0", + "@babel/plugin-transform-class-properties": "^7.0.0-0", + "@babel/plugin-transform-classes": "^7.0.0-0", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0", + "@babel/plugin-transform-optional-chaining": "^7.0.0-0", + "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", + "@babel/plugin-transform-template-literals": "^7.0.0-0", + "@babel/plugin-transform-unicode-regex": "^7.0.0-0", "@babel/preset-typescript": "^7.16.7", "convert-source-map": "^2.0.0", "invariant": "^2.2.4" }, "peerDependencies": { "@babel/core": "^7.0.0-0", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-0", - "@babel/plugin-proposal-optional-chaining": "^7.0.0-0", - "@babel/plugin-transform-arrow-functions": "^7.0.0-0", - "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", - "@babel/plugin-transform-template-literals": "^7.0.0-0", "react": "*", "react-native": "*" } @@ -30802,14 +30791,6 @@ "@babel/plugin-syntax-numeric-separator": "^7.10.4" } }, - "@babel/plugin-transform-object-assign": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-assign/-/plugin-transform-object-assign-7.18.6.tgz", - "integrity": "sha512-mQisZ3JfqWh2gVXvfqYCAAyRs6+7oev+myBsTwW5RnPhYXOTuCEw2oe3YgxlXMViXUS53lG8koulI7mJ+8JE+A==", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, "@babel/plugin-transform-object-rest-spread": { "version": "7.24.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.5.tgz", @@ -47612,11 +47593,18 @@ } }, "react-native-reanimated": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.3.0.tgz", - "integrity": "sha512-LzfpPZ1qXBGy5BcUHqw3pBC0qSd22qXS3t8hWSbozXNrBkzMhhOrcILE/nEg/PHpNNp1xvGOW8NwpAMF006roQ==", + "version": "3.15.3", + "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.15.3.tgz", + "integrity": "sha512-5QBk/7PZvZ98Adxm4MRyglwzsRzReTQIe4Hd2wbBBAZ68IC4OYKvsc8cPEjgx3/1mG8HgHFYhbcDe5U2RjeFqw==", "requires": { - "@babel/plugin-transform-object-assign": "^7.16.7", + "@babel/plugin-transform-arrow-functions": "^7.0.0-0", + "@babel/plugin-transform-class-properties": "^7.0.0-0", + "@babel/plugin-transform-classes": "^7.0.0-0", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0", + "@babel/plugin-transform-optional-chaining": "^7.0.0-0", + "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", + "@babel/plugin-transform-template-literals": "^7.0.0-0", + "@babel/plugin-transform-unicode-regex": "^7.0.0-0", "@babel/preset-typescript": "^7.16.7", "convert-source-map": "^2.0.0", "invariant": "^2.2.4" diff --git a/package.json b/package.json index ff4ed9a..9c21677 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "react-dom": "^18.1.0", "react-native": "0.73.0", "react-native-gesture-handler": "~2.12.0", - "react-native-reanimated": "~3.3.0", + "react-native-reanimated": "~3.15.3", "react-native-reanimated-carousel": "^3.5.1", "react-native-safe-area-context": "4.6.3", "react-native-screens": "~3.22.0",