Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@tapjs/asserts
Advanced tools
Tap plugin that adds a heaping pile of assertion methods. Pretty much all of the "test" methods other than `t.pass`, `t.fail`, and [snapshot methods](https://tapjs.github.io/tapjs/modules/_tapjs_snapshot.html) come from this plugin.
@tapjs/asserts
Tap plugin that adds a heaping pile of assertion methods. Pretty
much all of the "test" methods other than t.pass
, t.fail
, and
snapshot
methods
come from this plugin.
This plugin is installed with tap by default. If you had
previously removed it, you can tap plugin add @tapjs/asserts
to
bring it back.
compareOptions
This plugin adds the compareOptions
option to the set of fields
that can be passed to child tests. You can also set
t.compareOptions
after the fact.
compareOptions
lets you pass options to
tcompare
to specify the formatting style, diff context lines, and so on.
It can contain the following fields:
sort
- boolean, sort items alphabetically by key.bufferChunkSize
- number of bytes to show on each line when
printing buffers, default 32
includeEnumerable
- boolean, include any and all enumerable
properties, including those inherited on the prototype chain.
By default, only own
properties are shown.includeGetters
- boolean, include getter properties.diffContext
- how many lines of context to print around
changes in diffs, default 10
. Note that the test reporter
might use more or less than this value when displaying pretty
colored diffs.All of the assertion methods are documented on the Assertions
class.
When this plugin is loaded, these are all present on Test
objects.
FAQs
Tap plugin that adds a heaping pile of assertion methods. Pretty much all of the "test" methods other than `t.pass`, `t.fail`, and [snapshot methods](https://tapjs.github.io/tapjs/modules/_tapjs_snapshot.html) come from this plugin.
The npm package @tapjs/asserts receives a total of 117,525 weekly downloads. As such, @tapjs/asserts popularity was classified as popular.
We found that @tapjs/asserts 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.