@formatjs/intl-displaynames 2.2.3 → 2.2.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/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.2.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.7...@formatjs/intl-displaynames@2.2.8) (2020-06-23)
7
+
8
+ **Note:** Version bump only for package @formatjs/intl-displaynames
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.2.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.6...@formatjs/intl-displaynames@2.2.7) (2020-06-20)
15
+
16
+ **Note:** Version bump only for package @formatjs/intl-displaynames
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.2.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.5...@formatjs/intl-displaynames@2.2.6) (2020-06-06)
23
+
24
+ **Note:** Version bump only for package @formatjs/intl-displaynames
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.2.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.4...@formatjs/intl-displaynames@2.2.5) (2020-06-06)
31
+
32
+ **Note:** Version bump only for package @formatjs/intl-displaynames
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.2.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.3...@formatjs/intl-displaynames@2.2.4) (2020-06-04)
39
+
40
+ **Note:** Version bump only for package @formatjs/intl-displaynames
41
+
42
+
43
+
44
+
45
+
6
46
  ## [2.2.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@2.2.2...@formatjs/intl-displaynames@2.2.3) (2020-06-04)
7
47
 
8
48
  **Note:** Version bump only for package @formatjs/intl-displaynames
@@ -171,7 +171,7 @@
171
171
  const keyLocaleData = foundLocaleData[key];
172
172
  invariant(Array.isArray(keyLocaleData), `keyLocaleData for ${key} must be an array`);
173
173
  let value = keyLocaleData[0];
174
- invariant(typeof value === 'string' || value === null, 'value must be string or null');
174
+ invariant(typeof value === 'string' || value === null, `value must be string or null but got ${typeof value} in key ${key}`);
175
175
  let supportedExtensionAddition = '';
176
176
  if (r.extension) {
177
177
  const requestedValue = unicodeExtensionValue(r.extension, key);