@formatjs/intl-localematcher
Advanced tools
Comparing version 0.2.32 to 0.3.0
@@ -7,2 +7,1 @@ /** | ||
export declare function BestAvailableLocale(availableLocales: Set<String>, locale: string): string | undefined; | ||
//# sourceMappingURL=BestAvailableLocale.d.ts.map |
@@ -9,2 +9,1 @@ import { LookupMatcherResult } from './types'; | ||
export declare function BestFitMatcher(availableLocales: Set<string>, requestedLocales: string[], getDefaultLocale: () => string): LookupMatcherResult; | ||
//# sourceMappingURL=BestFitMatcher.d.ts.map |
@@ -6,2 +6,1 @@ /** | ||
export declare function CanonicalizeLocaleList(locales?: string | string[]): string[]; | ||
//# sourceMappingURL=CanonicalizeLocaleList.d.ts.map |
@@ -9,2 +9,1 @@ import { LookupMatcherResult } from './types'; | ||
export declare function LookupMatcher(availableLocales: Set<string>, requestedLocales: string[], getDefaultLocale: () => string): LookupMatcherResult; | ||
//# sourceMappingURL=LookupMatcher.d.ts.map |
@@ -7,2 +7,1 @@ /** | ||
export declare function LookupSupportedLocales(availableLocales: Set<string>, requestedLocales: string[]): string[]; | ||
//# sourceMappingURL=LookupSupportedLocales.d.ts.map |
@@ -15,2 +15,1 @@ export interface ResolveLocaleResult { | ||
}, relevantExtensionKeys: K[], localeData: Record<string, D | undefined>, getDefaultLocale: () => string): ResolveLocaleResult; | ||
//# sourceMappingURL=ResolveLocale.d.ts.map |
@@ -6,2 +6,1 @@ export interface LookupMatcherResult { | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -7,2 +7,1 @@ /** | ||
export declare function UnicodeExtensionValue(extension: string, key: string): string | undefined; | ||
//# sourceMappingURL=UnicodeExtensionValue.d.ts.map |
export declare const UNICODE_EXTENSION_SEQUENCE_REGEX: RegExp; | ||
export declare function invariant(condition: boolean, message: string, Err?: any): asserts condition; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -7,2 +7,1 @@ export interface Opts { | ||
export { ResolveLocale } from './abstract/ResolveLocale'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,2 +7,1 @@ /** | ||
export declare function BestAvailableLocale(availableLocales: Set<String>, locale: string): string | undefined; | ||
//# sourceMappingURL=BestAvailableLocale.d.ts.map |
@@ -9,2 +9,1 @@ import { LookupMatcherResult } from './types'; | ||
export declare function BestFitMatcher(availableLocales: Set<string>, requestedLocales: string[], getDefaultLocale: () => string): LookupMatcherResult; | ||
//# sourceMappingURL=BestFitMatcher.d.ts.map |
@@ -6,2 +6,1 @@ /** | ||
export declare function CanonicalizeLocaleList(locales?: string | string[]): string[]; | ||
//# sourceMappingURL=CanonicalizeLocaleList.d.ts.map |
@@ -9,2 +9,1 @@ import { LookupMatcherResult } from './types'; | ||
export declare function LookupMatcher(availableLocales: Set<string>, requestedLocales: string[], getDefaultLocale: () => string): LookupMatcherResult; | ||
//# sourceMappingURL=LookupMatcher.d.ts.map |
@@ -7,2 +7,1 @@ /** | ||
export declare function LookupSupportedLocales(availableLocales: Set<string>, requestedLocales: string[]): string[]; | ||
//# sourceMappingURL=LookupSupportedLocales.d.ts.map |
@@ -15,2 +15,1 @@ export interface ResolveLocaleResult { | ||
}, relevantExtensionKeys: K[], localeData: Record<string, D | undefined>, getDefaultLocale: () => string): ResolveLocaleResult; | ||
//# sourceMappingURL=ResolveLocale.d.ts.map |
@@ -6,2 +6,1 @@ export interface LookupMatcherResult { | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -7,2 +7,1 @@ /** | ||
export declare function UnicodeExtensionValue(extension: string, key: string): string | undefined; | ||
//# sourceMappingURL=UnicodeExtensionValue.d.ts.map |
export declare const UNICODE_EXTENSION_SEQUENCE_REGEX: RegExp; | ||
export declare function invariant(condition: boolean, message: string, Err?: any): asserts condition; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -7,2 +7,1 @@ export interface Opts { | ||
export { ResolveLocale } from './abstract/ResolveLocale'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@formatjs/intl-localematcher", | ||
"version": "0.2.32", | ||
"version": "0.3.0", | ||
"description": "Intl.LocaleMatcher ponyfill", | ||
@@ -20,2 +20,10 @@ "keywords": [ | ||
"types": "index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./lib/index.js", | ||
"default": "./index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"repository": { | ||
@@ -22,0 +30,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
36595