Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ffos-fs

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffos-fs - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

16

index.js
module.exports = new (function() {
if (!navigator || typeof navigator.getDeviceStorage !== 'function') {
console.warn('Your Browser does not support device storage.');
function hasDeviceStorage()
{
if (!navigator || typeof navigator.getDeviceStorage !== 'function') {
console.warn('Your Browser does not support device storage.');
return false;
}
return true;
}
hasDeviceStorage();
var self = this;

@@ -32,2 +40,6 @@

{
if (!hasDeviceStorage()) {
return null;
};
return navigator.getDeviceStorage(type);

@@ -34,0 +46,0 @@ }

2

package.json
{
"name": "ffos-fs",
"version": "0.0.1",
"version": "0.0.2",
"description": "fs module for the Firefox OS",

@@ -5,0 +5,0 @@ "main": "index.js",

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