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

fis3-parser-umu-i18n

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-parser-umu-i18n - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

17

index.js

@@ -56,2 +56,18 @@ /**

ejs.filters.replace = function(lang) {
var params = Array.prototype.slice.call(arguments, 1);
if (typeof lang === 'string') {
return lang.replace(/{\$(\d+)}/g, function (key, index) {
index = parseInt(index, 10);
if (index < 1) {
return key;
}
if (typeof params[index - 1] === 'string') {
return params[index - 1];
}
return '';
});
}
return lang;
};

@@ -63,2 +79,3 @@ module.exports = function (content, file, conf) {

try {
content = ejs.render(content, i18nData);

@@ -65,0 +82,0 @@ } catch (e) {

4

package.json
{
"name": "fis3-parser-umu-i18n",
"version": "0.0.5",
"version": "0.0.6",
"description": "A i18n parser for fis3",

@@ -8,3 +8,3 @@ "main": "index.js",

"dependencies": {
"ejs": "^2.3.4"
"ejs": "1.0.0"
},

@@ -11,0 +11,0 @@ "devDependencies": {},

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