intl-messageformat 11.2.9 → 11.2.11

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.
@@ -122,7 +122,7 @@ function parseDateTimeSkeleton(skeleton) {
122
122
  "long",
123
123
  "narrow",
124
124
  "short"
125
- ][len - 4];
125
+ ][len - 3];
126
126
  break;
127
127
  case "c":
128
128
  if (len < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported");
@@ -131,7 +131,7 @@ function parseDateTimeSkeleton(skeleton) {
131
131
  "long",
132
132
  "narrow",
133
133
  "short"
134
- ][len - 4];
134
+ ][len - 3];
135
135
  break;
136
136
  case "a":
137
137
  result.hour12 = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-messageformat",
3
- "version": "11.2.9",
3
+ "version": "11.2.11",
4
4
  "description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",
5
5
  "keywords": [
6
6
  "globalization",
@@ -34,7 +34,7 @@
34
34
  ".": "./index.js"
35
35
  },
36
36
  "dependencies": {
37
- "@formatjs/fast-memoize": "3.1.6",
38
- "@formatjs/icu-messageformat-parser": "3.5.12"
37
+ "@formatjs/fast-memoize": "3.1.7",
38
+ "@formatjs/icu-messageformat-parser": "3.5.14"
39
39
  }
40
40
  }