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

grunt-banana-checker

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-banana-checker - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

test/skipIncompleteMessageDocumentation/en.json

9

Gruntfile.js

@@ -61,2 +61,11 @@ /*!

}
},
skipIncompleteMessageDocumentation: {
src: 'test/skipIncompleteMessageDocumentation',
options: {
skipIncompleteMessageDocumentation: [
'third-message-key',
'fourth-message-key'
]
}
}

@@ -63,0 +72,0 @@ },

2

package.json
{
"name": "grunt-banana-checker",
"version": "0.5.0",
"version": "0.6.0",
"description": "A grunt checker for the \"banana\" JSON i18n system provided by MediaWiki and jquery.i18n",

@@ -5,0 +5,0 @@ "scripts": {

@@ -25,3 +25,5 @@ /*!

requireCompleteTranslationLanguages: [],
requireCompleteTranslationMessages: []
requireCompleteTranslationMessages: [],
skipIncompleteMessageDocumentation: []
} ),

@@ -162,2 +164,6 @@ messageCount = 0;

if ( options.requireCompleteMessageDocumentation ) {
// Filter out any missing message that is OK to be skipped
sourceMessageMissing = sourceMessageMissing.filter( function ( value ) {
return options.skipIncompleteMessageDocumentation.indexOf( value ) === -1;
} );
count = sourceMessageMissing.length;

@@ -164,0 +170,0 @@ if ( count > 0 ) {

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