Socket
Socket
Sign inDemoInstall

make-plural

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-plural - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

cardinals.js

@@ -28,2 +28,4 @@ function a(n) {

} else if (typeof exports === 'object') {
if (Object.defineProperty) Object.defineProperty(plurals, '__esModule', { value: true });
else plurals.__esModule = true;
module.exports = plurals;

@@ -30,0 +32,0 @@ } else {

57

CHANGELOG.md

@@ -6,19 +6,8 @@ # Change Log

# [6.0.0](https://github.com/eemeli/make-plural/compare/make-plural@6.0.0-beta.3...make-plural@6.0.0) (2019-10-17)
## [6.0.1](https://github.com/eemeli/make-plural/compare/make-plural@6.0.0...make-plural@6.0.1) (2019-10-18)
### Features
* Update cldr-core from 34 to 36 ([a9d2547](https://github.com/eemeli/make-plural/commit/a9d25474efde9b415dd5e4e63b825bcad06f7b07))
# [6.0.0-beta.3](https://github.com/eemeli/make-plural/compare/make-plural@6.0.0-beta.2...make-plural@6.0.0-beta.3) (2019-09-04)
### Bug Fixes
* **plurals:** Oops, add missing files to release ([d4f3050](https://github.com/eemeli/make-plural/commit/d4f3050))
* Include __esModule: true in CommonJS export (eemeli/intl-pluralrules[#12](https://github.com/eemeli/make-plural/issues/12)) ([70daa3d](https://github.com/eemeli/make-plural/commit/70daa3df0d985b2d4b4fd9d6cf8659a5f58a79f4))

@@ -29,45 +18,31 @@

# [6.0.0-beta.2](https://github.com/eemeli/make-plural/compare/make-plural@6.0.0-beta.1...make-plural@6.0.0-beta.2) (2019-09-02)
# [6.0.0](https://github.com/eemeli/make-plural/compare/make-plural@6.0.0-beta.3...make-plural@6.0.0) (2019-10-17)
### Features
### BREAKING CHANGES
* **plurals:** Include separate exports for cardinals & ordinals ([ea23050](https://github.com/eemeli/make-plural/commit/ea23050))
* This drops the default export of the ES6 module, and for the UMD module renames "pt-PT" as pt_PT & "in" as _in.
* This drops the umd/ and es6/ directories, in favour of serving the plurals and pluralCategories files from the package root. They are now distinguished by extension: .mjs for ES6 modules, and .js for UMD packaging.
# [6.0.0-beta.1](https://github.com/eemeli/make-plural/compare/make-plural@5.0.0...make-plural@6.0.0-beta.1) (2019-08-28)
### Bug Fixes
* **plurals:** Update for CLI changes ([9d151d0](https://github.com/eemeli/make-plural/commit/9d151d0))
### Features
* **cli:** Automate common-categories detection ([3421285](https://github.com/eemeli/make-plural/commit/3421285))
* **cli:** Automate common-plurals detection ([a6838a1](https://github.com/eemeli/make-plural/commit/a6838a1))
* **cli:** Improve category printing, including vars for strings ([9c0a8d8](https://github.com/eemeli/make-plural/commit/9c0a8d8))
* Automate common-categories detection ([3421285](https://github.com/eemeli/make-plural/commit/3421285))
* Automate common-plurals detection ([a6838a1](https://github.com/eemeli/make-plural/commit/a6838a1))
* Improve category printing, including vars for strings ([9c0a8d8](https://github.com/eemeli/make-plural/commit/9c0a8d8))
* Account for aliased locale codes ([f538772](https://github.com/eemeli/make-plural/commit/f538772))
* **cli:** Harmonise ES6 & UMD exports ([c24b666](https://github.com/eemeli/make-plural/commit/c24b666))
* **plurals:** Change output paths ([3b4c7e9](https://github.com/eemeli/make-plural/commit/3b4c7e9))
* Harmonise ES6 & UMD exports ([c24b666](https://github.com/eemeli/make-plural/commit/c24b666))
* Change output paths ([3b4c7e9](https://github.com/eemeli/make-plural/commit/3b4c7e9))
* Add named exports to ES6 modules, for tree-shaking ([37021e6](https://github.com/eemeli/make-plural/commit/37021e6))
* Include separate exports for cardinals & ordinals ([ea23050](https://github.com/eemeli/make-plural/commit/ea23050))
* Update cldr-core from 34 to 36 ([a9d2547](https://github.com/eemeli/make-plural/commit/a9d25474efde9b415dd5e4e63b825bcad06f7b07))
### BREAKING CHANGES
### Bug Fixes
* **cli:** This drops the default export of the ES6 module, and
for the UMD module renames "pt-PT" as pt_PT & "in" as _in.
* **plurals:** This drops the umd/ and es6/ directories, in favour of
serving the plurals and pluralCategories files from the package root.
They are now distinguished by extension: .mjs for ES6 modules, and .js
for UMD packaging.
* Update for CLI changes ([9d151d0](https://github.com/eemeli/make-plural/commit/9d151d0))
* Oops, add missing files to release ([d4f3050](https://github.com/eemeli/make-plural/commit/d4f3050))
# [5.0.0](https://github.com/eemeli/make-plural/compare/9cbae0d...make-plural@5.0.0) (2019-07-15)

@@ -74,0 +49,0 @@

@@ -12,2 +12,4 @@ function a(n) {

} else if (typeof exports === 'object') {
if (Object.defineProperty) Object.defineProperty(plurals, '__esModule', { value: true });
else plurals.__esModule = true;
module.exports = plurals;

@@ -14,0 +16,0 @@ } else {

{
"name": "make-plural",
"version": "6.0.0",
"version": "6.0.1",
"description": "Unicode CLDR pluralization rules as JavaScript functions",

@@ -45,3 +45,3 @@ "keywords": [

},
"gitHead": "6a9533a71067249aae9e8407e21bca18ae5eda31"
"gitHead": "41a2d474aad6e0a7b860fb695a9465c7e4b22eec"
}

@@ -12,2 +12,4 @@ var z = "zero", o = "one", t = "two", f = "few", m = "many", x = "other";

} else if (typeof exports === 'object') {
if (Object.defineProperty) Object.defineProperty(pluralCategories, '__esModule', { value: true });
else pluralCategories.__esModule = true;
module.exports = pluralCategories;

@@ -14,0 +16,0 @@ } else {

@@ -30,2 +30,4 @@ function a(n, ord) {

} else if (typeof exports === 'object') {
if (Object.defineProperty) Object.defineProperty(plurals, '__esModule', { value: true });
else plurals.__esModule = true;
module.exports = plurals;

@@ -32,0 +34,0 @@ } else {

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