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.3.3 to 0.3.4

11

index.js

@@ -97,2 +97,3 @@ var util = require('util')

var curl
, curl_path = 'curl'
, args = ['--silent', '--show-error', '--no-buffer']

@@ -124,2 +125,8 @@ , start = new Date

//Allow for a custom curl path
if (options.curl_path) {
curl_path = options.curl_path;
delete options.curl_path;
}
//Follow location by default

@@ -159,3 +166,3 @@ if ('max-redirs' in options) {

for (var key in options.data) {
data.push(encodeURIComponent(key) + '=' + encodeURIComponent(options.data[key]));
data.push(escape(key) + '=' + escape(options.data[key]));
}

@@ -234,3 +241,3 @@ options.data = data.join('&');

var proc_cmd = 'curl'
var proc_cmd = curl_path
, proc_options = { cwd: options.cwd || cwd };

@@ -237,0 +244,0 @@

2

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