Socket
Socket
Sign inDemoInstall

@formatjs/intl-localematcher

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl-localematcher - npm Package Compare versions

Comparing version 0.2.32 to 0.3.0

1

abstract/BestAvailableLocale.d.ts

@@ -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

10

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc