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

karma-mocha-reporter

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-mocha-reporter - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.2.4"></a>
## [2.2.4](https://github.com/litixsoft/karma-mocha-reporter/compare/v2.2.3...v2.2.4) (2017-08-24)
### Features
* use log-symbols package ([b0aac74](https://github.com/litixsoft/karma-mocha-reporter/commit/b0aac74))
<a name="2.2.3"></a>

@@ -2,0 +12,0 @@ ## [2.2.3](https://github.com/litixsoft/karma-mocha-reporter/compare/v2.2.2...v2.2.3) (2017-03-20)

15

index.js
'use strict';
var chalk = require('chalk');
var symbols = require('./symbols');
var symbols = require('log-symbols');
var stripAnsi = require('strip-ansi');

@@ -65,15 +66,15 @@ /**

success: {
symbol: config.mochaReporter.symbols.success || symbols.success,
symbol: config.mochaReporter.symbols.success || stripAnsi(symbols.success),
print: chalk[config.mochaReporter.colors.success] || chalk.green
},
info: {
symbol: config.mochaReporter.symbols.info || symbols.info,
symbol: config.mochaReporter.symbols.info || stripAnsi(symbols.info),
print: chalk[config.mochaReporter.colors.info] || chalk.grey
},
warning: {
symbol: config.mochaReporter.symbols.warning || symbols.warning,
symbol: config.mochaReporter.symbols.warning || stripAnsi(symbols.warning),
print: chalk[config.mochaReporter.colors.warning] || chalk.yellow
},
error: {
symbol: config.mochaReporter.symbols.error || symbols.error,
symbol: config.mochaReporter.symbols.error || stripAnsi(symbols.error),
print: chalk[config.mochaReporter.colors.error] || chalk.red

@@ -103,3 +104,3 @@ }

function getLogSymbol(color) {
return chalk.enabled ? color.print(color.symbol) : chalk.stripColor(color.symbol);
return chalk.enabled ? color.print(color.symbol) : stripAnsi(color.symbol);
}

@@ -273,3 +274,3 @@

// print skipped tests info
line = colors.info.print(chalk.stripColor(line) + ' (skipped)');
line = colors.info.print(stripAnsi(line) + ' (skipped)');
} else {

@@ -276,0 +277,0 @@ // set color to success or error

{
"name": "karma-mocha-reporter",
"description": "Karma reporter with mocha style logging.",
"version": "2.2.3",
"version": "2.2.4",
"homepage": "http://www.litixsoft.de/index.php?lang=en#modules",

@@ -57,15 +57,15 @@ "author": "Litixsoft GmbH <info@litixsoft.de> (http://www.litixsoft.de)",

"devDependencies": {
"chai": "^3.5.0",
"chai": "^4.0.2",
"grunt": "^1.0.1",
"grunt-bump": "^0.8.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-conventional-changelog": "^6.1.0",
"grunt-karma": "^2.0.0",
"grunt-shell": "^2.0.0",
"jasmine-core": "^2.5.2",
"grunt-shell": "^2.1.0",
"jasmine-core": "^2.6.3",
"karma": ">=0.13",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "*",
"karma-detect-browsers": "^2.1.0",
"karma-detect-browsers": "^2.2.5",
"karma-firefox-launcher": "*",

@@ -80,7 +80,9 @@ "karma-ie-launcher": "*",

"load-grunt-tasks": "^3.5.2",
"mocha": "^3.0.2",
"phantomjs-prebuilt": "^2.1.12"
"mocha": "^3.4.2",
"phantomjs-prebuilt": "^2.1.14"
},
"dependencies": {
"chalk": "1.1.3"
"chalk": "^2.1.0",
"log-symbols": "^2.0.0",
"strip-ansi": "^4.0.0"
},

@@ -87,0 +89,0 @@ "peerDependencies": {

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