Socket
Socket
Sign inDemoInstall

wdio-timeline-reporter

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-timeline-reporter - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

12

lib/timeline-reporter.js

@@ -373,3 +373,3 @@ const events = require('events');

const fileName = 'timeline-report.html';
let fileName = 'timeline-report.html';

@@ -380,2 +380,12 @@ if (this.config.reporterOptions

const fileNameSet = !!this.config.reporterOptions.timelineReporter.fileName;
if (fileNameSet) {
if (!fileName.endsWith('html')) {
console.warn('Report file name should end with html')
} else {
fileName = this.config.reporterOptions.timelineReporter.fileName;
}
}
if (fs.pathExistsSync(this.config.reporterOptions.timelineReporter.outputDir)) {

@@ -382,0 +392,0 @@ fs.outputFileSync(`${this.config.reporterOptions.timelineReporter.outputDir}/${fileName}`, finalHtml);

2

package.json
{
"name": "wdio-timeline-reporter",
"version": "0.1.7",
"version": "0.1.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/timeline-reporter.js",

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