browser-fs-access
Advanced tools
Comparing version 0.17.3 to 0.18.0
@@ -24,2 +24,16 @@ /** | ||
* that time. | ||
* Example rejector: | ||
* | ||
* const file = await fileOpen({ | ||
* setupLegacyCleanupAndRejection: (rejectionHandler) => { | ||
* const timeoutId = setTimeout(rejectionHandler, 10_000); | ||
* return (reject) => { | ||
* clearTimeout(timeoutId); | ||
* if (reject) { | ||
* reject('My error message here.'); | ||
* } | ||
* }; | ||
* }, | ||
* }); | ||
* | ||
* ToDo: Remove this workaround once | ||
@@ -26,0 +40,0 @@ * https://github.com/whatwg/html/issues/6376 is specified and supported. |
{ | ||
"name": "browser-fs-access", | ||
"version": "0.17.3", | ||
"version": "0.18.0", | ||
"description": "File System Access API with legacy fallback in the browser.", | ||
@@ -42,9 +42,9 @@ "browser": "./dist/index.js", | ||
"devDependencies": { | ||
"eslint": "^7.28.0", | ||
"eslint": "^7.29.0", | ||
"eslint-config-google": "^0.14.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"http-server": "^0.12.3", | ||
"prettier": "^2.3.1", | ||
"prettier": "^2.3.2", | ||
"shx": "^0.3.3", | ||
"terser": "^5.7.0" | ||
"terser": "^5.7.1" | ||
}, | ||
@@ -51,0 +51,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
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
122
28186