Authored by 李奇

session_key添加

@@ -83,7 +83,7 @@ module.exports = { @@ -83,7 +83,7 @@ module.exports = {
83 port: '4444' // influxdb port 83 port: '4444' // influxdb port
84 }, 84 },
85 console: { 85 console: {
86 - level: 'info', 86 + level: 'debug',
87 colorize: 'all', 87 colorize: 'all',
88 prettyPrint: true 88 prettyPrint: true
89 } 89 }
@@ -124,6 +124,31 @@ if (isProduction) { @@ -124,6 +124,31 @@ if (isProduction) {
124 service: 'service-yoho-579825100.cn-north-1.elb.amazonaws.com.cn' 124 service: 'service-yoho-579825100.cn-north-1.elb.amazonaws.com.cn'
125 } 125 }
126 }, 126 },
  127 + loggers: {
  128 + infoFile: {
  129 + name: 'info',
  130 + level: 'info',
  131 + filename: 'logs/info.log',
  132 + maxFiles: 7
  133 + },
  134 + errorFile: {
  135 + name: 'error',
  136 + level: 'error',
  137 + filename: 'logs/error.log',
  138 + handleExceptions: true,
  139 + maxFiles: 7
  140 + },
  141 + udp: { // send by udp
  142 + level: 'debug', // logger level
  143 + host: 'influxdblog.yohoops.org', // influxdb host
  144 + port: '4444' // influxdb port
  145 + },
  146 + console: {
  147 + level: 'info',
  148 + colorize: 'all',
  149 + prettyPrint: true
  150 + }
  151 + },
