Skip to content

Fix react and react-native dependencies#231

Open
DanielKuhn wants to merge 1 commit intobirkir:masterfrom
codevise:fix-react-and-react-native-dependencies
Open

Fix react and react-native dependencies#231
DanielKuhn wants to merge 1 commit intobirkir:masterfrom
codevise:fix-react-and-react-native-dependencies

Conversation

@DanielKuhn
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates peer dependency version constraints for React and React Native in the CarPlay package to use more flexible minimum version requirements instead of strict version ranges.

  • Changed React peer dependency from specific version ranges to minimum version requirement
  • Changed React Native peer dependency from caret range to minimum version requirement

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"peerDependencies": {
"react": "^17.0.2 || ^18.0.0",
"react-native": "^0.60.0"
"react": ">=18.0.0",
Copy link

Copilot AI Sep 23, 2025

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": "^17.0.2 || ^18.0.0",
"react-native": "^0.60.0"
"react": ">=18.0.0",
"react-native": ">=0.60.0"
Copy link

Copilot AI Sep 23, 2025

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants