Socket
Socket
Sign inDemoInstall

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.9 to 0.3.10

3

index.js

@@ -232,2 +232,5 @@ var util = require('util')

for (key in options) {
if (key === 'pretend') {
continue;
}
values = Array.isArray(options[key]) ? options[key] : [options[key]];

@@ -234,0 +237,0 @@ values.forEach(function (value) {

2

package.json
{ "name" : "curlrequest",
"description" : "A curl wrapper for node",
"version" : "0.3.9",
"version" : "0.3.10",
"homepage" : "https://github.com/chriso/curlrequest",

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

var curl = require('./');
var options = {
url: 'http://node.io'
};
(function next() {
curl.request(options, function (err, data, meta) {
console.log(meta.args);
next();
});
})();
curl.request({ url: 'http://google.com', pretend: true }, function (err, stdout, meta) {
console.log('%s %s', meta.cmd, '"' + meta.args.join('" "') + '"');
});
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