expo-file-system 19.0.18-canary-20251015-a6a1272 → 19.0.18

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +12 -4
  2. package/android/build.gradle +2 -2
  3. package/build/ExpoFileSystem.types.d.ts +5 -13
  4. package/build/ExpoFileSystem.types.d.ts.map +1 -1
  5. package/build/index.d.ts +1 -1
  6. package/build/index.d.ts.map +1 -1
  7. package/expo-module.config.json +1 -1
  8. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.aar +0 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.aar.md5 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.aar.sha1 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.aar.sha256 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.aar.sha512 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module → 19.0.18/expo.modules.filesystem-19.0.18.module} +18 -18
  14. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.module.md5 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.module.sha1 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.module.sha256 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.module.sha512 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom → 19.0.18/expo.modules.filesystem-19.0.18.pom} +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.pom.md5 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.pom.sha1 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.pom.sha256 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18/expo.modules.filesystem-19.0.18.pom.sha512 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
  24. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
  28. package/package.json +6 -5
  29. package/src/ExpoFileSystem.types.ts +5 -13
  30. package/src/index.ts +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar +0 -0
  32. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.md5 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha1 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha256 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha512 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.md5 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha1 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha256 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha512 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.md5 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha1 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha256 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha512 +0 -1
  44. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar → 19.0.18/expo.modules.filesystem-19.0.18-sources.jar} +0 -0
  45. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.md5 → 19.0.18/expo.modules.filesystem-19.0.18-sources.jar.md5} +0 -0
  46. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha1 → 19.0.18/expo.modules.filesystem-19.0.18-sources.jar.sha1} +0 -0
  47. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha256 → 19.0.18/expo.modules.filesystem-19.0.18-sources.jar.sha256} +0 -0
  48. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha512 → 19.0.18/expo.modules.filesystem-19.0.18-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -8,11 +8,19 @@
8
8
 
9
9
  ### 🐛 Bug fixes
10
10
 
