Socket
Socket
Sign inDemoInstall

gofiber-check-vpn

Package Overview
Dependencies
232
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

README.md

5

dist/handle/checkVPN.js

@@ -48,3 +48,4 @@ "use strict";

const temp = value;
if (key === ip && temp && (temp === null || temp === void 0 ? void 0 : temp.proxy) === 'no') {
if ((key === ip && temp && (temp === null || temp === void 0 ? void 0 : temp.proxy) === 'no') ||
(!result.data[ip] && status === 'ok')) {
flag = true;

@@ -57,3 +58,3 @@ return;

status: false,
message: 'IP is not found',
message: 'IP is of VPN',
};

@@ -60,0 +61,0 @@ }

2

package.json
{
"name": "gofiber-check-vpn",
"version": "2.0.0",
"version": "3.0.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc