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

i18n-dialect

Package Overview
Dependencies
Maintainers
8
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-dialect - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/src/controller.js

@@ -94,3 +94,3 @@ "use strict";

: this.defaultPluralSelect(descriptor.factor);
return forms[formIndex];
return forms[formIndex + 0]; // explicit cast to number; some gettext formulas may return just true/false - that's bad.
}

@@ -97,0 +97,0 @@ };

{
"name": "i18n-dialect",
"version": "1.0.2",
"version": "1.0.3",
"description": "Internationalization support library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -112,3 +112,3 @@ import {

: this.defaultPluralSelect(descriptor.factor);
return forms[formIndex];
return forms[formIndex + 0]; // explicit cast to number; some gettext formulas may return just true/false - that's bad.
}

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