mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 15:31:26 +00:00
add moment
This commit is contained in:
parent
6279982aaf
commit
08ab9c9ef7
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "anyproxy",
|
"name": "anyproxy",
|
||||||
"version": "2.8.10",
|
"version": "2.8.11",
|
||||||
"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": {
|
||||||
@ -36,7 +36,8 @@
|
|||||||
"http-proxy-agent":"^0.2.6",
|
"http-proxy-agent":"^0.2.6",
|
||||||
"https-proxy-agent":"^0.3.5",
|
"https-proxy-agent":"^0.3.5",
|
||||||
"tcp-ping":"^0.1.1",
|
"tcp-ping":"^0.1.1",
|
||||||
"request":"^2.48.0"
|
"request":"^2.48.0",
|
||||||
|
"moment":"^2.8.3"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type":"git",
|
"type":"git",
|
||||||
|
2
proxy.js
2
proxy.js
@ -15,6 +15,8 @@ try{
|
|||||||
GLOBAL.util['tcp-ping'] = require('tcp-ping');
|
GLOBAL.util['tcp-ping'] = require('tcp-ping');
|
||||||
GLOBAL.util['request'] = require('request');
|
GLOBAL.util['request'] = require('request');
|
||||||
GLOBAL.util['async'] = require('async');
|
GLOBAL.util['async'] = require('async');
|
||||||
|
GLOBAL.util['underscore'] = require('underscore');
|
||||||
|
GLOBAL.util['moment'] = require('moment');
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
|
|
||||||
var http = require('http'),
|
var http = require('http'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user