
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
an ultrasimple test runner that let's you yield promises inside your test cases
npm install -g clearer
restults in:
clearer -w example.js:
✓ bing bing foops
✓ kafoo blam
x kafoo blam : thats bad
x kafoo blam
--- completed 2 tests : 2 passed : 2 failed ---
an example test file:
var test = require('clearer')
function timer() {
return new Promise(function(resolve, reject) {
setTimeout(function() {
resolve(123)
}, 1500)
})
}
test('bing bong', function*() {
// yield as many promises as you need to:
var res1 = yield timer()
this.equals(123, res1)
var res2 = yield timer()
this.equals(123, res2)
})
this.equals
this.ok
FAQs
tape inspired test runner with jazz
The npm package clearer receives a total of 3 weekly downloads. As such, clearer popularity was classified as not popular.
We found that clearer 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.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Company News
Socket is bringing best-in-class reachability analysis into the platform — cutting false positives, accelerating triage, and cementing our place as the leader in software supply chain security.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.