react-intl 5.24.7 → 5.24.8

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": "5.24.7",
3
+ "version": "5.24.8",
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,15 +128,15 @@
128
128
  "types": "index.d.ts",
129
129
  "sideEffects": false,
130
130
  "dependencies": {
131
- "@formatjs/ecma402-abstract": "1.11.3",
132
- "@formatjs/icu-messageformat-parser": "2.0.18",
133
- "@formatjs/intl": "2.1.0",
134
- "@formatjs/intl-displaynames": "5.4.2",
135
- "@formatjs/intl-listformat": "6.5.2",
131
+ "@formatjs/ecma402-abstract": "1.11.4",
132
+ "@formatjs/icu-messageformat-parser": "2.0.19",
133
+ "@formatjs/intl": "2.1.1",
134
+ "@formatjs/intl-displaynames": "5.4.3",
135
+ "@formatjs/intl-listformat": "6.5.3",
136
136
  "@types/hoist-non-react-statics": "^3.3.1",
137
137
  "@types/react": "16 || 17",
138
138
  "hoist-non-react-statics": "^3.3.2",
139
- "intl-messageformat": "9.11.4",
139
+ "intl-messageformat": "9.12.0",
140
140
  "tslib": "^2.1.0"
141
141
  },
142
142
  "peerDependencies": {
@@ -1913,7 +1913,7 @@ var ReactIntl = (function() {
1913
1913
  continue;
1914
1914
  }
1915
1915
  if (isTimeElement(el)) {
1916
- var style = typeof el.style === "string" ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : void 0;
1916
+ var style = typeof el.style === "string" ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : formats.time.medium;
1917
1917
  result.push({
1918
1918
  type: PART_TYPE.literal,
1919
1919
  value: formatters.getDateTimeFormat(locales, style).format(value)