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

coffeelint

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffeelint - npm Package Compare versions

Comparing version 1.15.2 to 1.15.7

bin/.npmignore

4

lib/reporters/checkstyle.js

@@ -12,2 +12,3 @@ (function() {

}
this.quiet = options.quiet;
}

@@ -32,2 +33,5 @@

e = errors[i];
if (!(!this.quiet || e.level === 'error')) {
continue;
}
level = e.level;

@@ -34,0 +38,0 @@ if (level === 'warn') {

@@ -10,2 +10,3 @@ (function() {

}
this.quiet = options.quiet;
}

@@ -30,2 +31,5 @@

e = errors[i];
if (!(!this.quiet || e.level === 'error')) {
continue;
}
if (e.context) {

@@ -32,0 +36,0 @@ e.message += " " + e.context + ".";

2

lib/reporters/default.js

@@ -72,3 +72,3 @@ (function() {

e = errors[i];
if (this.quiet && e.level !== 'error') {
if (!(!this.quiet || e.level === 'error')) {
continue;

@@ -75,0 +75,0 @@ }

@@ -10,2 +10,3 @@ (function() {

}
this.quiet = options.quiet;
}

@@ -27,3 +28,5 @@

e = errors[i];
this.print("<issue line=\"" + e.lineNumber + "\"\n lineEnd=\"" + ((ref1 = e.lineNumberEnd) != null ? ref1 : e.lineNumber) + "\"\n reason=\"[" + (this.escape(e.level)) + "] " + (this.escape(e.message)) + "\"\n evidence=\"" + (this.escape(e.context)) + "\"/>");
if (!this.quiet || e.level === 'error') {
this.print("<issue line=\"" + e.lineNumber + "\"\n lineEnd=\"" + ((ref1 = e.lineNumberEnd) != null ? ref1 : e.lineNumber) + "\"\n reason=\"[" + (this.escape(e.level)) + "] " + (this.escape(e.message)) + "\"\n evidence=\"" + (this.escape(e.context)) + "\"/>");
}
}

@@ -30,0 +33,0 @@ this.print('</file>');

@@ -10,2 +10,3 @@ (function() {

}
this.quiet = options.quiet;
}

@@ -18,3 +19,20 @@

RawReporter.prototype.publish = function() {
return this.print(JSON.stringify(this.errorReport.paths, void 0, 2));
var e, er, errors, path, ref;
er = {};
ref = this.errorReport.paths;
for (path in ref) {
errors = ref[path];
er[path] = (function() {
var i, len, results;
results = [];
for (i = 0, len = errors.length; i < len; i++) {
e = errors[i];
if (!this.quiet || e.level === 'error') {
results.push(e);
}
}
return results;
}).call(this);
}
return this.print(JSON.stringify(er, void 0, 2));
};

@@ -21,0 +39,0 @@

{
"name": "coffeelint",
"description": "Lint your CoffeeScript",
"version": "1.15.2",
"version": "1.15.7",
"homepage": "http://www.coffeelint.org",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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