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/worker
Advanced tools
@tapjs/worker
A default tap plugin providing t.worker()
.
This plugin is installed with tap by default. If you had
previously removed it, you can tap plugin add @tapjs/worker
to
bring it back.
WorkerOpts
Options for t.worker()
All of the normal Base and Extra options are also allowed.
workerData
- Any data passed to the Worker thread.
Shows up in the worker thread as t.workerData
on the root
TAP
test.env
- Environment variables provided to the worker threadeval
- if set to true
, then the filename
will be treated
as inline JavaScript code rather than a filename to run.t.worker(filename, [options], [name]): PromiseWithWorker
Arguments:
filename
string
- The file to execute in the thread, or if
{ eval: true }
is in the options, a string of JavaScript code
to run.options
(optional) WorkerOpts
objectname
(optional) string
- name of the subtestStarts a Node.js Worker thread when the test starts, parsing its standard output as a TAP stream.
Returns a Promise that resolves when the test is complete. The
subtest
member on the Promise is a
Worker
instance.
FAQs
a built-in tap extension for t.worker()
The npm package @tapjs/worker receives a total of 117,513 weekly downloads. As such, @tapjs/worker popularity was classified as popular.
We found that @tapjs/worker 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.