country-timezone
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"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 @@ }) |
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
2324978