expo 55.0.23 → 55.0.25

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.23'
13
+ version = '55.0.25'
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.23"
24
+ versionName "55.0.25"
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.15",
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",
@@ -12,37 +12,37 @@
12
12
  "@react-native-picker/picker": "2.11.4",
13
13
  "@react-native-segmented-control/segmented-control": "2.5.7",
14
14
  "@stripe/stripe-react-native": "0.63.0",
15
- "eslint-config-expo": "~55.0.0",
15
+ "eslint-config-expo": "~55.0.1",
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.0",
19
+ "expo-app-metrics": "~0.2.2",
20
20
  "expo-apple-authentication": "~55.0.13",
21
- "expo-application": "~55.0.14",
21
+ "expo-application": "~55.0.15",
22
22
  "expo-asset": "~55.0.17",
23
23
  "expo-audio": "~55.0.14",
24
- "expo-auth-session": "~55.0.15",
25
- "expo-background-fetch": "~55.0.15",
26
- "expo-background-task": "~55.0.17",
24
+ "expo-auth-session": "~55.0.16",
25
+ "expo-background-fetch": "~55.0.16",
26
+ "expo-background-task": "~55.0.18",
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.22",
31
- "expo-build-properties": "~55.0.13",
32
- "expo-calendar": "~55.0.14",
30
+ "expo-brownfield": "~55.0.24",
31
+ "expo-build-properties": "~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",
36
36
  "expo-clipboard": "~55.0.13",
37
37
  "expo-constants": "~55.0.16",
38
38
  "expo-contacts": "~55.0.14",
39
- "expo-crypto": "~55.0.14",
40
- "expo-dev-client": "~55.0.32",
41
- "expo-device": "~55.0.16",
39
+ "expo-crypto": "~55.0.15",
40
+ "expo-dev-client": "~55.0.35",
41
+ "expo-device": "~55.0.17",
42
42
  "expo-document-picker": "~55.0.13",
43
- "expo-file-system": "~55.0.19",
44
- "expo-font": "~55.0.7",
45
- "expo-gl": "~55.0.13",
43
+ "expo-file-system": "~55.0.21",
44
+ "expo-font": "~55.0.8",
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",
@@ -51,49 +51,49 @@
51
51
  "expo-image-manipulator": "~55.0.16",
52
52
  "expo-image-picker": "~55.0.20",
53
53
  "expo-intent-launcher": "~55.0.12",
54
- "expo-insights": "~55.0.16",
54
+ "expo-insights": "~55.0.17",
55
55
  "expo-keep-awake": "~55.0.8",
56
- "expo-linear-gradient": "~55.0.13",
56
+ "expo-linear-gradient": "~55.0.14",
57
57
  "expo-linking": "~55.0.15",
58
- "expo-local-authentication": "~55.0.13",
59
- "expo-localization": "~55.0.13",
60
- "expo-location": "~55.1.9",
61
- "expo-mail-composer": "~55.0.13",
62
- "expo-manifests": "~55.0.16",
63
- "expo-maps": "~55.0.17",
58
+ "expo-local-authentication": "~55.0.14",
59
+ "expo-localization": "~55.0.15",
60
+ "expo-location": "~55.1.10",
61
+ "expo-mail-composer": "~55.0.14",
62
+ "expo-manifests": "~55.0.17",
63
+ "expo-maps": "~55.0.18",
64
64
  "expo-mcp": "~0.2.1",
65
- "expo-media-library": "~55.0.16",
66
- "expo-mesh-gradient": "~55.0.13",
67
- "expo-module-template": "~55.0.20",
65
+ "expo-media-library": "~55.0.17",
66
+ "expo-mesh-gradient": "~55.0.14",
67
+ "expo-module-template": "~55.0.22",
68
68
  "expo-modules-core": "~55.0.25",
