expo 54.0.0-preview.6 → 54.0.0-preview.8

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.0-preview.6'
35
+ version = '54.0.0-preview.8'
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.0-preview.6"
46
+ versionName "54.0.0-preview.8"
47
47
  consumerProguardFiles("proguard-rules.pro")
48
48
  }
49
49
  testOptions {
@@ -1,8 +1,8 @@
1
1
  {
2
- "@expo/fingerprint": "~0.14.2",
2
+ "@expo/fingerprint": "~0.14.3",
3
3
  "@expo/metro-runtime": "~6.1.0",
4
- "@expo/vector-icons": "^14.1.0",
5
- "@expo/ui": "~0.2.0-alpha.4",
4
+ "@expo/vector-icons": "^15.0.0",
5
+ "@expo/ui": "~0.2.0-alpha.5",
6
6
  "@react-native-async-storage/async-storage": "2.2.0",
7
7
  "@react-native-community/datetimepicker": "8.4.4",
8
8
  "@react-native-masked-view/masked-view": "0.3.2",
@@ -16,79 +16,79 @@
16
16
  "expo-analytics-amplitude": "~11.3.0",
17
17
  "expo-app-auth": "~11.1.0",
18
18
  "expo-app-loader-provider": "~8.0.0",
19
- "expo-apple-authentication": "~8.0.2",
20
- "expo-application": "~7.0.2",
21
- "expo-asset": "~12.0.3",
19
+ "expo-apple-authentication": "~8.0.3",
20
+ "expo-application": "~7.0.3",
21
+ "expo-asset": "~12.0.4",
22
22
  "expo-audio": "~1.0.5",
23
23
  "expo-auth-session": "~7.0.3",
24
- "expo-av": "~16.0.2",
25
- "expo-background-fetch": "~14.0.2",
26
- "expo-background-task": "~1.0.2",
27
- "expo-battery": "~10.0.2",
28
- "expo-blur": "~15.0.2",
29
- "expo-brightness": "~14.0.2",
30
- "expo-build-properties": "~1.0.3",
31
- "expo-calendar": "~15.0.2",
32
- "expo-camera": "~17.0.2",
33
- "expo-cellular": "~8.0.2",
34
- "expo-checkbox": "~5.0.2",
35
- "expo-clipboard": "~8.0.2",
36
- "expo-constants": "~18.0.3",
37
- "expo-contacts": "~15.0.3",
38
- "expo-crypto": "~15.0.2",
39
- "expo-dev-client": "~6.0.4",
40
- "expo-device": "~8.0.2",
41
- "expo-document-picker": "~14.0.2",
42
- "expo-file-system": "~19.0.4",
43
- "expo-font": "~14.0.2",
44
- "expo-gl": "~16.0.2",
24
+ "expo-av": "~16.0.3",
25
+ "expo-background-fetch": "~14.0.3",
26
+ "expo-background-task": "~1.0.3",
27
+ "expo-battery": "~10.0.3",
28
+ "expo-blur": "~15.0.3",
29
+ "expo-brightness": "~14.0.3",
30
+ "expo-build-properties": "~1.0.4",
31
+ "expo-calendar": "~15.0.3",
32
+ "expo-camera": "~17.0.3",
33
+ "expo-cellular": "~8.0.3",
34
+ "expo-checkbox": "~5.0.3",
35
+ "expo-clipboard": "~8.0.3",
36
+ "expo-constants": "~18.0.4",
37
+ "expo-contacts": "~15.0.4",
38
+ "expo-crypto": "~15.0.3",
39
+ "expo-dev-client": "~6.0.5",
40
+ "expo-device": "~8.0.3",
41
+ "expo-document-picker": "~14.0.3",
42
+ "expo-file-system": "~19.0.5",
43
+ "expo-font": "~14.0.3",
44
+ "expo-gl": "~16.0.3",
45
45
  "expo-google-app-auth": "~8.3.0",
46
- "expo-haptics": "~15.0.2",
47
- "expo-image": "~3.0.2",
46
+ "expo-haptics": "~15.0.3",
47
+ "expo-image": "~3.0.3",
48
48
  "expo-image-loader": "~6.0.0",
49
- "expo-image-manipulator": "~14.0.2",
50
- "expo-image-picker": "~17.0.2",
51
- "expo-intent-launcher": "~13.0.2",
52
- "expo-insights": "~0.10.2",
53
- "expo-keep-awake": "~15.0.2",
54
- "expo-linear-gradient": "~15.0.2",
49
+ "expo-image-manipulator": "~14.0.3",
50
+ "expo-image-picker": "~17.0.3",
51
+ "expo-intent-launcher": "~13.0.3",
52
+ "expo-insights": "~0.10.3",
53
+ "expo-keep-awake": "~15.0.3",
54
+ "expo-linear-gradient": "~15.0.3",
55
55
  "expo-linking": "~8.0.3",
56
- "expo-local-authentication": "~17.0.2",
57
- "expo-localization": "~17.0.2",
58
- "expo-location": "~19.0.2",
59
- "expo-mail-composer": "~15.0.2",
60
- "expo-manifests": "~1.0.3",
61
- "expo-maps": "~0.12.2",
62
- "expo-media-library": "~18.0.2",
63
- "expo-mesh-gradient": "~0.4.2",
64
- "expo-module-template": "~11.0.3",
65
- "expo-modules-core": "~3.0.5",
66
- "expo-navigation-bar": "~5.0.3",
67
- "expo-network": "~8.0.2",
68
- "expo-notifications": "~0.32.4",
69
- "expo-print": "~15.0.2",
70
- "expo-live-photo": "~1.0.2",
71
- "expo-router": "~6.0.0-beta.5",
72
- "expo-screen-capture": "~8.0.2",
73
- "expo-screen-orientation": "~9.0.2",
74
- "expo-secure-store": "~15.0.2",
75
- "expo-sensors": "~15.0.2",
76
- "expo-sharing": "~14.0.2",
77
- "expo-sms": "~14.0.2",
78
- "expo-speech": "~14.0.2",
56
+ "expo-local-authentication": "~17.0.3",
57
+ "expo-localization": "~17.0.3",
58
+ "expo-location": "~19.0.3",
59
+ "expo-mail-composer": "~15.0.3",
60
+ "expo-manifests": "~1.0.4",
61
+ "expo-maps": "~0.12.3",
62
+ "expo-media-library": "~18.0.3",
63
+ "expo-mesh-gradient": "~0.4.3",
64
+ "expo-module-template": "~11.0.4",
65
+ "expo-modules-core": "~3.0.6",
66
+ "expo-navigation-bar": "~5.0.4",
67
+ "expo-network": "~8.0.3",
68
+ "expo-notifications": "~0.32.5",
69
+ "expo-print": "~15.0.3",
70
+ "expo-live-photo": "~1.0.3",
71
+ "expo-router": "~6.0.0-beta.7",
72
+ "expo-screen-capture": "~8.0.3",
73
+ "expo-screen-orientation": "~9.0.3",
74
+ "expo-secure-store": "~15.0.3",
75
+ "expo-sensors": "~15.0.3",
76
+ "expo-sharing": "~14.0.3",
77
+ "expo-sms": "~14.0.3",
78
+ "expo-speech": "~14.0.3",
79
79
  "expo-splash-screen": "~31.0.4",
80
- "expo-sqlite": "~16.0.3",
81
- "expo-status-bar": "~3.0.3",
82
- "expo-store-review": "~9.0.2",
83
- "expo-symbols": "~1.0.2",
84
- "expo-system-ui": "~6.0.2",
85
- "expo-task-manager": "~14.0.2",
86
- "expo-tracking-transparency": "~6.0.2",
80
+ "expo-sqlite": "~16.0.4",
81
+ "expo-status-bar": "~3.0.4",
82
+ "expo-store-review": "~9.0.3",
83
+ "expo-symbols": "~1.0.3",
84
+ "expo-system-ui": "~6.0.3",
85
+ "expo-task-manager": "~14.0.3",
86
+ "expo-tracking-transparency": "~6.0.3",
87
87
  "expo-updates": "~29.0.4",
88
- "expo-video-thumbnails": "~10.0.2",
89
- "expo-video": "~3.0.4",
90
- "expo-web-browser": "~15.0.2",
91
- "jest-expo": "~54.0.2",
88
+ "expo-video-thumbnails": "~10.0.3",
89
+ "expo-video": "~3.0.5",
90
+ "expo-web-browser": "~15.0.3",
91
+ "jest-expo": "~54.0.3",
92
92
  "lottie-react-native": "~7.3.1",
93
93
  "react": "19.1.0",
94
94
  "react-dom": "19.1.0",
@@ -101,13 +101,13 @@
101
101
  "react-native-pager-view": "6.9.1",
102
102
  "react-native-worklets": "~0.4.1",
103
103
  "react-native-reanimated": "~4.0.2",
104
- "react-native-screens": "~4.14.0",
104
+ "react-native-screens": "~4.15.0",
105
105
  "react-native-safe-area-context": "~5.6.0",
106
106
  "react-native-svg": "15.12.1",
107
107
  "react-native-view-shot": "4.0.3",
108
108
  "react-native-webview": "13.15.0",
109
109
  "sentry-expo": "~7.0.0",
110
- "unimodules-app-loader": "~6.0.2",
110
+ "unimodules-app-loader": "~6.0.3",
111
111
  "unimodules-image-loader-interface": "~6.1.0",
112
112
  "@shopify/react-native-skia": "2.2.3",
113
113
  "@shopify/flash-list": "2.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "54.0.0-preview.6",
3
+ "version": "54.0.0-preview.8",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -75,21 +75,23 @@
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": "0.26.2",
79
- "@expo/config": "~12.0.3",
80
- "@expo/config-plugins": "~11.0.3",
81
- "@expo/devtools": "0.1.2",
82
- "@expo/fingerprint": "0.14.2",
78
+ "@expo/cli": "0.26.3",
79
+ "@expo/config": "~12.0.4",
80
+ "@expo/config-plugins": "~11.0.4",
81
+ "@expo/devtools": "0.1.3",
82
+ "@expo/fingerprint": "0.14.3",
83
83
  "@expo/metro": "~0.1.1",
84
- "@expo/metro-config": "0.21.4",
85
- "@expo/vector-icons": "^14.0.0",
86
- "babel-preset-expo": "~14.0.2",
87
- "expo-asset": "~12.0.3",
88
- "expo-constants": "~18.0.3",
89
- "expo-font": "~14.0.2",
90
- "expo-keep-awake": "~15.0.2",
84
+ "@expo/metro-config": "0.21.5",
85
+ "@expo/vector-icons": "^15.0.0",
86
+ "@ungap/structured-clone": "^1.3.0",
87
+ "babel-preset-expo": "~14.0.3",
88
+ "expo-asset": "~12.0.4",
89
+ "expo-constants": "~18.0.4",
90
+ "expo-file-system": "~19.0.5",
91
+ "expo-font": "~14.0.3",
92
+ "expo-keep-awake": "~15.0.3",
91
93
  "expo-modules-autolinking": "3.0.3",
92
- "expo-modules-core": "3.0.5",
94
+ "expo-modules-core": "3.0.6",
93
95
  "pretty-format": "^29.7.0",
94
96
  "react-refresh": "^0.14.2",
95
97
  "whatwg-url-without-unicode": "8.0.0-3"
@@ -122,5 +124,5 @@
122
124
  "optional": true
123
125
  }
124
126
  },
