@formatjs/intl-listformat 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 +40 -0
- package/dist/polyfill-with-locales-for-test262.js +1 -1
- package/dist/polyfill-with-locales-for-test262.js.map +1 -1
- package/dist/polyfill-with-locales.js +1 -1
- package/dist/polyfill-with-locales.js.map +1 -1
- package/dist/umd/intl-listformat-with-locales.js +1 -1
- package/dist/umd/intl-listformat-with-locales.js.map +1 -1
- package/dist/umd/intl-listformat-with-locales.min.js +1 -1
- package/dist/umd/intl-listformat-with-locales.min.js.map +1 -1
- package/dist/umd/intl-listformat.js +1 -1
- package/dist/umd/intl-listformat.js.map +1 -1
- package/dist/umd/intl-listformat.min.js +1 -1
- package/dist/umd/intl-listformat.min.js.map +1 -1
- package/dist/umd/polyfill-intl-listformat.js +1 -1
- package/dist/umd/polyfill-intl-listformat.js.map +1 -1
- package/package.json +4 -4
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
var keyLocaleData = foundLocaleData[key];
|
|
214
214
|
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
|
|
215
215
|
var value = keyLocaleData[0];
|
|
216
|
-
invariant(typeof value === 'string' || value === null,
|
|
216
|
+
invariant(typeof value === 'string' || value === null, "value must be string or null but got " + typeof value + " in key " + key);
|
|
217
217
|
var supportedExtensionAddition = '';
|
|
218
218
|
if (r.extension) {
|
|
219
219
|
var requestedValue = unicodeExtensionValue(r.extension, key);
|