intl-format-cache
Advanced tools
Comparing version 3.1.2 to 3.2.0
@@ -6,10 +6,13 @@ # Change Log | ||
## [3.1.2](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.1.1...intl-format-cache@3.1.2) (2019-06-18) | ||
# [3.2.0](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.1.2...intl-format-cache@3.2.0) (2019-06-27) | ||
**Note:** Version bump only for package intl-format-cache | ||
### Features | ||
- **intl-relativetimeformat:** make intl-relativetimeformat test262-compliant ([#95](https://github.com/formatjs/formatjs/issues/95)) ([91669a3](https://github.com/formatjs/formatjs/commit/91669a3)) | ||
- **intl-utils:** Add intl-utils ([#98](https://github.com/formatjs/formatjs/issues/98)) ([2329c57](https://github.com/formatjs/formatjs/commit/2329c57)) | ||
## [3.1.2](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.1.1...intl-format-cache@3.1.2) (2019-06-18) | ||
**Note:** Version bump only for package intl-format-cache | ||
## [3.1.1](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.1.0...intl-format-cache@3.1.1) (2019-06-18) | ||
@@ -19,17 +22,8 @@ | ||
# [3.1.0](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.0.2...intl-format-cache@3.1.0) (2019-06-18) | ||
### Features | ||
* **intl-format-cache:** fix TS definition ([71ae9eb](https://github.com/formatjs/formatjs/commit/71ae9eb)) | ||
- **intl-format-cache:** fix TS definition ([71ae9eb](https://github.com/formatjs/formatjs/commit/71ae9eb)) | ||
## [3.0.2](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.0.1...intl-format-cache@3.0.2) (2019-06-12) | ||
@@ -39,6 +33,2 @@ | ||
## [3.0.1](https://github.com/formatjs/formatjs/compare/intl-format-cache@3.0.0...intl-format-cache@3.0.1) (2019-06-05) | ||
@@ -48,24 +38,14 @@ | ||
# [3.0.0](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.9...intl-format-cache@3.0.0) (2019-06-05) | ||
### Features | ||
* add package intl-relativetimeformat ([#51](https://github.com/formatjs/formatjs/issues/51)) ([48c0f43](https://github.com/formatjs/formatjs/commit/48c0f43)) | ||
* **intl-messageformat:** rm bundled intl-pluralrules ([a8526c3](https://github.com/formatjs/formatjs/commit/a8526c3)) | ||
- add package intl-relativetimeformat ([#51](https://github.com/formatjs/formatjs/issues/51)) ([48c0f43](https://github.com/formatjs/formatjs/commit/48c0f43)) | ||
- **intl-messageformat:** rm bundled intl-pluralrules ([a8526c3](https://github.com/formatjs/formatjs/commit/a8526c3)) | ||
### BREAKING CHANGES | ||
* **intl-messageformat:** We no longer include intl-pluralrules in our main index | ||
file. Consumer should polyfill accordingly. | ||
- **intl-messageformat:** We no longer include intl-pluralrules in our main index | ||
file. Consumer should polyfill accordingly. | ||
## [2.2.9](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.7...intl-format-cache@2.2.9) (2019-06-03) | ||
@@ -75,6 +55,2 @@ | ||
## [2.2.8](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.7...intl-format-cache@2.2.8) (2019-06-03) | ||
@@ -84,6 +60,2 @@ | ||
## [2.2.7](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.6...intl-format-cache@2.2.7) (2019-05-31) | ||
@@ -93,6 +65,2 @@ | ||
## [2.2.6](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.5...intl-format-cache@2.2.6) (2019-05-31) | ||
@@ -102,6 +70,2 @@ | ||
## [2.2.5](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.4...intl-format-cache@2.2.5) (2019-05-29) | ||
@@ -111,6 +75,2 @@ | ||
## [2.2.4](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.2...intl-format-cache@2.2.4) (2019-05-28) | ||
@@ -120,6 +80,2 @@ | ||
## [2.2.3](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.2...intl-format-cache@2.2.3) (2019-05-28) | ||
@@ -129,6 +85,2 @@ | ||
## [2.2.2](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.1...intl-format-cache@2.2.2) (2019-05-28) | ||
@@ -138,6 +90,2 @@ | ||
## [2.2.1](https://github.com/formatjs/formatjs/compare/intl-format-cache@2.2.1...intl-format-cache@2.2.1) (2019-05-28) |
{ | ||
"name": "intl-format-cache", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "A memoizer factory for Intl format constructors.", | ||
@@ -16,5 +16,5 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@formatjs/intl-relativetimeformat": "^2.0.2", | ||
"intl-messageformat": "^4.1.2", | ||
"intl-relativeformat": "^6.2.2" | ||
"@formatjs/intl-relativetimeformat": "^2.1.0", | ||
"intl-messageformat": "^4.2.0", | ||
"intl-relativeformat": "^6.3.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "repository": { | ||
"homepage": "https://github.com/formatjs/formatjs", | ||
"gitHead": "1dc8b1c43fd0704398dffd888d70214558cfb17d" | ||
"gitHead": "8b0baec8eda5002715cf893274fe59782fc2d371" | ||
} |
@@ -1,3 +0,2 @@ | ||
Intl Format Cache | ||
================= | ||
# Intl Format Cache | ||
@@ -8,8 +7,6 @@ A memoizer factory for Intl format constructors. | ||
## Overview | ||
Overview | ||
-------- | ||
This is a helper package used within [Yahoo's FormatJS suite][formatjs]. It provides a factory for creating memoizers of [`Intl`][intl] format constructors: [`Intl.NumberFormat`][intl-nf], [`Intl.DateTimeFormat`][intl-dtf], [`IntlMessageFormat`][intl-mf], and [`IntlRelativeFormat`][intl-rf]. | ||
This is a helper package used within [Yahoo's FormatJS suite][FormatJS]. It provides a factory for creating memoizers of [`Intl`][Intl] format constructors: [`Intl.NumberFormat`][Intl-NF], [`Intl.DateTimeFormat`][Intl-DTF], [`IntlMessageFormat`][Intl-MF], and [`IntlRelativeFormat`][Intl-RF]. | ||
Creating instances of these `Intl` formats is an expensive operation, and the APIs are designed such that developers should re-use format instances instead of always creating new ones. This package is simply to make it easier to create a cache of format instances of a particular type to aid in their reuse. | ||
@@ -19,6 +16,4 @@ | ||
## Usage | ||
Usage | ||
----- | ||
This package works as an ES6 or Node.js module, in either case it has a single default export function; e.g.: | ||
@@ -98,17 +93,15 @@ | ||
License | ||
------- | ||
## License | ||
This software is free to use under the Yahoo! Inc. BSD license. | ||
See the [LICENSE file][LICENSE] for license text and copyright information. | ||
See the [LICENSE file][license] for license text and copyright information. | ||
[npm]: https://www.npmjs.org/package/intl-format-cache | ||
[npm-badge]: https://img.shields.io/npm/v/intl-format-cache.svg?style=flat-square | ||
[Intl]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl | ||
[Intl-NF]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat | ||
[Intl-DTF]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat | ||
[Intl-MF]: https://github.com/formatjs/formatjs | ||
[Intl-RF]: https://github.com/formatjs/formatjs | ||
[FormatJS]: http://formatjs.io/ | ||
[LICENSE]: https://github.com/formatjs/formatjs/blob/master/LICENSE | ||
[intl]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl | ||
[intl-nf]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat | ||
[intl-dtf]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat | ||
[intl-mf]: https://github.com/formatjs/formatjs | ||
[intl-rf]: https://github.com/formatjs/formatjs | ||
[formatjs]: http://formatjs.io/ | ||
[license]: https://github.com/formatjs/formatjs/blob/master/LICENSE |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17644
105