Socket
Socket
Sign inDemoInstall

countries-and-timezones

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

3.2.0

Diff

Changelog

Source

[3.2.0] - 2021-08-10

Added

  • Add TypeScript definitions (#37 by benj-dobs)
manuelmhtr
published 3.1.0 •

Changelog

Source

[3.1.0] - 2021-08-04

Added

  • Restores getCountryForTimezone method to keep compatibility with version 2.
  • Adds esm path to package.json files (by Simon VDB)
manuelmhtr
published 3.0.1 •

manuelmhtr
published 3.0.0 •

Changelog

Source

[3.0.0] - 2021-07-28

Added

  • #32 Added support for ESM named exports

Changed

  • Timezones might now be related with multiple countries.

Removed

  • Removed deprecated timezones: America/Fort_Wayne, America/Godthab, America/Indianapolis, Asia/Rangoon, Singapore, US/East-Indiana, W-SU.

Breaking changes

  • getCountryForTimezone method was renamed to getCountriesForTimezone since now timezones might be related with multiple countries. The first country in the list is more relevant due to its geographical location.
  • The timezone property country was renamed to countries and is a list of strings rather than a single string.
manuelmhtr
published 2.5.0 •

Changelog

Source

[2.5.0] - 2021-07-18

Added

manuelmhtr
published 2.4.0 •

Changelog

Source

[2.4.0] - 2021-04-24

Changed

  • Updated with 2021a IANA Timezones database.

Removed

  • US/Pacific-New timezone.
manuelmhtr
published 2.3.1 •

manuelmhtr
published 2.3.0 •

Changelog

Source

[2.3.0] - 2020-08-25

Added

  • Support for <script/> tag.

Changed

  • Added 1 new timezone ("America/Nuuk").
  • Updated with 2020a IANA Timezones database.
manuelmhtr
published 2.2.0 •

Changelog

Source

[2.2.0] - 2020-04-18

Added

  • Updated 18 existing timezones.
  • Added 89 new timezones.
  • Complying with 2019c IANA Timezones database.
manuelmhtr
published 2.1.1 •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc