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

grunt-contrib-jshint

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-jshint - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

package.json
{
"name": "grunt-contrib-jshint",
"description": "Validate files with JSHint.",
"version": "0.7.1",
"version": "0.7.2",
"homepage": "https://github.com/gruntjs/grunt-contrib-jshint",

@@ -6,0 +6,0 @@ "author": {

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

# grunt-contrib-jshint v0.7.1 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-jshint.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jshint)
# grunt-contrib-jshint v0.7.2 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-jshint.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jshint)

@@ -208,2 +208,3 @@ > Validate files with JSHint.

* 2013-11-16   v0.7.2   Only print file name once per error.
* 2013-10-31   v0.7.1   Ability to set jshintrc option to true to use jshint's native ability for finding .jshintrc files relative to the linted files.

@@ -237,2 +238,2 @@ * 2013-10-23   v0.7.0   Update to jshint 2.3.0.

*This file was generated on Thu Oct 31 2013 09:48:13.*
*This file was generated on Sat Nov 16 2013 09:34:14.*

@@ -104,2 +104,3 @@ /*

var lastfile = null;
// Iterate over all errors.

@@ -111,5 +112,8 @@ results.forEach(function(result) {

// Something went wrong.
grunt.verbose.or.write(msg);
grunt.log.error();
// Only print file name once per error
if (result.file !== lastfile) {
grunt.verbose.or.write(msg);
grunt.log.error();
}
lastfile = result.file;

@@ -116,0 +120,0 @@ var e = result.error;

@@ -85,4 +85,4 @@ 'use strict';

test.ok(jshint.usingGruntReporter, 'Should be using the default grunt reporter.');
test.ok(result.match(/nodemodule\.js\s\.\.\.ERROR/g).length === 2, 'Should have reported nodemodule.js once per error.');
test.ok(result.match(/missingsemicolon\.js\s\.\.\.ERROR/g).length === 1, 'Should have reported missingsemicolon.js once per error.');
test.ok(result.match(/nodemodule\.js\s\.\.\.ERROR/g).length === 1, 'Should have reported nodemodule.js only once.');
test.ok(result.match(/missingsemicolon\.js\s\.\.\.ERROR/g).length === 1, 'Should have reported missingsemicolon.js only once.');
test.done();

@@ -89,0 +89,0 @@ });

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