Authored by ccbikai

升级依赖

@@ -33,11 +33,11 @@ @@ -33,11 +33,11 @@
33 "dependencies": { 33 "dependencies": {
34 "bluebird": "^3.4.0", 34 "bluebird": "^3.4.0",
35 "body-parser": "^1.15.0", 35 "body-parser": "^1.15.0",
36 - "cookie-parser": "^1.4.1", 36 + "cookie-parser": "^1.4.3",
37 "express": "^4.13.1", 37 "express": "^4.13.1",
38 "express-handlebars": "^3.0.0", 38 "express-handlebars": "^3.0.0",
39 "influxdb-winston": "^1.0.1", 39 "influxdb-winston": "^1.0.1",
40 - "lodash": "^4.12.0", 40 + "lodash": "^4.13.1",
41 "md5": "^2.1.0", 41 "md5": "^2.1.0",
42 "memcached": "^2.2.1", 42 "memcached": "^2.2.1",
43 "moment": "^2.13.0", 43 "moment": "^2.13.0",
@@ -49,16 +49,16 @@ @@ -49,16 +49,16 @@
49 "serve-favicon": "^2.3.0", 49 "serve-favicon": "^2.3.0",
50 "uuid": "^2.0.2", 50 "uuid": "^2.0.2",
51 "winston": "^2.2.0", 51 "winston": "^2.2.0",
52 - "winston-daily-rotate-file": "^1.0.1", 52 + "winston-daily-rotate-file": "^1.1.3",
53 "yoho-connect-memcached": "^1.0.3", 53 "yoho-connect-memcached": "^1.0.3",
54 "yoho-express-session": "^1.0.3" 54 "yoho-express-session": "^1.0.3"
55 }, 55 },
56 "devDependencies": { 56 "devDependencies": {
57 "autoprefixer": "^6.3.6", 57 "autoprefixer": "^6.3.6",
58 - "ava": "^0.14.0", 58 + "ava": "^0.15.2",
59 "babel-preset-es2015": "^6.9.0", 59 "babel-preset-es2015": "^6.9.0",
60 "babel-register": "^6.9.0", 60 "babel-register": "^6.9.0",
61 - "eslint": "^2.10.2", 61 + "eslint": "^2.12.0",
62 "eslint-config-yoho": "^1.0.1", 62 "eslint-config-yoho": "^1.0.1",
63 "gulp": "^3.9.1", 63 "gulp": "^3.9.1",
64 "gulp-cssnano": "^2.1.2", 64 "gulp-cssnano": "^2.1.2",
@@ -68,15 +68,15 @@ @@ -68,15 +68,15 @@
68 "gulp-util": "^3.0.7", 68 "gulp-util": "^3.0.7",
69 "husky": "^0.11.4", 69 "husky": "^0.11.4",
70 "nodemon": "1.9.2", 70 "nodemon": "1.9.2",
71 - "nyc": "^6.4.3", 71 + "nyc": "^6.4.4",
72 "postcss-assets": "^4.0.1", 72 "postcss-assets": "^4.0.1",
73 - "postcss-cachebuster": "^0.1.2", 73 + "postcss-cachebuster": "^0.1.3",
74 "postcss-calc": "^5.2.1", 74 "postcss-calc": "^5.2.1",
75 "postcss-center": "^1.0.0", 75 "postcss-center": "^1.0.0",
76 "postcss-clearfix": "^1.0.0", 76 "postcss-clearfix": "^1.0.0",
77 "postcss-crip": "^2.0.0", 77 "postcss-crip": "^2.0.0",
78 "postcss-opacity": "^3.0.0", 78 "postcss-opacity": "^3.0.0",
79 - "postcss-position": "^0.4.0", 79 + "postcss-position": "^0.5.0",
80 "postcss-pxtorem": "^3.3.1", 80 "postcss-pxtorem": "^3.3.1",
81 "postcss-short": "^1.4.0", 81 "postcss-short": "^1.4.0",
82 "postcss-sprites": "^3.1.2", 82 "postcss-sprites": "^3.1.2",
@@ -84,18 +84,18 @@ @@ -84,18 +84,18 @@
84 "precss": "^1.4.0", 84 "precss": "^1.4.0",
85 "rewire": "^2.5.1", 85 "rewire": "^2.5.1",
86 "shelljs": "^0.7.0", 86 "shelljs": "^0.7.0",
87 - "stylelint": "^6.4.1", 87 + "stylelint": "^6.5.1",
88 "stylelint-config-yoho": "^1.2.3", 88 "stylelint-config-yoho": "^1.2.3",
89 - "webpack": "^1.13.0", 89 + "webpack": "^1.13.1",
90 "webpack-dev-server": "^1.14.1", 90 "webpack-dev-server": "^1.14.1",
91 "webpack-stream": "^3.1.0", 91 "webpack-stream": "^3.1.0",
92 "yoho-fastclick": "^1.0.6", 92 "yoho-fastclick": "^1.0.6",
93 "yoho-hammer": "^2.0.7", 93 "yoho-hammer": "^2.0.7",
94 "yoho-handlebars": "^4.0.5", 94 "yoho-handlebars": "^4.0.5",
95 - "yoho-iscroll": "0.0.2", 95 + "yoho-iscroll": "^5.2.0",
96 "yoho-jquery": "^2.2.4", 96 "yoho-jquery": "^2.2.4",
97 "yoho-jquery-lazyload": "^1.9.7", 97 "yoho-jquery-lazyload": "^1.9.7",
98 - "yoho-mlellipsis": "0.0.2", 98 + "yoho-mlellipsis": "0.0.3",
99 "yoho-swiper": "^3.3.1" 99 "yoho-swiper": "^3.3.1"
100 } 100 }
101 } 101 }
@@ -86,7 +86,7 @@ function ajaxHtml() { @@ -86,7 +86,7 @@ function ajaxHtml() {
86 bannerLen = $('.avatar-0 .swiper-slide').length; 86 bannerLen = $('.avatar-0 .swiper-slide').length;
87 87
88 setTimeout(function() { 88 setTimeout(function() {
89 - setIndexAction(); 89 + setIndexAction(); // eslint-disable-line
90 }, 100); 90 }, 100);
91 91
92 }, 92 },