Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tap-spec

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-spec - npm Package Compare versions

Comparing version 0.0.1 to 0.1.1

15

bin/cmd.js

@@ -19,2 +19,12 @@ #!/usr/bin/env node

if (/^tests [1-9]$/gi.test(comment)) comment = chalk.bold(comment);
else if (/^pass [1-9]$/gi.test(comment)) comment = chalk.bold(comment);
else if (/^ok$/gi.test(comment)) return;
else out.push('\n')
// if (!(/^tests [1-9]$/gi.test(comment))) console.log(true);//out.push('\n');
// else if (!(/^pass [1-9]$/gi.test(comment))) console.log(true);//out.push('\n');
// out.push('\n');
out.push(' ' + comment + '\n');

@@ -30,7 +40,6 @@ });

out.push(' ' + output + ' ' + res.name + '\n');
out.push(' ' + output + ' ' + chalk.gray(res.name) + '\n');
});
tap.on('extra', function (extra) {
// out.push('\n' + chalk.bold('LOG: ') + extra + '\n');
out.push(' ' + extra + '\n');

@@ -40,4 +49,2 @@ });

tap.on('results', function (res) {
out.push('\n');
if (errors.length) {

@@ -44,0 +51,0 @@ var past = (errors.length == 1) ? 'was' : 'were';

{
"name": "tap-spec",
"version": "0.0.1",
"version": "0.1.1",
"description": "Formatted TAP output like Mocha's spec reporter",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc