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

countries-and-timezones

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

countries-and-timezones - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

.npmignore

9

package.json
{
"name": "countries-and-timezones",
"version": "2.0.2",
"version": "2.0.3",
"description": "Minimalistic library to work with countries and timezones data.",

@@ -13,2 +13,6 @@ "main": "src/index.js",

},
"engines": {
"node": ">=8.x",
"npm": ">=5.x"
},
"keywords": [

@@ -20,3 +24,4 @@ "Countries",

"Time",
"Date"
"Date",
"DST"
],

@@ -23,0 +28,0 @@ "author": "Manuel de la Torre",

@@ -301,3 +301,3 @@ # countries-and-timezones

- Find a place by an IP address.
- Access to more than 240,000 geographical places. In more than 10 languages.
- Access to more than 240,000 geographical places. In more than 20 languages.

@@ -304,0 +304,0 @@ [![Spott API for cities, countries and administrative divisions](https://spott-assets.s3.amazonaws.com/marketing/banner-720px.png)](https://spott.dev)

@@ -1,2 +0,2 @@

const data = require('./data');
const data = require('./data.json');
const buildCountry = require('./build-country');

@@ -3,0 +3,0 @@ const buildTimezone = require('./build-timezone');

const sinon = require('sinon');
const proxyquire = require('proxyquire');
const data = require('../../src/data');
const data = require('../../src/data.json');
const totalCountries = Object.keys(data.countries).length;

@@ -5,0 +5,0 @@ const buildCountryMock = sinon.spy(function(data, id) {

@@ -1,2 +0,2 @@

const data = require('../../src/data');
const data = require('../../src/data.json');
const ct = require('../../src');

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

const data = require('../../src/data');
const data = require('../../src/data.json');
const ct = require('../../src');

@@ -3,0 +3,0 @@

const sinon = require('sinon');
const proxyquire = require('proxyquire');
const data = require('../../src/data');
const data = require('../../src/data.json');
const totalTimezones = Object.keys(data.timezones).length;

@@ -5,0 +5,0 @@ const buildTimezoneMock = sinon.spy(function(data, name) {

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