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

chlid-proxy

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

chlid-proxy - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

controllers/proxyController.js

@@ -81,7 +81,7 @@ const axios = require('axios');

// Worker thread logic
const { index, url, method = 'GET', include = [], headers: requestHeaders = {}, body: requestBody, params, userAgent} = workerData;
const { index, url, method = 'GET', include = [], headers: requestHeaders = {}, body: requestBody, params } = workerData;
const requestOptions = {
method,
headers: { ...requestHeaders, userAgent },
headers: { ...requestHeaders },
data: JSON.stringify(requestBody),

@@ -123,3 +123,3 @@ params,

'response-error-data': (include.includes('response-error-data') && error.response.data.errors),
'--user-agent': (include.includes('--user-agent') && userAgent)
'--user-agent': (include.includes('--user-agent') && null)
});

@@ -126,0 +126,0 @@ }

{
"name": "chlid-proxy",
"version": "1.0.1",
"version": "1.0.2",
"description": "Private Package",

@@ -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