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.4.0 to 0.5.0

test/simple/de.json.foobar

5

History.md
# grunt-banana-checker Release History
## v0.5.0 / 2016-03-18
* Don't crash when encountering file names that contain '.json' in the middle (Roan Kattouw)
* Extract the regex for a JSON filename (James Forrester)
* build: Bump various devDependencies to latest (paladox)
## v0.4.0 / 2015-10-06

@@ -4,0 +9,0 @@ * Make disallowUnusedTranslations default to false (Ed Sanders)

8

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

@@ -25,6 +25,6 @@ "scripts": {

"grunt-cli": "0.1.13",
"grunt-contrib-jshint": "0.11.2",
"grunt-contrib-watch": "0.6.1",
"grunt-jscs": "2.1.0"
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-jscs": "2.8.0"
}
}

@@ -44,2 +44,3 @@ /*!

translatedFiles,
jsonFilenameRegex = /(.*)\.json$/,
translatedData = {},

@@ -99,3 +100,3 @@ documentationMessageBlanks = [],

value !== options.documentationFile &&
value.match( /.*.json/ )
value.match( jsonFilenameRegex )
);

@@ -105,3 +106,3 @@ } );

translatedFiles.forEach( function ( languageFile ) {
var language = languageFile.match( /(.*)\.json$/ )[ 1 ],
var language = languageFile.match( jsonFilenameRegex )[ 1 ],
languageMesages = messages( languageFile, language ),

@@ -108,0 +109,0 @@ keys = keysNoMetadata( languageMesages, language ),

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