127 report: { 152 report: {
128 host: 'influxdblog.web.yohoops.org', 153 host: 'influxdblog.web.yohoops.org',
129 port: 8086, 154 port: 8086,
@@ -26,7 +26,7 @@ module.exports = () => { @@ -26,7 +26,7 @@ module.exports = () => {
26 return _.parseInt(req.cookies.app_uid); 26 return _.parseInt(req.cookies.app_uid);
27 }, 27 },
28 sessionKey: req.cookies.app_session_key, 28 sessionKey: req.cookies.app_session_key,
29 - appVersion: req.query.app_version || req.cookies.app_version || config.appVersion, 29 + appVersion: req.cookies.app_version || req.query.app_version || config.appVersion,
30 appSessionType: req.cookies.app_client_type 30 appSessionType: req.cookies.app_client_type
31 }; 31 };
32 } 32 }
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 "yoho-cookie": "1.2.0", 51 "yoho-cookie": "1.2.0",
52 "yoho-jquery": "^2.2.4", 52 "yoho-jquery": "^2.2.4",
53 "yoho-md5": "^2.0.0", 53 "yoho-md5": "^2.0.0",
54 - "yoho-node-lib": "=0.5.6", 54 + "yoho-node-lib": "=0.5.21",
55 "yoho-qs": "1.0.1", 55 "yoho-qs": "1.0.1",
56 "yoho-store": "^1.3.20" 56 "yoho-store": "^1.3.20"
57 }, 57 },
@@ -5,7 +5,7 @@ const devInfo = require('./dev-info.js'); @@ -5,7 +5,7 @@ const devInfo = require('./dev-info.js');
5 5
6 let baseConfig = require('./webpack.base.config'); 6 let baseConfig = require('./webpack.base.config');
7 7
8 -baseConfig.entry.libs.push(path.join(__dirname, '../js/dev.js')); 8 +// baseConfig.entry.libs.push(path.join(__dirname, '../js/dev.js'));
9 9
10 module.exports = merge(baseConfig, { 10 module.exports = merge(baseConfig, {
11 output: { 11 output: {
@@ -72,6 +72,15 @@ ajv@^5.0.0, ajv@^5.1.5: @@ -72,6 +72,15 @@ ajv@^5.0.0, ajv@^5.1.5:
72 json-schema-traverse "^0.3.0" 72 json-schema-traverse "^0.3.0"
73 json-stable-stringify "^1.0.1" 73 json-stable-stringify "^1.0.1"
74 74
  75 +ajv@^5.1.0:
  76 + version "5.3.0"
  77 + resolved "http://npm.yoho.cn/ajv/-/ajv-5.3.0.tgz#4414ff74a50879c208ee5fdc826e32c303549eda"
  78 + dependencies:
  79 + co "^4.6.0"
  80 + fast-deep-equal "^1.0.0"
  81 + fast-json-stable-stringify "^2.0.0"
  82 + json-schema-traverse "^0.3.0"
  83 +
75 align-text@^0.1.1, align-text@^0.1.3: 84 align-text@^0.1.1, align-text@^0.1.3:
76 version "0.1.4" 85 version "0.1.4"
77 resolved "http://npm.yoho.cn/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 86 resolved "http://npm.yoho.cn/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117"
@@ -311,7 +320,11 @@ aws-sign2@~0.6.0: @@ -311,7 +320,11 @@ aws-sign2@~0.6.0:
311 version "0.6.0" 320 version "0.6.0"
312 resolved "http://npm.yoho.cn/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 321 resolved "http://npm.yoho.cn/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f"
313 322
314 -aws4@^1.2.1: 323 +aws-sign2@~0.7.0:
  324 + version "0.7.0"
  325 + resolved "http://npm.yoho.cn/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
  326 +
  327 +aws4@^1.2.1, aws4@^1.6.0:
315 version "1.6.0" 328 version "1.6.0"
316 resolved "http://npm.yoho.cn/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 329 resolved "http://npm.yoho.cn/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
317 330
@@ -963,6 +976,18 @@ boom@2.x.x: @@ -963,6 +976,18 @@ boom@2.x.x:
963 dependencies: 976 dependencies:
964 hoek "2.x.x" 977 hoek "2.x.x"
965 978
  979 +boom@4.x.x:
  980 + version "4.3.1"
  981 + resolved "http://npm.yoho.cn/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31"
  982 + dependencies:
  983 + hoek "4.x.x"
  984 +
  985 +boom@5.x.x:
  986 + version "5.2.0"
  987 + resolved "http://npm.yoho.cn/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02"
  988 + dependencies:
  989 + hoek "4.x.x"
  990 +
966 brace-expansion@^1.1.7: 991 brace-expansion@^1.1.7:
967 version "1.1.8" 992 version "1.1.8"
968 resolved "http://npm.yoho.cn/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 993 resolved "http://npm.yoho.cn/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
@@ -1754,6 +1779,12 @@ cryptiles@2.x.x: @@ -1754,6 +1779,12 @@ cryptiles@2.x.x:
1754 dependencies: 1779 dependencies:
1755 boom "2.x.x" 1780 boom "2.x.x"
1756 1781
  1782 +cryptiles@3.x.x:
  1783 + version "3.1.2"
  1784 + resolved "http://npm.yoho.cn/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe"
  1785 + dependencies:
  1786 + boom "5.x.x"
  1787 +
1757 crypto-browserify@3.3.0: 1788 crypto-browserify@3.3.0:
1758 version "3.3.0" 1789 version "3.3.0"
1759 resolved "http://npm.yoho.cn/crypto-browserify/-/crypto-browserify-3.3.0.tgz#b9fc75bb4a0ed61dcf1cd5dae96eb30c9c3e506c" 1790 resolved "http://npm.yoho.cn/crypto-browserify/-/crypto-browserify-3.3.0.tgz#b9fc75bb4a0ed61dcf1cd5dae96eb30c9c3e506c"
@@ -2108,6 +2139,13 @@ dns-txt@^2.0.2: @@ -2108,6 +2139,13 @@ dns-txt@^2.0.2:
2108 dependencies: 2139 dependencies:
2109 buffer-indexof "^1.0.0" 2140 buffer-indexof "^1.0.0"
2110 2141
  2142 +dnscache@^1.0.1:
  2143 + version "1.0.1"
  2144 + resolved "http://npm.yoho.cn/dnscache/-/dnscache-1.0.1.tgz#42cb2b9bfb5e8fbdfa395aac74e127fc05074d31"
  2145 + dependencies:
  2146 + asap "~2.0.3"
  2147 + lodash.clone "~4.3.2"
  2148 +
2111 doctrine@^2.0.0: 2149 doctrine@^2.0.0:
2112 version "2.0.0" 2150 version "2.0.0"
2113 resolved "http://npm.yoho.cn/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63" 2151 resolved "http://npm.yoho.cn/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63"
@@ -2680,7 +2718,7 @@ express@^4.13.3, express@^4.14.0, express@^4.15.2: @@ -2680,7 +2718,7 @@ express@^4.13.3, express@^4.14.0, express@^4.15.2:
2680 utils-merge "1.0.0" 2718 utils-merge "1.0.0"
2681 vary "~1.1.1" 2719 vary "~1.1.1"
2682 2720
2683 -extend@~3.0.0: 2721 +extend@~3.0.0, extend@~3.0.1:
2684 version "3.0.1" 2722 version "3.0.1"
2685 resolved "http://npm.yoho.cn/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 2723 resolved "http://npm.yoho.cn/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444"
2686 2724
@@ -2736,6 +2774,10 @@ fast-deep-equal@^1.0.0: @@ -2736,6 +2774,10 @@ fast-deep-equal@^1.0.0:
2736 version "1.0.0" 2774 version "1.0.0"
2737 resolved "http://npm.yoho.cn/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" 2775 resolved "http://npm.yoho.cn/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff"
2738 2776
  2777 +fast-json-stable-stringify@^2.0.0:
  2778 + version "2.0.0"
  2779 + resolved "http://npm.yoho.cn/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
  2780 +
2739 fast-levenshtein@~2.0.4: 2781 fast-levenshtein@~2.0.4:
2740 version "2.0.6" 2782 version "2.0.6"
2741 resolved "http://npm.yoho.cn/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 2783 resolved "http://npm.yoho.cn/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
@@ -2904,6 +2946,14 @@ form-data@~2.1.1: @@ -2904,6 +2946,14 @@ form-data@~2.1.1:
2904 combined-stream "^1.0.5" 2946 combined-stream "^1.0.5"
2905 mime-types "^2.1.12" 2947 mime-types "^2.1.12"
2906 2948
  2949 +form-data@~2.3.1:
  2950 + version "2.3.1"
  2951 + resolved "http://npm.yoho.cn/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf"
  2952 + dependencies:
  2953 + asynckit "^0.4.0"
  2954 + combined-stream "^1.0.5"
  2955 + mime-types "^2.1.12"
  2956 +
2907 forwarded@~0.1.0: 2957 forwarded@~0.1.0:
2908 version "0.1.0" 2958 version "0.1.0"
2909 resolved "http://npm.yoho.cn/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363" 2959 resolved "http://npm.yoho.cn/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363"
@@ -3258,6 +3308,10 @@ har-schema@^1.0.5: @@ -3258,6 +3308,10 @@ har-schema@^1.0.5:
3258 version "1.0.5" 3308 version "1.0.5"
3259 resolved "http://npm.yoho.cn/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 3309 resolved "http://npm.yoho.cn/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e"
3260 3310
  3311 +har-schema@^2.0.0:
  3312 + version "2.0.0"
  3313 + resolved "http://npm.yoho.cn/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
  3314 +
3261 har-validator@~2.0.6: 3315 har-validator@~2.0.6:
3262 version "2.0.6" 3316 version "2.0.6"
3263 resolved "http://npm.yoho.cn/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" 3317 resolved "http://npm.yoho.cn/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d"
@@ -3274,6 +3328,13 @@ har-validator@~4.2.1: @@ -3274,6 +3328,13 @@ har-validator@~4.2.1:
3274 ajv "^4.9.1" 3328 ajv "^4.9.1"
3275 har-schema "^1.0.5" 3329 har-schema "^1.0.5"
3276 3330
  3331 +har-validator@~5.0.3:
  3332 + version "5.0.3"
  3333 + resolved "http://npm.yoho.cn/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd"
  3334 + dependencies:
  3335 + ajv "^5.1.0"
  3336 + har-schema "^2.0.0"
  3337 +
3277 has-ansi@^2.0.0: 3338 has-ansi@^2.0.0:
3278 version "2.0.0" 3339 version "2.0.0"
3279 resolved "http://npm.yoho.cn/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 3340 resolved "http://npm.yoho.cn/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -3354,6 +3415,15 @@ hawk@~3.1.3: @@ -3354,6 +3415,15 @@ hawk@~3.1.3:
3354 hoek "2.x.x" 3415 hoek "2.x.x"
3355 sntp "1.x.x" 3416 sntp "1.x.x"
3356 3417
  3418 +hawk@~6.0.2:
  3419 + version "6.0.2"
  3420 + resolved "http://npm.yoho.cn/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038"
  3421 + dependencies:
  3422 + boom "4.x.x"
  3423 + cryptiles "3.x.x"
  3424 + hoek "4.x.x"
  3425 + sntp "2.x.x"
  3426 +
3357 he@1.1.x, he@^1.1.0: 3427 he@1.1.x, he@^1.1.0:
3358 version "1.1.1" 3428 version "1.1.1"
3359 resolved "http://npm.yoho.cn/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 3429 resolved "http://npm.yoho.cn/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
@@ -3377,6 +3447,10 @@ hoek@2.x.x: @@ -3377,6 +3447,10 @@ hoek@2.x.x:
3377 version "2.16.3" 3447 version "2.16.3"
3378 resolved "http://npm.yoho.cn/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 3448 resolved "http://npm.yoho.cn/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
3379 3449
  3450 +hoek@4.x.x:
  3451 + version "4.2.0"
  3452 + resolved "http://npm.yoho.cn/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d"
  3453 +
3380 home-or-tmp@^2.0.0: 3454 home-or-tmp@^2.0.0:
3381 version "2.0.0" 3455 version "2.0.0"
3382 resolved "http://npm.yoho.cn/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 3456 resolved "http://npm.yoho.cn/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
@@ -3469,6 +3543,14 @@ http-signature@~1.1.0: @@ -3469,6 +3543,14 @@ http-signature@~1.1.0:
3469 jsprim "^1.2.2" 3543 jsprim "^1.2.2"
3470 sshpk "^1.7.0" 3544 sshpk "^1.7.0"
3471 3545
  3546 +http-signature@~1.2.0:
  3547 + version "1.2.0"
  3548 + resolved "http://npm.yoho.cn/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
  3549 + dependencies:
  3550 + assert-plus "^1.0.0"
  3551 + jsprim "^1.2.2"
  3552 + sshpk "^1.7.0"
  3553 +
3472 https-browserify@0.0.1: 3554 https-browserify@0.0.1:
3473 version "0.0.1" 3555 version "0.0.1"
3474 resolved "http://npm.yoho.cn/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" 3556 resolved "http://npm.yoho.cn/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82"
@@ -3539,12 +3621,13 @@ inflight@^1.0.4: @@ -3539,12 +3621,13 @@ inflight@^1.0.4:
3539 once "^1.3.0" 3621 once "^1.3.0"
3540 wrappy "1" 3622 wrappy "1"
3541 3623
3542 -influx-batch-sender@^0.1.3:  
3543 - version "0.1.3"  
3544 - resolved "http://npm.yoho.cn/influx-batch-sender/-/influx-batch-sender-0.1.3.tgz#c2757453aea1021356ff86d0578b6605b79ba9c0" 3624 +influx-batch-sender@^0.1.4:
  3625 + version "0.1.4"
  3626 + resolved "http://npm.yoho.cn/influx-batch-sender/-/influx-batch-sender-0.1.4.tgz#4eeb139c648b9d153424dd9804b8aa23b20813b9"
3545 dependencies: 3627 dependencies:
3546 debug "^3.0.1" 3628 debug "^3.0.1"
3547 lodash "^4.17.4" 3629 lodash "^4.17.4"
  3630 + request "^2.83.0"
3548 3631
3549 influxdb-winston@^1.0.1: 3632 influxdb-winston@^1.0.1:
3550 version "1.0.1" 3633 version "1.0.1"
@@ -4131,6 +4214,10 @@ lodash._basecallback@^3.0.0: @@ -4131,6 +4214,10 @@ lodash._basecallback@^3.0.0:
4131 lodash.isarray "^3.0.0" 4214 lodash.isarray "^3.0.0"
4132 lodash.pairs "^3.0.0" 4215 lodash.pairs "^3.0.0"
4133 4216
  4217 +lodash._baseclone@~4.5.0:
  4218 + version "4.5.7"
  4219 + resolved "http://npm.yoho.cn/lodash._baseclone/-/lodash._baseclone-4.5.7.tgz#ce42ade08384ef5d62fa77c30f61a46e686f8434"
  4220 +
4134 lodash._basecopy@^3.0.0: 4221 lodash._basecopy@^3.0.0:
4135 version "3.0.1" 4222 version "3.0.1"
4136 resolved "http://npm.yoho.cn/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 4223 resolved "http://npm.yoho.cn/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36"
@@ -4223,6 +4310,12 @@ lodash.clone@^4.3.2: @@ -4223,6 +4310,12 @@ lodash.clone@^4.3.2:
4223 version "4.5.0" 4310 version "4.5.0"
4224 resolved "http://npm.yoho.cn/lodash.clone/-/lodash.clone-4.5.0.tgz#195870450f5a13192478df4bc3d23d2dea1907b6" 4311 resolved "http://npm.yoho.cn/lodash.clone/-/lodash.clone-4.5.0.tgz#195870450f5a13192478df4bc3d23d2dea1907b6"
4225 4312
  4313 +lodash.clone@~4.3.2:
  4314 + version "4.3.2"
  4315 + resolved "http://npm.yoho.cn/lodash.clone/-/lodash.clone-4.3.2.tgz#e56b176b6823a7dde38f7f2bf58de7d5971200e9"
  4316 + dependencies:
  4317 + lodash._baseclone "~4.5.0"
  4318 +
4226 lodash.clonedeep@^4.3.2: 4319 lodash.clonedeep@^4.3.2:
4227 version "4.5.0" 4320 version "4.5.0"
4228 resolved "http://npm.yoho.cn/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" 4321 resolved "http://npm.yoho.cn/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
@@ -4529,12 +4622,22 @@ miller-rabin@^4.0.0: @@ -4529,12 +4622,22 @@ miller-rabin@^4.0.0:
4529 version "1.27.0" 4622 version "1.27.0"
4530 resolved "http://npm.yoho.cn/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 4623 resolved "http://npm.yoho.cn/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1"
4531 4624
  4625 +mime-db@~1.30.0:
  4626 + version "1.30.0"
  4627 + resolved "http://npm.yoho.cn/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01"
  4628 +
4532 mime-types@^2.0.1, mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.7: 4629 mime-types@^2.0.1, mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.7:
4533 version "2.1.15" 4630 version "2.1.15"
4534 resolved "http://npm.yoho.cn/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 4631 resolved "http://npm.yoho.cn/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed"
4535 dependencies: 4632 dependencies:
4536 mime-db "~1.27.0" 4633 mime-db "~1.27.0"
4537 4634
  4635 +mime-types@~2.1.17:
  4636 + version "2.1.17"
  4637 + resolved "http://npm.yoho.cn/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a"
  4638 + dependencies:
  4639 + mime-db "~1.30.0"
  4640 +
4538 mime@1.3.4, mime@^1.3.4: 4641 mime@1.3.4, mime@^1.3.4:
4539 version "1.3.4" 4642 version "1.3.4"
4540 resolved "http://npm.yoho.cn/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" 4643 resolved "http://npm.yoho.cn/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
@@ -4939,7 +5042,7 @@ number-is-nan@^1.0.0: @@ -4939,7 +5042,7 @@ number-is-nan@^1.0.0:
4939 version "1.0.1" 5042 version "1.0.1"
4940 resolved "http://npm.yoho.cn/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 5043 resolved "http://npm.yoho.cn/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
4941 5044
4942 -oauth-sign@~0.8.1: 5045 +oauth-sign@~0.8.1, oauth-sign@~0.8.2:
4943 version "0.8.2" 5046 version "0.8.2"
4944 resolved "http://npm.yoho.cn/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 5047 resolved "http://npm.yoho.cn/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
4945 5048
@@ -5335,6 +5438,10 @@ performance-now@^0.2.0: @@ -5335,6 +5438,10 @@ performance-now@^0.2.0:
5335 version "0.2.0" 5438 version "0.2.0"
5336 resolved "http://npm.yoho.cn/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 5439 resolved "http://npm.yoho.cn/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5"
5337 5440
  5441 +performance-now@^2.1.0:
  5442 + version "2.1.0"
  5443 + resolved "http://npm.yoho.cn/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
  5444 +
5338 phantomjs-prebuilt@^2.1.14: 5445 phantomjs-prebuilt@^2.1.14:
5339 version "2.1.14" 5446 version "2.1.14"
5340 resolved "http://npm.yoho.cn/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz#d53d311fcfb7d1d08ddb24014558f1188c516da0" 5447 resolved "http://npm.yoho.cn/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz#d53d311fcfb7d1d08ddb24014558f1188c516da0"
@@ -6153,6 +6260,10 @@ qs@~6.3.0: @@ -6153,6 +6260,10 @@ qs@~6.3.0:
6153 version "6.3.2" 6260 version "6.3.2"
6154 resolved "http://npm.yoho.cn/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" 6261 resolved "http://npm.yoho.cn/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c"
6155 6262
  6263 +qs@~6.5.1:
  6264 + version "6.5.1"
  6265 + resolved "http://npm.yoho.cn/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
  6266 +
6156 query-string@^4.1.0: 6267 query-string@^4.1.0:
6157 version "4.3.4" 6268 version "4.3.4"
6158 resolved "http://npm.yoho.cn/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" 6269 resolved "http://npm.yoho.cn/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb"
@@ -6515,6 +6626,33 @@ request@2, request@^2.34, request@^2.44.0, request@^2.79.0, request@^2.81.0: @@ -6515,6 +6626,33 @@ request@2, request@^2.34, request@^2.44.0, request@^2.79.0, request@^2.81.0:
6515 tunnel-agent "^0.6.0" 6626 tunnel-agent "^0.6.0"
6516 uuid "^3.0.0" 6627 uuid "^3.0.0"
6517 6628
  6629 +request@^2.83.0:
  6630 + version "2.83.0"
  6631 + resolved "http://npm.yoho.cn/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356"
  6632 + dependencies:
  6633 + aws-sign2 "~0.7.0"
  6634 + aws4 "^1.6.0"
  6635 + caseless "~0.12.0"
  6636 + combined-stream "~1.0.5"
  6637 + extend "~3.0.1"
  6638 + forever-agent "~0.6.1"
  6639 + form-data "~2.3.1"
  6640 + har-validator "~5.0.3"
  6641 + hawk "~6.0.2"
  6642 + http-signature "~1.2.0"
  6643 + is-typedarray "~1.0.0"
  6644 + isstream "~0.1.2"
  6645 + json-stringify-safe "~5.0.1"
  6646 + mime-types "~2.1.17"
  6647 + oauth-sign "~0.8.2"
  6648 + performance-now "^2.1.0"
  6649 + qs "~6.5.1"
  6650 + safe-buffer "^5.1.1"
  6651 + stringstream "~0.0.5"
  6652 + tough-cookie "~2.3.3"
  6653 + tunnel-agent "^0.6.0"
  6654 + uuid "^3.1.0"
  6655 +
6518 request@~2.79.0: 6656 request@~2.79.0:
6519 version "2.79.0" 6657 version "2.79.0"
6520 resolved "http://npm.yoho.cn/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" 6658 resolved "http://npm.yoho.cn/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
@@ -6677,7 +6815,7 @@ safe-buffer@5.0.1, safe-buffer@^5.0.1, safe-buffer@~5.0.1: @@ -6677,7 +6815,7 @@ safe-buffer@5.0.1, safe-buffer@^5.0.1, safe-buffer@~5.0.1:
6677 version "5.0.1" 6815 version "5.0.1"
6678 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" 6816 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7"
6679 6817
6680 -safe-buffer@5.1.1, safe-buffer@^5.1.0, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 6818 +safe-buffer@5.1.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
6681 version "5.1.1" 6819 version "5.1.1"
6682 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 6820 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
6683 6821
@@ -6912,6 +7050,12 @@ sntp@1.x.x: @@ -6912,6 +7050,12 @@ sntp@1.x.x:
6912 dependencies: 7050 dependencies:
6913 hoek "2.x.x" 7051 hoek "2.x.x"
6914 7052
  7053 +sntp@2.x.x:
  7054 + version "2.1.0"
  7055 + resolved "http://npm.yoho.cn/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8"
  7056 + dependencies:
  7057 + hoek "4.x.x"
  7058 +
6915 socket.io-adapter@0.5.0: 7059 socket.io-adapter@0.5.0:
6916 version "0.5.0" 7060 version "0.5.0"
6917 resolved "http://npm.yoho.cn/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz#cb6d4bb8bec81e1078b99677f9ced0046066bb8b" 7061 resolved "http://npm.yoho.cn/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz#cb6d4bb8bec81e1078b99677f9ced0046066bb8b"
@@ -7208,7 +7352,7 @@ string_decoder@~1.0.3: @@ -7208,7 +7352,7 @@ string_decoder@~1.0.3:
7208 dependencies: 7352 dependencies:
7209 safe-buffer "~5.1.0" 7353 safe-buffer "~5.1.0"
7210 7354
7211 -stringstream@~0.0.4: 7355 +stringstream@~0.0.4, stringstream@~0.0.5:
7212 version "0.0.5" 7356 version "0.0.5"
7213 resolved "http://npm.yoho.cn/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 7357 resolved "http://npm.yoho.cn/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878"
7214 7358
@@ -7558,6 +7702,12 @@ tough-cookie@~2.3.0: @@ -7558,6 +7702,12 @@ tough-cookie@~2.3.0:
7558 dependencies: 7702 dependencies:
7559 punycode "^1.4.1" 7703 punycode "^1.4.1"
7560 7704
  7705 +tough-cookie@~2.3.3:
  7706 + version "2.3.3"
  7707 + resolved "http://npm.yoho.cn/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
  7708 + dependencies:
  7709 + punycode "^1.4.1"
  7710 +
7561 trim-newlines@^1.0.0: 7711 trim-newlines@^1.0.0:
7562 version "1.0.0" 7712 version "1.0.0"
7563 resolved "http://npm.yoho.cn/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" 7713 resolved "http://npm.yoho.cn/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
@@ -7755,7 +7905,7 @@ uuid@^2.0.1, uuid@^2.0.2: @@ -7755,7 +7905,7 @@ uuid@^2.0.1, uuid@^2.0.2:
7755 version "2.0.3" 7905 version "2.0.3"
7756 resolved "http://npm.yoho.cn/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" 7906 resolved "http://npm.yoho.cn/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a"
7757 7907
7758 -uuid@^3.0.0, uuid@^3.0.1: 7908 +uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0:
7759 version "3.1.0" 7909 version "3.1.0"
7760 resolved "http://npm.yoho.cn/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 7910 resolved "http://npm.yoho.cn/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
7761 7911
@@ -8195,6 +8345,17 @@ winston@^2.2.0, winston@^2.3.1: @@ -8195,6 +8345,17 @@ winston@^2.2.0, winston@^2.3.1:
8195 isstream "0.1.x" 8345 isstream "0.1.x"
8196 stack-trace "0.0.x" 8346 stack-trace "0.0.x"
8197 8347
  8348 +winston@^2.4.0:
  8349 + version "2.4.0"
  8350 + resolved "http://npm.yoho.cn/winston/-/winston-2.4.0.tgz#808050b93d52661ed9fb6c26b3f0c826708b0aee"
  8351 + dependencies:
  8352 + async "~1.0.0"
  8353 + colors "1.0.x"
  8354 + cycle "1.0.x"
  8355 + eyes "0.1.x"
  8356 + isstream "0.1.x"
  8357 + stack-trace "0.0.x"
  8358 +
8198 wordwrap@0.0.2: 8359 wordwrap@0.0.2:
8199 version "0.0.2" 8360 version "0.0.2"
8200 resolved "http://npm.yoho.cn/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 8361 resolved "http://npm.yoho.cn/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"
@@ -8412,12 +8573,13 @@ yoho-md5@^2.0.0: @@ -8412,12 +8573,13 @@ yoho-md5@^2.0.0:
8412 version "2.0.0" 8573 version "2.0.0"
8413 resolved "http://npm.yoho.cn/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332" 8574 resolved "http://npm.yoho.cn/yoho-md5/-/yoho-md5-2.0.0.tgz#e801a5cce8e08f5d7211e9a2e789ea7275eb9332"
8414 8575
8415 -yoho-node-lib@=0.5.6:  
8416 - version "0.5.6"  
8417 - resolved "http://npm.yoho.cn/yoho-node-lib/-/yoho-node-lib-0.5.6.tgz#bec1a0924252e79dda191a644c4f28008e70bd0a" 8576 +yoho-node-lib@=0.5.21:
  8577 + version "0.5.21"
  8578 + resolved "http://npm.yoho.cn/yoho-node-lib/-/yoho-node-lib-0.5.21.tgz#4977a4d9c3da60f08ba17b57a6abe8fab037ccbb"
8418 dependencies: 8579 dependencies:
  8580 + dnscache "^1.0.1"
8419 handlebars "^4.0.5" 8581 handlebars "^4.0.5"
8420 - influx-batch-sender "^0.1.3" 8582 + influx-batch-sender "^0.1.4"
8421 lodash "^4.13.1" 8583 lodash "^4.13.1"
8422 lru-cache "^4.1.1" 8584 lru-cache "^4.1.1"
8423 md5 "^2.1.0" 8585 md5 "^2.1.0"
@@ -8427,7 +8589,7 @@ yoho-node-lib@=0.5.6: @@ -8427,7 +8589,7 @@ yoho-node-lib@=0.5.6:
8427 request "^2.81.0" 8589 request "^2.81.0"
8428 uuid "^3.0.1" 8590 uuid "^3.0.1"
8429 walk "^2.3.9" 8591 walk "^2.3.9"
8430 - winston "^2.2.0" 8592 + winston "^2.4.0"
8431 winston-daily-rotate-file "^1.1.1" 8593 winston-daily-rotate-file "^1.1.1"
8432 xss-filters "^1.2.6" 8594 xss-filters "^1.2.6"
8433 8595