Socket
Socket
Sign inDemoInstall

request-libcurl

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-libcurl - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

index.js

@@ -43,3 +43,7 @@ 'use strict';

const customHeaders = [`Host: ${url.hostname}`];
const customHeaders = [];
if (url.hostname) {
customHeaders.push(`Host: ${url.hostname}`);
}
for (let header in opts.headers) {

@@ -46,0 +50,0 @@ if (opts.headers[header]) {

6

package.json
{
"name": "request-libcurl",
"version": "1.0.2",
"version": "1.0.3",
"description": "Extremely stable HTTP request module built on top of libcurl with retries, timeouts, Promise and async/await API",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"scripts": {},
"repository": {

@@ -10,0 +8,0 @@ "type": "git",

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