browser-fs-access
Advanced tools
Comparing version 0.18.1 to 0.19.0
@@ -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 @@ /** |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29345
133
186