Socket
Socket
Sign inDemoInstall

fs-extra-async

Package Overview
Dependencies
4
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

18

lib/index.js

@@ -8,7 +8,15 @@ "use strict";

function promisePolyfill() {
var p;
var error;
try {
return require("any-promise");
p = require("any-promise");
} catch (ex) {
return global.Promise;
error = ex;
}
p = p || global.Promise;
if (p) {
return p;
} else {
throw error;
}
}

@@ -66,6 +74,2 @@

var Promise = promisePolyfill();
if (!Promise) {
console.error("Promise not fund!\tSee: https://github.com/kevinbeaty/any-promise");
}
module.exports = promisify(require("fs-extra"));
module.exports = promisify(require("fs-extra"));
{
"name": "fs-extra-async",
"version": "0.0.5",
"version": "0.0.6",
"description": "Node file system library and fs-extra module promisified",

@@ -5,0 +5,0 @@ "main": "./lib/index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc