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.7 to 0.2.8

9

index.js

@@ -145,2 +145,11 @@ var child = require('child_process')

//Parse POST data
if (options.data && typeof options.data === 'object') {
var data = [];
for (var key in options.data) {
data.push(encodeURIComponent(key) + '=' + encodeURIComponent(options.data[key]));
}
options.data = data.join('&');
}
//Check for the occurrence of a string and fail if not found

@@ -147,0 +156,0 @@ if (options.require) {

2

package.json
{ "name" : "curlrequest",
"description" : "A curl wrapper for node",
"version" : "0.2.7",
"version" : "0.2.8",
"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