Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loadmill

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loadmill - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

8

lib/reporter.js

@@ -357,3 +357,3 @@ "use strict";

"failures": failedSuites,
"start": (suites[0] ? new Date(suites[0].startTime) : new Date()).toISOString(),
"start": (suites[0] ? getFirstExecutedSuiteTime(suites) : new Date()).toISOString(),
"end": new Date().toISOString(),

@@ -440,1 +440,7 @@ "pending": 0,

exports.mochawesomeReport = mochawesomeReport;
function getFirstExecutedSuiteTime(suites) {
var firstSuite = suites.reduce(function (prev, curr) {
return prev.startTime < curr.startTime ? prev : curr;
});
return new Date(firstSuite.startTime);
}

2

package.json
{
"name": "loadmill",
"version": "3.0.6",
"version": "3.0.7",
"description": "A node.js module for running load tests and functional tests on loadmill.com",

@@ -5,0 +5,0 @@ "keywords": [

@@ -368,3 +368,3 @@ import * as fs from "fs";

"failures": failedSuites,
"start": (suites[0]? new Date(suites[0].startTime) : new Date()).toISOString(),
"start": (suites[0]? getFirstExecutedSuiteTime(suites) : new Date()).toISOString(),
"end": new Date().toISOString(),

@@ -425,1 +425,9 @@ "pending": 0,

}
function getFirstExecutedSuiteTime(suites: Loadmill.TestResult[]) {
const firstSuite = suites.reduce(function(prev, curr) {
return prev.startTime < curr.startTime ? prev : curr;
});
return new Date(firstSuite.startTime);
}
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