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

tap-parser

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-parser - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

16

index.js

@@ -118,3 +118,2 @@ // Transforms a stream of TAP into a stream of result objects

this.parent = options.parent || null
this.sawValidTap = false
this.failures = []

@@ -178,3 +177,2 @@ this.level = options.level || 0

this.sawValidTap = true
if (res.id) {

@@ -220,3 +218,2 @@ if (!this.first || res.id < this.first)

this.sawValidTap = true
this.emitResult()

@@ -341,4 +338,3 @@

this.emit('line', '1..0\n')
this.planStart = 1
this.planEnd = 0
this.plan(1, 0, '', '1..0\n')
skipAll = true

@@ -387,9 +383,2 @@ } else {

// We didn't get any actual tap, so just treat this like a
// 1..0 test, because it was probably just console.log junk
if (!this.sawValidTap) {
final.plan = { start: 1, end: 0 }
final.ok = true
}
if (this.failures.length) {

@@ -431,3 +420,2 @@ final.failures = this.failures

Parser.prototype.bailout = function (reason) {
this.sawValidTap = true
this.emitResult()

@@ -514,3 +502,3 @@ this.bailedOut = reason || true

this.child.on('complete', function (results) {
if (this.sawValidTap && !results.ok)
if (!results.ok)
self.ok = false

@@ -517,0 +505,0 @@ })

2

package.json
{
"name": "tap-parser",
"version": "3.0.1",
"version": "3.0.2",
"description": "parse the test anything protocol",

@@ -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