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

ipinfo

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipinfo - npm Package Compare versions

Comparing version

to
1.2.3

4

lib/index.js

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

"use strict";
// Dependencies

@@ -36,2 +38,2 @@ var JsonRequest = require("jsonrequest");

IpInfo.HOSTNAME = "http://ipinfo.io/";
IpInfo.IP_REGEX = /^\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b$/;
IpInfo.IP_REGEX = /^\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b$/;
{
"name": "ipinfo",
"version": "1.2.2",
"version": "1.2.3",
"description": "An http://ipinfo.io NodeJS wrapper.",

@@ -39,2 +39,3 @@ "main": "lib/index.js",

"menu/",
"scripts/",
"cli.js",

@@ -41,0 +42,0 @@ "index.js"