11
- - [Android] Fix recursive file deletion. ([#40248](https://github.com/expo/expo/pull/40248) by [@aleqsio](https://github.com/aleqsio))
12
-
13
11
  ### 💡 Others
14
12
 
15
- ## 19.0.16 - 2025-10-01
13
+ ## 19.0.18 2025-11-17
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 19.0.17 — 2025-10-09
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - [Android] Fix recursive file deletion. ([#40248](https://github.com/expo/expo/pull/40248) by [@aleqsio](https://github.com/aleqsio))
22
+
23
+ ## 19.0.16 — 2025-10-01
16
24
 
17
25
  ### 🎉 New features
18
26
 
@@ -23,7 +31,7 @@
23
31
  - Fix typedoc in the File class. ([#40064](https://github.com/expo/expo/pull/40064) by [@aleqsio](https://github.com/aleqsio))
24
32
  - [Android] Fix getContentUri. ([#40001](https://github.com/expo/expo/pull/40001) by [@aleqsio](https://github.com/aleqsio))
25
33
 
26
- ## 19.0.15 - 2025-09-22
34
+ ## 19.0.15 2025-09-22
27
35
 
28
36
  ### 🎉 New features
29
37
 
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '19.0.18-canary-20251015-a6a1272'
7
+ version = '19.0.18'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.filesystem"
11
11
  defaultConfig {
12
12
  versionCode 30
13
- versionName "19.0.18-canary-20251015-a6a1272"
13
+ versionName "19.0.18"
14
14
  }
15
15
  }
16
16
 
@@ -184,7 +184,7 @@ export declare class File {
184
184
  * Retrieves content of the file as base64.
185
185
  * @returns A promise that resolves with the contents of the file as a base64 string.
186
186
  */
187
- base64(): Promise<string>;
187
+ base64(): string;
188
188
  /**
189
189
  * Retrieves content of the file as base64.
190
190
  * @returns The contents of the file as a base64 string.
@@ -192,12 +192,12 @@ export declare class File {
192
192
  base64Sync(): string;
193
193
  /**
194
194
  * Retrieves byte content of the entire file.
195
- * @returns A promise that resolves with the contents of the file as a `Uint8Array`.
195
+ * @returns A promise that resolves with the contents of the file as a Uint8Array.
196
196
  */
197
197
  bytes(): Promise<Uint8Array<ArrayBuffer>>;
198
198
  /**
199
199
  * Retrieves byte content of the entire file.
200
- * @returns The contents of the file as a `Uint8Array`.
200
+ * @returns A promise that resolves with the contents of the file as a Uint8Array.
201
201
  */
202
202
  bytesSync(): Uint8Array;
203
203
  /**
@@ -248,18 +248,10 @@ export declare class File {
248
248
  /**
249
249
  * A static method that downloads a file from the network.
250
250
  *
251
- * On Android, the response body streams directly into the target file. If the download fails after
252
- * it starts, a partially written file may remain at the destination. On iOS, the download first
253
- * completes in a temporary location and the file is moved into place only after success, so no
254
- * file is left behind when the request fails.
255
- *
256
251
  * @param url - The URL of the file to download.
257
252
  * @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
258
- * @param options - Download options. When the destination already contains a file, the promise rejects with a `DestinationAlreadyExists` error unless `options.idempotent` is set to `true`. With `idempotent: true`, the download overwrites the existing file instead of failing.
259
253
  *
260
- * @returns A promise that resolves to the downloaded file. When the server responds with
261
- * a non-2xx HTTP status, the promise rejects with an `UnableToDownload` error whose
262
- * message includes the status code. No file is created in that scenario.
254
+ * @returns A promise that resolves to the downloaded file.
263
255
  *
264
256
  * @example
265
257
  * ```ts
@@ -274,7 +266,7 @@ export declare class File {
274
266
  *
275
267
  * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
276
268
  * @param mimeType A mime type that is used to filter out files that can be picked out.
277
- * @returns A `File` instance or an array of `File` instances.
269
+ * @returns a `File` instance or an array of `File` instances.
278
270
  */
279
271
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File | File[]>;
280
272
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoFileSystem.types.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,oBAAY,YAAY;IACtB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B;;;;;;;OAOG;gBACS,GAAG,IAAI,EAA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;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './FileSystem';
2
- export { type FileCreateOptions, type DirectoryCreateOptions, type FileHandle, type FileInfo, type InfoOptions, type PathInfo, type DirectoryInfo, type DownloadOptions, } from './ExpoFileSystem.types';
2
+ export { type FileCreateOptions, type DirectoryCreateOptions, type FileHandle, type FileInfo, type InfoOptions, type PathInfo, type DirectoryInfo, } from './ExpoFileSystem.types';
3
3
  export * from './legacyWarnings';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB,MAAM,wBAAwB,CAAC;AAEhC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,aAAa,GACnB,MAAM,wBAAwB,CAAC;AAEhC,cAAc,kBAAkB,CAAC"}
@@ -12,7 +12,7 @@
12
12
  "publication": {
13
13
  "groupId": "host.exp.exponent",
14
14
  "artifactId": "expo.modules.filesystem",
15
- "version": "19.0.18-canary-20251015-a6a1272",
15
+ "version": "19.0.18",
16
16
  "repository": "local-maven-repo"
17
17
  }
18
18
  }
@@ -0,0 +1 @@
1
+ 202752b28c46047281346722d634f17d97177e857bee9905d2637127213146b3
@@ -0,0 +1 @@
1
+ d60c88e7f21f358f02194c14c3927265dfe2d1d87fc6b95752762eac2e0b58aacd0e978c76b0dcf63a8307024d4c456905e7e6e8525b69311b92c4e923ee1877
@@ -3,14 +3,14 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.filesystem",
6
- "version": "19.0.18-canary-20251015-a6a1272",
6
+ "version": "19.0.18",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
10
10
  },
11
11
  "createdBy": {
12
12
  "gradle": {
13
- "version": "9.0.0"
13
+ "version": "8.14.3"
14
14
  }
15
15
  },
16
16
  "variants": [
@@ -75,13 +75,13 @@
75
75
  ],
76
76
  "files": [
77
77
  {
78
- "name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
79
- "url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
80
- "size": 391285,
81
- "sha512": "97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c",
82
- "sha256": "59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb",
83
- "sha1": "6ba51c2cd4269602d70ea24d8689799ea73d73a1",
84
- "md5": "3bea5490d96bf70ecd9175d5bd1688f2"
78
+ "name": "expo.modules.filesystem-19.0.18.aar",
79
+ "url": "expo.modules.filesystem-19.0.18.aar",
80
+ "size": 391292,
81
+ "sha512": "d60c88e7f21f358f02194c14c3927265dfe2d1d87fc6b95752762eac2e0b58aacd0e978c76b0dcf63a8307024d4c456905e7e6e8525b69311b92c4e923ee1877",
82
+ "sha256": "202752b28c46047281346722d634f17d97177e857bee9905d2637127213146b3",
83
+ "sha1": "b04ea6436b34d528574e89f14e16e0f214d73d01",
84
+ "md5": "676ac9e485b903778ac23c483eac4cf5"
85
85
  }
86
86
  ]
87
87
  },
@@ -153,13 +153,13 @@
153
153
  ],
154
154
  "files": [
155
155
  {
156
- "name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
157
- "url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
158
- "size": 391285,
159
- "sha512": "97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c",
160
- "sha256": "59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb",
161
- "sha1": "6ba51c2cd4269602d70ea24d8689799ea73d73a1",
162
- "md5": "3bea5490d96bf70ecd9175d5bd1688f2"
156
+ "name": "expo.modules.filesystem-19.0.18.aar",
157
+ "url": "expo.modules.filesystem-19.0.18.aar",
158
+ "size": 391292,
159
+ "sha512": "d60c88e7f21f358f02194c14c3927265dfe2d1d87fc6b95752762eac2e0b58aacd0e978c76b0dcf63a8307024d4c456905e7e6e8525b69311b92c4e923ee1877",
160
+ "sha256": "202752b28c46047281346722d634f17d97177e857bee9905d2637127213146b3",
161
+ "sha1": "b04ea6436b34d528574e89f14e16e0f214d73d01",
162
+ "md5": "676ac9e485b903778ac23c483eac4cf5"
163
163
  }
164
164
  ]
165
165
  },
@@ -173,8 +173,8 @@
173
173
  },
174
174
  "files": [
175
175
  {
176
- "name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar",
177
- "url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar",
176
+ "name": "expo.modules.filesystem-19.0.18-sources.jar",
177
+ "url": "expo.modules.filesystem-19.0.18-sources.jar",
178
178
  "size": 28829,
179
179
  "sha512": "2f568bfaeec3afab683022062a45f4bc0b36c57b34b03c594770668d0b7a85542a7c8ef9d7ea015a0ca2b1cefdfdd6c81af52d5a8cb986734006c731cbd2efb0",
180
180
  "sha256": "fd56e8219c4f981d84e5dfa36830c59279bf486acfcc80c143b18ec1860260e3",
@@ -0,0 +1 @@
1
+ 96cddf04f0e45e8dfce4f0fbbc793c6b55afa8a55405b99edc219e5bb728e453
@@ -0,0 +1 @@
1
+ 922aa61af92925bba9e2969bed8aa22a811d89a6a521bd1e2e1df2d9dfd1f16d32617338b1f8d73f1e174261e6bc7449b4b7442ca074a634fb5f52102502bd25
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.filesystem</artifactId>
12
- <version>19.0.18-canary-20251015-a6a1272</version>
12
+ <version>19.0.18</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.filesystem</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ afb0ac02c4f2628974a286eb1cf14b9168195d1176fdd3a514b633b8a36a5850
@@ -0,0 +1 @@
1
+ 536ed054e93b501e5884581d1b7b8e91e3a602761126b35e892f66690e007b3f86c95554d3ea3ff322c9e9449c2f7b8948a47563a358cdacdcb139ba0f8d5465
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.filesystem</artifactId>
5
5
  <versioning>
6
- <latest>19.0.18-canary-20251015-a6a1272</latest>
7
- <release>19.0.18-canary-20251015-a6a1272</release>
6
+ <latest>19.0.18</latest>
7
+ <release>19.0.18</release>
8
8
  <versions>
9
- <version>19.0.18-canary-20251015-a6a1272</version>
9
+ <version>19.0.18</version>
10
10
  </versions>
11
- <lastUpdated>20251015164422</lastUpdated>
11
+ <lastUpdated>20251117153705</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 32064ddae3d3d5891f5bfcc09ee26264
1
+ 8db5533008ffc381919cb4cd21477269
@@ -1 +1 @@
1
- 5c6cd5990c0b24c64e5804ecbbc19f1ef72a920f
1
+ e73be3856ea441a67a1fc04cfe324c49ae3c6b43
@@ -1 +1 @@
1
- 62f97ffb82098f3cd58789c3193ea4dd64885f2d98d8cc28897af0c5664829c1
1
+ ccb2518a9cacfc4c13a428d518fe26bf4fe3cf1fff55049ee6b1c04c2def775a
@@ -1 +1 @@
1
- f045969c582e0a864c1c74c6b6415ae8215d017e866c7e19fef6c6b2e26d992d2523449a3ae70101e79efe9fd70a0c04b276668d3e7e2206742a10793f62dd9c
1
+ ef734da87bb54ce6f3439ea9f5852b896340ac7ea194caf7bdc7ecae602a69b93704e2182c661fb76e6e1f7c11e7e0e86a830886c12cc40055e6f30419b84546
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "19.0.18-canary-20251015-a6a1272",
3
+ "version": "19.0.18",
4
4
  "description": "Provides access to the local file system on the device.",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -35,11 +35,12 @@
35
35
  "preset": "expo-module-scripts"
36
36
  },
37
37
  "devDependencies": {
38
- "expo-module-scripts": "5.0.8-canary-20251015-a6a1272",
39
- "jest-expo": "55.0.0-canary-20251015-a6a1272"
38
+ "expo-module-scripts": "^5.0.7",
39
+ "jest-expo": "~54.0.13"
40
40
  },
41
41
  "peerDependencies": {
42
- "expo": "55.0.0-canary-20251015-a6a1272",
42
+ "expo": "*",
43
43
  "react-native": "*"
44
- }
44
+ },
45
+ "gitHead": "6d7c221dc8a1994043c4f2ddcf33a16bf3e508dc"
45
46
  }
@@ -207,7 +207,7 @@ export declare class File {
207
207
  * Retrieves content of the file as base64.
208
208
  * @returns A promise that resolves with the contents of the file as a base64 string.
209
209
  */
210
- base64(): Promise<string>;
210
+ base64(): string;
211
211
 
212
212
  /**
213
213
  * Retrieves content of the file as base64.
@@ -217,13 +217,13 @@ export declare class File {
217
217
 
218
218
  /**
219
219
  * Retrieves byte content of the entire file.
220
- * @returns A promise that resolves with the contents of the file as a `Uint8Array`.
220
+ * @returns A promise that resolves with the contents of the file as a Uint8Array.
221
221
  */
222
222
  bytes(): Promise<Uint8Array<ArrayBuffer>>;
223
223
 
224
224
  /**
225
225
  * Retrieves byte content of the entire file.
226
- * @returns The contents of the file as a `Uint8Array`.
226
+ * @returns A promise that resolves with the contents of the file as a Uint8Array.
227
227
  */
228
228
  bytesSync(): Uint8Array;
229
229
 
@@ -284,18 +284,10 @@ export declare class File {
284
284
  /**
285
285
  * A static method that downloads a file from the network.
286
286
  *
287
- * On Android, the response body streams directly into the target file. If the download fails after
288
- * it starts, a partially written file may remain at the destination. On iOS, the download first
289
- * completes in a temporary location and the file is moved into place only after success, so no
290
- * file is left behind when the request fails.
291
- *
292
287
  * @param url - The URL of the file to download.
293
288
  * @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
294
- * @param options - Download options. When the destination already contains a file, the promise rejects with a `DestinationAlreadyExists` error unless `options.idempotent` is set to `true`. With `idempotent: true`, the download overwrites the existing file instead of failing.
295
289
  *
296
- * @returns A promise that resolves to the downloaded file. When the server responds with
297
- * a non-2xx HTTP status, the promise rejects with an `UnableToDownload` error whose
298
- * message includes the status code. No file is created in that scenario.
290
+ * @returns A promise that resolves to the downloaded file.
299
291
  *
300
292
  * @example
301
293
  * ```ts
@@ -315,7 +307,7 @@ export declare class File {
315
307
  *
316
308
  * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
317
309
  * @param mimeType A mime type that is used to filter out files that can be picked out.
318
- * @returns A `File` instance or an array of `File` instances.
310
+ * @returns a `File` instance or an array of `File` instances.
319
311
  */
320
312
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File | File[]>;
321
313
 
package/src/index.ts CHANGED
@@ -8,7 +8,6 @@ export {
8
8
  type InfoOptions,
9
9
  type PathInfo,
10
10
  type DirectoryInfo,
11
- type DownloadOptions,
12
11
  } from './ExpoFileSystem.types';
13
12
 
14
13
  export * from './legacyWarnings';
@@ -1 +0,0 @@
1
- 97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c
@@ -1 +0,0 @@
1
- 87b8db214f5d60edbeba411957f2da133dbf66c0e3460a9159445ccc64df8e362db693e8d5f61592d8850a6c8e320ba4554f14036f55fc90dc0a2294e836ac53
@@ -1 +0,0 @@
1
- cbaf4217f8c05c4c48b008e1cd291821a7860d8c69f1b9731283d25a3efd8fca17c31fa797bac746bd5a31817a76bfa95146bdfd69d63b5b2922ded0d3764aa8