expo 54.0.4 → 54.0.6

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.
@@ -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.4'
35
+ version = '54.0.6'
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.4"
46
+ versionName "54.0.6"
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,QA6BtB"}
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,SAEwB,CAAC"}
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;AAevD,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
+ {"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"}
@@ -39,7 +39,7 @@
39
39
  "expo-dev-client": "~6.0.12",
40
40
  "expo-device": "~8.0.7",
41
41
  "expo-document-picker": "~14.0.7",
42
- "expo-file-system": "~19.0.13",
42
+ "expo-file-system": "~19.0.14",
43
43
  "expo-font": "~14.0.8",
44
44
  "expo-gl": "~16.0.7",
45
45
  "expo-google-app-auth": "~8.3.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.2",
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.9",
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.4",
3
+ "version": "54.0.6",
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.3",
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",
@@ -87,7 +87,7 @@
87
87
  "babel-preset-expo": "~54.0.1",
88
88
  "expo-asset": "~12.0.8",
89
89
  "expo-constants": "~18.0.8",
90
- "expo-file-system": "~19.0.13",
90
+ "expo-file-system": "~19.0.14",
91
91
  "expo-font": "~14.0.8",
92
92
  "expo-keep-awake": "~15.0.7",
93
93
  "expo-modules-autolinking": "3.0.10",
@@ -124,5 +124,5 @@
124
124
  "optional": true
125
125
  }
126
126
  },
127
- "gitHead": "8581f7205044e7cf98b1d45b373430d6194b4939"
127
+ "gitHead": "c59b0b711af9b43cf17abe7613ce1c2f42808ec3"
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.ReactNativeWebView !== 'undefined'
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.ReactNativeWebView !== 'undefined'
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.
@@ -16,8 +16,11 @@ export function useDOMImperativeHandle<T extends DOMImperativeFactory>(
16
16
  init: () => T,
17
17
  deps?: DependencyList
18
18
  ) {
19
- // @ts-expect-error: Added via react-native-webview
20
- const isTargetWeb = typeof window.ReactNativeWebView === 'undefined';
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
 
@@ -3,4 +3,4 @@ export * from './dom-hooks';
3
3
  // TODO: Maybe this could be a bundler global instead.
4
4
  export const IS_DOM =
5
5
  // @ts-expect-error: Added via react-native-webview
6
- typeof ReactNativeWebView !== 'undefined';
6
+ typeof $$EXPO_INITIAL_PROPS !== 'undefined';
@@ -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