New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

timeliner

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timeliner - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

examples/http-comparison.js

10

lib/reporters/table.js

@@ -7,6 +7,6 @@ 'use strict';

function table (result, urls) {
function table (result, headings) {
let head, rows;
if (!urls || urls.length === 1) {
headings = headings || [];
if (result.length === 1) {
head = ['metric', 'mean', 'min', 'max'];

@@ -20,5 +20,5 @@ rows = Object.keys(result[0])

]);
} else if (urls.length === 2) {
} else if (result.length === 2) {
head = ['metric'];
urls.forEach(url => head.push(url));
result.forEach((r, i) => head.push(headings[i] || i));
head.push('p < 0.05');

@@ -25,0 +25,0 @@ rows = Object.keys(result[0])

{
"name": "timeliner",
"version": "1.4.0",
"version": "1.4.1",
"description": "Network Timeline Analyser",

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

@@ -152,1 +152,3 @@ # timeliner

```
See [./examples/image-count.js](a full worked example of using custom metrics in code).
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