Authored by 李奇

重复的依赖删除

... ... @@ -8,6 +8,7 @@ const VERIFY_ERROR = '校验失败';
const LOGIN_SUCCESS = '登录成功';
const ANONYMOUS_USER = '匿名用户';
const CODE_REQUIRED = '请输入校验码';
const GET_USER_INFO_FAILED = '获取用户信息失败';
// const BAD_PASSWORD = '密码格式不正确';
// const PASSWORD_REQUIRED = '请输入密码';
... ... @@ -137,7 +138,7 @@ exports.login = (req, res, next) => {
if (info.code !== 200) {
return res.json({
code: info.code,
data: '获取用户信息失败'
data: GET_USER_INFO_FAILED
});
}
... ...
... ... @@ -55,7 +55,6 @@
"passport-sina": "^0.1.0",
"passport-strategy": "^1.0.0",
"passport-weixin": "^0.1.0",
"postcss-calc": "^5.3.1",
"redis": "^2.7.1",
"request": "^2.81.0",
"request-promise": "^4.2.1",
... ...
... ... @@ -1764,6 +1764,10 @@ css-tokenize@^1.0.1:
inherits "^2.0.1"
readable-stream "^1.0.33"
css-unit-converter@^1.1.1:
version "1.1.1"
resolved "http://npm.yoho.cn/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996"
css-what@2.1:
version "2.1.0"
resolved "http://npm.yoho.cn/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd"
... ... @@ -5427,7 +5431,7 @@ postcss-atroot@^0.1.2:
dependencies:
postcss "^5.0.5"
postcss-calc@^5.2.0, postcss-calc@^5.3.1:
postcss-calc@^5.2.0:
version "5.3.1"
resolved "http://npm.yoho.cn/postcss-calc/-/postcss-calc-5.3.1.tgz#77bae7ca928ad85716e2fda42f261bf7c1d65b5e"
dependencies:
... ... @@ -5435,6 +5439,15 @@ postcss-calc@^5.2.0, postcss-calc@^5.3.1:
postcss-message-helpers "^2.0.0"
reduce-css-calc "^1.2.6"
postcss-calc@^6.0.0:
version "6.0.0"
resolved "http://npm.yoho.cn/postcss-calc/-/postcss-calc-6.0.0.tgz#b681b279c6d24fbe0e33ed9045803705445d613b"
dependencies:
css-unit-converter "^1.1.1"
postcss "^6.0.0"
postcss-selector-parser "^2.2.2"
reduce-css-calc "^2.0.0"
postcss-center@^1.0.0:
version "1.0.0"
resolved "http://npm.yoho.cn/postcss-center/-/postcss-center-1.0.0.tgz#65a9d2efffaac19b6686447880afd6915149a991"
... ... @@ -5985,7 +5998,7 @@ postcss@^5.0, postcss@^5.0.0, postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12,
source-map "^0.5.6"
supports-color "^3.2.3"
postcss@^6.0.1, postcss@^6.0.2, postcss@^6.0.3:
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.2, postcss@^6.0.3:
version "6.0.3"
resolved "http://npm.yoho.cn/postcss/-/postcss-6.0.3.tgz#b7f565b3d956fbb8565ca7c1e239d0506e427d8b"
dependencies:
... ... @@ -6413,6 +6426,13 @@ reduce-css-calc@^1.2.6:
math-expression-evaluator "^1.2.14"
reduce-function-call "^1.0.1"
reduce-css-calc@^2.0.0:
version "2.0.5"
resolved "http://npm.yoho.cn/reduce-css-calc/-/reduce-css-calc-2.0.5.tgz#33c97838c5d4c711a5c14ef85ce4fde41483f7bd"
dependencies:
css-unit-converter "^1.1.1"
postcss-value-parser "^3.3.0"
reduce-function-call@^1.0.1:
version "1.0.2"
resolved "http://npm.yoho.cn/reduce-function-call/-/reduce-function-call-1.0.2.tgz#5a200bf92e0e37751752fe45b0ab330fd4b6be99"
... ...