This commit is contained in:
想当当 2014-10-30 17:56:52 +08:00
parent 875fc34341
commit ef83359a1e
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "anyproxy", "name": "anyproxy",
"version": "2.7.1", "version": "2.7.2",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.", "description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js", "main": "proxy.js",
"bin": { "bin": {
@ -24,7 +24,8 @@
"socks5-https-client": "^0.2.2", "socks5-https-client": "^0.2.2",
"stream-throttle": "^0.1.3", "stream-throttle": "^0.1.3",
"ws": "^0.4.32", "ws": "^0.4.32",
"cookie":"^0.1.2" "cookie":"^0.1.2",
"mysql":"^2.5.2"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {

View File

@ -7,6 +7,7 @@ try{
GLOBAL.util['jsdom'] = require('jsdom'); GLOBAL.util['jsdom'] = require('jsdom');
GLOBAL.util['cookie'] = require('cookie'); GLOBAL.util['cookie'] = require('cookie');
GLOBAL.util['jquery'] = require('jquery'); GLOBAL.util['jquery'] = require('jquery');
GLOBAL.util['mysql'] = require('mysql');
GLOBAL.util['Socks5ClientHttpAgent'] = require('socks5-http-client/lib/Agent'); GLOBAL.util['Socks5ClientHttpAgent'] = require('socks5-http-client/lib/Agent');
GLOBAL.util['Socks5ClientHttpsAgent'] = require('socks5-https-client/lib/Agent'); GLOBAL.util['Socks5ClientHttpsAgent'] = require('socks5-https-client/lib/Agent');
}catch(e){} }catch(e){}