
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
@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
The npm package @tapjs/synonyms receives a total of 4 weekly downloads. As such, @tapjs/synonyms popularity was classified as not popular.
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
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

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