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.4.0 to 0.4.1

abstract/BestAvailableLocale.d.ts.map

2

abstract/CanonicalizeLocaleList.d.ts

@@ -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": [

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