react-intl 6.1.0 → 6.1.1

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.1.0",
3
+ "version": "6.1.1",
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,8 +130,8 @@
130
130
  "dependencies": {
131
131
  "@formatjs/ecma402-abstract": "1.12.0",
132
132
  "@formatjs/icu-messageformat-parser": "2.1.7",
133
- "@formatjs/intl": "2.4.0",
134
- "@formatjs/intl-displaynames": "6.1.2",
133
+ "@formatjs/intl": "2.4.1",
134
+ "@formatjs/intl-displaynames": "6.1.3",
135
135
  "@formatjs/intl-listformat": "7.1.2",
136
136
  "@types/hoist-non-react-statics": "^3.3.1",
137
137
  "@types/react": "16 || 17 || 18",
@@ -4073,7 +4073,7 @@ var ReactIntl = (() => {
4073
4073
  }
4074
4074
  return all;
4075
4075
  }, []);
4076
- return results.length === 1 ? results[0] : results;
4076
+ return results.length === 1 ? results[0] : results.length === 0 ? "" : results;
4077
4077
  }
4078
4078
  function formatListToParts(_a2, getListFormat, values, options) {
4079
4079
  var locale = _a2.locale, onError = _a2.onError;