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.5 to 0.3.6

16

index.js

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

, scope = {}
, cmd = 'curl ' + args.join(' ')
, cmd = 'curl'
, timeout;

@@ -120,2 +120,3 @@

cmd: cmd
, args: args
, time: (new Date().getTime() - start.getTime())

@@ -240,13 +241,14 @@ });

var proc_cmd = curl_path
, proc_options = { cwd: options.cwd || cwd };
if (options.file) {
proc_cmd = 'cat';
cmd = 'cat';
args = [options.file];
cmd = 'cat ' + options.file;
}
//Simulate the spawn?
if (options.pretend) {
return finish();
}
//Spawn the process
spawn(proc_cmd, args, options, function (curl) {
child = spawn(cmd, args, { cwd: options.cwd || cwd }, function (curl) {

@@ -253,0 +255,0 @@ //Collect stdout

{ "name" : "curlrequest",
"description" : "A curl wrapper for node",
"version" : "0.3.5",
"version" : "0.3.6",
"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