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

country-timezone

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-timezone - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "country-timezone",
"version": "1.0.7",
"version": "1.0.8",
"description": "Find timezone based on country code or country name.",

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

@@ -30,3 +30,3 @@ var rawData = require('./data.json');

// Matching user entered text with cities name
const matchCityName = country.cities.find((cityName) => {
const matchCityName = country.cities.find(function(cityName) {
return cityName.toLowerCase() === name.toLowerCase()

@@ -33,0 +33,0 @@ })

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