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

fuse-bindings

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuse-bindings - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

9

example.js

@@ -58,6 +58,9 @@ var fuse = require('./')

process.on('SIGINT', function () {
fuse.unmount(mountPath, function () {
console.log('filesystem at ' + mountPath + ' unmounted')
process.exit()
fuse.unmount(mountPath, function (err) {
if (err) {
console.log('filesystem at ' + mountPath + ' not unmounted', err)
} else {
console.log('filesystem at ' + mountPath + ' unmounted')
}
})
})

@@ -93,12 +93,3 @@ var bindings = require('bindings')

exports.unmount = function (mnt, cb) {
var timeout = setTimeout(function () {
var err = new Error('Unmount took too long')
err.code = 'ETIMEDOUT'
if (cb) cb(err)
}, 2000)
fuse.unmount(path.resolve(mnt), function (err) {
clearTimeout(timeout)
if (cb) cb(err)
})
fuse.unmount(path.resolve(mnt), cb)
}

@@ -105,0 +96,0 @@

{
"name": "fuse-bindings",
"version": "2.9.0",
"version": "2.10.0",
"description": "Fully maintained fuse bindings for Node that aims to cover the entire FUSE api",

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

@@ -17,3 +17,5 @@ # fuse-bindings

* On Linux/Ubuntu `sudo apt-get install libfuse-dev`
* On OSX install [OSXFuse](http://osxfuse.github.com/) and pkg-config, `brew install pkg-config`
* On OSX
* if you use Brew, install [OSXFuse](http://osxfuse.github.com/) and `brew install pkg-config`
* if you use MacPorts, `sudo port install osxfuse +devel`
* On Windows see `Windows` down below...

@@ -20,0 +22,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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