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

mocha-jshint

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-jshint - npm Package Compare versions

Comparing version 0.0.9 to 1.0.0

2

package.json
{
"name": "mocha-jshint",
"version": "0.0.9",
"version": "1.0.0",
"description": "run JSHint as mocha tests",

@@ -5,0 +5,0 @@ "main": "index.js",

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

var path = require('path');
var path = require('path'),
util = require('util');
module.exports = function (err) {

@@ -10,8 +11,8 @@ return function (results) {

}
err.message = err.message || 'jshint error' + (results.length > 1 ? 's' : '');
err.stack += error.reason +
(error.code ? ' (' + error.code + ')' : '') +
'\n at (' + path.resolve(file) + ':' + error.line + ':' + error.character + ')';
err.message = err.message ||
util.format('%s%s', error.reason, error.code ? ' (' + error.code + ')' : '') ||
util.format('jshint error%s', results.length && 's' || '');
err.stack += util.format('%s\n at (%s:%d:%d)', err.message, path.resolve(file), error.line, error.character);
});
};
};
};
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