Socket
Socket
Sign inDemoInstall

browser-fs-access

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-fs-access - npm Package Compare versions

Comparing version 0.14.2 to 0.15.0

2

dist/index.js
// @license © 2020 Google LLC. Licensed under the Apache License, Version 2.0.
export{fileOpen}from"./file-open.mjs";export{directoryOpen}from"./directory-open.mjs";export{fileSave}from"./file-save.mjs";
export{fileOpen}from"./file-open.mjs";export{directoryOpen}from"./directory-open.mjs";export{fileSave}from"./file-save.mjs";export{default as supported}from"./supported.mjs";
{
"name": "browser-fs-access",
"version": "0.14.2",
"version": "0.15.0",
"description": "File System Access API with legacy fallback in the browser.",

@@ -45,3 +45,3 @@ "browser": "./dist/index.js",

"shx": "^0.3.3",
"terser": "^5.6.0"
"terser": "^5.6.1"
},

@@ -48,0 +48,0 @@ "eslintConfig": {

@@ -35,5 +35,12 @@ # Browser-FS-Access

fileSave,
supported,
} from 'https://unpkg.com/browser-fs-access';
(async () => {
if (supported) {
console.log('Using the File System Access API.');
} else {
console.log('Using the fallback implementation.');
}
// Open a file.

@@ -142,2 +149,5 @@ const blob = await fileOpen({

[@nanaian](https://github.com/nanaian).
Dealing correctly with cross-origin iframes was contributed by
[@nikhilbghodke](https://github.com/nikhilbghodke) and
[@kbariotis](https://github.com/kbariotis).

@@ -144,0 +154,0 @@ ## License and Note

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