
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@tapjs/synonyms
Advanced tools
@tapjs/synonymsThis plugin provides a lot of aliases for various assertion methods.
This plugin is not included in tap by default. Add it by running
tap plugin add @tapjs/synonyms.
Once added:
import t from 'tap'
// If you can guess it, it's probably what you'd think.
t.isEqual(1 + 2, 3)
When node-tap was originally written, there were several
different test and assertion frameworks (including node's
built-in assert module) that all had subtly different naming
conventions.
Test libraries in JavaScript at the time were often ported from other languages like Ruby or Perl, which had different naming conventions, and they sometimes preserved those conventions.
I had the ""bright"" idea to just not have an opinion, and say "whatever, JavaScript makes method aliasing easy, why not support all of them?" This turned out to be a regrettable choice, but despite years of deprecation, these methods do still exist in tests out in the wild. So the way forward is to move the aliases completely out of tap's core feature set into a plugin.
If you want it, opt into it.
FAQs
extend the @tapjs/asserts methods with various aliases
We found that @tapjs/synonyms demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.