expo-file-system 19.0.17-canary-20251009-9919e08 → 19.0.17
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.
- package/CHANGELOG.md +8 -4
- package/android/build.gradle +2 -2
- package/build/ExpoFileSystem.types.d.ts +5 -13
- package/build/ExpoFileSystem.types.d.ts.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.module → 19.0.17/expo.modules.filesystem-19.0.17.module} +18 -18
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.pom → 19.0.17/expo.modules.filesystem-19.0.17.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
- package/package.json +6 -5
- package/src/ExpoFileSystem.types.ts +5 -13
- package/src/index.ts +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08-sources.jar → 19.0.17/expo.modules.filesystem-19.0.17-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08-sources.jar.md5 → 19.0.17/expo.modules.filesystem-19.0.17-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08-sources.jar.sha1 → 19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08-sources.jar.sha256 → 19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17-canary-20251009-9919e08/expo.modules.filesystem-19.0.17-canary-20251009-9919e08-sources.jar.sha512 → 19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,11 +8,15 @@
|
|
|
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.
|
|
13
|
+
## 19.0.17 — 2025-10-09
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Fix recursive file deletion. ([#40248](https://github.com/expo/expo/pull/40248) by [@aleqsio](https://github.com/aleqsio))
|
|
18
|
+
|
|
19
|
+
## 19.0.16 — 2025-10-01
|
|
16
20
|
|
|
17
21
|
### 🎉 New features
|
|
18
22
|
|
|
@@ -23,7 +27,7 @@
|
|
|
23
27
|
- Fix typedoc in the File class. ([#40064](https://github.com/expo/expo/pull/40064) by [@aleqsio](https://github.com/aleqsio))
|
|
24
28
|
- [Android] Fix getContentUri. ([#40001](https://github.com/expo/expo/pull/40001) by [@aleqsio](https://github.com/aleqsio))
|
|
25
29
|
|
|
26
|
-
## 19.0.15
|
|
30
|
+
## 19.0.15 — 2025-09-22
|
|
27
31
|
|
|
28
32
|
### 🎉 New features
|
|
29
33
|
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '19.0.17
|
|
7
|
+
version = '19.0.17'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.filesystem"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 30
|
|
13
|
-
versionName "19.0.17
|
|
13
|
+
versionName "19.0.17"
|
|
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():
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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,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C;CACf,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;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,
|
|
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
|
package/build/index.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/expo-module.config.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
676ac9e485b903778ac23c483eac4cf5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b04ea6436b34d528574e89f14e16e0f214d73d01
|
|
@@ -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.17
|
|
6
|
+
"version": "19.0.17",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"createdBy": {
|
|
12
12
|
"gradle": {
|
|
13
|
-
"version": "
|
|
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.17
|
|
79
|
-
"url": "expo.modules.filesystem-19.0.17
|
|
80
|
-
"size":
|
|
81
|
-
"sha512": "
|
|
82
|
-
"sha256": "
|
|
83
|
-
"sha1": "
|
|
84
|
-
"md5": "
|
|
78
|
+
"name": "expo.modules.filesystem-19.0.17.aar",
|
|
79
|
+
"url": "expo.modules.filesystem-19.0.17.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.17
|
|
157
|
-
"url": "expo.modules.filesystem-19.0.17
|
|
158
|
-
"size":
|
|
159
|
-
"sha512": "
|
|
160
|
-
"sha256": "
|
|
161
|
-
"sha1": "
|
|
162
|
-
"md5": "
|
|
156
|
+
"name": "expo.modules.filesystem-19.0.17.aar",
|
|
157
|
+
"url": "expo.modules.filesystem-19.0.17.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.17-
|
|
177
|
-
"url": "expo.modules.filesystem-19.0.17-
|
|
176
|
+
"name": "expo.modules.filesystem-19.0.17-sources.jar",
|
|
177
|
+
"url": "expo.modules.filesystem-19.0.17-sources.jar",
|
|
178
178
|
"size": 28829,
|
|
179
179
|
"sha512": "2f568bfaeec3afab683022062a45f4bc0b36c57b34b03c594770668d0b7a85542a7c8ef9d7ea015a0ca2b1cefdfdd6c81af52d5a8cb986734006c731cbd2efb0",
|
|
180
180
|
"sha256": "fd56e8219c4f981d84e5dfa36830c59279bf486acfcc80c143b18ec1860260e3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2939887843508a05bc8a376240b605b5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
398089ff3057da03c4ae35736b7789541f4fdf32
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0f8244800bb9ba5dab6271c68d219f827a127e34c87bc0a1c23c9b2010e6789d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
80b3bf9150498c34228ffef88f72161f07a8808307f75ce611b38ff3092d75e1f953855b10c2906ada17cbe9ba6448918673c51459f6ca61ebecef685d91c2af
|
|
@@ -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.17
|
|
12
|
+
<version>19.0.17</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
|
+
d6e19507a87616b345928eb3f6fd89b6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ce05d89227738f9da5ffce190146b68e246f3093
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f4591341074ab39f6a9049a9bb8525ae529d0f9cb42ed0e63b7a2b742664c136
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
00da494744eb93de2fce2358af36e0866da77d81980d0f1940e64859b6eedbf030819b4cd062fa96007dce2fb853c81fde5a97cd7dfcca62abcd80cb8f7ddfcc
|
|
@@ -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.17
|
|
7
|
-
<release>19.0.17
|
|
6
|
+
<latest>19.0.17</latest>
|
|
7
|
+
<release>19.0.17</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>19.0.17
|
|
9
|
+
<version>19.0.17</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20251009193303</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
df84806d5d8e27ea227f838fc536616d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
821a7a9711221da8f8dfe09d41adca5dda209a04
|
package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
799fcc9461a0a09c6ac0bafcce852b9acc0de2ea4e64d3fd601af7d2f706c79b
|
package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
07baa476bb44740ba4992588f00e20fcb4ab6ed7758d49ff5f33392b30f48108682d62508ca5542a9d3bea37cfb3f0d3ebdb3854858bb59944880fcc42718022
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-file-system",
|
|
3
|
-
"version": "19.0.17
|
|
3
|
+
"version": "19.0.17",
|
|
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.
|
|
39
|
-
"jest-expo": "
|
|
38
|
+
"expo-module-scripts": "^5.0.7",
|
|
39
|
+
"jest-expo": "~54.0.12"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"expo": "
|
|
42
|
+
"expo": "*",
|
|
43
43
|
"react-native": "*"
|
|
44
|
-
}
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "a2c8477a3fc5744980494805ae46f20dda94c852"
|
|
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():
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3bea5490d96bf70ecd9175d5bd1688f2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6ba51c2cd4269602d70ea24d8689799ea73d73a1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b5f5995880babddd4dc92ce30321e234
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
896aa196892efc1daf02e0acbdb5cbca54aab44a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
705f6e2c73ec83681e17fa389cdda4fe7e8f51773499f8141dddf15869ed3e2d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
51b5c8f443bf191bfb73cfed2225793ed331b88f1572898ffc449a9f28b6dbd6b5d6329d618e24143bc074cb6d881f0cd049b3c05f11fec77de9e7223e2b6e9d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0c02974a1d213d043b282c2cdb9fe922
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cc200290b1c9a58aae92a024441cdec586f535b6
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
dc92cc2167964f04bda980eb50197a92dff03ca740a679f81d30cf6174208601
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0a2e40d193b8838faabab3b3ffeffd441fc512ac5b4e07a8a10888e9b8d5defd482b8cd28cfa94bab2145a76f5b90297c7ae0aa2a021627f2b2a24084829804c
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|