New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ip2proxy-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip2proxy-nodejs - npm Package Compare versions

Comparing version
4.0.0
to
4.1.0
+75
src/ip2proxy.d.ts
export class IP2Proxy {
readRow(readBytes: any, position: any): any;
readBin(readBytes: any, position: any, readType: any, isBigInt: any): any;
read8(position: any): any;
read32(position: any, isBigInt: any): any;
read32Row(position: any, buffer: any): any;
read32Or128(position: any, ipType: any): any;
read128(position: any): any;
readStr(position: any): any;
loadBin(): boolean;
open(binPath: any): 0 | -1;
close(): 0 | -1;
proxyQueryData(myIP: any, ipType: any, data: any, mode: any): void;
proxyQuery(myIP: any, mode: any): {
ip: string;
ipNo: string;
isProxy: number;
proxyType: string;
countryShort: string;
countryLong: string;
region: string;
city: string;
isp: string;
domain: string;
usageType: string;
asn: string;
as: string;
lastSeen: string;
threat: string;
provider: string;
};
getModuleVersion(): string;
getPackageVersion(): number;
getDatabaseVersion(): string;
isProxy(myIP: any): number;
getCountryShort(myIP: any): string;
getCountryLong(myIP: any): string;
getRegion(myIP: any): string;
getCity(myIP: any): string;
getISP(myIP: any): string;
getProxyType(myIP: any): string;
getDomain(myIP: any): string;
getUsageType(myIP: any): string;
getASN(myIP: any): string;
getAS(myIP: any): string;
getLastSeen(myIP: any): string;
getThreat(myIP: any): string;
getProvider(myIP: any): string;
getAll(myIP: any): {
ip: string;
ipNo: string;
isProxy: number;
proxyType: string;
countryShort: string;
countryLong: string;
region: string;
city: string;
isp: string;
domain: string;
usageType: string;
asn: string;
as: string;
lastSeen: string;
threat: string;
provider: string;
};
#private;
}
export class IP2ProxyWebService {
open(apiKey: any, apiPackage: any, useSSL?: boolean): void;
checkParams(): void;
lookup(myIP: any, callback: any): void;
getCredit(callback: any): void;
#private;
}
+3
-1
{
"name": "ip2proxy-nodejs",
"version": "4.0.0",
"version": "4.1.0",
"description": "IP2Proxy proxy detection component",

@@ -24,5 +24,7 @@ "keywords": [

"src/test.js",
"src/ip2proxy.d.ts",
"./README.md"
],
"main": "src/ip2proxy.js",
"types": "src/ip2proxy.d.ts",
"license": "MIT",

@@ -29,0 +31,0 @@ "dependencies": {

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

// For BIN queries
const VERSION = "4.0.0";
const VERSION = "4.1.0";
const MAX_INDEX = 65536;

@@ -10,0 +10,0 @@ const COUNTRY_POSITION = [0, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3];