125
- "gitHead": "f2270a4447fa0939e0d6f95c92bf5238e7162a73"
127
+ "gitHead": "bbd466e1bdb1ba2aa6ba64192f58e900ea7478bc"
126
128
  }
@@ -0,0 +1,27 @@
1
+ describe('structuredClone', () => {
2
+ it(`uses the Expo built-in APIs`, () => {
3
+ expect((structuredClone as any)[Symbol.for('expo.builtin')]).toBe(true);
4
+ });
5
+
6
+ it(`clones primitives`, () => {
7
+ const obj = {
8
+ a: 1,
9
+ b: 'string',
10
+ c: [1, 2, 3],
11
+ d: { nested: true },
12
+ e: new Date(),
13
+ f: /regex/,
14
+ g: new Map([['key', 'value']]),
15
+ h: new Set([1, 2, 3]),
16
+ };
17
+
18
+ const cloned = structuredClone(obj);
19
+
20
+ expect(cloned).toEqual(obj);
21
+ expect(cloned).not.toBe(obj); // Ensure it's a deep clone
22
+ expect(cloned.e).toBeInstanceOf(Date);
23
+ expect(cloned.f).toBeInstanceOf(RegExp);
24
+ expect(cloned.g).toBeInstanceOf(Map);
25
+ expect(cloned.h).toBeInstanceOf(Set);
26
+ });
27
+ });
@@ -19,6 +19,9 @@ install('URLSearchParams', () => require('./url').URLSearchParams);
19
19
 
20
20
  install('__ExpoImportMetaRegistry', () => require('./ImportMetaRegistry').ImportMetaRegistry);
21
21
 
22
+ // https://html.spec.whatwg.org/multipage/structured-data.html#structuredclone
23
+ install('structuredClone', () => require('@ungap/structured-clone').default);
24
+
22
25
  installFormDataPatch(FormData);
23
26
 
24
27
  // Polyfill async iterator symbol for Hermes.
package/template.tgz CHANGED
Binary file
@@ -10,7 +10,7 @@
10
10
  "module": "preserve",
11
11
  "moduleDetection": "force",
12
12
  "moduleResolution": "bundler",
13
- "customConditions": ["react-native-strict-api", "react-native"],
13
+ "customConditions": ["react-native"],
14
14
  "noEmit": true,
15
15
  "resolveJsonModule": true,
16
16
  "skipLibCheck": true,