Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxy-check

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-check - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

index.js

@@ -27,2 +27,4 @@ const http = require('http');

}
} else {
proxy = p;
}

@@ -29,0 +31,0 @@ }

2

package.json
{
"name": "proxy-check",
"version": "1.0.4",
"version": "1.0.5",
"description": "Check proxy for NodeJS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,3 +6,11 @@ # Check proxy

proxy_check('y0adXjeO:pAzAHCr4@54.82.74.24:5557').then(r => {
const proxy = {
host: '54.82.74.24',
port: 5557,
proxyAuth: 'y0adXjeO:pAzAHCr4'
};
// or
// const proxy = 'y0adXjeO:pAzAHCr4@54.82.74.24:5557';
proxy_check(proxy).then(r => {
console.log(r); // true

@@ -9,0 +17,0 @@ }).catch(e => {

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