@formatjs/intl-localematcher 0.8.11 → 0.8.13
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/index.d.ts +7 -7
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
//#region packages/intl-localematcher/abstract/LookupSupportedLocales.d.ts
|
|
2
2
|
/**
|
|
3
|
-
* https://tc39.es/ecma402/#sec-lookupsupportedlocales
|
|
4
|
-
* @param availableLocales
|
|
5
|
-
* @param requestedLocales
|
|
6
|
-
*/
|
|
3
|
+
* https://tc39.es/ecma402/#sec-lookupsupportedlocales
|
|
4
|
+
* @param availableLocales
|
|
5
|
+
* @param requestedLocales
|
|
6
|
+
*/
|
|
7
7
|
declare function LookupSupportedLocales(availableLocales: string[], requestedLocales: string[]): string[];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region packages/intl-localematcher/abstract/ResolveLocale.d.ts
|
|
@@ -13,9 +13,9 @@ interface ResolveLocaleResult {
|
|
|
13
13
|
[k: string]: any;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* https://tc39.es/ecma402/#sec-resolvelocale
|
|
17
|
-
*/
|
|
18
|
-
declare function ResolveLocale<K extends string, D extends { [k in K]: any }>(availableLocales: Set<string> | readonly string[], requestedLocales: readonly string[], options: {
|
|
16
|
+
* https://tc39.es/ecma402/#sec-resolvelocale
|
|
17
|
+
*/
|
|
18
|
+
declare function ResolveLocale<K extends string, D extends { [k in K]: any; }>(availableLocales: Set<string> | readonly string[], requestedLocales: readonly string[], options: {
|
|
19
19
|
localeMatcher: string;
|
|
20
20
|
[k: string]: string;
|
|
21
21
|
}, relevantExtensionKeys: K[], localeData: Record<string, D | undefined>, getDefaultLocale: () => string): ResolveLocaleResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-localematcher",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.13",
|
|
4
4
|
"description": "Intl.LocaleMatcher ponyfill",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ecma402",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
".": "./index.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@formatjs/fast-memoize": "3.1.
|
|
29
|
+
"@formatjs/fast-memoize": "3.1.7"
|
|
30
30
|
}
|
|
31
31
|
}
|