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.0 to 1.15.1

lib/lib/coffee-script/browser.js

11

.package.json
{
"name": "coffeelint",
"description": "Lint your CoffeeScript",
"version": "1.15.0",
"version": "1.15.1",
"homepage": "http://www.coffeelint.org",

@@ -25,5 +25,7 @@ "keywords": [

"dependencies": {
"coffee-script": "^1.9.1",
"browserify": "~8.1.0",
"coffee-script": "~1.10.0",
"coffeeify": "~1.0.0",
"glob": "^4.0.0",
"ignore": "^2.2.15",
"ignore": "^3.0.9",
"optimist": "^0.6.1",

@@ -46,2 +48,3 @@ "resolve": "^0.6.3",

"publish": "cake publish",
"install": "cake install",
"lint": "cake compile && ./bin/coffeelint .",

@@ -52,2 +55,2 @@ "lint-csv": "cake compile && ./bin/coffeelint --csv .",

}
}
}

@@ -85,3 +85,5 @@

}
return files;
return files.map(function(p) {
return path.join(p);
});
};

@@ -118,3 +120,3 @@

jsonIndentation = text.split('\n')[1].match(/^\s+/)[0].length;
} catch (_error) {}
} catch (undefined) {}
return JSON.parse(stripComments(text));

@@ -175,3 +177,3 @@ };

SelectedReporter = (ref = coreReporters[strReporter]) != null ? ref : (function() {
var reporterPath;
var error, reporterPath;
try {

@@ -181,3 +183,3 @@ reporterPath = resolve(strReporter, {

});
} catch (_error) {
} catch (error) {
reporterPath = strReporter;

@@ -250,3 +252,5 @@ }

scripts = findCoffeeScripts(paths, options.argv.ext);
scripts = ignore().addIgnoreFile('.coffeelintignore').filter(scripts);
if (fs.existsSync('.coffeelintignore')) {
scripts = ignore().add(fs.readFileSync('.coffeelintignore').toString()).filter(scripts);
}
errorReport = lintFiles(scripts, config, options.argv.literate);

@@ -253,0 +257,0 @@ reportAndExit(errorReport, options);

@@ -46,7 +46,7 @@

loadJSON = function(filename) {
var e;
var e, error;
try {
return JSON.parse(stripComments(fs.readFileSync(filename).toString()));
} catch (_error) {
e = _error;
} catch (error) {
e = error;
process.stderr.write("Could not load JSON file '" + filename + "': " + e);

@@ -53,0 +53,0 @@ return null;

@@ -16,9 +16,9 @@ (function() {

return require(rulePath);
} catch (_error) {}
} catch (undefined) {}
try {
return require(moduleName);
} catch (_error) {}
} catch (undefined) {}
try {
return require(path.resolve(process.cwd(), moduleName));
} catch (_error) {}
} catch (undefined) {}
return require(moduleName);

@@ -38,3 +38,3 @@ },

loadRule: function(coffeelint, moduleName, ruleName) {
var e, i, len, results, rule, ruleModule;
var e, error, i, len, results, rule, ruleModule;
if (ruleName == null) {

@@ -55,4 +55,4 @@ ruleName = void 0;

}
} catch (_error) {
e = _error;
} catch (error) {
e = error;
console.error("Error loading " + moduleName);

@@ -59,0 +59,0 @@ throw e;

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

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

"dependencies": {
"coffee-script": "^1.9.1",
"coffee-script": "~1.10.0",
"glob": "^4.0.0",
"ignore": "^2.2.15",
"ignore": "^3.0.9",
"optimist": "^0.6.1",

@@ -30,0 +30,0 @@ "resolve": "^0.6.3",

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

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