Skip to content

Commit 1e2b733

Browse files
author
Julius Marminge
committed
chore(mobile): upgrade to Expo SDK 57
1 parent 4669eab commit 1e2b733

8 files changed

Lines changed: 1253 additions & 1831 deletions

File tree

‎apps/mobile/package.json‎

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"@clerk/expo": "catalog:",
4949
"@effect/atom-react": "catalog:",
5050
"@expo-google-fonts/dm-sans": "^0.4.2",
51-
"@expo/metro-runtime": "~56.0.15",
52-
"@expo/ui": "~56.0.18",
51+
"@expo/metro-runtime": "~57.0.14",
52+
"@expo/ui": "~57.0.14",
5353
"@legendapp/list": "catalog:",
5454
"@noble/curves": "catalog:",
5555
"@noble/hashes": "catalog:",
@@ -72,52 +72,52 @@
7272
"clsx": "^2.1.1",
7373
"diff": "8.0.3",
7474
"effect": "catalog:",
75-
"expo": "~56.0.12",
76-
"expo-asset": "~56.0.17",
77-
"expo-auth-session": "~56.0.14",
78-
"expo-blur": "~56.0.3",
79-
"expo-build-properties": "~56.0.19",
80-
"expo-camera": "~56.0.8",
81-
"expo-clipboard": "~56.0.4",
82-
"expo-constants": "~56.0.18",
83-
"expo-crypto": "~56.0.4",
84-
"expo-dev-client": "~56.0.20",
85-
"expo-device": "~56.0.4",
86-
"expo-file-system": "~56.0.8",
87-
"expo-font": "~56.0.7",
88-
"expo-glass-effect": "~56.0.4",
89-
"expo-haptics": "~56.0.3",
90-
"expo-image": "~56.0.11",
91-
"expo-image-picker": "~56.0.18",
92-
"expo-linking": "~56.0.14",
93-
"expo-network": "~56.0.5",
94-
"expo-notifications": "~56.0.18",
75+
"expo": "~57.0.18",
76+
"expo-asset": "~57.0.15",
77+
"expo-auth-session": "~57.0.10",
78+
"expo-blur": "~57.0.2",
79+
"expo-build-properties": "~57.0.15",
80+
"expo-camera": "~57.0.4",
81+
"expo-clipboard": "~57.0.1",
82+
"expo-constants": "~57.0.16",
83+
"expo-crypto": "~57.0.2",
84+
"expo-dev-client": "~57.0.16",
85+
"expo-device": "~57.0.1",
86+
"expo-file-system": "~57.0.6",
87+
"expo-font": "~57.0.2",
88+
"expo-glass-effect": "~57.0.1",
89+
"expo-haptics": "~57.0.2",
90+
"expo-image": "~57.0.3",
91+
"expo-image-picker": "~57.0.14",
92+
"expo-linking": "~57.0.8",
93+
"expo-network": "~57.0.1",
94+
"expo-notifications": "~57.0.15",
9595
"expo-paste-input": "^0.1.15",
9696
"expo-quick-actions": "^6.0.2",
97-
"expo-secure-store": "~56.0.4",
98-
"expo-sharing": "~56.0.18",
99-
"expo-splash-screen": "~56.0.10",
100-
"expo-sqlite": "~56.0.5",
101-
"expo-symbols": "~56.0.6",
102-
"expo-updates": "~56.0.19",
103-
"expo-web-browser": "~56.0.5",
104-
"expo-widgets": "~56.0.19",
97+
"expo-secure-store": "~57.0.2",
98+
"expo-sharing": "~57.0.16",
99+
"expo-splash-screen": "~57.0.8",
100+
"expo-sqlite": "~57.0.2",
101+
"expo-symbols": "~57.0.2",
102+
"expo-updates": "~57.0.19",
103+
"expo-web-browser": "~57.0.2",
104+
"expo-widgets": "~57.0.15",
105105
"punycode": "^2.3.1",
106106
"react": "19.2.3",
107107
"react-dom": "19.2.3",
108-
"react-native": "0.85.3",
109-
"react-native-gesture-handler": "~2.31.1",
108+
"react-native": "0.86.3",
109+
"react-native-gesture-handler": "~2.32.0",
110110
"react-native-image-viewing": "^0.2.2",
111111
"react-native-keyboard-controller": "1.21.13",
112112
"react-native-nitro-markdown": "^0.5.0",
113113
"react-native-nitro-modules": "0.35.9",
114-
"react-native-reanimated": "4.3.1",
114+
"react-native-reanimated": "4.5.1",
115115
"react-native-safe-area-context": "~5.7.0",
116-
"react-native-screens": "4.25.2",
116+
"react-native-screens": "~4.26.0",
117117
"react-native-shiki-engine": "^0.3.12",
118118
"react-native-svg": "15.15.4",
119119
"react-native-webview": "^13.16.1",
120-
"react-native-worklets": "0.8.3",
120+
"react-native-worklets": "0.10.1",
121121
"shiki": "4.2.0",
122122
"tailwind-merge": "^3.5.0",
123123
"uniwind": "^1.6.2"
@@ -126,14 +126,19 @@
126126
"@effect/vitest": "catalog:",
127127
"@pierre/trees": "1.0.0-beta.4",
128128
"@types/react": "~19.2.0",
129-
"babel-preset-expo": "~56.0.0",
129+
"babel-preset-expo": "~57.0.9",
130130
"tailwindcss": "^4.0.0",
131131
"typescript": "catalog:"
132132
},
133133
"overrides": {
134134
"react-native-nitro-markdown": "file:deps/react-native-nitro-markdown-0.5.0.tgz"
135135
},
136136
"expo": {
137+
"install": {
138+
"exclude": [
139+
"react-native-keyboard-controller"
140+
]
141+
},
137142
"autolinking": {
138143
"buildFromSource": [
139144
"react-native-screens",
Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
diff --git a/build/serializer/sourceMap.js b/build/serializer/sourceMap.js
2-
index 4cc9aa4..703dfe0 100644
2+
index 547e53377a7c560db8dfd983601606de15896e07..29a0c855088bceacb7ba00a627615539cbf37738 100644
33
--- a/build/serializer/sourceMap.js
44
+++ b/build/serializer/sourceMap.js
5-
@@ -20,6 +20,20 @@ function loadRemapping() {
5+
@@ -27,6 +27,13 @@ function loadSourcemapCodec() {
66
}
7-
return _remapping;
7+
return _sourcemapCodec;
88
}
9-
+let _sourceMapCodec;
10-
+function loadSourceMapCodec() {
11-
+ if (!_sourceMapCodec) {
12-
+ _sourceMapCodec = require('@jridgewell/sourcemap-codec');
13-
+ }
14-
+ return _sourceMapCodec;
15-
+}
169
+let _traceMapping;
1710
+function loadTraceMapping() {
1811
+ if (!_traceMapping) {
@@ -23,9 +16,9 @@ index 4cc9aa4..703dfe0 100644
2316
let _Generator;
2417
function loadGenerator() {
2518
if (!_Generator) {
26-
@@ -199,6 +213,58 @@ function patchMetroSourceMapStringForPackedMaps() {
27-
stock.sourceMapString = sourceMapString;
28-
stock.sourceMapStringNonBlocking = sourceMapStringNonBlocking;
19+
@@ -224,6 +231,58 @@ function repairInvalidNegativeIndices(map) {
20+
}
21+
return changed ? { ...map, mappings: encode(decoded) } : map;
2922
}
3023
+// Hermes can emit mappings for Metro trailer/debug lines that have no
3124
+// corresponding Metro source-map line. @jridgewell/remapping assumes every
@@ -62,7 +55,7 @@ index 4cc9aa4..703dfe0 100644
6255
+ }
6356
+ return {
6457
+ ...map,
65-
+ mappings: loadSourceMapCodec().encode(filtered),
58+
+ mappings: loadSourcemapCodec().encode(filtered),
6659
+ };
6760
+}
6861
+function sanitizeSourceMapsForComposition(maps) {
@@ -82,12 +75,12 @@ index 4cc9aa4..703dfe0 100644
8275
// `maps[0]` is the original-most transform; `maps[maps.length - 1]` is
8376
// the most recent. Built on `@jridgewell/remapping` instead of mozilla's
8477
// `SourceMapConsumer`-based composer.
85-
@@ -226,7 +292,7 @@ function composeSourceMaps(maps) {
78+
@@ -251,7 +310,7 @@ function composeSourceMaps(maps) {
8679
return { ...map, ignoreList: map.x_google_ignoreList };
8780
});
8881
// Metro convention is original-first; remapping is most-recent first.
89-
- const reversed = normalized.slice().reverse();
90-
+ const reversed = sanitizeSourceMapsForComposition(normalized).slice().reverse();
91-
const composed = loadRemapping()(reversed, () => null);
92-
// Re-emit as a plain object — remapping returns a `SourceMap` class
93-
// instance, which doesn't round-trip JSON cleanly.
82+
- let input = normalized.slice().reverse();
83+
+ let input = sanitizeSourceMapsForComposition(normalized).slice().reverse();
84+
const remap = loadRemapping();
85+
let composed;
86+
try {

‎patches/@[email protected]‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎patches/[email protected]‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)