browser-nativefs
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "browser-nativefs", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Native File System API with legacy fallback in the browser.", | ||
@@ -5,0 +5,0 @@ "browser": "dist/index.js", |
@@ -84,10 +84,2 @@ # Browser-NativeFS | ||
Note that there are some differences between the Native File System API | ||
and the fallback approach | ||
[`<input type="file" webkitdirectory multiple>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory). | ||
Namely, the Native File System API currently doesn't provide useful | ||
relative path info as | ||
[`webkitRelativePath`](https://developer.mozilla.org/en-US/docs/Web/API/File/webkitRelativePath) | ||
did, so you need to keep track of paths yourself. | ||
```js | ||
@@ -104,2 +96,4 @@ // Options are optional. | ||
The module also polyfills a [`webkitRelativePath`](https://developer.mozilla.org/en-US/docs/Web/API/File/webkitRelativePath) property on returned files in a consistent way, regardless of the underlying implementation. | ||
### Saving files: | ||
@@ -143,3 +137,4 @@ | ||
and issue reports. | ||
Directory operations were parallelized and sped up significantly by | ||
Directory operations were made consistent regarding `webkitRelativePath` | ||
and parallelized and sped up significantly by | ||
[@RReverser](https://github.com/RReverser). | ||
@@ -146,0 +141,0 @@ The TypeScript type annotations were provided by |
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
22526
146