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

ip2location-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip2location-nodejs - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

LICENSE

4

package.json
{
"name": "ip2location-nodejs",
"version": "8.1.0",
"version": "8.1.1",
"description": "IP2Location geolocation component",

@@ -14,3 +14,3 @@ "keywords": ["ip2location", "geolocation"],

"main": "src/ip2location.js",
"license" : "LGPL",
"license" : "MIT",
"dependencies" : {

@@ -17,0 +17,0 @@ "big-integer" : ">=1.6.8"

@@ -31,7 +31,19 @@ IP2Location Node.js Module

The complete database is available at http://www.ip2location.com under subscription package.
This library requires IP2Location BIN data file to function. You may download the BIN data file at
* IP2Location LITE BIN Data (Free): http://lite.ip2location.com
* IP2Location Commercial BIN Data (Comprehensive): http://www.ip2location.com
IPv4 BIN vs IPv6 BIN
====================
Use the IPv4 BIN file if you just need to query IPv4 addresses.
If you query an IPv6 address using the IPv4 BIN, you'll see the IPV6_NOT_SUPPORTED error.
Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.
Copyright
=========
Copyright (C) 2017 by IP2Location.com
Copyright (C) 2017 by IP2Location.com, support@ip2location.com
Licensed under MIT

@@ -7,3 +7,3 @@ var net = require("net");

var version = "8.1.0";
var version = "8.1.1";
var binfile = "";

@@ -10,0 +10,0 @@ var IPv4ColumnSize = 0;

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

// var ip2loc = require("ip2location-nodejs");
var ip2loc = require("./ip2location.js");
var ip2loc = require("ip2location-nodejs");
// var ip2loc = require("./ip2location.js");

@@ -7,5 +7,3 @@ // ip2loc.IP2Location_init("/root/testnodejs/db24.BIN");

// testip = ['8.8.8.8', '2404:6800:4001:c01::67', '2001:0200:0102:0000:0000:0000:0000:0000', '2001:0200:0135:0000:0000:0000:0000:0000', '2001:0200:017A:0000:0000:0000:0000:0000', '2404:6800:4001:c01::93', '::FFFF:8.8.8.8', '0000:0000:0000:0000:0000:FFFF:8.8.8.8', '::8.8.8.8.8'];
testip = ['2602:306:ccb7:1940::', '2601:881:202:6673::', '2602:301:77c2:5560::', '2601:249:200:efc9::', '2001:420:c0c0:1003::'];
testip = ['8.8.8.8', '2404:6800:4001:c01::67', '2001:0200:0102:0000:0000:0000:0000:0000', '2001:0200:0135:0000:0000:0000:0000:0000', '2001:0200:017A:0000:0000:0000:0000:0000', '2404:6800:4001:c01::93', '::FFFF:8.8.8.8', '0000:0000:0000:0000:0000:FFFF:8.8.8.8', '::8.8.8.8.8'];
// testip = ['8.8.8.8', '2404:6800:4001:c01::93'];

@@ -12,0 +10,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