New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

geoip-lite

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geoip-lite - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

2

package.json
{
"name" : "geoip-lite",
"version" : "1.3.7",
"version" : "1.3.8",
"description" : "A light weight native JavaScript implementation of GeoIP API from MaxMind",

@@ -5,0 +5,0 @@ "keywords" : ["geo", "geoip", "ip", "ipv4", "ipv6", "geolookup", "maxmind", "geolite"],

@@ -66,3 +66,3 @@ var geoip = require('../lib/geoip');

test.strictEqual(actual.city, 'Badhoevedorp', "should match city");
test.strictEqual(actual.city, 'Amsterdam', "should match city");

@@ -73,3 +73,3 @@ test.ok(actual.ll, 'should contain coordinates');

test.strictEqual(actual.area, 10, "should match area");
test.strictEqual(actual.area, 5, "should match area");

@@ -83,3 +83,3 @@ test.done();

var ip = "2.139.175.1";
var expected = "Logroño";
var expected = "Pamplona";
var actual = geoip.lookup(ip);

@@ -98,3 +98,3 @@

test.equal(actual.city, "Nuevo");//keeps changing with each update from one city to other (close to each other geographically)
test.equal(actual.city, "Riverside"); //keeps changing with each update from one city to other (close to each other geographically)
test.equal(actual.metro, 803);

@@ -108,6 +108,6 @@

var actual = geoip.lookup("::ffff:173.185.182.82");
var actual = geoip.lookup("195.16.170.74");
test.equal(actual.city, "Granbury");
test.equal(actual.metro, 623);
test.equal(actual.city, "");
test.equal(actual.metro, 0);

@@ -114,0 +114,0 @@ test.done();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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