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

fast-plural-rules

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

fast-plural-rules - npm Package Versions

2.0.2

Diff

Changelog

Source

2.0.2 (2022-08-18)

Bug Fixes

  • Fix packaging TypeScript types (6059635)
prantlf
published 2.0.1 •

Changelog

Source

2.0.1 (2022-08-18)

Bug Fixes

  • Automate changelog management (8202ecc)

Features

  • API for checking supported locales and plural forms (fc92897)
  • Declare CJS, UMD and ES exports in package.json (5ab230a)

BREAKING CHANGES

  • Node.js 14.8 or newer recommended. Supports type, module, types and exports. The sources didn't change, which means that the exported modules will still work in Node.js 6 and newer, but the're no tests proving that.
prantlf
published 2.0.0 •

Changelog

Source

2.0.1 (2022-08-18)

Bug Fixes

  • Automate changelog management (8202ecc)

Features

  • API for checking supported locales and plural forms (fc92897)
  • Declare CJS, UMD and ES exports in package.json (5ab230a)

BREAKING CHANGES

  • Node.js 14.8 or newer recommended. Supports type, module, types and exports. The sources didn't change, which means that the exported modules will still work in Node.js 6 and newer, but the're no tests proving that.
prantlf
published 1.0.2 •

Changelog

Source

1.0.2 (2022-01-28)

Bug Fixes

  • Adapt sources after upgrading the build environment (d185af3)
prantlf
published 1.0.1 •

Changelog

Source

1.0.1 (2019-09-24)

Bug Fixes

  • Upgrade package dependencies (9ec2ca4)
prantlf
published 1.0.0 •

Changelog

Source

1.0.0 (2019-07-31)

Bug Fixes

  • Correct the Baltic plural rules 1 and 2 (ebe746d)
  • Correct the Celtic plural rules 1, 2 and 3 (df6a2c0)
  • Correct the Semitic plural rule 1 (6fbd979)
  • Fix the Celtic plural rule 4 computation for the cardinal 0 (a24dc1a)
  • Keep Mozilla's plural rule number for zero in Baltic, Shuar and Welsh (a008166)
  • Transpile the CJS module output for Node.js 6 or newer (c408cf0)
  • Upgrade npm module dependencies (90e9fb8)

Features

  • Introduce support for plural rule names according to CLDR (9b21be2)
  • Provide both minificated and only cleaned-up UMD scripts for the browser (637714c)

BREAKING CHANGES

  • These three language families used their last rule for the cardinal zero. It was not consistent with the result of the original Mozilla's rule evaluation. I moved the zero rule to the beginning for these three families to avoid mistakes from this only difference.

If you write language packs for these language groups:

  • Baltic (Latvian, Latgalian)
  • Ecuador indigenous languages (Shuar)
  • Welsh

Move the string for the plural form for zero to the beginning of the string array.

The Semitic (Arabic) plural rules still put the zero plural form as the last one as the Mozilla's original does.

prantlf
published 0.0.3 •

Changelog

Source

0.0.3 (2019-06-07)

Bug Fixes

  • Upgrade module dependencies (29c0c76)
prantlf
published 0.0.2 •

Changelog

Source

0.0.2 (2019-03-10)

Bug Fixes

  • Upgrade module dependencies (dc9009e)
prantlf
published 0.0.1 •

Changelog

Source

2018-10-28 v0.0.1

Initial release

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