expo 55.0.24 → 55.0.26

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.
@@ -10,7 +10,7 @@ buildscript {
10
10
  }
11
11
 
12
12
  group = 'host.exp.exponent'
13
- version = '55.0.24'
13
+ version = '55.0.26'
14
14
 
15
15
  expoModule {
16
16
  // We can't prebuild the module because it depends on the generated files.
@@ -21,7 +21,7 @@ android {
21
21
  namespace "expo.core"
22
22
  defaultConfig {
23
23
  versionCode 1
24
- versionName "55.0.24"
24
+ versionName "55.0.26"
25
25
  consumerProguardFiles("proguard-rules.pro")
26
26
  }
27
27
  testOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/winter/fetch/fetch.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAyC,MAAM,iBAAiB,CAAC;AAQvF,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAOxE,wBAAsB,KAAK,CACzB,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,gBAAgB,EACtC,IAAI,CAAC,EAAE,gBAAgB,GACtB,OAAO,CAAC,aAAa,CAAC,CAiDxB"}
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/winter/fetch/fetch.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAyC,MAAM,iBAAiB,CAAC;AAQvF,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAYxE,wBAAsB,KAAK,CACzB,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,gBAAgB,EACtC,IAAI,CAAC,EAAE,gBAAgB,GACtB,OAAO,CAAC,aAAa,CAAC,CAqDxB"}
@@ -2,7 +2,7 @@
2
2
  "@expo/fingerprint": "~0.16.7",
3
3
  "@expo/metro-runtime": "~55.0.11",
4
4
  "@expo/vector-icons": "^15.0.2",
5
- "@expo/ui": "~55.0.16",
5
+ "@expo/ui": "~55.0.17",
6
6
  "@react-native-async-storage/async-storage": "2.2.0",
7
7
  "@react-native-community/datetimepicker": "8.6.0",
8
8
  "@react-native-masked-view/masked-view": "0.3.2",
@@ -16,7 +16,7 @@
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-app-metrics": "~0.2.1",
19
+ "expo-app-metrics": "~0.2.2",
20
20
  "expo-apple-authentication": "~55.0.13",
21
21
  "expo-application": "~55.0.15",
22
22
  "expo-asset": "~55.0.17",
@@ -27,9 +27,9 @@
27
27
  "expo-battery": "~55.0.13",
28
28
  "expo-blur": "~55.0.14",
29
29
  "expo-brightness": "~55.0.13",
30
- "expo-brownfield": "~55.0.23",
30
+ "expo-brownfield": "~55.0.24",
31
31
  "expo-build-properties": "~55.0.14",
32
- "expo-calendar": "~55.0.14",
32
+ "expo-calendar": "~55.0.15",
33
33
  "expo-camera": "~55.0.18",
34
34
  "expo-cellular": "~55.0.13",
35
35
  "expo-checkbox": "~55.0.4",
@@ -37,16 +37,16 @@
37
37
  "expo-constants": "~55.0.16",
38
38
  "expo-contacts": "~55.0.14",
39
39
  "expo-crypto": "~55.0.15",
40
- "expo-dev-client": "~55.0.33",
40
+ "expo-dev-client": "~55.0.35",
41
41
  "expo-device": "~55.0.17",
42
42
  "expo-document-picker": "~55.0.13",
43
- "expo-file-system": "~55.0.20",
44
- "expo-font": "~55.0.7",
43
+ "expo-file-system": "~55.0.22",
44
+ "expo-font": "~55.0.8",
45
45
  "expo-gl": "~55.0.14",
46
46
  "expo-glass-effect": "~55.0.11",
47
47
  "expo-google-app-auth": "~8.3.0",
48
48
  "expo-haptics": "~55.0.14",
49
- "expo-image": "~55.0.10",
49
+ "expo-image": "~55.0.11",
50
50
  "expo-image-loader": "~55.0.0",
51
51
  "expo-image-manipulator": "~55.0.16",
52
52
  "expo-image-picker": "~55.0.20",
@@ -56,44 +56,44 @@
56
56
  "expo-linear-gradient": "~55.0.14",
57
57
  "expo-linking": "~55.0.15",
58
58
  "expo-local-authentication": "~55.0.14",
59
- "expo-localization": "~55.0.14",
59
+ "expo-localization": "~55.0.15",
60
60
  "expo-location": "~55.1.10",
61
61
  "expo-mail-composer": "~55.0.14",
62
62
  "expo-manifests": "~55.0.17",
63
- "expo-maps": "~55.0.18",
63
+ "expo-maps": "~55.0.19",
64
64
  "expo-mcp": "~0.2.1",
65
65
  "expo-media-library": "~55.0.17",
66
66
  "expo-mesh-gradient": "~55.0.14",
67
- "expo-module-template": "~55.0.21",
67
+ "expo-module-template": "~55.0.22",
68
68
  "expo-modules-core": "~55.0.25",
69
69
  "expo-navigation-bar": "~55.0.13",
70
70
  "expo-network": "~55.0.14",
71
71
  "expo-notifications": "~55.0.23",
72
- "expo-observe": "~0.2.1",
72
+ "expo-observe": "~0.2.2",
73
73
  "expo-print": "~55.0.15",
74
74
  "expo-live-photo": "~55.0.15",
75
- "expo-router": "~55.0.14",
75
+ "expo-router": "~55.0.16",
76
76
  "expo-screen-capture": "~55.0.14",
77
- "expo-screen-orientation": "~55.0.15",
77
+ "expo-screen-orientation": "~55.0.16",
78
78
  "expo-secure-store": "~55.0.14",
79
79
  "expo-sensors": "~55.0.15",
80
- "expo-server": "~55.0.9",
81
- "expo-sharing": "~55.0.19",
80
+ "expo-server": "~55.0.11",
81
+ "expo-sharing": "~55.0.20",
82
82
  "expo-sms": "~55.0.14",
83
83
  "expo-speech": "~55.0.14",
84
84
  "expo-splash-screen": "~55.0.21",
85
85
  "expo-sqlite": "~55.0.16",
86
86
  "expo-status-bar": "~55.0.6",
87
87
  "expo-store-review": "~55.0.14",
88
- "expo-symbols": "~55.0.8",
88
+ "expo-symbols": "~55.0.9",
89
89
  "expo-system-ui": "~55.0.18",
90
90
  "expo-task-manager": "~55.0.16",
91
91
  "expo-tracking-transparency": "~55.0.14",
92
- "expo-updates": "~55.0.22",
92
+ "expo-updates": "~55.0.24",
93
93
  "expo-video-thumbnails": "~55.0.15",
94
94
  "expo-video": "~55.0.17",
95
95
  "expo-web-browser": "~55.0.16",
96
- "jest-expo": "~55.0.17",
96
+ "jest-expo": "~55.0.18",
97
97
  "lottie-react-native": "~7.3.4",
98
98
  "react": "19.2.0",
99
99
  "react-dom": "19.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "55.0.24",
3
+ "version": "55.0.26",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -77,24 +77,24 @@
77
77
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo",
78
78
  "dependencies": {
79
79
  "@babel/runtime": "^7.20.0",
80
- "@expo/cli": "55.0.30",
80
+ "@expo/cli": "55.0.32",
81
81
  "@expo/config": "~55.0.17",
82
- "@expo/config-plugins": "~55.0.9",
82
+ "@expo/config-plugins": "~55.0.10",
83
83
  "@expo/devtools": "55.0.3",
84
84
  "@expo/fingerprint": "0.16.7",
85
85
  "@expo/local-build-cache-provider": "55.0.13",
86
86
  "@expo/log-box": "55.0.12",
87
87
  "@expo/metro": "~55.1.1",
88
- "@expo/metro-config": "55.0.21",
88
+ "@expo/metro-config": "55.0.23",
89
89
  "@expo/vector-icons": "^15.0.2",
90
90
  "@ungap/structured-clone": "^1.3.0",
91
- "babel-preset-expo": "~55.0.21",
91
+ "babel-preset-expo": "~55.0.22",
92
92
  "expo-asset": "~55.0.17",
93
93
  "expo-constants": "~55.0.16",
94
- "expo-file-system": "~55.0.20",
95
- "expo-font": "~55.0.7",
94
+ "expo-file-system": "~55.0.22",
95
+ "expo-font": "~55.0.8",
96
96
  "expo-keep-awake": "~55.0.8",
97
- "expo-modules-autolinking": "55.0.22",
97
+ "expo-modules-autolinking": "55.0.24",
98
98
  "expo-modules-core": "55.0.25",
99
99
  "pretty-format": "^29.7.0",
100
100
  "react-refresh": "^0.14.2",
@@ -130,5 +130,5 @@
130
130
  "optional": true
131
131
  }
132
132
  },
133
- "gitHead": "0675db12d13a5309e3109e8ecf7f6011522194c6"
133
+ "gitHead": "bb1d4bd298e5bcaff86b04aabca7c56659e57138"
134
134
  }
