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

country-live-clocks

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-live-clocks - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -328,3 +328,3 @@ /**

const timezonesForCountry = getTimezonesForCountry(countryCode.toUpperCase());
if (!timezonesForCountry?.length) reject(new Error("Invalid Country Code"));
if (!timezonesForCountry) reject(new Error("Invalid Country Code"));

@@ -331,0 +331,0 @@ const result = timezonesForCountry.slice(0, 5).map(({ name: timezone }) => ({

{
"name": "country-live-clocks",
"version": "1.0.3",
"version": "1.0.4",
"description": "Country Live Clock is a versatile npm package designed to provide real-time timezone information for any country. By simply passing a country code, users can retrieve an array of objects detailing the current time across all the time zones within that country. Whether you're building applications that require accurate global time display, scheduling software that spans multiple time zones, or just need a quick way to check the time in different parts of a country, Country Live Clock offers a straightforward and efficient solution.",

@@ -5,0 +5,0 @@ "main": "index.js",

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