@formatjs/intl-displaynames 1.2.9 → 1.2.10
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 +8 -0
- package/dist/polyfill-with-locales-for-test262.js +2 -1
- package/dist/polyfill-with-locales-for-test262.js.map +1 -1
- package/dist/umd/intl-displaynames.js +2 -1
- package/dist/umd/intl-displaynames.js.map +1 -1
- package/dist/umd/intl-displaynames.min.js +1 -1
- package/dist/umd/intl-displaynames.min.js.map +1 -1
- package/dist/umd/polyfill.js +2 -1
- package/dist/umd/polyfill.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [1.2.10](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@1.2.9...@formatjs/intl-displaynames@1.2.10) (2020-05-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @formatjs/intl-displaynames
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.2.9](https://github.com/formatjs/formatjs/compare/@formatjs/intl-displaynames@1.2.8...@formatjs/intl-displaynames@1.2.9) (2020-05-05)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @formatjs/intl-displaynames
|
|
@@ -113,7 +113,8 @@
|
|
|
113
113
|
// NOTE: we must NOT call `supportedLocalesOf` of a formatjs polyfill, or their implementation
|
|
114
114
|
// will even eventually call this method recursively. Here we use `Intl.DateTimeFormat` since it
|
|
115
115
|
// is not polyfilled by `@formatjs`.
|
|
116
|
-
|
|
116
|
+
// TODO: Fix TypeScript type def for this bc undefined is just fine
|
|
117
|
+
return Intl.DateTimeFormat.supportedLocalesOf(locales);
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
function createResolveLocale(getDefaultLocale) {
|