@@ -11,8 +11,13 @@ import {
11
11
  import type { FetchRequestInit, FetchRequestLike } from './fetch.types';
12
12
 
13
13
  /** Returns if `input` is a Request object */
14
- const isRequest = (input: any): input is FetchRequestLike =>
15
- input != null && typeof input === 'object' && 'body' in input;
14
+ const isRequest = (input: any): input is FetchRequestLike => {
15
+ if (input == null || typeof input !== 'object') {
16
+ return false;
17
+ } else {
18
+ return 'body' in input || input instanceof Request || input[Symbol.toStringTag] === 'Request';
19
+ }
20
+ };
16
21
 
17
22
  // TODO(@kitten): Do we really want to use our own types for web standards?
18
23
  export async function fetch(
@@ -25,7 +30,11 @@ export async function fetch(
25
30
  const signal = init?.signal ?? (initFromRequest ? input.signal : undefined);
26
31
  const redirect = init?.redirect ?? (initFromRequest ? input.redirect : undefined);
27
32
  const method = init?.method ?? (initFromRequest ? input.method : undefined);
28
- const credentials = init?.credentials ?? (initFromRequest ? input.credentials : undefined);
33
+
34
+ let credentials = init?.credentials ?? (initFromRequest ? input.credentials : undefined);
35
+ if (credentials === 'same-origin') {
36
+ credentials = 'include';
37
+ }
29
38
 
30
39
  let headers = normalizeHeadersInit(
31
40
  init?.headers ?? (initFromRequest ? input.headers : undefined)
package/template.tgz CHANGED
Binary file