
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@jsspec/format
Advanced tools
Default reporter formatters for jsspec.
class MyFormatter {
static get description() { return 'I write stuff to the screen'; }
constructor(specRunner){}
}
subscribe to specRunner events:
specRunner.on('fileStart' (uniqueFileRunReference, fileName) => {});
specRunner.on('fileEnd' (uniqueFileRunReference, fileName) => {});
specRunner.on('contextStart' (specRunner, context) => {});
specRunner.on('contextEnd' (specRunner, context) => {});
specRunner.on('exampleStart' (specRunner, example) => {});
specRunner.on('exampleEnd' (specRunner, example) => {});
specRunner.on('contextLevelFailure', (specRunner, exampleOrContext) => {});
specRunner.on('runEnd' (specRunner) => {});
context, example and exampleOrContext each respond to the following:
id // [For a conetxt only] a unique name for this context
description // the description supplied
fullDescription // the description, with all context descriptions pre-pended
kind // the class name of the object
base // a uniq name relating to this spec file run
failure // which may be (hopefully) undefined
failure is either an exception, or an exception converted to an object, depending on how JSSpec was run. It will have the following attributes:
constructor.name
stack
message
expected // may be empty
actual // may be empty
Formatters included:
NullDoes nothing. Use with --format null. Can be used as a base class to create other formatters.
Documentation-fd or --format documentation. Presents a tree of execution results with checks and crosses for example results. A summary of failures are provided at the end.
Dot-fo or --format dot. Single character output per test. With summary at the end.
FAQs
Output formatter for jsspec
The npm package @jsspec/format receives a total of 26 weekly downloads. As such, @jsspec/format popularity was classified as not popular.
We found that @jsspec/format demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.