browser-nativefs
Advanced tools
Comparing version 0.10.3 to 0.11.0
/** | ||
* Opens file(s) from disk. | ||
*/ | ||
export function fileOpen<M extends boolean>(options?: { | ||
export function fileOpen<M extends boolean | undefined = false>(options?: { | ||
/** Acceptable MIME types. [] */ | ||
@@ -13,3 +13,3 @@ mimeTypes?: string[]; | ||
multiple?: M; | ||
}): M extends true ? Promise<File[]> : Promise<File>; | ||
}): M extends false | undefined ? Promise<File> : Promise<File[]>; | ||
@@ -16,0 +16,0 @@ /** |
{ | ||
"name": "browser-nativefs", | ||
"version": "0.10.3", | ||
"version": "0.11.0", | ||
"description": "Native File System API with legacy fallback in the browser.", | ||
@@ -39,9 +39,9 @@ "browser": "dist/index.js", | ||
"devDependencies": { | ||
"eslint": "^7.8.1", | ||
"eslint": "^7.11.0", | ||
"eslint-config-google": "^0.14.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-config-prettier": "^6.12.0", | ||
"http-server": "^0.12.3", | ||
"prettier": "^2.1.1", | ||
"prettier": "^2.1.2", | ||
"shx": "^0.3.2", | ||
"terser": "^5.3.0" | ||
"terser": "^5.3.5" | ||
}, | ||
@@ -48,0 +48,0 @@ "eslintConfig": { |
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
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
24557