Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
fs-promise
Advanced tools
Filesystem methods as promises, with optional fs-extra and fs-graceful dependencies
Proxies all async fs
methods exposing them as Promises/A+ compatible promises (when, Q, etc).
Passes all sync methods through as values.
Also exposes to graceful-fs and/or fs-extra methods if they are installed.
Also works with any-promise library (a pollyfill, es6-promise, promise, native-promise-only, bluebird, rsvp, when, q).
var fsp = require('fs-promise');
fsp.writeFile(file('hello1'), 'hello world')
.then(function(){
return fsp.readFile(file('hello1'), {encoding:'utf8'});
})
.then(function(contents){});
FAQs
[DEPRECATED] Use mz or fs-extra^3.0 with Promise Support
The npm package fs-promise receives a total of 36,161 weekly downloads. As such, fs-promise popularity was classified as popular.
We found that fs-promise demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.