Socket
Socket
Sign inDemoInstall

ant-http

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.5

3

anthttp.js

@@ -239,2 +239,3 @@ const http = require('http');

}
console.log(formData);
}

@@ -246,3 +247,3 @@

r.options.headers['Content-Type'] += `boundary=${bdy}`;
r.options.headers['Content-Length'] = Buffer.byteLength(payload) + Buffer.byteLength(end_data) + fs.statSync(r.pathname).size;
r.options.headers['Content-Length'] = Buffer.byteLength(payload) + Buffer.byteLength(end_data) + fs.statSync(r.pathname).size + Buffer.byteLength(formData);

@@ -249,0 +250,0 @@ var http_request = r.httpr.request(r.options, (res) => {

{
"name": "ant-http",
"version": "1.1.3",
"version": "1.1.5",
"description": "simple http/https request lib",

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

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