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.
Functional async flow control library.
npm install breeze
Node.js / Browserify
var breeze = require('breeze')
breeze()
- Initialize breeze flow system.when(arg, next)
- When arg
is truthy, add next
to the stack.maybe(arg, next)
- When arg
is truthy, add next
to the stack, sugar for breeze.when
.some(arg, next)
- When arg
is truthy and no other some
or none
has ran, add to the stack.none(next)
- Whenever no some
have ran, add callback to the stack.then(next)
- Add callback to stack.catch(next)
- Any error caught will terminate stack and be sent here.reset()
- Reset current systembreeze()
.maybe(1 === 1, function (done) {
console.log(1)
done(null, 'hey,', 'you can pass values!')
})
.some(1 === 0, function (done, msg) {
console.log(2, msg)
done()
})
.none(function (done, part1, part2) {
console.log(2, ',since no some happened,', part1, part2)
done()
})
.then(function (done) {
console.log(3)
done('It finally happened.')
})
.catch(function (err) {
console.error('An error occurred!', err)
})
Licensed under The MIT License.
FAQs
Functional async flow control library
The npm package breeze receives a total of 113 weekly downloads. As such, breeze popularity was classified as not popular.
We found that breeze demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.