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

oohttp

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oohttp - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

index.js

@@ -434,3 +434,10 @@ 'use strict';

options.method = this.method || Request.defaults.method;
options.headers = Object.assign({}, Request.defaults.headers, this.headers);
for (const key in options.headers) {
if (typeof options.headers[key] !== 'string' && typeof options.headers[key] !== 'number') {
delete options.headers[key];
}
}
options.rejectUnauthorized = typeof this.rejectUnauthorized === 'boolean' ? this.rejectUnauthorized : Request.defaults.rejectUnauthorized;

@@ -437,0 +444,0 @@

2

package.json
{
"name": "oohttp",
"version": "0.3.0",
"version": "0.3.1",
"description": "object-oriented http(s) request handler",

@@ -5,0 +5,0 @@ "license": "MIT",

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