tap-parser
Advanced tools
Comparing version 15.3.2 to 16.0.0
@@ -251,6 +251,4 @@ "use strict"; | ||
for (const [id, res] of this.pointsSeen.entries()) { | ||
const tapError = id < start | ||
? 'id less than plan start' | ||
: id > end | ||
? 'id greater than plan end' | ||
const tapError = id < start ? 'id less than plan start' | ||
: id > end ? 'id greater than plan end' | ||
: null; | ||
@@ -626,4 +624,4 @@ if (tapError) { | ||
} | ||
const y = dump | ||
? ' ---\n ' + dump.split('\n').join('\n ') + '\n ...\n' | ||
const y = dump ? | ||
' ---\n ' + dump.split('\n').join('\n ') + '\n ...\n' | ||
: '\n'; | ||
@@ -630,0 +628,0 @@ const n = (this.count || 0) + 1 + (this.#current ? 1 : 0); |
@@ -97,12 +97,12 @@ "use strict"; | ||
(res.id ? ' ' + res.id : '') + | ||
(res.name | ||
? ' - ' + | ||
(res.name ? | ||
' - ' + | ||
(0, escape_js_1.esc)(res.name).replace(brace_patterns_js_1.SPACE_OPEN_BRACE_EOL, '') | ||
: '') + | ||
(res.skip | ||
? ' # SKIP' + | ||
(res.skip ? | ||
' # SKIP' + | ||
(res.skip === true ? '' : ' ' + (0, escape_js_1.esc)(res.skip)) | ||
: '') + | ||
(res.todo | ||
? ' # TODO' + | ||
(res.todo ? | ||
' # TODO' + | ||
(res.todo === true ? '' : ' ' + (0, escape_js_1.esc)(res.todo)) | ||
@@ -112,4 +112,4 @@ : '') + | ||
'\n' + | ||
(res.diag | ||
? ' ---\n ' + | ||
(res.diag ? | ||
' ---\n ' + | ||
tap_yaml_1.default | ||
@@ -116,0 +116,0 @@ .stringify(res.diag) |
@@ -239,6 +239,4 @@ import { EventEmitter } from 'events'; | ||
for (const [id, res] of this.pointsSeen.entries()) { | ||
const tapError = id < start | ||
? 'id less than plan start' | ||
: id > end | ||
? 'id greater than plan end' | ||
const tapError = id < start ? 'id less than plan start' | ||
: id > end ? 'id greater than plan end' | ||
: null; | ||
@@ -614,4 +612,4 @@ if (tapError) { | ||
} | ||
const y = dump | ||
? ' ---\n ' + dump.split('\n').join('\n ') + '\n ...\n' | ||
const y = dump ? | ||
' ---\n ' + dump.split('\n').join('\n ') + '\n ...\n' | ||
: '\n'; | ||
@@ -618,0 +616,0 @@ const n = (this.count || 0) + 1 + (this.#current ? 1 : 0); |
@@ -90,12 +90,12 @@ /** | ||
(res.id ? ' ' + res.id : '') + | ||
(res.name | ||
? ' - ' + | ||
(res.name ? | ||
' - ' + | ||
esc(res.name).replace(SPACE_OPEN_BRACE_EOL, '') | ||
: '') + | ||
(res.skip | ||
? ' # SKIP' + | ||
(res.skip ? | ||
' # SKIP' + | ||
(res.skip === true ? '' : ' ' + esc(res.skip)) | ||
: '') + | ||
(res.todo | ||
? ' # TODO' + | ||
(res.todo ? | ||
' # TODO' + | ||
(res.todo === true ? '' : ' ' + esc(res.todo)) | ||
@@ -105,4 +105,4 @@ : '') + | ||
'\n' + | ||
(res.diag | ||
? ' ---\n ' + | ||
(res.diag ? | ||
' ---\n ' + | ||
yaml | ||
@@ -109,0 +109,0 @@ .stringify(res.diag) |
{ | ||
"name": "tap-parser", | ||
"version": "15.3.2", | ||
"version": "16.0.0", | ||
"description": "parse the test anything protocol", | ||
@@ -5,0 +5,0 @@ "tshy": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
315771
3339