Socket
Socket
Sign inDemoInstall

html-reporter

Package Overview
Dependencies
16
Maintainers
7
Versions
296
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.10.0 to 2.10.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.10.1"></a>
## [2.10.1](https://github.com/gemini-testing/html-reporter/compare/v2.10.0...v2.10.1) (2018-04-04)
### Bug Fixes
* create report directory before save data on exit ([a5475e6](https://github.com/gemini-testing/html-reporter/commit/a5475e6))
<a name="2.10.0"></a>

@@ -7,0 +17,0 @@ # [2.10.0](https://github.com/gemini-testing/html-reporter/compare/v2.9.3...v2.10.0) (2018-04-04)

13

lib/report-builder-factory/report-builder.js

@@ -155,7 +155,4 @@ 'use strict';

save() {
return fs.mkdirsAsync(this._pluginConfig.path)
.then(() => Promise.all([
this.saveDataFileAsync(),
this._copyToReportDir(['index.html', 'report.min.js', 'report.min.css'])
]))
return this.saveDataFileAsync()
.then(() => this._copyToReportDir(['index.html', 'report.min.js', 'report.min.css']))
.then(() => this)

@@ -166,7 +163,9 @@ .catch((e) => logger.warn(e.message || e));

saveDataFileAsync() {
return this._saveDataFile(fs.writeFileAsync);
return fs.mkdirsAsync(this._pluginConfig.path)
.then(() => this._saveDataFile(fs.writeFileAsync));
}
saveDataFileSync() {
return this._saveDataFile(fs.writeFileSync);
fs.mkdirsSync(this._pluginConfig.path);
this._saveDataFile(fs.writeFileSync);
}

@@ -173,0 +172,0 @@

{
"name": "html-reporter",
"version": "2.10.0",
"version": "2.10.1",
"description": "Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report",

@@ -5,0 +5,0 @@ "scripts": {

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