Socket
Socket
Sign inDemoInstall

tap-parser

Package Overview
Dependencies
4
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 15.0.0 to 15.1.0

5

dist/commonjs/index.js

@@ -297,2 +297,7 @@ "use strict";

}
if (typeof diags.duration_ms === 'number' &&
this.#current.time === null) {
this.#current.time = diags.duration_ms;
delete diags.duration_ms;
}
this.#current.diag = diags;

@@ -299,0 +304,0 @@ // we still don't emit the result here yet, to support diags

3

dist/commonjs/parse-directive.js

@@ -12,3 +12,4 @@ "use strict";

return false;
line = line.replace(brace_patterns_js_1.OPEN_BRACE_EOL, '').trim();
line = line.replace(brace_patterns_js_1.OPEN_BRACE_EOL, '').trim()
.replace(/^duration_ms ([0-9.]+)$/, 'time=$1ms');
const time = line.match(/^time=((?:[1-9][0-9]*|0)(?:\.[0-9]+)?)(ms|s)$/i);

@@ -15,0 +16,0 @@ const t = time?.[1];

@@ -285,2 +285,7 @@ import { EventEmitter } from 'events';

}
if (typeof diags.duration_ms === 'number' &&
this.#current.time === null) {
this.#current.time = diags.duration_ms;
delete diags.duration_ms;
}
this.#current.diag = diags;

@@ -287,0 +292,0 @@ // we still don't emit the result here yet, to support diags

@@ -9,3 +9,4 @@ import { OPEN_BRACE_EOL } from './brace-patterns.js';

return false;
line = line.replace(OPEN_BRACE_EOL, '').trim();
line = line.replace(OPEN_BRACE_EOL, '').trim()
.replace(/^duration_ms ([0-9.]+)$/, 'time=$1ms');
const time = line.match(/^time=((?:[1-9][0-9]*|0)(?:\.[0-9]+)?)(ms|s)$/i);

@@ -12,0 +13,0 @@ const t = time?.[1];

{
"name": "tap-parser",
"version": "15.0.0",
"version": "15.1.0",
"description": "parse the test anything protocol",

@@ -5,0 +5,0 @@ "type": "module",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc