From 08ab9c9ef773625a01eef2592df1c9198008a78e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=83=B3=E5=BD=93=E5=BD=93?= <donghua.yan@alipay.com>
Date: Fri, 14 Nov 2014 17:28:49 +0800
Subject: [PATCH] add moment

---
 package.json | 5 +++--
 proxy.js     | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index c93c36d..d8e94a5 100644
--- a/package.json
+++ b/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": {
@@ -36,7 +36,8 @@
     "http-proxy-agent":"^0.2.6",
     "https-proxy-agent":"^0.3.5",
     "tcp-ping":"^0.1.1",
-    "request":"^2.48.0"
+    "request":"^2.48.0",
+    "moment":"^2.8.3"
   },
   "repository": {
     "type":"git",
diff --git a/proxy.js b/proxy.js
index 0e42d7a..5e6428d 100644
--- a/proxy.js
+++ b/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'),