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

mochawesome

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mochawesome - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

changelog.md
#Changelog
###1.1.1
- Add filter icon in summary for better visibility (Completely new idea and not at all in response to [this](https://github.com/adamgruber/mochawesome/issues/5))
- Change util.print to console.log due to [deprecation](https://github.com/joyent/node/blob/master/doc/api/util.markdown#user-content-utilprint)
###1.1.0

@@ -4,0 +8,0 @@ - Add support for options

5

lib/mochawesome.js
/*jshint loopfunc: true */
var util = require('util'),
mocha = require('mocha'),
var mocha = require('mocha'),
_ = require('lodash'),

@@ -110,3 +109,3 @@ uuid = require('node-uuid'),

saveToFile(templates.mochawesome(obj), config.reportHtmlFile, function() {
util.print('\n[' + chalk.gray('mochawesome') + '] Report saved to ' + config.reportHtmlFile + '\n\n');
console.log('\n[' + chalk.gray('mochawesome') + '] Report saved to ' + config.reportHtmlFile + '\n\n');
});

@@ -113,0 +112,0 @@ }

var async = require('async'),
fs = require('fs'),
ncp = require('ncp'),
util = require('util'),
_ = require('lodash'),

@@ -12,3 +11,3 @@ chalk = require('chalk');

function generateReport (config) {
util.print('[' + chalk.gray('mochawesome') + '] Generating report files...\n');
console.log('[' + chalk.gray('mochawesome') + '] Generating report files...\n');
async.auto({

@@ -82,5 +81,5 @@ createDirs: function(callback) {

} catch (err) {
util.print('\n[' + chalk.gray('mochawesome') + '] Error: Unable to save ' + outFile + '\n' + err + '\n');
console.log('\n[' + chalk.gray('mochawesome') + '] Error: Unable to save ' + outFile + '\n' + err + '\n');
callback(err);
}
}
{
"name": "mochawesome",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Gorgeous HTML/CSS Reporter for Mocha.js",

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

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc