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.7 to 1.16.0

7

lib/commandline.js

@@ -119,3 +119,3 @@

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

@@ -176,6 +176,7 @@ };

SelectedReporter = (ref = coreReporters[strReporter]) != null ? ref : (function() {
var error, reporterPath;
var reporterPath;
try {
reporterPath = resolve(strReporter, {
basedir: process.cwd()
basedir: process.cwd(),
extensions: ['.js', '.coffee', '.litcoffee', '.coffee.md']
});

@@ -182,0 +183,0 @@ } catch (error) {

@@ -46,3 +46,3 @@

loadJSON = function(filename) {
var e, error;
var e;
try {

@@ -86,3 +86,4 @@ return JSON.parse(stripComments(fs.readFileSync(filename).toString()));

config[ruleName].module = resolve(data.module, {
basedir: dir
basedir: dir,
extensions: ['.js', '.coffee', '.litcoffee', '.coffee.md']
});

@@ -95,3 +96,4 @@ }

return resolve(moduleName, {
basedir: dir
basedir: dir,
extensions: ['.js', '.coffee', '.litcoffee', '.coffee.md']
});

@@ -103,3 +105,4 @@ });

coffeelint.coffeescript = resolve(coffeelint.coffeescript, {
basedir: dir
basedir: dir,
extensions: ['.js', '.coffee', '.litcoffee', '.coffee.md']
});

@@ -106,0 +109,0 @@ }

@@ -13,12 +13,13 @@ (function() {

rulePath = resolve(moduleName, {
basedir: process.cwd()
basedir: process.cwd(),
extensions: ['.js', '.coffee', '.litcoffee', '.coffee.md']
});
return require(rulePath);
} catch (undefined) {}
} catch (error) {}
try {
return require(moduleName);
} catch (undefined) {}
} catch (error) {}
try {
return require(path.resolve(process.cwd(), moduleName));
} catch (undefined) {}
} catch (error) {}
return require(moduleName);

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

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

@@ -41,0 +42,0 @@ ruleName = void 0;

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

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

"dependencies": {
"coffee-script": "~1.10.0",
"glob": "^4.0.0",
"coffee-script": "~1.11.0",
"glob": "^7.0.6",
"ignore": "^3.0.9",

@@ -34,3 +34,3 @@ "optimist": "^0.6.1",

"devDependencies": {
"vows": ">=0.6.0",
"vows": ">=0.8.1",
"underscore": ">=1.4.4"

@@ -37,0 +37,0 @@ },

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