Skip to content

Upgrading i18n-iso-countries 2 to 3

Unknown2.1.1 → 3.7.8

Fetching 21 releases from GitHub…0 / 21
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Drops pad.

Installs 0 packages in all (was 1).

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: function getAlpha2Codes(): object → function getAlpha2Codes(): { [alpha2Key: string]: string }
  • changed: function getAlpha3Codes(): object → function getAlpha3Codes(): { [alpha3Key: string]: string }
  • changed: function getName(alpha2ORalpha3ORnumeric: string | number, lang: string): string → function getName(alpha2orAlpha3orNumeric: string | number, lang: string): string
  • changed: function getNames(lang: string): object → function getNames(lang: string): LocalizedCountryNames
  • changed: function getNumericCodes(): object → function getNumericCodes(): { [numericKey: number]: string }
  • changed: function toAlpha2(alpha3ORnumeric: number | string): string → function toAlpha2(alpha3orNumeric: number | string): string
  • changed: function toAlpha3(alpha2ORnumeric: number | string): string → function toAlpha3(alpha2orNumeric: number | string): string
  • added: function isValid(alpha2orAlpha3orNumeric: string | number): boolean
  • added: function registerLocale(localeData: LocaleData): void
  • added: type LocaleData = { locale: string, countries: LocalizedCountryNames }
  • added: type LocalizedCountryNames = { [alpha2Key: string]: string }