69
- "expo-navigation-bar": "~55.0.12",
70
- "expo-network": "~55.0.13",
71
- "expo-notifications": "~55.0.22",
72
- "expo-observe": "~0.2.0",
73
- "expo-print": "~55.0.14",
74
- "expo-live-photo": "~55.0.14",
75
- "expo-router": "~55.0.14",
76
- "expo-screen-capture": "~55.0.13",
77
- "expo-screen-orientation": "~55.0.14",
78
- "expo-secure-store": "~55.0.13",
79
- "expo-sensors": "~55.0.14",
80
- "expo-server": "~55.0.9",
81
- "expo-sharing": "~55.0.18",
82
- "expo-sms": "~55.0.13",
83
- "expo-speech": "~55.0.13",
84
- "expo-splash-screen": "~55.0.20",
85
- "expo-sqlite": "~55.0.15",
69
+ "expo-navigation-bar": "~55.0.13",
70
+ "expo-network": "~55.0.14",
71
+ "expo-notifications": "~55.0.23",
72
+ "expo-observe": "~0.2.2",
73
+ "expo-print": "~55.0.15",
74
+ "expo-live-photo": "~55.0.15",
75
+ "expo-router": "~55.0.15",
76
+ "expo-screen-capture": "~55.0.14",
77
+ "expo-screen-orientation": "~55.0.16",
78
+ "expo-secure-store": "~55.0.14",
79
+ "expo-sensors": "~55.0.15",
80
+ "expo-server": "~55.0.10",
81
+ "expo-sharing": "~55.0.19",
82
+ "expo-sms": "~55.0.14",
83
+ "expo-speech": "~55.0.14",
84
+ "expo-splash-screen": "~55.0.21",
85
+ "expo-sqlite": "~55.0.16",
86
86
  "expo-status-bar": "~55.0.6",
87
- "expo-store-review": "~55.0.13",
88
- "expo-symbols": "~55.0.8",
89
- "expo-system-ui": "~55.0.17",
90
- "expo-task-manager": "~55.0.15",
91
- "expo-tracking-transparency": "~55.0.13",
92
- "expo-updates": "~55.0.21",
93
- "expo-video-thumbnails": "~55.0.14",
94
- "expo-video": "~55.0.16",
95
- "expo-web-browser": "~55.0.15",
96
- "jest-expo": "~55.0.17",
87
+ "expo-store-review": "~55.0.14",
88
+ "expo-symbols": "~55.0.9",
89
+ "expo-system-ui": "~55.0.18",
90
+ "expo-task-manager": "~55.0.16",
91
+ "expo-tracking-transparency": "~55.0.14",
92
+ "expo-updates": "~55.0.23",
93
+ "expo-video-thumbnails": "~55.0.15",
94
+ "expo-video": "~55.0.17",
95
+ "expo-web-browser": "~55.0.16",
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.23",
3
+ "version": "55.0.25",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -77,28 +77,28 @@
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.29",
81
- "@expo/config": "~55.0.16",
82
- "@expo/config-plugins": "~55.0.8",
80
+ "@expo/cli": "55.0.31",
81
+ "@expo/config": "~55.0.17",
82
+ "@expo/config-plugins": "~55.0.9",
83
83
  "@expo/devtools": "55.0.3",
84
84
  "@expo/fingerprint": "0.16.7",
85
- "@expo/local-build-cache-provider": "55.0.12",
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.20",
88
+ "@expo/metro-config": "55.0.22",
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.19",
95
- "expo-font": "~55.0.7",
94
+ "expo-file-system": "~55.0.21",
95
+ "expo-font": "~55.0.8",
96
96
  "expo-keep-awake": "~55.0.8",
97
- "expo-modules-autolinking": "55.0.21",
97
+ "expo-modules-autolinking": "55.0.23",
98
98
  "expo-modules-core": "55.0.25",
99
99
  "pretty-format": "^29.7.0",
100
100
  "react-refresh": "^0.14.2",
101
- "whatwg-url-minimum": "^0.1.1"
101
+ "whatwg-url-minimum": "^0.1.2"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@expo/dom-webview": "^55.0.6",
@@ -130,5 +130,5 @@
130
130
  "optional": true
131
131
  }
132
132
  },
133
- "gitHead": "7c081282cf88968f81732feb67a71840e769a40f"
133
+ "gitHead": "fcb091766242d53248cd3c5949965961dbc5ec1d"
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