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

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 0.0.4 to 0.0.5

8

index.js

@@ -93,5 +93,7 @@ 'use strict';

const headers = {};
delete _headers[0].result;
for (let headerName in _headers[0]) {
headers[headerName.toLowerCase()] = _headers[0][headerName];
if (_headers && _headers[0]) {
delete _headers[0].result;
for (let headerName in _headers[0]) {
headers[headerName.toLowerCase()] = _headers[0][headerName];
}
}

@@ -98,0 +100,0 @@ cb ? cb(void 0, {statusCode, body, headers}) : resolve({statusCode, body, headers});

{
"name": "request-libcurl",
"version": "0.0.4",
"version": "0.0.5",
"description": "Extremely stable HTTP request module built on top of libcurl with retries, timeouts, Promise and async/await API",

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