Socket
Socket
Sign inDemoInstall

browser-nativefs

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-nativefs - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

package.json
{
"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

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