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

eslint-bamboo-formatter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-bamboo-formatter - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "eslint-bamboo-formatter",
"version": "0.1.1",
"version": "0.1.2",
"description": "A reporter for eslint which produces a report compatible with Atlassian Bamboo Mocha Test Parser.",

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

@@ -24,3 +24,5 @@ var fs = require('fs');

results.forEach(function iterator(result) {
var errorCount = warningAsError ? (result.errorCount + result.warningCount) : result.errorCount;
var errorCount = warningAsError
? result.errorCount + result.warningCount
: result.errorCount;

@@ -49,10 +51,8 @@ output.stats.tests++;

fs.writeFileSync(filename, JSON.stringify(output, null, 2), 'utf-8');
// console.log(results);
// var lintReporter = new LintReporter();
// var data = lintReporter.runReport(results, true, false);
//
// return templateUtils.applyTemplates(data);
try {
fs.writeFileSync(filename, JSON.stringify(output, null, 2), 'utf-8');
process.exit();
} catch (err) {
process.exit(1);
}
};

@@ -1,2 +0,2 @@

var decodeXML = require("entities").decodeXML;
var decodeXML = require('entities').decodeXML;

@@ -3,0 +3,0 @@ function format(result) {

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