react-intl 10.1.15 → 10.1.16

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": "10.1.15",
3
+ "version": "10.1.16",
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
  "format",
@@ -130,9 +130,9 @@
130
130
  "./server": "./server.js"
131
131
  },
132
132
  "dependencies": {
133
- "@formatjs/icu-messageformat-parser": "3.5.13",
134
- "@formatjs/intl": "4.1.15",
135
- "intl-messageformat": "11.2.10"
133
+ "@formatjs/icu-messageformat-parser": "3.5.14",
134
+ "@formatjs/intl": "4.1.16",
135
+ "intl-messageformat": "11.2.11"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "@types/react": ">=18.0.0",
@@ -125,7 +125,7 @@ function parseDateTimeSkeleton(skeleton) {
125
125
  "long",
126
126
  "narrow",
127
127
  "short"
128
- ][len - 4];
128
+ ][len - 3];
129
129
  break;
130
130
  case "c":
131
131
  if (len < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported");
@@ -134,7 +134,7 @@ function parseDateTimeSkeleton(skeleton) {
134
134
  "long",
135
135
  "narrow",
136
136
  "short"
137
- ][len - 4];
137
+ ][len - 3];
138
138
  break;
139
139
  case "a":
140
140
  result.hour12 = true;