grunt-banana-checker
Advanced tools
Comparing version 0.2.0 to 0.2.1
# grunt-banana-checker Release History | ||
## v0.2.1 / 2015-03-27 | ||
* build: Owner has moved from me to Wikimedia (James D. Forrester) | ||
* build: Change Travis-CI output channel (James D. Forrester) | ||
* build: Bump devDependencies to latest (James D. Forrester) | ||
* Fix catastrophic logic error (James D. Forrester) | ||
## v0.2.0 / 2014-08-31 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "grunt-banana-checker", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A grunt checker for the \"banana\" JSON i18n system provided by MediaWiki and jquery.i18n", | ||
@@ -10,7 +10,8 @@ "scripts": { | ||
"type": "git", | ||
"url": "git://github.com/jdforrester/grunt-banana-checker.git" | ||
"url": "git://github.com/wikimedia/grunt-banana-checker.git" | ||
}, | ||
"keywords": [ | ||
"gruntplugin", | ||
"checker" | ||
"checker", | ||
"banana" | ||
], | ||
@@ -20,16 +21,16 @@ "licenses": [ | ||
"type": "MIT", | ||
"url": "https://raw.github.com/jdforrester/grunt-banana-checker/master/LICENSE" | ||
"url": "https://raw.github.com/wikimedia/grunt-banana-checker/master/LICENSE" | ||
} | ||
], | ||
"bugs": { | ||
"url": "https://github.com/jdforrester/grunt-banana-checker/issues" | ||
"url": "https://github.com/wikimedia/grunt-banana-checker/issues" | ||
}, | ||
"homepage": "https://github.com/jdforrester/grunt-banana-checker", | ||
"homepage": "https://github.com/wikimedia/grunt-banana-checker", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"grunt": "0.4.5", | ||
"grunt-contrib-jshint": "0.10.0", | ||
"grunt-contrib-watch": "0.5.1", | ||
"grunt-jscs": "0.7.0" | ||
"grunt-contrib-jshint": "0.11.1", | ||
"grunt-contrib-watch": "0.6.1", | ||
"grunt-jscs": "1.6.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
[![NPM version](https://badge.fury.io/js/grunt-banana-checker.svg)](http://badge.fury.io/js/grunt-banana-checker) [![Build Status](https://travis-ci.org/jdforrester/grunt-banana-checker.svg?branch=master)](https://travis-ci.org/jdforrester/grunt-banana-checker) | ||
[![NPM version](https://badge.fury.io/js/grunt-banana-checker.svg)](http://badge.fury.io/js/grunt-banana-checker) [![Build Status](https://travis-ci.org/wikimedia/grunt-banana-checker.svg?branch=master)](https://travis-ci.org/wikimedia/grunt-banana-checker) | ||
grunt-banana-checker | ||
@@ -3,0 +3,0 @@ ==================== |
@@ -24,5 +24,5 @@ /*! | ||
documentationMessageBlanks = [], | ||
sourceMessageMissing = [], | ||
sourceMessages = grunt.file.readJSON( path.resolve( dir, options.sourceFile ) ), | ||
sourceMessageKeys = Object.keys( sourceMessages ), | ||
sourceIndex = 0, | ||
count = 0; | ||
@@ -48,3 +48,3 @@ | ||
while (sourceMessageKeys.length > 0) { | ||
while ( sourceMessageKeys.length > 0 ) { | ||
message = sourceMessageKeys[0]; | ||
@@ -60,7 +60,9 @@ documentationIndex = documentationMessageKeys.indexOf( message ); | ||
documentationMessageKeys.splice( documentationIndex, 1 ); | ||
} else { | ||
sourceMessageMissing.push( message ); | ||
} | ||
sourceMessageKeys.splice( sourceIndex, 1 ); | ||
sourceMessageKeys.splice( 0, 1 ); | ||
} | ||
count = sourceMessageKeys.length; | ||
count = sourceMessageMissing.length; | ||
if ( count > 0 ) { | ||
@@ -73,3 +75,3 @@ ok = false; | ||
sourceMessageKeys.forEach( function ( message ) { | ||
sourceMessageMissing.forEach( function ( message ) { | ||
grunt.log.error( 'Message "' + message + '" lacks documentation.' ); | ||
@@ -110,4 +112,4 @@ } ); | ||
grunt.log.ok( messageCount + ' message' + ( messageCount > 1 ? 's' : '') + ' checked.' ); | ||
grunt.log.ok( messageCount + ' message' + ( messageCount > 1 ? 's' : '' ) + ' checked.' ); | ||
} ); | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11920
185
0