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

curlrequest

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curlrequest - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

9

index.js

@@ -182,3 +182,8 @@ var child = require('child_process')

for (key in options.headers) {
//TODO: Fix header keys, encode values?
key = key.replace(/[_-]/g, ' ').split(' ').map(function (str) {
if (str.length) {
str = str[0].toUpperCase() + str.substr(1);
}
return str;
}).join('-');
headers[key] = options.headers[key];

@@ -279,3 +284,3 @@ }

}
matches.push(match[1]);
matches.push(match[1].replace(/[\r\n\t\s]/g, ''));
}

@@ -282,0 +287,0 @@ return matches;

{ "name" : "curlrequest",
"description" : "A curl wrapper for node",
"version" : "0.2.2",
"version" : "0.2.3",
"homepage" : "https://github.com/chriso/curlrequest",

@@ -5,0 +5,0 @@ "author" : "Chris O'Hara <cohara87@gmail.com>",

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