country-live-clocks
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23066