tap-parser
Advanced tools
Comparing version 8.1.0 to 9.0.0
13
index.js
@@ -231,6 +231,12 @@ 'use strict' | ||
if (this.current || this.extraQueue.length) | ||
this.extraQueue.push(['extra', data]) | ||
this.emitExtra(data) | ||
} | ||
emitExtra (data) { | ||
if (!this.parent) | ||
this.emit('extra', data) | ||
else | ||
this.emit('extra', data) | ||
this.parent.emitExtra( | ||
data.replace(/\n$/, '').replace(/^/gm, ' ') + '\n' | ||
) | ||
} | ||
@@ -770,2 +776,3 @@ | ||
if (this.current && line === '{\n' && | ||
this.current.diag && | ||
!this.current.buffered && | ||
@@ -772,0 +779,0 @@ !this.child) { |
{ | ||
"name": "tap-parser", | ||
"version": "8.1.0", | ||
"version": "9.0.0", | ||
"description": "parse the test anything protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42441
975