Socket
Socket
Sign inDemoInstall

curlrequest

Package Overview
Dependencies
0
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.7 to 0.3.8

test.js

18

index.js

@@ -79,2 +79,4 @@ var util = require('util')

options = { url: options };
} else {
options = exports.copy(options);
}

@@ -379,1 +381,17 @@

/**
* A helper for copying an object.
*/
exports.copy = function (obj) {
var copy = {};
for (var i in obj) {
if (typeof obj[i] === 'object') {
copy[i] = exports.copy(obj[i]);
} else {
copy[i] = obj[i];
}
}
return copy;
};

2

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc