Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Similar to async.auto, but offers partial calculation and different interface.
Another control-flow extension for some places where async doesn't covers.
async.auto is great feature which offers simple dependency resolution, but it doesn't have target function so all the functions are to be executed. If you have bunch of functions and needs only some of them are to be executed to get needed value, other functions are executed with no use.
async.auto({
foo: function(callback) { ... }
bar: function(callback) { ... }
baz: [ 'foo', function(callback) { ... } ]
});
Think if we only need the result of baz. then bar don't needed to executed in this context but async doesn't have that feature. that's why I coded this library.
var freeflow = require('freeflow');
freeflow({
funcA: function(callback) { ... },
funcB: function(callback) { ... },
funcC: function(funcA, funcB, callback) { ... } // dependencies are auto-inferenced
}, 'funcC', function(err, result) {
...
});
If you don't like to use auto-inference feature, you can specify dependencies.
var freeflow = require('freeflow');
freeflow({
funcA: function(callback) { ... },
funcB: function(callback) { ... },
funcC: [ 'funcA', 'funcB', function(AR, BR, callback) { ... } ]
}, 'funcC', function(err, result) {
...
});
FAQs
Similar to async.auto, but offers partial calculation and different interface.
We found that freeflow 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.