Socket
Socket
Sign inDemoInstall

fs-promise

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-promise - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

index.js

@@ -56,2 +56,3 @@ 'use strict'

'mkdir',
'mkdtemp',
'readdir',

@@ -63,2 +64,3 @@ 'close',

'fsync',
'fdatasync',
'write',

@@ -70,6 +72,8 @@ 'read',

'access',
'truncate',
'exists'
]
mzKeys.forEach(function(key){
exports[key] = mzfs[key]
})

2

package.json
{
"name": "fs-promise",
"version": "2.0.1",
"version": "2.0.2",
"description": "Filesystem methods as promises with fs-extra",

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

@@ -1,2 +0,2 @@

// Tests from mz. License MIT
// Tests from mz. License MIT
// https://github.com/normalize/mz

@@ -15,2 +15,10 @@ var assert = require('assert')

it('.mkdtemp()', function (done) {
if (!require('fs').mkdtemp) this.skip()
fs.mkdtemp('/tmp/').then(function (folder) {
fs.rmdirSync(folder)
done()
}).catch(done)
})
it('.statSync()', function () {

@@ -17,0 +25,0 @@ var stats = fs.statSync(__filename)

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