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

supra-http

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supra-http - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

dist/http.js

@@ -77,7 +77,7 @@ "use strict";

if (bodyContent) {
mergedOptions.headers['content-length'] = bodyContent.length;
mergedOptions.headers['content-length'] = Buffer.byteLength(bodyContent);
mergedOptions.headers['content-type'] = enums_1.CONTENT_TYPE.ApplicationJson;
}
else if (formContent) {
mergedOptions.headers['content-length'] = formContent.length;
mergedOptions.headers['content-length'] = Buffer.byteLength(formContent);
mergedOptions.headers['content-type'] = enums_1.CONTENT_TYPE.FormUrlEncoded;

@@ -84,0 +84,0 @@ }

{
"name": "supra-http",
"version": "1.2.1",
"version": "1.2.2",
"description": "Circuit breaking http client for NodeJs. And it is fast...",

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

Sorry, the diff of this file is not supported yet

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