-
Notifications
You must be signed in to change notification settings - Fork 4
[Snyk] Fix for 1 vulnerabilities #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,11 +17,11 @@ | |
| "@fortawesome/react-native-fontawesome": "^0.3.0", | ||
| "@react-native/eslint-config": "^0.75.0-main", | ||
| "@webview-bridge/react-native": "^1.4.0", | ||
| "expo": "~50.0.6", | ||
| "expo": "~52.0.0", | ||
| "expo-dev-client": "~3.3.11", | ||
| "expo-status-bar": "~1.11.1", | ||
| "react": "18.2.0", | ||
| "react-native": "0.73.6", | ||
| "react-native": "0.81.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: 🔍 Detailed AnalysisThe 💡 Suggested FixUpdate the 🤖 Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. Reference_id: 2680314 |
||
| "react-native-keyboard-controller": "^1.11.5", | ||
| "react-native-reanimated": "^3.8.1", | ||
| "react-native-svg": "^15.1.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug:
package.jsonandpackage-lock.jsonare out of sync, leading to incorrect dependency installations.Severity: CRITICAL | Confidence: 0.99
🔍 Detailed Analysis
The
package.jsonspecifiesexpo: ~52.0.0andreact-native: 0.81.0, butpackage-lock.jsonstill containsexpo: ~50.0.6and olderreact-nativeversions. This mismatch will causenpm cito install incorrect, older dependency versions, leading to runtime crashes due to API incompatibilities, especially withReact Native 0.81.0expecting Node.js 18+ and different APIs.💡 Suggested Fix
Manually update
package-lock.jsonby runningnpm installoryarn installafter modifyingpackage.json.🤖 Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.
Reference_id: 2680314