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

node-gettext

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gettext - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

12

lib/domain.js

@@ -66,3 +66,3 @@ var Iconv = require("iconv").Iconv,

*/
this._pluralRules = false;
this._pluralRules = "nplurals=2; plural=(n != 1)";

@@ -126,3 +126,5 @@ /**

plurals = pluralsInfo[domain];
}else{
}
if(!plurals || !plurals.plurals){
// defaults to the same rules as with 'en'

@@ -132,6 +134,6 @@ this._pluralCount = 2;

return;
}else{
this._pluralCount = plurals.numbers.length;
this._pluralRules = plurals.plurals;
}
this._pluralCount = plurals.numbers.length;
this._pluralRules = plurals.plurals;
};

@@ -138,0 +140,0 @@

{
"name": "node-gettext",
"description": "Gettext client for Node.js to use .mo files for I18N",
"version": "0.2.7",
"version": "0.2.8",
"author" : "Andris Reinman",

@@ -6,0 +6,0 @@ "maintainers":[

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