@formatjs/intl-localematcher
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -5,2 +5,2 @@ /** | ||
*/ | ||
export declare function CanonicalizeLocaleList(locales?: string | string[]): string[]; | ||
export declare function CanonicalizeLocaleList(locales?: string | readonly string[]): string[]; |
export interface Opts { | ||
algorithm: 'lookup' | 'best fit'; | ||
} | ||
export declare function match(requestedLocales: string[], availableLocales: string[], defaultLocale: string, opts?: Opts): string; | ||
export declare function match(requestedLocales: readonly string[], availableLocales: readonly string[], defaultLocale: string, opts?: Opts): string; | ||
export { LookupSupportedLocales } from './abstract/LookupSupportedLocales'; | ||
export { ResolveLocale } from './abstract/ResolveLocale'; |
@@ -5,2 +5,2 @@ /** | ||
*/ | ||
export declare function CanonicalizeLocaleList(locales?: string | string[]): string[]; | ||
export declare function CanonicalizeLocaleList(locales?: string | readonly string[]): string[]; |
export interface Opts { | ||
algorithm: 'lookup' | 'best fit'; | ||
} | ||
export declare function match(requestedLocales: string[], availableLocales: string[], defaultLocale: string, opts?: Opts): string; | ||
export declare function match(requestedLocales: readonly string[], availableLocales: readonly string[], defaultLocale: string, opts?: Opts): string; | ||
export { LookupSupportedLocales } from './abstract/LookupSupportedLocales'; | ||
export { ResolveLocale } from './abstract/ResolveLocale'; |
{ | ||
"name": "@formatjs/intl-localematcher", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Intl.LocaleMatcher ponyfill", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36477
63