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

muhb

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

muhb - npm Package Compare versions

Comparing version 3.2.1-rc1 to 3.2.1-rc2

7

lib/request.js

@@ -189,8 +189,3 @@ const http = require('http');

if(ctx.settings.auth){
const headers = {}
// for(const h of ctx.options.headers)
// headers[h.toLowerCase()] = ctx.options.headers[h];
// delete headers['content-length'];
// delete headers['content-type'];
// delete headers['content-encoding'];
const headers = { ...ctx.options.headers };
const challengeReq = ctx.client.request({ ...ctx.options, headers });

@@ -197,0 +192,0 @@ challengeReq.removeHeader('content-length');

2

package.json
{
"name": "muhb",
"version": "3.2.1-rc1",
"version": "3.2.1-rc2",
"description": "A set of functions for coding easy to read HTTP requests.",

@@ -5,0 +5,0 @@ "main": "lib/main.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