Merge branch 'feature/docker' into 'gray'
Feature/docker See merge request !81
Showing
8 changed files
with
142 additions
and
86 deletions
Dockerfile
0 → 100644
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,12 +42,32 @@ module.exports = { | @@ -42,12 +42,32 @@ module.exports = { | ||
42 | }, | 42 | }, |
43 | useOneapm: false, | 43 | useOneapm: false, |
44 | useCache: true, | 44 | useCache: true, |
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 | 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 | + } | ||
51 | }, | 71 | }, |
52 | interfaceShunt: { | 72 | interfaceShunt: { |
53 | useInterfaceShunt: false, | 73 | useInterfaceShunt: false, |
@@ -64,25 +84,21 @@ module.exports = { | @@ -64,25 +84,21 @@ module.exports = { | ||
64 | infoFile: { | 84 | infoFile: { |
65 | name: 'info', | 85 | name: 'info', |
66 | level: 'info', | 86 | level: 'info', |
67 | - filename: 'logs/info.log', | 87 | + filename: '/Data/logs/yohoblk-wap/info.log', |
68 | maxFiles: 7 | 88 | maxFiles: 7 |
69 | }, | 89 | }, |
70 | errorFile: { | 90 | errorFile: { |
71 | name: 'error', | 91 | name: 'error', |
72 | level: 'error', | 92 | level: 'error', |
73 | - filename: 'logs/error.log', | 93 | + filename: '/Data/logs/yohoblk-wap/error.log', |
74 | handleExceptions: true, | 94 | handleExceptions: true, |
75 | maxFiles: 7 | 95 | maxFiles: 7 |
76 | }, | 96 | }, |
77 | - udp: { // send by udp | ||
78 | - level: 'debug', // logger level | ||
79 | - host: 'influxdblog.yohoops.org', // influxdb host | ||
80 | - port: '4444' // influxdb port | ||
81 | - }, | ||
82 | console: { | 97 | console: { |
83 | level: 'debug', | 98 | level: 'debug', |
84 | colorize: 'all', | 99 | colorize: 'all', |
85 | - prettyPrint: true | 100 | + prettyPrint: true, |
101 | + debugStdout: true | ||
86 | } | 102 | } |
87 | }, | 103 | }, |
88 | thirdLogin: { | 104 | thirdLogin: { |
@@ -101,12 +117,31 @@ if (isProduction) { | @@ -101,12 +117,31 @@ if (isProduction) { | ||
101 | service: 'http://api.yoho.yohoops.org/', | 117 | service: 'http://api.yoho.yohoops.org/', |
102 | singleApi: 'http://api.yoho.yohoops.org/', | 118 | singleApi: 'http://api.yoho.yohoops.org/', |
103 | }, | 119 | }, |
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 | 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 | + } | ||
110 | }, | 145 | }, |
111 | useOneapm: true, | 146 | useOneapm: true, |
112 | useCache: true, | 147 | useCache: true, |
@@ -125,25 +160,22 @@ if (isProduction) { | @@ -125,25 +160,22 @@ if (isProduction) { | ||
125 | infoFile: { | 160 | infoFile: { |
126 | name: 'info', | 161 | name: 'info', |
127 | level: 'info', | 162 | level: 'info', |
128 | - filename: 'logs/info.log', | 163 | + filename: '/Data/logs/yohoblk-wap/info.log', |
129 | maxFiles: 7 | 164 | maxFiles: 7 |
130 | }, | 165 | }, |
131 | errorFile: { | 166 | errorFile: { |
132 | name: 'error', | 167 | name: 'error', |
133 | level: 'error', | 168 | level: 'error', |
134 | - filename: 'logs/error.log', | 169 | + filename: '/Data/logs/yohoblk-wap/error.log', |
135 | handleExceptions: true, | 170 | handleExceptions: true, |
136 | maxFiles: 7 | 171 | maxFiles: 7 |
137 | }, | 172 | }, |
138 | - udp: { // send by udp | ||
139 | - level: 'debug', // logger level | ||
140 | - host: 'influxdblog.yohoops.org', // influxdb host | ||
141 | - port: '4444' // influxdb port | ||
142 | - }, | ||
143 | console: { | 173 | console: { |
174 | + close: true, | ||
144 | level: 'info', | 175 | level: 'info', |
145 | colorize: 'all', | 176 | colorize: 'all', |
146 | - prettyPrint: true | 177 | + prettyPrint: true, |
178 | + debugStdout: true | ||
147 | } | 179 | } |
148 | }, | 180 | }, |
149 | report: { | 181 | report: { |
@@ -160,13 +192,6 @@ if (isProduction) { | @@ -160,13 +192,6 @@ if (isProduction) { | ||
160 | service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/', | 192 | service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/', |
161 | singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/' | 193 | singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/' |
162 | }, | 194 | }, |
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 | - }, | ||
170 | useOneapm: true, | 195 | useOneapm: true, |
171 | useCache: true | 196 | useCache: true |
172 | }); | 197 | }); |
@@ -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 memcached = require('connect-memcached'); | 23 | +const redis = require('connect-redis'); |
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 MemcachedStore = memcached(session); | 30 | +const redisStore = redis(session); |
31 | 31 | ||
32 | // 全局注册library | 32 | // 全局注册library |
33 | yohoLib.global(config); | 33 | yohoLib.global(config); |
@@ -79,10 +79,7 @@ exports.createApp = async (app) => { | @@ -79,10 +79,7 @@ exports.createApp = async (app) => { | ||
79 | domain: 'yohoblk.com', | 79 | domain: 'yohoblk.com', |
80 | httpOnly: false | 80 | httpOnly: false |
81 | }, | 81 | }, |
82 | - store: new MemcachedStore({ | ||
83 | - hosts: config.memcache.session, | ||
84 | - prefix: 'yohoblk_session:' | ||
85 | - }) | 82 | + store: new redisStore(config.redis.session) |
86 | })); | 83 | })); |
87 | 84 | ||
88 | app.use((req, res, next) => { | 85 | app.use((req, res, next) => { |
@@ -115,6 +112,10 @@ exports.createApp = async (app) => { | @@ -115,6 +112,10 @@ exports.createApp = async (app) => { | ||
115 | await require('./doraemon/middleware/ssr')(app); | 112 | await require('./doraemon/middleware/ssr')(app); |
116 | require('./dispatch')(app); | 113 | require('./dispatch')(app); |
117 | 114 | ||
115 | + app.use('/crm/common/ok.jsp', (req, res) => { | ||
116 | + res.status(204).end(); | ||
117 | + }); | ||
118 | + | ||
118 | app.all('*', errorHanlder.notFound()); // 404 | 119 | app.all('*', errorHanlder.notFound()); // 404 |
119 | 120 | ||
120 | // YOHO 后置中间件 | 121 | // YOHO 后置中间件 |
docker.sh
0 → 100644
@@ -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", | ||
34 | "connect-multiparty": "^2.0.0", | 33 | "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,7 +42,6 @@ | @@ -42,7 +42,6 @@ | ||
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", | ||
46 | "mint-ui": "^1.0.2", | 45 | "mint-ui": "^1.0.2", |
47 | "moment": "^2.14.1", | 46 | "moment": "^2.14.1", |
48 | "morgan": "^1.7.0", | 47 | "morgan": "^1.7.0", |
@@ -68,7 +67,7 @@ | @@ -68,7 +67,7 @@ | ||
68 | "yoho-cookie": "1.2.0", | 67 | "yoho-cookie": "1.2.0", |
69 | "yoho-jquery": "^2.2.4", | 68 | "yoho-jquery": "^2.2.4", |
70 | "yoho-md5": "^2.0.0", | 69 | "yoho-md5": "^2.0.0", |
71 | - "yoho-node-lib": "=0.6.1", | 70 | + "yoho-node-lib": "=0.6.8", |
72 | "yoho-qs": "1.0.1", | 71 | "yoho-qs": "1.0.1", |
73 | "yoho-store": "^1.3.20" | 72 | "yoho-store": "^1.3.20" |
74 | }, | 73 | }, |
@@ -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,12 +1916,6 @@ connect-history-api-fallback@^1.3.0: | @@ -1916,12 +1916,6 @@ 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 | - | ||
1925 | connect-multiparty@^2.0.0: | 1919 | connect-multiparty@^2.0.0: |
1926 | version "2.1.0" | 1920 | version "2.1.0" |
1927 | resolved "http://npm.yohops.com/connect-multiparty/-/connect-multiparty-2.1.0.tgz#b562232ea638e13222d87e7b67be437f7ad89814" | 1921 | resolved "http://npm.yohops.com/connect-multiparty/-/connect-multiparty-2.1.0.tgz#b562232ea638e13222d87e7b67be437f7ad89814" |
@@ -1931,9 +1925,12 @@ connect-multiparty@^2.0.0: | @@ -1931,9 +1925,12 @@ connect-multiparty@^2.0.0: | ||
1931 | qs "~6.5.1" | 1925 | qs "~6.5.1" |
1932 | type-is "~1.6.15" | 1926 | type-is "~1.6.15" |
1933 | 1927 | ||
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" | 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" | ||
1937 | 1934 | ||
1938 | console-browserify@^1.1.0: | 1935 | console-browserify@^1.1.0: |
1939 | version "1.1.0" | 1936 | version "1.1.0" |
@@ -2594,6 +2591,10 @@ dot-prop@^4.1.0, dot-prop@^4.1.1: | @@ -2594,6 +2591,10 @@ dot-prop@^4.1.0, dot-prop@^4.1.1: | ||
2594 | dependencies: | 2591 | dependencies: |
2595 | is-obj "^1.0.0" | 2592 | is-obj "^1.0.0" |
2596 | 2593 | ||
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 | + | ||
2597 | duplexer2@0.0.2, duplexer2@~0.0.2: | 2598 | duplexer2@0.0.2, duplexer2@~0.0.2: |
2598 | version "0.0.2" | 2599 | version "0.0.2" |
2599 | resolved "http://npm.yohops.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" | 2600 | resolved "http://npm.yohops.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" |
@@ -3992,13 +3993,6 @@ hasha@^2.2.0: | @@ -3992,13 +3993,6 @@ hasha@^2.2.0: | ||
3992 | is-stream "^1.0.1" | 3993 | is-stream "^1.0.1" |
3993 | pinkie-promise "^2.0.0" | 3994 | pinkie-promise "^2.0.0" |
3994 | 3995 | ||
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 | - | ||
4002 | hawk@3.1.3, hawk@~3.1.3: | 3996 | hawk@3.1.3, hawk@~3.1.3: |
4003 | version "3.1.3" | 3997 | version "3.1.3" |
4004 | resolved "http://npm.yohops.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" | 3998 | resolved "http://npm.yohops.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" |
@@ -4683,12 +4677,6 @@ isstream@0.1.x, isstream@~0.1.2: | @@ -4683,12 +4677,6 @@ isstream@0.1.x, isstream@~0.1.2: | ||
4683 | version "0.1.2" | 4677 | version "0.1.2" |
4684 | resolved "http://npm.yohops.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" | 4678 | resolved "http://npm.yohops.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" |
4685 | 4679 | ||
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 | - | ||
4692 | jpeg-js@0.0.4: | 4680 | jpeg-js@0.0.4: |
4693 | version "0.0.4" | 4681 | version "0.0.4" |
4694 | resolved "http://npm.yohops.com/jpeg-js/-/jpeg-js-0.0.4.tgz#06aaf47efec7af0b1924a59cd695a6d2b5ed870e" | 4682 | resolved "http://npm.yohops.com/jpeg-js/-/jpeg-js-0.0.4.tgz#06aaf47efec7af0b1924a59cd695a6d2b5ed870e" |
@@ -5336,13 +5324,6 @@ mem@^1.1.0: | @@ -5336,13 +5324,6 @@ mem@^1.1.0: | ||
5336 | dependencies: | 5324 | dependencies: |
5337 | mimic-fn "^1.0.0" | 5325 | mimic-fn "^1.0.0" |
5338 | 5326 | ||
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 | - | ||
5346 | memory-fs@^0.2.0: | 5327 | memory-fs@^0.2.0: |
5347 | version "0.2.0" | 5328 | version "0.2.0" |
5348 | resolved "http://npm.yohops.com/memory-fs/-/memory-fs-0.2.0.tgz#f2bb25368bc121e391c2520de92969caee0a0290" | 5329 | resolved "http://npm.yohops.com/memory-fs/-/memory-fs-0.2.0.tgz#f2bb25368bc121e391c2520de92969caee0a0290" |
@@ -7475,10 +7456,26 @@ redent@^2.0.0: | @@ -7475,10 +7456,26 @@ redent@^2.0.0: | ||
7475 | indent-string "^3.0.0" | 7456 | indent-string "^3.0.0" |
7476 | strip-indent "^2.0.0" | 7457 | strip-indent "^2.0.0" |
7477 | 7458 | ||
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 | + | ||
7478 | redis-commands@^1.3.1: | 7463 | redis-commands@^1.3.1: |
7479 | version "1.3.4" | 7464 | version "1.3.4" |
7480 | resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.4.tgz#4822139fab8eaf366fdaaa98a12736054a2fd625" | 7465 | resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.4.tgz#4822139fab8eaf366fdaaa98a12736054a2fd625" |
7481 | 7466 | ||
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 | + | ||
7482 | reduce-css-calc@^1.2.6: | 7479 | reduce-css-calc@^1.2.6: |
7483 | version "1.3.0" | 7480 | version "1.3.0" |
7484 | resolved "http://npm.yohops.com/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz#747c914e049614a4c9cfbba629871ad1d2927716" | 7481 | resolved "http://npm.yohops.com/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz#747c914e049614a4c9cfbba629871ad1d2927716" |
@@ -7816,10 +7813,6 @@ ret@~0.1.10: | @@ -7816,10 +7813,6 @@ ret@~0.1.10: | ||
7816 | version "0.1.15" | 7813 | version "0.1.15" |
7817 | resolved "http://npm.yohops.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" | 7814 | resolved "http://npm.yohops.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" |
7818 | 7815 | ||
7819 | -retry@0.6.0: | ||
7820 | - version "0.6.0" | ||
7821 | - resolved "http://npm.yohops.com/retry/-/retry-0.6.0.tgz#1c010713279a6fd1e8def28af0c3ff1871caa537" | ||
7822 | - | ||
7823 | rgb@~0.1.0: | 7816 | rgb@~0.1.0: |
7824 | version "0.1.0" | 7817 | version "0.1.0" |
7825 | resolved "http://npm.yohops.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5" | 7818 | resolved "http://npm.yohops.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5" |
@@ -8158,10 +8151,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: | @@ -8158,10 +8151,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: | ||
8158 | version "3.0.2" | 8151 | version "3.0.2" |
8159 | resolved "http://npm.yohops.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" | 8152 | resolved "http://npm.yohops.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" |
8160 | 8153 | ||
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 | - | ||
8165 | slash@^1.0.0: | 8154 | slash@^1.0.0: |
8166 | version "1.0.0" | 8155 | version "1.0.0" |
8167 | resolved "http://npm.yohops.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" | 8156 | resolved "http://npm.yohops.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" |
@@ -10031,9 +10020,9 @@ yoho-md5@^2.0.0: | @@ -10031,9 +10020,9 @@ yoho-md5@^2.0.0: | ||
10031 | version "2.0.0" | 10020 | version "2.0.0" |
10032 | resolved "http://npm.yohops.com/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332" | 10021 | resolved "http://npm.yohops.com/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332" |
10033 | 10022 | ||
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" | 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" | ||
10037 | dependencies: | 10026 | dependencies: |
10038 | dnscache "^1.0.1" | 10027 | dnscache "^1.0.1" |
10039 | handlebars "^4.0.5" | 10028 | handlebars "^4.0.5" |
@@ -10041,9 +10030,9 @@ yoho-node-lib@=0.6.1: | @@ -10041,9 +10030,9 @@ yoho-node-lib@=0.6.1: | ||
10041 | lodash "^4.13.1" | 10030 | lodash "^4.13.1" |
10042 | lru-cache "^4.1.1" | 10031 | lru-cache "^4.1.1" |
10043 | md5 "^2.1.0" | 10032 | md5 "^2.1.0" |
10044 | - memcached "^2.2.2" | ||
10045 | moment "^2.13.0" | 10033 | moment "^2.13.0" |
10046 | pidusage "^1.1.6" | 10034 | pidusage "^1.1.6" |
10035 | + redis "^2.8.0" | ||
10047 | request "^2.81.0" | 10036 | request "^2.81.0" |
10048 | uuid "^3.0.1" | 10037 | uuid "^3.0.1" |
10049 | walk "^2.3.9" | 10038 | walk "^2.3.9" |
-
Please register or login to post a comment