@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
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
var keyLocaleData = foundLocaleData[key];
|
|
217
217
|
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
|
|
218
218
|
var value = keyLocaleData[0];
|
|
219
|
-
invariant(typeof value === 'string' || value === null,
|
|
219
|
+
invariant(typeof value === 'string' || value === null, "value must be string or null but got " + typeof value + " in key " + key);
|
|
220
220
|
var supportedExtensionAddition = '';
|
|
221
221
|
if (r.extension) {
|
|
222
222
|
var requestedValue = unicodeExtensionValue(r.extension, key);
|