Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-file-system

Package Overview
Dependencies
Maintainers
32
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-file-system - npm Package Compare versions

Comparing version 16.0.9 to 17.0.0

3

build/ExponentFileSystemShim.js
const platformModule = {
get name() {
return 'ExponentFileSystem';
},
get documentDirectory() {

@@ -6,0 +3,0 @@ return null;

4

build/FileSystem.d.ts

@@ -92,3 +92,3 @@ import { DownloadOptions, DownloadPauseState, FileSystemNetworkTaskProgressCallback, DownloadProgressData, UploadProgressData, FileInfo, FileSystemDownloadResult, FileSystemRequestDirectoryPermissionsResult, FileSystemUploadOptions, FileSystemUploadResult, ReadingOptions, WritingOptions, DeletingOptions, InfoOptions, RelocatingOptions, MakeDirectoryOptions } from './FileSystem.types';

* @return Returns a Promise that resolves to the number of bytes available on the internal disk, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -99,3 +99,3 @@ export declare function getFreeDiskStorageAsync(): Promise<number>;

* @return Returns a Promise that resolves to a number that specifies the total internal disk storage capacity in bytes, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -102,0 +102,0 @@ export declare function getTotalDiskCapacityAsync(): Promise<number>;

@@ -162,3 +162,3 @@ import { EventEmitter, UnavailabilityError, uuid } from 'expo-modules-core';

* @return Returns a Promise that resolves to the number of bytes available on the internal disk, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -174,3 +174,3 @@ export async function getFreeDiskStorageAsync() {

* @return Returns a Promise that resolves to a number that specifies the total internal disk storage capacity in bytes, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -177,0 +177,0 @@ export async function getTotalDiskCapacityAsync() {

type PlatformMethod = (...args: any[]) => Promise<any>;
export interface ExponentFileSystemModule {
readonly name: 'ExponentFileSystem';
readonly documentDirectory: string | null;

@@ -5,0 +4,0 @@ readonly cacheDirectory: string | null;

@@ -13,13 +13,19 @@ # Changelog

## 16.0.9 — 2024-04-15
## 17.0.0 — 2024-04-18
### 🐛 Bug fixes
- [Android] remove `CookieHandler` as it's no longer in the module registry and not necessary. ([#28145](https://github.com/expo/expo/pull/28145) by [@alanjhughes](https://github.com/alanjhughes))
### 💡 Others
- [iOS] Add privacy manifest describing required reason API usage. ([#27770](https://github.com/expo/expo/pull/27770) by [@aleqsio](https://github.com/aleqsio))
- drop unused web `name` property. ([#27437](https://github.com/expo/expo/pull/27437) by [@EvanBacon](https://github.com/EvanBacon))
- Removed deprecated backward compatible Gradle settings. ([#28083](https://github.com/expo/expo/pull/28083) by [@kudo](https://github.com/kudo))
## 16.0.8 — 2024-03-07
## 16.0.8 - 2024-03-07
_This version does not introduce any user-facing changes._
## 16.0.7 — 2024-02-27
## 16.0.7 - 2024-02-27

@@ -32,3 +38,3 @@ ### 🐛 Bug fixes

## 16.0.6 — 2024-02-06
## 16.0.6 - 2024-02-06

@@ -39,3 +45,3 @@ ### 🐛 Bug fixes

## 16.0.5 — 2024-01-23
## 16.0.5 - 2024-01-23

@@ -46,7 +52,7 @@ ### 🐛 Bug fixes

## 16.0.4 — 2024-01-18
## 16.0.4 - 2024-01-18
_This version does not introduce any user-facing changes._
## 16.0.3 — 2024-01-10
## 16.0.3 - 2024-01-10

@@ -57,3 +63,3 @@ ### 🎉 New features

## 16.0.2 — 2023-12-19
## 16.0.2 - 2023-12-19

@@ -60,0 +66,0 @@ _This version does not introduce any user-facing changes._

{
"name": "expo-file-system",
"version": "16.0.9",
"version": "17.0.0",
"description": "Provides access to the local file system on the device.",

@@ -39,3 +39,3 @@ "main": "build/index.js",

"expo-module-scripts": "^3.0.0",
"jest-expo": "~50.0.0-alpha.0"
"jest-expo": "~51.0.0-unreleased"
},

@@ -45,3 +45,3 @@ "peerDependencies": {

},
"gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
"gitHead": "4165b8d72e1b9a1889c2767534cc619e21468110"
}
import { ExponentFileSystemModule } from './types';
const platformModule: ExponentFileSystemModule = {
get name(): 'ExponentFileSystem' {
return 'ExponentFileSystem';
},
get documentDirectory(): string | null {

@@ -8,0 +5,0 @@ return null;

@@ -211,3 +211,3 @@ import { EventEmitter, Subscription, UnavailabilityError, uuid } from 'expo-modules-core';

* @return Returns a Promise that resolves to the number of bytes available on the internal disk, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -224,3 +224,3 @@ export async function getFreeDiskStorageAsync(): Promise<number> {

* @return Returns a Promise that resolves to a number that specifies the total internal disk storage capacity in bytes, or JavaScript's [`MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)
* if the capacity is greater than 2<sup>53</sup> - 1 bytes.
* if the capacity is greater than 2^53^ - 1 bytes.
*/

@@ -227,0 +227,0 @@ export async function getTotalDiskCapacityAsync(): Promise<number> {

type PlatformMethod = (...args: any[]) => Promise<any>;
export interface ExponentFileSystemModule {
readonly name: 'ExponentFileSystem';
readonly documentDirectory: string | null;

@@ -6,0 +5,0 @@ readonly cacheDirectory: string | null;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc