react-intl 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/react-intl.iife.js +1 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@formatjs/ecma402-abstract": "1.11.6",
|
|
132
132
|
"@formatjs/icu-messageformat-parser": "2.1.2",
|
|
133
|
-
"@formatjs/intl": "2.2.
|
|
133
|
+
"@formatjs/intl": "2.2.4",
|
|
134
134
|
"@formatjs/intl-displaynames": "6.0.1",
|
|
135
135
|
"@formatjs/intl-listformat": "7.0.1",
|
|
136
136
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"tslib": "2.4.0"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
|
-
"react": "^16.
|
|
143
|
+
"react": "^16.6.0 || 17 || 18",
|
|
144
144
|
"typescript": "^4.5"
|
|
145
145
|
},
|
|
146
146
|
"peerDependenciesMeta": {
|
package/react-intl.iife.js
CHANGED
|
@@ -6464,7 +6464,6 @@ var ReactIntl = (function() {
|
|
|
6464
6464
|
var utils_1 = require_utils3();
|
|
6465
6465
|
var error_1 = require_error3();
|
|
6466
6466
|
var DATE_TIME_FORMAT_OPTIONS = [
|
|
6467
|
-
"localeMatcher",
|
|
6468
6467
|
"formatMatcher",
|
|
6469
6468
|
"timeZone",
|
|
6470
6469
|
"hour12",
|
|
@@ -6586,7 +6585,6 @@ var ReactIntl = (function() {
|
|
|
6586
6585
|
var intl_messageformat_1 = require_intl_messageformat();
|
|
6587
6586
|
var error_1 = require_error3();
|
|
6588
6587
|
var DISPLAY_NAMES_OPTONS = [
|
|
6589
|
-
"localeMatcher",
|
|
6590
6588
|
"style",
|
|
6591
6589
|
"type",
|
|
6592
6590
|
"fallback"
|
|
@@ -6619,7 +6617,6 @@ var ReactIntl = (function() {
|
|
|
6619
6617
|
var intl_messageformat_1 = require_intl_messageformat();
|
|
6620
6618
|
var error_1 = require_error3();
|
|
6621
6619
|
var LIST_FORMAT_OPTIONS = [
|
|
6622
|
-
"localeMatcher",
|
|
6623
6620
|
"type",
|
|
6624
6621
|
"style"
|
|
6625
6622
|
];
|
|
@@ -6686,10 +6683,7 @@ var ReactIntl = (function() {
|
|
|
6686
6683
|
var utils_1 = require_utils3();
|
|
6687
6684
|
var error_1 = require_error3();
|
|
6688
6685
|
var intl_messageformat_1 = require_intl_messageformat();
|
|
6689
|
-
var PLURAL_FORMAT_OPTIONS = [
|
|
6690
|
-
"localeMatcher",
|
|
6691
|
-
"type"
|
|
6692
|
-
];
|
|
6686
|
+
var PLURAL_FORMAT_OPTIONS = ["type"];
|
|
6693
6687
|
function formatPlural(_a, getPluralRules, value, options) {
|
|
6694
6688
|
var locale = _a.locale, onError = _a.onError;
|
|
6695
6689
|
if (options === void 0) {
|
|
@@ -6761,7 +6755,6 @@ var ReactIntl = (function() {
|
|
|
6761
6755
|
var utils_1 = require_utils3();
|
|
6762
6756
|
var error_1 = require_error3();
|
|
6763
6757
|
var NUMBER_FORMAT_OPTIONS = [
|
|
6764
|
-
"localeMatcher",
|
|
6765
6758
|
"style",
|
|
6766
6759
|
"currency",
|
|
6767
6760
|
"currencyDisplay",
|