Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 15, 2025

Summary

This PR updates key dependencies to their latest patch versions for improved compatibility and security:

  • @shopify/react-native-skia: 2.0.0-next.22.0.0-next.4
  • expo: ~53.0.853.0.19
  • react-native: 0.79.20.79.5

Changes Made

Main Package (package.json)

  • Updated @shopify/react-native-skia in devDependencies
  • Updated react-native in devDependencies

Example Package (example/package.json)

  • Updated @shopify/react-native-skia in dependencies
  • Updated expo in dependencies
  • Updated react-native in dependencies

Lock Files

  • Regenerated yarn.lock and example/yarn.lock with new dependency versions

Verification

All builds pass: Main project and example both build successfully
TypeScript compilation: No new errors introduced
Linting: ESLint passes (only pre-existing TypeScript version warning)
Tests: All relevant tests (RNSkia, RNSVG, web) continue to pass
Compatibility: No breaking changes detected

Migration Notes

No manual migration steps required. All updates are:

  • Patch version updates (bug fixes and security improvements)
  • Pre-release updates within same major version
  • Backward compatible changes

Known Warnings

The existing @expo/webpack-config peer dependency warning remains unchanged:

warning " > @expo/[email protected]" has incorrect peer dependency "expo@^49.0.7 || ^50.0.0-0"

This is expected and common with Expo projects where webpack-config versions lag behind expo versions. The functionality works correctly despite the warning.

Benefits

  • Security: Latest patch versions include security fixes
  • Stability: Bug fixes and improvements from React Native 0.79.5 and Expo 53.0.19
  • Compatibility: Better alignment between dependency versions
  • Future-ready: Keeps project current with latest stable releases

This pull request was created as a result of the following prompt from Copilot chat.

Update the following dependencies in the wuba/react-native-echarts project for best compatibility with the installed expo version:

  • @shopify/react-native-skia: Update from 2.0.0-next.2 to v2.0.0-next.4
  • expo: Update from 53.0.8 to 53.0.19
  • react-native: Update from 0.79.2 to 0.79.5
    Make sure to update the package.json and yarn.lock/package-lock.json as needed, and verify there are no breaking changes or additional steps required for these upgrades. Include upgrade instructions or migration notes if any manual changes are required beyond package upgrades.

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@zhiqingchen zhiqingchen marked this pull request as ready for review July 15, 2025 10:19
… to 53.0.19, react-native to 0.79.5

Co-authored-by: zhiqingchen <[email protected]>
Copilot AI changed the title [WIP] Update dependencies for Expo compatibility (@shopify/react-native-skia, expo, react-native) Update dependencies for better compatibility: @shopify/react-native-skia, expo, and react-native Jul 15, 2025
Copilot AI requested a review from zhiqingchen July 15, 2025 10:31
@zhiqingchen zhiqingchen merged commit 62d08b8 into main Jul 15, 2025
4 checks passed
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