1
0
mirror of https://github.com/alibaba/anyproxy.git synced 2025-05-10 14:58:27 +00:00

add request

This commit is contained in:
想当当 2014-11-13 11:32:59 +08:00
parent 805d851ecf
commit f9ca0b2b21
2 changed files with 4 additions and 2 deletions

@ -1,6 +1,6 @@
{
"name": "anyproxy",
"version": "2.8.6",
"version": "2.8.7",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js",
"bin": {
@ -34,7 +34,8 @@
"socks5-https-client": "^0.2.2",
"http-proxy-agent":"^0.2.6",
"https-proxy-agent":"^0.3.5",
"tcp-ping":"^0.1.1"
"tcp-ping":"^0.1.1",
"request":"^2.48.0"
},
"repository": {
"type":"git",

@ -13,6 +13,7 @@ try{
GLOBAL.util['HttpProxyAgent'] = require('http-proxy-agent');
GLOBAL.util['HttpsProxyAgent'] = require('https-proxy-agent');
GLOBAL.util['tcp-ping'] = require('tcp-ping');
GLOBAL.util['request'] = require('request');
GLOBAL.util['async'] = require('async');
}catch(e){}