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

grunt-static-i18n

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-static-i18n - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "grunt-static-i18n",
"version": "0.3.1",
"version": "0.3.2",
"description": "Grunt plugin to translate static assets.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/beck/grunt-static-i18n",

@@ -115,2 +115,3 @@ # Static Internationalization

* 0.3.2 - capture errors when compiling large templates
* 0.3.1 - add text domain to options

@@ -117,0 +118,0 @@ * 0.3.0 - fix issue with locale discovery

@@ -84,3 +84,3 @@ /*

try {
return compiled = _.template(grunt.file.read(filepath));
compiled = _.template(grunt.file.read(filepath));
} catch (e) {

@@ -93,2 +93,12 @@ grunt.log.warn(

}
try {
compiled();
} catch (e) {
grunt.log.warn(
'Failed to compile: ', filepath,
'\nIf template is over 900kb, must bump node’s stack size.\nError:', e
);
return false;
}
return compiled;
};

@@ -95,0 +105,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