react-intl 6.0.1 → 6.0.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-intl",
3
- "version": "6.0.1",
3
+ "version": "6.0.4",
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",
@@ -128,19 +128,19 @@
128
128
  "types": "index.d.ts",
129
129
  "sideEffects": false,
130
130
  "dependencies": {
131
- "@formatjs/ecma402-abstract": "1.11.6",
132
- "@formatjs/icu-messageformat-parser": "2.1.2",
133
- "@formatjs/intl": "2.2.3",
134
- "@formatjs/intl-displaynames": "6.0.1",
135
- "@formatjs/intl-listformat": "7.0.1",
131
+ "@formatjs/ecma402-abstract": "1.11.7",
132
+ "@formatjs/icu-messageformat-parser": "2.1.3",
133
+ "@formatjs/intl": "2.3.0",
134
+ "@formatjs/intl-displaynames": "6.0.2",
135
+ "@formatjs/intl-listformat": "7.0.2",
136
136
  "@types/hoist-non-react-statics": "^3.3.1",
137
137
  "@types/react": "16 || 17 || 18",
138
138
  "hoist-non-react-statics": "^3.3.2",
139
- "intl-messageformat": "10.0.1",
139
+ "intl-messageformat": "10.1.0",
140
140
  "tslib": "2.4.0"
141
141
  },
142
142
  "peerDependencies": {
143
- "react": "^16.3.0 || 17 || 18",
143
+ "react": "^16.6.0 || 17 || 18",
144
144
  "typescript": "^4.5"
145
145
  },
146
146
  "peerDependenciesMeta": {
@@ -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",
@@ -6481,7 +6480,8 @@ var ReactIntl = (function() {
6481
6480
  "dateStyle",
6482
6481
  "timeStyle",
6483
6482
  "calendar",
6484
- "numberingSystem"
6483
+ "numberingSystem",
6484
+ "fractionalSecondDigits"
6485
6485
  ];
6486
6486
  function getFormatter(_a, type, getDateTimeFormat, options) {
6487
6487
  var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;
@@ -6586,7 +6586,6 @@ var ReactIntl = (function() {
6586
6586
  var intl_messageformat_1 = require_intl_messageformat();
6587
6587
  var error_1 = require_error3();
6588
6588
  var DISPLAY_NAMES_OPTONS = [
6589
- "localeMatcher",
6590
6589
  "style",
6591
6590
  "type",
6592
6591
  "fallback"
@@ -6619,7 +6618,6 @@ var ReactIntl = (function() {
6619
6618
  var intl_messageformat_1 = require_intl_messageformat();
6620
6619
  var error_1 = require_error3();
6621
6620
  var LIST_FORMAT_OPTIONS = [
6622
- "localeMatcher",
6623
6621
  "type",
6624
6622
  "style"
6625
6623
  ];
@@ -6686,10 +6684,7 @@ var ReactIntl = (function() {
6686
6684
  var utils_1 = require_utils3();
6687
6685
  var error_1 = require_error3();
6688
6686
  var intl_messageformat_1 = require_intl_messageformat();
6689
- var PLURAL_FORMAT_OPTIONS = [
6690
- "localeMatcher",
6691
- "type"
6692
- ];
6687
+ var PLURAL_FORMAT_OPTIONS = ["type"];
6693
6688
  function formatPlural(_a, getPluralRules, value, options) {
6694
6689
  var locale = _a.locale, onError = _a.onError;
6695
6690
  if (options === void 0) {
@@ -6761,7 +6756,6 @@ var ReactIntl = (function() {
6761
6756
  var utils_1 = require_utils3();
6762
6757
  var error_1 = require_error3();
6763
6758
  var NUMBER_FORMAT_OPTIONS = [
6764
- "localeMatcher",
6765
6759
  "style",
6766
6760
  "currency",
6767
6761
  "currencyDisplay",