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.2 to 1.0.3

8

index.js

@@ -16,7 +16,7 @@ const http = require('http');

if (typeOf p === 'object') {
if (typeof p === 'object') {
if (Array.isArray(p)) {
if (typeOf p[0] === 'object') {
if (typeof p[0] === 'object') {
proxy = p[0];
} else if (typeOf p === 'string') {
} else if (typeof p === 'string') {
p = p[0];

@@ -29,3 +29,3 @@ } else {

if (typeOf p === 'string') {
if (typeof p === 'string') {
if (p.indexOf('@') + 1) {

@@ -32,0 +32,0 @@ proxy.proxyAuth = p.split('@')[0];

{
"name": "proxy-check",
"version": "1.0.2",
"version": "1.0.3",
"description": "Check proxy for NodeJS",

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

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