Authored by 陈峰

Revert "Merge branch 'feature/docker' into 'master'"

This reverts merge request !79
1 -############################################################  
2 -# Dockerfile to build hystrix + turbin Installed Containers  
3 -# Based on centos 6.7  
4 -# How to build new image: docker build -t yoho-hystrix-qcloud .  
5 -# the hystrix alert need to post events to influxdb.yohoops.org.  
6 -# nginx version: 1.12.0  
7 -############################################################  
8 -  
9 -#base image : ccr.ccs.tencentyun.com/yoho-base/nodejs:8.9.1  
10 -FROM ccr.ccs.tencentyun.com/yoho-base/nodejs:8.9.1  
11 -  
12 -MAINTAINER feng.chen <feng.chen@yoho.cn>  
13 -  
14 -ENV NODE_ENV=production \  
15 - NODE_HOME=/home  
16 -  
17 -COPY yoho-blk-wap.tar.gz /home  
18 -  
19 -RUN cd /home && \  
20 - mkdir -p /home/yoho-blk-wap && \  
21 - mkdir -p /Data/log/yoho-blk-wap && \  
22 - mkdir -p /Data/log/yohoblk-wap && \  
23 - tar -xzvf yoho-blk-wap.tar.gz -C /home/yoho-blk-wap && \  
24 - rm -rf yoho-blk-wap.tar.gz  
25 -  
26 -WORKDIR /home/yoho-blk-wap  
27 -  
28 -#expose port  
29 -EXPOSE 6004  
30 -  
31 -CMD ["node","/home/yoho-blk-wap/app.js"]  
@@ -42,32 +42,12 @@ module.exports = { @@ -42,32 +42,12 @@ module.exports = {
42 }, 42 },
43 useOneapm: false, 43 useOneapm: false,
44 useCache: true, 44 useCache: true,
45 - redis: {  
46 - connect: {  
47 - host: '127.0.0.1',  
48 -  
49 - // host: '192.168.102.49',  
50 - port: '6379',  
51 - enable_offline_queue: false,  
52 - retry_strategy(options) {  
53 - if (options.error && options.error.code === 'ECONNREFUSED') {  
54 - console.log('connect redis server fail');  
55 - }  
56 -  
57 - if (options.attempt < 10) {  
58 - return Math.min(options.attempt * 100, 1000);  
59 - } else if (options.attempt > 10 && options.attempt < 100) {  
60 - return 1000;  
61 - } else {  
62 - return 1000 * 10;  
63 - }  
64 - }  
65 - },  
66 - session: {  
67 - host: '127.0.01',  
68 - port: '6379',  
69 - prefix: 'yohoblk_session:'  
70 - } 45 + memcache: {
  46 + master: ['127.0.0.1:11211'],
  47 + slave: ['127.0.0.1:11211'],
  48 + session: ['127.0.0.1:11211'],
  49 + timeout: 1000,
  50 + retries: 0
71 }, 51 },
72 interfaceShunt: { 52 interfaceShunt: {
73 useInterfaceShunt: false, 53 useInterfaceShunt: false,
@@ -84,21 +64,25 @@ module.exports = { @@ -84,21 +64,25 @@ module.exports = {
84 infoFile: { 64 infoFile: {
85 name: 'info', 65 name: 'info',
86 level: 'info', 66 level: 'info',
87 - filename: '/Data/logs/yohoblk-wap/info.log', 67 + filename: 'logs/info.log',
88 maxFiles: 7 68 maxFiles: 7
89 }, 69 },
90 errorFile: { 70 errorFile: {
91 name: 'error', 71 name: 'error',
92 level: 'error', 72 level: 'error',
93 - filename: '/Data/logs/yohoblk-wap/error.log', 73 + filename: 'logs/error.log',
94 handleExceptions: true, 74 handleExceptions: true,
95 maxFiles: 7 75 maxFiles: 7
96 }, 76 },
  77 + udp: { // send by udp
  78 + level: 'debug', // logger level
  79 + host: 'influxdblog.yohoops.org', // influxdb host
  80 + port: '4444' // influxdb port
  81 + },
97 console: { 82 console: {
98 level: 'debug', 83 level: 'debug',
99 colorize: 'all', 84 colorize: 'all',
100 - prettyPrint: true,  
101 - debugStdout: true 85 + prettyPrint: true
102 } 86 }
103 }, 87 },
104 thirdLogin: { 88 thirdLogin: {
@@ -117,31 +101,12 @@ if (isProduction) { @@ -117,31 +101,12 @@ if (isProduction) {
117 service: 'http://api.yoho.yohoops.org/', 101 service: 'http://api.yoho.yohoops.org/',
118 singleApi: 'http://api.yoho.yohoops.org/', 102 singleApi: 'http://api.yoho.yohoops.org/',
119 }, 103 },
120 - redis: {  
121 - connect: {  
122 - host: 'web.redis.yohoops.org',  
123 - port: '6379',  
124 - enable_offline_queue: false,  
125 - retry_strategy(options) {  
126 - if (options.error && options.error.code === 'ECONNREFUSED') {  
127 - console.log('connect redis server fail');  
128 - }  
129 -  
130 - if (options.attempt < 10) {  
131 - return Math.min(options.attempt * 100, 1000);  
132 - } else if (options.attempt > 10 && options.attempt < 100) {  
133 - return 1000;  
134 - } else {  
135 - return 1000 * 10;  
136 - }  
137 - }  
138 - },  
139 - session: {  
140 - host: 'redis.web.yohoops.org',  
141 - port: '6379',  
142 - pass: 'redis9646',  
143 - prefix: 'yohoblk_session:'  
144 - } 104 + memcache: {
  105 + master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
  106 + slave: [],
  107 + session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
  108 + timeout: 100,
  109 + retries: 0
145 }, 110 },
146 useOneapm: true, 111 useOneapm: true,
147 useCache: true, 112 useCache: true,
@@ -160,22 +125,25 @@ if (isProduction) { @@ -160,22 +125,25 @@ if (isProduction) {
160 infoFile: { 125 infoFile: {
161 name: 'info', 126 name: 'info',
162 level: 'info', 127 level: 'info',
163 - filename: '/Data/logs/yohoblk-wap/info.log', 128 + filename: 'logs/info.log',
164 maxFiles: 7 129 maxFiles: 7
165 }, 130 },
166 errorFile: { 131 errorFile: {
167 name: 'error', 132 name: 'error',
168 level: 'error', 133 level: 'error',
169 - filename: '/Data/logs/yohoblk-wap/error.log', 134 + filename: 'logs/error.log',
170 handleExceptions: true, 135 handleExceptions: true,
171 maxFiles: 7 136 maxFiles: 7
172 }, 137 },
  138 + udp: { // send by udp
  139 + level: 'debug', // logger level
  140 + host: 'influxdblog.yohoops.org', // influxdb host
  141 + port: '4444' // influxdb port
  142 + },
173 console: { 143 console: {
174 - close: true,  
175 level: 'info', 144 level: 'info',
176 colorize: 'all', 145 colorize: 'all',
177 - prettyPrint: true,  
178 - debugStdout: true 146 + prettyPrint: true
179 } 147 }
180 }, 148 },
181 report: { 149 report: {
@@ -192,7 +160,14 @@ if (isProduction) { @@ -192,7 +160,14 @@ if (isProduction) {
192 service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/', 160 service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/',
193 singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/' 161 singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/'
194 }, 162 },
  163 + memcache: {
  164 + master: ['127.0.0.1:11211'],
  165 + slave: ['127.0.0.1:11211'],
  166 + session: ['127.0.0.1:11211'],
  167 + timeout: 100,
  168 + retries: 0
  169 + },
195 useOneapm: true, 170 useOneapm: true,
196 useCache: true 171 useCache: true
197 }); 172 });
198 -} 173 +}
@@ -20,14 +20,14 @@ const cookieParser = require('cookie-parser'); @@ -20,14 +20,14 @@ const cookieParser = require('cookie-parser');
20 const favicon = require('serve-favicon'); 20 const favicon = require('serve-favicon');
21 const yohoLib = require('yoho-node-lib'); 21 const yohoLib = require('yoho-node-lib');
22 const session = require('express-session'); 22 const session = require('express-session');
23 -const redis = require('connect-redis'); 23 +const memcached = require('connect-memcached');
24 const pkg = require('./package.json'); 24 const pkg = require('./package.json');
25 const devtools = require('./doraemon/middleware/devtools'); 25 const devtools = require('./doraemon/middleware/devtools');
26 const _ = require('lodash'); 26 const _ = require('lodash');
27 27
28 const uuid = require('uuid'); 28 const uuid = require('uuid');
29 29
30 -const redisStore = redis(session); 30 +const MemcachedStore = memcached(session);
31 31
32 // 全局注册library 32 // 全局注册library
33 yohoLib.global(config); 33 yohoLib.global(config);
@@ -79,7 +79,10 @@ exports.createApp = async (app) => { @@ -79,7 +79,10 @@ exports.createApp = async (app) => {
79 domain: 'yohoblk.com', 79 domain: 'yohoblk.com',
80 httpOnly: false 80 httpOnly: false
81 }, 81 },
82 - store: new redisStore(config.redis.session) 82 + store: new MemcachedStore({
  83 + hosts: config.memcache.session,
  84 + prefix: 'yohoblk_session:'
  85 + })
