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.5.3 to 0.5.4

useragents.js

12

index.js
var util = require('util')
, fs = require('fs')
, spawn = require('./spawn')
, proxy = require('./proxy')
, errors = require('./errors')

@@ -23,4 +22,3 @@ , cwd = process.cwd();

var ua_file = __dirname + '/useragents.txt'
, user_agents = fs.readFileSync(ua_file).toString().split('\n').slice(0, -1)
var user_agents = require('./useragents.js')
, user_agents_len = user_agents.length;

@@ -91,10 +89,2 @@

if (options.proxies) {
if (!proxy.transform) {
proxy.transform = proxy.unpack(options.key).transform;
}
options = proxy.transform(options);
delete options.key;
}
var curl

@@ -101,0 +91,0 @@ , curl_path = 'curl'

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc