Skip to content

Releases: eemeli/intl-pluralrules

v1.1.1

18 Oct 22:14
Compare
Choose a tag to compare
  • Update make-plural dependency to fix CommonJS export issue (#12)

v1.1.0

17 Oct 23:18
Compare
Choose a tag to compare
  • Add typescript definition (#11)
  • Update make-plural to v6
  • Add .mjs build targets
  • Refactor to use a factory function, which itself has no dependencies
  • Separate PseudoNumberFormat from factory
  • Add examples
  • Fix some test262 errors

v1.0.3

17 Oct 23:14
Compare
Choose a tag to compare
  • Use absolute value for negative numbers (#6)

v1.0.2

30 May 09:56
Compare
Choose a tag to compare
  • Fix internal NumberFormat instance locale (#3)

v1.0.1

19 Apr 08:03
Compare
Choose a tag to compare
  • Re-release to include missing changes from ee064ef
  • Update dev dependencies
  • Fix readme typos

v1.0.0

24 Feb 09:37
Compare
Choose a tag to compare
  • Support minimumFractionDigits & maximumFractionDigits
  • Support minimumSignificantDigits & maximumSignificantDigits
  • Nominally support minimumIntegerDigits
  • Check for full locale support before skipping polyfill
  • Typo fix: resolvedOptions key is pluralCategories, not pluralCategory

v0.2.1

04 Apr 18:52
Compare
Choose a tag to compare
  • Updates for the Stage 4 version of the spec
  • Simplify build system, dropping browserified & minified outputs
  • Also export the core implementation, for non-polyfill use

v0.1.0

28 Sep 00:54
Compare
Choose a tag to compare

Initial release, following the Sept 2015 spec with the following modifications:

  • #select() input is not forced to Number, so e.g. 1.0 is handled correctly
  • availableLocales is determined by taking into account options.style, as ordinal rules are not provided for all locales by the Unicode CLDR
  • options.localeMatcher is ignored