Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/react-native-carplay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"homepage": "https://github.com/birkir/react-native-carplay#readme",
"peerDependencies": {
"react": "^17.0.2 || ^18.0.0",
"react-native": "^0.60.0"
"react": ">=18.0.0",

Copilot AI Sep 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using >=18.0.0 allows any future major version of React, which could introduce breaking changes. Consider using a more restrictive range like ^18.0.0 or >=18.0.0 <20.0.0 to prevent compatibility issues with future major versions.

Suggested change
"react": ">=18.0.0",
"react": ">=18.0.0 <20.0.0",

Copilot uses AI. Check for mistakes.
"react-native": ">=0.60.0"

Copilot AI Sep 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using >=0.60.0 allows any future major version of React Native, which could introduce breaking changes. Consider using a more restrictive range like >=0.60.0 <1.0.0 to prevent compatibility issues with future major versions.

Suggested change
"react-native": ">=0.60.0"
"react-native": ">=0.60.0 <1.0.0"

Copilot uses AI. Check for mistakes.
},
"peerDependenciesMeta": {
"react": {
Expand Down
Loading