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

browser-fs-access

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-fs-access - npm Package Compare versions

Comparing version 0.18.1 to 0.19.0

12

index.d.ts

@@ -48,2 +48,10 @@ /**

export type WellKnownDirectory =
| 'desktop'
| 'documents'
| 'downloads'
| 'music'
| 'pictures'
| 'videos';
/**

@@ -63,2 +71,6 @@ * Saves a file to disk.

description?: string;
/** Suggested directory in which the file picker opens. */
startIn?: WellKnownDirectory | FileSystemHandle;
/** By specifying an ID, the user agent can remember different directories for different IDs. */
id?: string;
},

@@ -65,0 +77,0 @@ /**

2

package.json
{
"name": "browser-fs-access",
"version": "0.18.1",
"version": "0.19.0",
"description": "File System Access API with legacy fallback in the browser.",

@@ -5,0 +5,0 @@ "browser": "./dist/index.js",

@@ -85,2 +85,6 @@ # Browser-FS-Access

description: 'Image files',
// Suggested directory in which the file picker opens. A well-known directory or a file handle.
startIn: 'downloads',
// By specifying an ID, the user agent can remember different directories for different IDs.
id: 'projects',
};

@@ -99,2 +103,6 @@

recursive: true,
// Suggested directory in which the file picker opens. A well-known directory or a file handle.
startIn: 'downloads',
// By specifying an ID, the user agent can remember different directories for different IDs.
id: 'projects',
};

@@ -116,2 +124,6 @@

extensions: ['.txt'],
// Suggested directory in which the file picker opens. A well-known directory or a file handle.
startIn: 'downloads',
// By specifying an ID, the user agent can remember different directories for different IDs.
id: 'projects',
};

@@ -118,0 +130,0 @@

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