Skip to content

Commit

Permalink
refactor: upgrade to latest Expo SDK 51 (#586)
Browse files Browse the repository at this point in the history
* chore(runtime): upgrade to latest Expo SDK 51

* chore(snack-sdk): update bundled native modules fixture
  • Loading branch information
byCedric authored Jun 1, 2024
1 parent f8d48d7 commit 4170f1c
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 206 deletions.
45 changes: 23 additions & 22 deletions packages/snack-sdk/src/__fixtures__/bundledNativeModules.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,10 @@
"@sentry/react-native": "5.19.1"
},
"^51.0.0": {
"@expo/metro-runtime": "~3.2.1",
"@expo/vector-icons": "^14.0.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "7.7.0",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-masked-view/masked-view": "0.3.1",
"@react-native-community/netinfo": "11.3.1",
"@react-native-community/slider": "4.5.2",
Expand All @@ -441,68 +442,68 @@
"expo-application": "~5.9.1",
"expo-asset": "~10.0.6",
"expo-auth-session": "~5.5.2",
"expo-av": "~14.0.3",
"expo-av": "~14.0.5",
"expo-background-fetch": "~12.0.1",
"expo-barcode-scanner": "~13.0.1",
"expo-battery": "~8.0.1",
"expo-blur": "~13.0.2",
"expo-brightness": "~12.0.1",
"expo-build-properties": "~0.12.1",
"expo-calendar": "~13.0.3",
"expo-camera": "~15.0.3",
"expo-calendar": "~13.0.5",
"expo-camera": "~15.0.10",
"expo-cellular": "~6.0.2",
"expo-checkbox": "~3.0.0",
"expo-clipboard": "~6.0.3",
"expo-constants": "~16.0.1",
"expo-constants": "~16.0.2",
"expo-contacts": "~13.0.3",
"expo-crypto": "~13.0.2",
"expo-dev-client": "~4.0.10",
"expo-dev-client": "~4.0.14",
"expo-device": "~6.0.2",
"expo-document-picker": "~12.0.1",
"expo-face-detector": "~12.7.1",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.4",
"expo-font": "~12.0.6",
"expo-gl": "~14.0.2",
"expo-google-app-auth": "~8.3.0",
"expo-haptics": "~13.0.1",
"expo-image": "~1.12.8",
"expo-image": "~1.12.9",
"expo-image-loader": "~4.7.0",
"expo-image-manipulator": "~12.0.3",
"expo-image-picker": "~15.0.4",
"expo-image-manipulator": "~12.0.5",
"expo-image-picker": "~15.0.5",
"expo-intent-launcher": "~11.0.1",
"expo-insights": "~0.7.0",
"expo-keep-awake": "~13.0.1",
"expo-keep-awake": "~13.0.2",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-local-authentication": "~14.0.1",
"expo-localization": "~15.0.3",
"expo-location": "~17.0.1",
"expo-mail-composer": "~13.0.1",
"expo-media-library": "~16.0.3",
"expo-module-template": "~10.14.6",
"expo-modules-core": "~1.12.9",
"expo-module-template": "~10.14.8",
"expo-modules-core": "~1.12.12",
"expo-navigation-bar": "~3.0.4",
"expo-network": "~6.0.1",
"expo-notifications": "~0.28.1",
"expo-notifications": "~0.28.4",
"expo-print": "~13.0.1",
"expo-random": "~14.0.1",
"expo-router": "~3.5.9",
"expo-router": "~3.5.14",
"expo-screen-capture": "~6.0.1",
"expo-screen-orientation": "~7.0.3",
"expo-screen-orientation": "~7.0.5",
"expo-secure-store": "~13.0.1",
"expo-sensors": "~13.0.5",
"expo-sensors": "~13.0.8",
"expo-sharing": "~12.0.1",
"expo-sms": "~12.0.1",
"expo-speech": "~12.0.1",
"expo-speech": "~12.0.2",
"expo-splash-screen": "~0.27.4",
"expo-sqlite": "~14.0.3",
"expo-status-bar": "~1.12.1",
"expo-store-review": "~7.0.2",
"expo-symbols": "~0.1.4",
"expo-system-ui": "~3.0.4",
"expo-task-manager": "~11.8.1",
"expo-task-manager": "~11.8.2",
"expo-tracking-transparency": "~4.0.2",
"expo-updates": "~0.25.8",
"expo-updates": "~0.25.15",
"expo-video-thumbnails": "~8.0.0",
"expo-web-browser": "~13.0.3",
"jest-expo": "~51.0.1",
Expand All @@ -515,10 +516,10 @@
"react-native-get-random-values": "~1.11.0",
"react-native-maps": "1.14.0",
"react-native-pager-view": "6.3.0",
"react-native-reanimated": "3.10.0",
"react-native-reanimated": "~3.10.1",
"react-native-screens": "3.31.1",
"react-native-safe-area-context": "4.10.1",
"react-native-svg": "15.2.0-rc.0",
"react-native-svg": "15.2.0",
"react-native-view-shot": "3.8.0",
"react-native-webview": "13.8.6",
"sentry-expo": "~7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ Object {
exports[`dependencies updates preloaded module version when changing SDK version 2`] = `
Object {
"expo-av": Object {
"error": [Error: Failed to resolve dependency 'expo-av@~14.0.3' (Package 'expo-av@~14.0.3' not found in the registry)],
"error": [Error: Failed to resolve dependency 'expo-av@~14.0.5' (Package 'expo-av@~14.0.5' not found in the registry)],
"peerDependencies": Object {
"react": "*",
"react-native": "*",
},
"version": "~14.0.3",
"wantedVersion": "~14.0.3",
"version": "~14.0.5",
"wantedVersion": "~14.0.5",
},
}
`;
14 changes: 7 additions & 7 deletions runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
"canvaskit-wasm": "0.38.0",
"diff": "^5.0.0",
"escape-string-regexp": "^5.0.0",
"expo": "51.0.0",
"expo": "~51.0.9",
"expo-asset": "~10.0.6",
"expo-barcode-scanner": "~13.0.1",
"expo-constants": "~16.0.1",
"expo-constants": "~16.0.2",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.4",
"expo-keep-awake": "~13.0.1",
"expo-font": "~12.0.6",
"expo-keep-awake": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-random": "~14.0.1",
"expo-router": "~3.5.9",
"expo-router": "~3.5.14",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo-updates": "~0.25.8",
"expo-updates": "~0.25.15",
"path": "^0.12.7",
"prop-types": "^15.7.2",
"pubnub": "^7.2.0",
Expand All @@ -50,7 +50,7 @@
"react-native": "0.74.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-pager-view": "6.3.0",
"react-native-reanimated": "3.10.0",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-view-shot": "3.8.0",
Expand Down
Loading

0 comments on commit 4170f1c

Please sign in to comment.