83 })); 86 }));
84 87
85 app.use((req, res, next) => { 88 app.use((req, res, next) => {
@@ -112,10 +115,6 @@ exports.createApp = async (app) => { @@ -112,10 +115,6 @@ exports.createApp = async (app) => {
112 await require('./doraemon/middleware/ssr')(app); 115 await require('./doraemon/middleware/ssr')(app);
113 require('./dispatch')(app); 116 require('./dispatch')(app);
114 117
115 - app.use('/crm/common/ok.jsp', (req, res) => {  
116 - res.status(204).end();  
117 - });  
118 -  
119 app.all('*', errorHanlder.notFound()); // 404 118 app.all('*', errorHanlder.notFound()); // 404
120 119
121 // YOHO 后置中间件 120 // YOHO 后置中间件
1 -#!/bin/bash  
2 -wordir=$2  
3 -cd $wordir  
4 -rm -rf yoho-blk-wap.tar.gz  
5 -yarn  
6 -if [[ $1 == "TEST1" ]] || [[ $1 == "TEST2" ]] || [[ $1 == "TEST3" ]]  
7 -then  
8 -yarn build  
9 -fi  
10 -tar -czvf yoho-blk-wap.tar.gz *  
@@ -12,7 +12,6 @@ const routes = [ @@ -12,7 +12,6 @@ const routes = [
12 { 12 {
13 route: /product\/\d+/, 13 route: /product\/\d+/,
14 cache: true, 14 cache: true,
15 -  
16 // disable: true 15 // disable: true
17 }, 16 },
18 { 17 {
@@ -30,8 +30,8 @@ @@ -30,8 +30,8 @@
30 "babel-polyfill": "^6.26.0", 30 "babel-polyfill": "^6.26.0",
31 "bluebird": "^3.4.2", 31 "bluebird": "^3.4.2",
32 "body-parser": "^1.15.2", 32 "body-parser": "^1.15.2",
  33 + "connect-memcached": "^0.2.0",
33 "connect-multiparty": "^2.0.0", 34 "connect-multiparty": "^2.0.0",
34 - "connect-redis": "^3.3.3",  
35 "cookie-parser": "^1.4.3", 35 "cookie-parser": "^1.4.3",
36 "express": "^4.15.4", 36 "express": "^4.15.4",
37 "express-session": "^1.14.1", 37 "express-session": "^1.14.1",
@@ -42,6 +42,7 @@ @@ -42,6 +42,7 @@
42 "lodash": "^4.15.0", 42 "lodash": "^4.15.0",
43 "lodash-cli": "^4.17.4", 43 "lodash-cli": "^4.17.4",
44 "lru-cache": "^4.1.1", 44 "lru-cache": "^4.1.1",
  45 + "memcached": "^2.2.1",
45 "mint-ui": "^1.0.2", 46 "mint-ui": "^1.0.2",
46 "moment": "^2.14.1", 47 "moment": "^2.14.1",
47 "morgan": "^1.7.0", 48 "morgan": "^1.7.0",
@@ -67,7 +68,7 @@ @@ -67,7 +68,7 @@
67 "yoho-cookie": "1.2.0", 68 "yoho-cookie": "1.2.0",
68 "yoho-jquery": "^2.2.4", 69 "yoho-jquery": "^2.2.4",
69 "yoho-md5": "^2.0.0", 70 "yoho-md5": "^2.0.0",
70 - "yoho-node-lib": "=0.6.8", 71 + "yoho-node-lib": "=0.6.1",
71 "yoho-qs": "1.0.1", 72 "yoho-qs": "1.0.1",
72 "yoho-store": "^1.3.20" 73 "yoho-store": "^1.3.20"
73 }, 74 },
@@ -12,7 +12,7 @@ yoho.ready(() => { @@ -12,7 +12,7 @@ yoho.ready(() => {
12 yoho.showLoading(false); 12 yoho.showLoading(false);
13 13
14 $('.home').on('click', () => { 14 $('.home').on('click', () => {
15 - if (yoho.isYohoBuy) { 15 + if(yoho.isYohoBuy) {
16 yoho.goNewBack(); 16 yoho.goNewBack();
17 } else { 17 } else {
18 yoho.goBack(); 18 yoho.goBack();
@@ -1916,6 +1916,12 @@ connect-history-api-fallback@^1.3.0: @@ -1916,6 +1916,12 @@ connect-history-api-fallback@^1.3.0:
1916 version "1.5.0" 1916 version "1.5.0"
1917 resolved "http://npm.yohops.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a" 1917 resolved "http://npm.yohops.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a"
1918 1918
  1919 +connect-memcached@^0.2.0:
  1920 + version "0.2.0"
  1921 + resolved "http://npm.yohops.com/connect-memcached/-/connect-memcached-0.2.0.tgz#64907180324e117d9e8f299c994c0cb03d5020cf"
  1922 + dependencies:
  1923 + memcached "2.2.x"
  1924 +
1919 connect-multiparty@^2.0.0: 1925 connect-multiparty@^2.0.0:
1920 version "2.1.0" 1926 version "2.1.0"
1921 resolved "http://npm.yohops.com/connect-multiparty/-/connect-multiparty-2.1.0.tgz#b562232ea638e13222d87e7b67be437f7ad89814" 1927 resolved "http://npm.yohops.com/connect-multiparty/-/connect-multiparty-2.1.0.tgz#b562232ea638e13222d87e7b67be437f7ad89814"
@@ -1925,12 +1931,9 @@ connect-multiparty@^2.0.0: @@ -1925,12 +1931,9 @@ connect-multiparty@^2.0.0:
1925 qs "~6.5.1" 1931 qs "~6.5.1"
1926 type-is "~1.6.15" 1932 type-is "~1.6.15"
1927 1933
1928 -connect-redis@^3.3.3:  
1929 - version "3.3.3"  
1930 - resolved "http://npm.yohops.com/connect-redis/-/connect-redis-3.3.3.tgz#0fb8f370192f62da75ec7a9507807599fbe15b37"  
1931 - dependencies:  
1932 - debug "^3.1.0"  
1933 - redis "^2.1.0" 1934 +connection-parse@0.0.x:
  1935 + version "0.0.7"
  1936 + resolved "http://npm.yohops.com/connection-parse/-/connection-parse-0.0.7.tgz#18e7318aab06a699267372b10c5226d25a1c9a69"
1934 1937
1935 console-browserify@^1.1.0: 1938 console-browserify@^1.1.0:
1936 version "1.1.0" 1939 version "1.1.0"
@@ -2591,10 +2594,6 @@ dot-prop@^4.1.0, dot-prop@^4.1.1: @@ -2591,10 +2594,6 @@ dot-prop@^4.1.0, dot-prop@^4.1.1:
2591 dependencies: 2594 dependencies:
2592 is-obj "^1.0.0" 2595 is-obj "^1.0.0"
2593 2596
2594 -double-ended-queue@^2.1.0-0:  
2595 - version "2.1.0-0"  
2596 - resolved "http://npm.yohops.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"  
2597 -  
2598 duplexer2@0.0.2, duplexer2@~0.0.2: 2597 duplexer2@0.0.2, duplexer2@~0.0.2:
2599 version "0.0.2" 2598 version "0.0.2"
2600 resolved "http://npm.yohops.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" 2599 resolved "http://npm.yohops.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db"
@@ -3993,6 +3992,13 @@ hasha@^2.2.0: @@ -3993,6 +3992,13 @@ hasha@^2.2.0:
3993 is-stream "^1.0.1" 3992 is-stream "^1.0.1"
3994 pinkie-promise "^2.0.0" 3993 pinkie-promise "^2.0.0"
3995 3994
  3995 +hashring@3.2.x:
  3996 + version "3.2.0"
  3997 + resolved "http://npm.yohops.com/hashring/-/hashring-3.2.0.tgz#fda4efde8aa22cdb97fb1d2a65e88401e1c144ce"
  3998 + dependencies:
  3999 + connection-parse "0.0.x"
  4000 + simple-lru-cache "0.0.x"
  4001 +
3996 hawk@3.1.3, hawk@~3.1.3: 4002 hawk@3.1.3, hawk@~3.1.3:
3997 version "3.1.3" 4003 version "3.1.3"
3998 resolved "http://npm.yohops.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 4004 resolved "http://npm.yohops.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4"
@@ -4677,6 +4683,12 @@ isstream@0.1.x, isstream@~0.1.2: @@ -4677,6 +4683,12 @@ isstream@0.1.x, isstream@~0.1.2:
4677 version "0.1.2" 4683 version "0.1.2"
4678 resolved "http://npm.yohops.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 4684 resolved "http://npm.yohops.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
4679 4685
  4686 +jackpot@>=0.0.6:
  4687 + version "0.0.6"
  4688 + resolved "http://npm.yohops.com/jackpot/-/jackpot-0.0.6.tgz#3cff064285cbf66f4eab2593c90bce816a821849"
  4689 + dependencies:
  4690 + retry "0.6.0"
  4691 +
4680 jpeg-js@0.0.4: 4692 jpeg-js@0.0.4:
4681 version "0.0.4" 4693 version "0.0.4"
4682 resolved "http://npm.yohops.com/jpeg-js/-/jpeg-js-0.0.4.tgz#06aaf47efec7af0b1924a59cd695a6d2b5ed870e" 4694 resolved "http://npm.yohops.com/jpeg-js/-/jpeg-js-0.0.4.tgz#06aaf47efec7af0b1924a59cd695a6d2b5ed870e"
@@ -5324,6 +5336,13 @@ mem@^1.1.0: @@ -5324,6 +5336,13 @@ mem@^1.1.0:
5324 dependencies: 5336 dependencies:
5325 mimic-fn "^1.0.0" 5337 mimic-fn "^1.0.0"
5326 5338
  5339 +memcached@2.2.x, memcached@^2.2.1, memcached@^2.2.2:
  5340 + version "2.2.2"
  5341 + resolved "http://npm.yohops.com/memcached/-/memcached-2.2.2.tgz#68f86ccfd84bcf93cc25ed46d6d7fc0c7521c9d5"
  5342 + dependencies:
  5343 + hashring "3.2.x"
  5344 + jackpot ">=0.0.6"
  5345 +
5327 memory-fs@^0.2.0: 5346 memory-fs@^0.2.0:
5328 version "0.2.0" 5347 version "0.2.0"
5329 resolved "http://npm.yohops.com/memory-fs/-/memory-fs-0.2.0.tgz#f2bb25368bc121e391c2520de92969caee0a0290" 5348 resolved "http://npm.yohops.com/memory-fs/-/memory-fs-0.2.0.tgz#f2bb25368bc121e391c2520de92969caee0a0290"
@@ -7456,26 +7475,10 @@ redent@^2.0.0: @@ -7456,26 +7475,10 @@ redent@^2.0.0:
7456 indent-string "^3.0.0" 7475 indent-string "^3.0.0"
7457 strip-indent "^2.0.0" 7476 strip-indent "^2.0.0"
7458 7477
7459 -redis-commands@^1.2.0:  
7460 - version "1.3.5"  
7461 - resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.5.tgz#4495889414f1e886261180b1442e7295602d83a2"  
7462 -  
7463 redis-commands@^1.3.1: 7478 redis-commands@^1.3.1:
7464 version "1.3.4" 7479 version "1.3.4"
7465 resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.4.tgz#4822139fab8eaf366fdaaa98a12736054a2fd625" 7480 resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.4.tgz#4822139fab8eaf366fdaaa98a12736054a2fd625"
7466 7481
7467 -redis-parser@^2.6.0:  
7468 - version "2.6.0"  
7469 - resolved "http://npm.yohops.com/redis-parser/-/redis-parser-2.6.0.tgz#52ed09dacac108f1a631c07e9b69941e7a19504b"  
7470 -  
7471 -redis@^2.1.0, redis@^2.8.0:  
7472 - version "2.8.0"  
7473 - resolved "http://npm.yohops.com/redis/-/redis-2.8.0.tgz#202288e3f58c49f6079d97af7a10e1303ae14b02"  
7474 - dependencies:  
7475 - double-ended-queue "^2.1.0-0"  
7476 - redis-commands "^1.2.0"  
7477 - redis-parser "^2.6.0"  
7478 -  
7479 reduce-css-calc@^1.2.6: 7482 reduce-css-calc@^1.2.6:
7480 version "1.3.0" 7483 version "1.3.0"
7481 resolved "http://npm.yohops.com/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz#747c914e049614a4c9cfbba629871ad1d2927716" 7484 resolved "http://npm.yohops.com/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz#747c914e049614a4c9cfbba629871ad1d2927716"
@@ -7813,6 +7816,10 @@ ret@~0.1.10: @@ -7813,6 +7816,10 @@ ret@~0.1.10:
7813 version "0.1.15" 7816 version "0.1.15"
7814 resolved "http://npm.yohops.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" 7817 resolved "http://npm.yohops.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
7815 7818
  7819 +retry@0.6.0:
  7820 + version "0.6.0"
  7821 + resolved "http://npm.yohops.com/retry/-/retry-0.6.0.tgz#1c010713279a6fd1e8def28af0c3ff1871caa537"
  7822 +
7816 rgb@~0.1.0: 7823 rgb@~0.1.0:
7817 version "0.1.0" 7824 version "0.1.0"
7818 resolved "http://npm.yohops.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5" 7825 resolved "http://npm.yohops.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5"
@@ -8151,6 +8158,10 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: @@ -8151,6 +8158,10 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
8151 version "3.0.2" 8158 version "3.0.2"
8152 resolved "http://npm.yohops.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 8159 resolved "http://npm.yohops.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
8153 8160
  8161 +simple-lru-cache@0.0.x:
  8162 + version "0.0.2"
  8163 + resolved "http://npm.yohops.com/simple-lru-cache/-/simple-lru-cache-0.0.2.tgz#d59cc3a193c1a5d0320f84ee732f6e4713e511dd"
  8164 +
8154 slash@^1.0.0: 8165 slash@^1.0.0:
8155 version "1.0.0" 8166 version "1.0.0"
8156 resolved "http://npm.yohops.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 8167 resolved "http://npm.yohops.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
@@ -10020,9 +10031,9 @@ yoho-md5@^2.0.0: @@ -10020,9 +10031,9 @@ yoho-md5@^2.0.0:
10020 version "2.0.0" 10031 version "2.0.0"
10021 resolved "http://npm.yohops.com/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332" 10032 resolved "http://npm.yohops.com/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332"
10022 10033
10023 -yoho-node-lib@=0.6.8:  
10024 - version "0.6.8"  
10025 - resolved "http://npm.yohops.com/yoho-node-lib/-/yoho-node-lib-0.6.8.tgz#299266f52b9a8cf86f3a439529a5e00b9e9592f2" 10034 +yoho-node-lib@=0.6.1:
  10035 + version "0.6.1"
  10036 + resolved "http://npm.yohops.com/yoho-node-lib/-/yoho-node-lib-0.6.1.tgz#df5f4a22a945371b84db63360d44d37ff68510e6"
10026 dependencies: 10037 dependencies:
10027 dnscache "^1.0.1" 10038 dnscache "^1.0.1"
10028 handlebars "^4.0.5" 10039 handlebars "^4.0.5"
@@ -10030,9 +10041,9 @@ yoho-node-lib@=0.6.8: @@ -10030,9 +10041,9 @@ yoho-node-lib@=0.6.8:
10030 lodash "^4.13.1" 10041 lodash "^4.13.1"
10031 lru-cache "^4.1.1" 10042 lru-cache "^4.1.1"
10032 md5 "^2.1.0" 10043 md5 "^2.1.0"
  10044 + memcached "^2.2.2"
10033 moment "^2.13.0" 10045 moment "^2.13.0"
10034 pidusage "^1.1.6" 10046 pidusage "^1.1.6"
10035 - redis "^2.8.0"  
10036 request "^2.81.0" 10047 request "^2.81.0"
10037 uuid "^3.0.1" 10048 uuid "^3.0.1"
10038 walk "^2.3.9" 10049 walk "^2.3.9"