expo-router 5.0.1-preview.0 → 5.0.1-preview.0-canary-20250408-7f0ab53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_async-server-import.js
CHANGED
|
@@ -5,13 +5,17 @@ export async function asyncServerImport(moduleId) {
|
|
|
5
5
|
return $$require_external(moduleId);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
let mod = await import(/* @metro-ignore */ moduleId);
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
// Unwrap exported `{ default: <mod> }` objects, where `<mod>` is another default exported ESM module
|
|
11
|
+
if (
|
|
12
|
+
'default' in mod &&
|
|
13
|
+
typeof mod.default === 'object' &&
|
|
14
|
+
mod.default &&
|
|
15
|
+
(mod.default.default !== undefined || mod.default.__esModule === true)
|
|
16
|
+
) {
|
|
17
|
+
mod = mod.default;
|
|
15
18
|
}
|
|
16
|
-
|
|
19
|
+
|
|
20
|
+
return mod;
|
|
17
21
|
}
|
|
@@ -45,7 +45,7 @@ export declare function Slot(props: Omit<NavigatorProps<any>, 'children'>): Reac
|
|
|
45
45
|
/**
|
|
46
46
|
* Render the current navigator content.
|
|
47
47
|
*/
|
|
48
|
-
declare function NavigatorSlot():
|
|
48
|
+
declare function NavigatorSlot(): React.JSX.Element;
|
|
49
49
|
/**
|
|
50
50
|
* The default navigator for the app when no root _layout is provided.
|
|
51
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navigator.d.ts","sourceRoot":"","sources":["../../src/views/Navigator.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIrD,MAAM,MAAM,qBAAq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;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,qBAchE;AAED;;GAEG;AACH,iBAAS,aAAa,sBAMrB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,sBAM/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-router",
|
|
3
|
-
"version": "5.0.1-preview.0",
|
|
3
|
+
"version": "5.0.1-preview.0-canary-20250408-7f0ab53",
|
|
4
4
|
"description": "Expo Router is a file-based router for React Native and web applications.",
|
|
5
5
|
"author": "650 Industries, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"expo"
|
|
76
76
|
],
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@react-navigation/drawer": "^7.
|
|
79
|
-
"expo": "
|
|
80
|
-
"expo-constants": "
|
|
81
|
-
"expo-linking": "
|
|
78
|
+
"@react-navigation/drawer": "^7.3.8",
|
|
79
|
+
"expo": "53.0.0-canary-20250408-7f0ab53",
|
|
80
|
+
"expo-constants": "17.1.1-canary-20250408-7f0ab53",
|
|
81
|
+
"expo-linking": "7.1.1-canary-20250408-7f0ab53",
|
|
82
82
|
"react-native-reanimated": "*",
|
|
83
83
|
"react-native-safe-area-context": "*",
|
|
84
84
|
"react-native-screens": "*"
|
|
@@ -95,21 +95,21 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@react-navigation/drawer": "^7.
|
|
98
|
+
"@react-navigation/drawer": "^7.3.8",
|
|
99
99
|
"@testing-library/jest-native": "^5.4.2",
|
|
100
100
|
"@testing-library/react": "^15.0.7",
|
|
101
101
|
"@testing-library/react-native": "^13.1.0",
|
|
102
102
|
"immer": "^10.1.1",
|
|
103
|
-
"react-server-dom-webpack": "19.0.0
|
|
103
|
+
"react-server-dom-webpack": "~19.0.0",
|
|
104
104
|
"tsd": "^0.28.1"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@expo/metro-runtime": "5.0.
|
|
108
|
-
"@expo/server": "
|
|
107
|
+
"@expo/metro-runtime": "5.0.1-canary-20250408-7f0ab53",
|
|
108
|
+
"@expo/server": "0.6.1-canary-20250408-7f0ab53",
|
|
109
109
|
"@radix-ui/react-slot": "1.0.1",
|
|
110
|
-
"@react-navigation/bottom-tabs": "^7.3.
|
|
111
|
-
"@react-navigation/native": "^7.
|
|
112
|
-
"@react-navigation/native-stack": "^7.3.
|
|
110
|
+
"@react-navigation/bottom-tabs": "^7.3.9",
|
|
111
|
+
"@react-navigation/native": "^7.1.5",
|
|
112
|
+
"@react-navigation/native-stack": "^7.3.9",
|
|
113
113
|
"client-only": "^0.0.1",
|
|
114
114
|
"invariant": "^2.2.4",
|
|
115
115
|
"react-fast-compare": "^3.2.2",
|
|
@@ -118,6 +118,5 @@
|
|
|
118
118
|
"semver": "~7.6.3",
|
|
119
119
|
"server-only": "^0.0.1",
|
|
120
120
|
"shallowequal": "^1.1.0"
|
|
121
|
-
}
|
|
122
|
-
"gitHead": "8d9f9581dfb14225bb7cb4e9e37b7f04c9b2f199"
|
|
121
|
+
}
|
|
123
122
|
}
|