This commit is contained in:
想当当 2014-10-29 10:08:53 +08:00
parent 785924dec2
commit df48d5ea59
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "anyproxy",
"version": "2.6.0",
"version": "2.6.1",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js",
"bin": {
@ -22,7 +22,8 @@
"socks5-https-client": "^0.2.2",
"ws": "^0.4.32",
"jsdom":"^1.0.3",
"jquery":"^2.1.1"
"jquery":"^2.1.1",
"cookie":"^0.1.2"
},
"devDependencies": {},
"scripts": {

View File

@ -5,6 +5,7 @@ try{
GLOBAL.util['colorful'] = require("colorful");
GLOBAL.util['path'] = require("path");
GLOBAL.util['jsdom'] = require('jsdom');
GLOBAL.util['cookie'] = require('cookie');
GLOBAL.util['jquery'] = require('jquery');
GLOBAL.util['Socks5ClientHttpAgent'] = require('socks5-http-client/lib/Agent');
GLOBAL.util['Socks5ClientHttpsAgent'] = require('socks5-https-client/lib/Agent');