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/spawn
Advanced tools
@tapjs/spawn
A default tap plugin providing t.spawn()
.
This plugin is installed with tap by default. If you had
previously removed it, you can tap plugin add @tapjs/spawn
to
bring it back.
SpawnOpts
Options for t.spawn()
All of the normal Base and Extra options are also allowed.
cwd
- string, the current working directory of the subprocessenv
- Environment variables for the subprocess. Defaults to
process.env
stdio
- ChildProcess stdio
option. Standard output is
always set to 'pipe'
, because that's how it communicates test
results, and file descriptor 3 is set to an IPC channel for
sending timeout signals.command
(internal) - the command to run (set by first
argument to t.spawn)args
(internal) - arguments to subprocess (set by second
argument to t.spawn)exitCode
(internal) - Set on exit. The exit code of the
process, or null if terminated with a signal.signal
(internal) - Set on exit. Terminating signal, or null
of not terminated with a signal.t.spawn(cmd, [args], [options], [name]): PromiseWithSpawn
Arguments:
cmd
string
- The command to runargs
(optional) string | string[]
- Arguments to pass to
the command.options
(optional) SpawnOpts
objectSpawns a process when the test starts, parsing its standard output as a TAP stream.
This is how the tap CLI runs test programs.
Returns a Promise that resolves when the test is complete. The
subtest
member on the Promise is a
Spawn
instance.
FAQs
a built-in tap extension for t.spawn()
The npm package @tapjs/spawn receives a total of 0 weekly downloads. As such, @tapjs/spawn popularity was classified as not popular.
We found that @tapjs/spawn 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.