expo 54.0.3 → 54.0.5
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/android/build.gradle +2 -2
- package/build/dom/dom-hooks.d.ts.map +1 -1
- package/build/dom/dom.web.d.ts.map +1 -1
- package/build/dom/marshal.d.ts.map +1 -1
- package/bundledNativeModules.json +3 -3
- package/package.json +3 -3
- package/src/async-require/buildUrlForBundle.ts +1 -1
- package/src/async-require/setupHMR.ts +1 -1
- package/src/dom/dom-hooks.ts +5 -2
- package/src/dom/dom.web.ts +1 -1
- package/src/dom/marshal.tsx +2 -0
- package/template.tgz +0 -0
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ buildscript {
|
|
|
32
32
|
def reactNativeVersion = project.extensions.getByType(ExpoModuleExtension).reactNativeVersion
|
|
33
33
|
|
|
34
34
|
group = 'host.exp.exponent'
|
|
35
|
-
version = '54.0.
|
|
35
|
+
version = '54.0.5'
|
|
36
36
|
|
|
37
37
|
expoModule {
|
|
38
38
|
// We can't prebuild the module because it depends on the generated files.
|
|
@@ -43,7 +43,7 @@ android {
|
|
|
43
43
|
namespace "expo.core"
|
|
44
44
|
defaultConfig {
|
|
45
45
|
versionCode 1
|
|
46
|
-
versionName "54.0.
|
|
46
|
+
versionName "54.0.5"
|
|
47
47
|
consumerProguardFiles("proguard-rules.pro")
|
|
48
48
|
}
|
|
49
49
|
testOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom-hooks.d.ts","sourceRoot":"","sources":["../../src/dom/dom-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,EACnE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,EACX,IAAI,EAAE,MAAM,CAAC,EACb,IAAI,CAAC,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"dom-hooks.d.ts","sourceRoot":"","sources":["../../src/dom/dom-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,EACnE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,EACX,IAAI,EAAE,MAAM,CAAC,EACb,IAAI,CAAC,EAAE,cAAc,QAgCtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.web.d.ts","sourceRoot":"","sources":["../../src/dom/dom.web.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAG5B,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"dom.web.d.ts","sourceRoot":"","sources":["../../src/dom/dom.web.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAG5B,eAAO,MAAM,MAAM,SAE0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marshal.d.ts","sourceRoot":"","sources":["../../src/dom/marshal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"marshal.d.ts","sourceRoot":"","sources":["../../src/dom/marshal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAiBvD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,SAAS,EACtD,aAAa,CAAC,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,KACnD,CAAC,MAAM,IAAI,CAab,CAAC;AAsCF,wBAAgB,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAuC1F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@expo/fingerprint": "~0.15.0",
|
|
3
|
-
"@expo/metro-runtime": "~6.1.
|
|
3
|
+
"@expo/metro-runtime": "~6.1.2",
|
|
4
4
|
"@expo/vector-icons": "^15.0.2",
|
|
5
5
|
"@expo/ui": "~0.2.0-beta.2",
|
|
6
6
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"expo-notifications": "~0.32.11",
|
|
69
69
|
"expo-print": "~15.0.7",
|
|
70
70
|
"expo-live-photo": "~1.0.7",
|
|
71
|
-
"expo-router": "~6.0.
|
|
71
|
+
"expo-router": "~6.0.3",
|
|
72
72
|
"expo-screen-capture": "~8.0.7",
|
|
73
73
|
"expo-screen-orientation": "~9.0.7",
|
|
74
74
|
"expo-secure-store": "~15.0.7",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"expo-sharing": "~14.0.7",
|
|
77
77
|
"expo-sms": "~14.0.7",
|
|
78
78
|
"expo-speech": "~14.0.7",
|
|
79
|
-
"expo-splash-screen": "~31.0.
|
|
79
|
+
"expo-splash-screen": "~31.0.10",
|
|
80
80
|
"expo-sqlite": "~16.0.8",
|
|
81
81
|
"expo-status-bar": "~3.0.8",
|
|
82
82
|
"expo-store-review": "~9.0.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo",
|
|
3
|
-
"version": "54.0.
|
|
3
|
+
"version": "54.0.5",
|
|
4
4
|
"description": "The Expo SDK",
|
|
5
5
|
"main": "src/Expo.ts",
|
|
6
6
|
"module": "src/Expo.ts",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"homepage": "https://github.com/expo/expo/tree/main/packages/expo",
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@babel/runtime": "^7.20.0",
|
|
78
|
-
"@expo/cli": "54.0.
|
|
78
|
+
"@expo/cli": "54.0.4",
|
|
79
79
|
"@expo/config": "~12.0.9",
|
|
80
80
|
"@expo/config-plugins": "~54.0.1",
|
|
81
81
|
"@expo/devtools": "0.1.7",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"optional": true
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "721bb1444269799d315fa2856413e7959c84a3bd"
|
|
128
128
|
}
|
|
@@ -19,7 +19,7 @@ export function buildUrlForBundle(bundlePath: string): string {
|
|
|
19
19
|
if (
|
|
20
20
|
typeof window !== 'undefined' &&
|
|
21
21
|
// @ts-expect-error
|
|
22
|
-
typeof window
|
|
22
|
+
typeof window.$$EXPO_INITIAL_PROPS !== 'undefined'
|
|
23
23
|
) {
|
|
24
24
|
// In a webview, you cannot read from an absolute path.
|
|
25
25
|
return bundlePath;
|
|
@@ -3,7 +3,7 @@ import HMRClient from './hmr';
|
|
|
3
3
|
if (
|
|
4
4
|
typeof window !== 'undefined' &&
|
|
5
5
|
// @ts-expect-error: Added via react-native-webview
|
|
6
|
-
typeof window
|
|
6
|
+
typeof window.$$EXPO_INITIAL_PROPS !== 'undefined'
|
|
7
7
|
) {
|
|
8
8
|
// Sets up developer tools for web platforms when running in a webview. This ensures that logs are visible in the terminal.
|
|
9
9
|
// We assume full control over the console and send JavaScript logs to Metro.
|
package/src/dom/dom-hooks.ts
CHANGED
|
@@ -16,8 +16,11 @@ export function useDOMImperativeHandle<T extends DOMImperativeFactory>(
|
|
|
16
16
|
init: () => T,
|
|
17
17
|
deps?: DependencyList
|
|
18
18
|
) {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
const isTargetWeb =
|
|
20
|
+
// @ts-expect-error: Added via react-native-webview
|
|
21
|
+
typeof window.ReactNativeWebView === 'undefined' &&
|
|
22
|
+
// @ts-expect-error: Added via expo/dom
|
|
23
|
+
typeof window.$$EXPO_INITIAL_PROPS === 'undefined';
|
|
21
24
|
|
|
22
25
|
const stubHandlerFactory = useCallback(() => ({}) as T, deps ?? []);
|
|
23
26
|
|
package/src/dom/dom.web.ts
CHANGED
package/src/dom/marshal.tsx
CHANGED
|
@@ -3,6 +3,8 @@ import { DOM_EVENT, NATIVE_ACTION, NATIVE_ACTION_RESULT } from './injection';
|
|
|
3
3
|
|
|
4
4
|
const IS_DOM =
|
|
5
5
|
typeof window !== 'undefined' &&
|
|
6
|
+
// @ts-expect-error: Added via expo/dom
|
|
7
|
+
typeof window.$$EXPO_INITIAL_PROPS !== 'undefined' &&
|
|
6
8
|
// @ts-expect-error: Added via react-native-webview
|
|
7
9
|
typeof window.ReactNativeWebView !== 'undefined';
|
|
8
10
|
|
package/template.tgz
CHANGED
|
Binary file
|