Socket
Socket
Sign inDemoInstall

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 2.2.2 to 2.2.3

16

index.js

@@ -83,4 +83,16 @@ // Transforms a stream of TAP into a stream of result objects

name += rest ? '#' + rest : ''
else
this[dir[0]] = dir[1]
else {
// handle buffered subtests with todo/skip on them, like
// ok 1 - bar # todo foo {\n
var dirKey = dir[0]
var dirValue = dir[1]
if (typeof dirValue === 'string' && dirValue.slice(-1) === '{') {
name += ' {'
dirValue = dirValue.slice(0, -1).trim()
if (!dirValue) {
dirValue = true
}
}
this[dirKey] = dirValue
}

@@ -87,0 +99,0 @@ if (name)

2

package.json
{
"name": "tap-parser",
"version": "2.2.2",
"version": "2.2.3",
"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