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

tap-mocha-reporter

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-mocha-reporter - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

11

index.js

@@ -20,6 +20,6 @@ #!/usr/bin/env node

var Parser = require('tap-parser')
require('exit-code')
util.inherits(Formatter, Writable)
var exitCode
function Formatter (type, options) {

@@ -43,3 +43,3 @@ if (!reporters[type]) {

if (!p.ok)
process.exitCode = 1
exitCode = 1
})

@@ -55,6 +55,11 @@ return this

if (!runner.parser.ok)
process.exitCode = 1
exitCode = 1
})
}
process.on('exit', function (code) {
if (!code && exitCode)
process.exit(exitCode)
})
Formatter.prototype.write = function () {

@@ -61,0 +66,0 @@ return this.runner.write.apply(this.runner, arguments)

{
"name": "tap-mocha-reporter",
"version": "0.0.12",
"version": "0.0.13",
"description": "Format a TAP stream using Mocha's set of reporters",

@@ -23,3 +23,2 @@ "main": "index.js",

"escape-string-regexp": "^1.0.3",
"exit-code": "^1.0.1",
"glob": "^5.0.5",

@@ -26,0 +25,0 @@ "js-yaml": "^3.3.1",

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