Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18n-iso-countries

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-iso-countries - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

8

index.d.ts
export interface GetNameOptions {
select: 'all' | 'official' | 'alias';
};
}

@@ -13,3 +13,5 @@ export type CountryName<T extends GetNameOptions> = T extends { select: 'all' } ? string[] : string

locale: string,
countries: LocalizedCountryNames
countries: {
[alpha2Key: string]: string[] | string
}
};

@@ -65,3 +67,3 @@

*/
export function getNames(lang: string): LocalizedCountryNames;
export function getNames(lang: string): LocalizedCountryNames<{ select: 'official' }>;

@@ -68,0 +70,0 @@ /**

{
"name": "i18n-iso-countries",
"version": "6.2.0",
"version": "6.2.1",
"description": "i18n for ISO 3166-1 country codes",

@@ -5,0 +5,0 @@ "typings": "index.d.ts",

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