mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-06-06 09:18:21 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1bdd03e2d0
11
package.json
11
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "2.8.10",
|
||||
"version": "2.8.11",
|
||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
@ -35,10 +35,11 @@
|
||||
"jsdom": "^1.0.3",
|
||||
"socks5-http-client": "^0.1.6",
|
||||
"socks5-https-client": "^0.2.2",
|
||||
"http-proxy-agent": "^0.2.6",
|
||||
"https-proxy-agent": "^0.3.5",
|
||||
"tcp-ping": "^0.1.1",
|
||||
"request": "^2.48.0"
|
||||
"http-proxy-agent":"^0.2.6",
|
||||
"https-proxy-agent":"^0.3.5",
|
||||
"tcp-ping":"^0.1.1",
|
||||
"request":"^2.48.0",
|
||||
"moment":"^2.8.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
2
proxy.js
2
proxy.js
@ -15,6 +15,8 @@ try{
|
||||
GLOBAL.util['tcp-ping'] = require('tcp-ping');
|
||||
GLOBAL.util['request'] = require('request');
|
||||
GLOBAL.util['async'] = require('async');
|
||||
GLOBAL.util['underscore'] = require('underscore');
|
||||
GLOBAL.util['moment'] = require('moment');
|
||||
}catch(e){}
|
||||
|
||||
var http = require('http'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user