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 1.1.5 to 1.1.6

test/fixtures/line-break.js

12

index.js

@@ -343,5 +343,13 @@ // Transforms a stream of TAP into a stream of result objects

// ignore empty lines
if (line === '\n')
// ignore empty lines, except if they are (or could be) part of yaml
// >\nfoo\n\nbar\n is yaml for `"foo\nbar"`
// >\nfoo\nbar\n is yaml for `"foo bar"`
if (line === '\n' || line.trim() === '') {
if (this.child) {
this.child.write('\n')
} else if (this.yind) {
this.yamlish += '\n'
}
return
}

@@ -348,0 +356,0 @@ // After a bailout, everything is ignored

2

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

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

@@ -34,7 +34,5 @@ module.exports =

[ 'line', ' ok 1 Should output debugger message\n' ],
[ 'line', ' \n' ],
[ 'line', ' 1..1\n' ],
[ 'line', ' # tests 1\n' ],
[ 'line', ' # pass 1\n' ],
[ 'line', ' \n' ],
[ 'line', ' # ok\n' ],

@@ -41,0 +39,0 @@ [ 'line', 'ok 1 - test/debug-test.js # time=537.383ms\n' ],

@@ -66,5 +66,3 @@ module.exports =

' var package = require(\'package\')(); // contains package.json data.\n' ],
[ 'line', ' \n' ],
[ 'line', ' var yourAwesomeModule = {};\n' ],
[ 'line', ' \n' ],
[ 'line',

@@ -169,5 +167,3 @@ ' yourAwesomeModule.version = package.version;\n' ],

' var package = require(\'package\')(); // contains package.json data.\n' ],
[ 'line', ' \n' ],
[ 'line', ' var yourAwesomeModule = {};\n' ],
[ 'line', ' \n' ],
[ 'line',

@@ -174,0 +170,0 @@ ' yourAwesomeModule.version = package.version;\n' ],

Sorry, the diff of this file is not supported yet

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