Authored by 李奇

大转盘Model引入

/**
* 转盘抽奖活动
* @author: lq <qi.li@yoho.cn>
* @date: 25/09/2018
*/
const wheelSurfModel = require('../models/wheel-surf');
const logger = global.yoho.logger;
module.exports = {
conf(req, res, next) {
const actId = req.query.actId;
if (!actId) {
logger.error(`入口链接参数错误:${JSON.stringify(req.query)}`);
return res.json({
code: 400,
message: '活动ID为空'
});
}
req.ctx(wheelSurfModel).getConf(actId)
.then(res.json).catch(next);
},
start(req, res, next) {
// TODO
req.query.noCache = false;
req.ctx(wheelSurfModel).getList(req.query.page, req.query)
.then(res.json).catch(next);
}
};
... ...
/**
* 转盘抽奖活动
* @author: lq <qi.li@yoho.cn>
* @date: 25/09/2018
*/
const _ = require('lodash');
const moment = require('moment');
const logger = global.yoho.logger;
const { ActWheelSurfConf, ActWheelSurfPrize } = require('../../../db');
function handelResult(result) {
return {
code: 200,
data: result || []
};
}
module.exports = class extends global.yoho.BaseModel {
constructor(ctx) {
super(ctx);
}
/**
* 获取大转盘活动配置
* @returns {*}
*/
getConf(actId) {
let where = ['act_id = :actId'];
let now = new Date().getTime() / 1000;
return ActWheelSurfConf.findOne({ where: {id: actId} }).then(activity => {
return handelResult(activity);
});
}
};
... ...
... ... @@ -7,6 +7,7 @@ const express = require('express');
const router = express.Router(); // eslint-disable-line
const couponExp = require('./controllers/coupon-expansion');
const zeroBuy = require('./controllers/zero-buy');
const wheelSurf = require('./controllers/wheel-surf');
router.get('/couponExp/couponList', couponExp.couponList);
router.post('/couponExp/receiveCoupon', couponExp.receiveCoupon);
... ... @@ -26,4 +27,9 @@ router.get('/zerobuy/code/recent', zeroBuy.codeRecent); // 0元购抽奖码最
router.get('/zerobuy/code/mine', zeroBuy.codeMine); // 0元购用户单个活动获取的抽奖码
router.post('/zerobuy/code/gain', zeroBuy.codeGain); // 0元购获取抽奖码
// 大转盘活动
router.get('/wheelSurf/conf', wheelSurf.conf); // 活动配置
router.get('/wheelSurf/start', wheelSurf.start); // 抽奖
module.exports = router;
... ...
... ... @@ -17,7 +17,7 @@ module.exports = {
siteUrl: '//action.yoho.cn',
assetUrl: `/yoho-activity-platform/${pkg.version}/`,
yohoVerifyUdid: '0f626ede-0e17-460b-a8ea-069ee506e8e9',
// yohoVerifyUdid: '0f626ede-0e17-460b-a8ea-069ee506e8e9',
domains: {
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
... ...
/* eslint new-cap: "off" */
const options = require('../model-opts');
module.exports = function(Sequelize, DataTypes) {
const ActWheelSurfConf = Sequelize.define('ActWheelSurfConf', {
id: {
type: DataTypes.INTEGER(8),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
act_id: {
type: DataTypes.INTEGER(8),
allowNull: false
},
rule_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
rule: {
type: DataTypes.STRING(2000),
allowNull: true
},
share_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
share_url: {
type: DataTypes.STRING(500),
allowNull: true
},
main_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
wheel_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
prize_btn_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
day_limit_times: {
type: DataTypes.INTEGER(8),
allowNull: true
},
act_total_times: {
type: DataTypes.INTEGER(8),
allowNull: true
},
day_over_limit_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
btm_tip_one: {
type: DataTypes.STRING(60),
allowNull: true
},
btm_tip_two: {
type: DataTypes.STRING(60),
allowNull: true
},
my_prize_btn: {
type: DataTypes.STRING(300),
allowNull: true
},
jump_url: {
type: DataTypes.STRING(500),
allowNull: true
},
win_prize_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
try_again_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
status: {
type: DataTypes.INTEGER(8),
allowNull: true
}
}, Object.assign(options, {tableName: 'act_wheel_surf_conf'}));
return ActWheelSurfConf;
};
... ...
/* eslint new-cap: "off" */
const options = require('../model-opts');
module.exports = function(Sequelize, DataTypes) {
const ActWheelSurfPrize = Sequelize.define('ActWheelSurfPrize', {
id: {
type: DataTypes.INTEGER(8),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
act_id: {
type: DataTypes.INTEGER(8),
allowNull: false
},
name: {
type: DataTypes.STRING(50),
allowNull: true
},
type: {
type: DataTypes.INTEGER(2),
allowNull: true
},
img: {
type: DataTypes.STRING(300),
allowNull: true
},
total: {
type: DataTypes.INTEGER(8),
allowNull: false,
defaultValue: 0
},
total_left: {
type: DataTypes.INTEGER(8),
allowNull: false,
defaultValue: 0
},
chance: {
type: DataTypes.FLOAT,
allowNull: true
},
prize_bg: {
type: DataTypes.STRING(300),
allowNull: true
},
prize_idx: {
type: DataTypes.INTEGER(2),
allowNull: false,
defaultValue: 0
},
create_time: {
type: DataTypes.DATE,
defaultValue: Sequelize.NOW
}
}, Object.assign(options, {tableName: 'act_wheel_surf_prize'}));
return ActWheelSurfPrize;
};
... ...
... ... @@ -2,6 +2,14 @@
# yarn lockfile v1
"@types/geojson@^1.0.0":
version "1.0.6"
resolved "http://registry.npm.taobao.org/@types/geojson/download/@types/geojson-1.0.6.tgz#3e02972728c69248c2af08d60a48cbb8680fffdf"
"@types/node@*":
version "10.11.0"
resolved "http://registry.npm.taobao.org/@types/node/download/@types/node-10.11.0.tgz#ddd0d67a3b6c3810dd1a59e36675fa82de5e19ae"
JSONStream@^0.8.4:
version "0.8.4"
resolved "http://npm.yohops.com/JSONStream/-/JSONStream-0.8.4.tgz#91657dfe6ff857483066132b4618b62e8f4887bd"
... ... @@ -1050,6 +1058,10 @@ bluebird@3.x.x, bluebird@^3.0.5, bluebird@^3.0.6, bluebird@^3.1.1, bluebird@^3.4
version "3.5.1"
resolved "http://npm.yohops.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
bluebird@^3.4.6:
version "3.5.2"
resolved "http://registry.npm.taobao.org/bluebird/download/bluebird-3.5.2.tgz#1be0908e054a751754549c270489c1505d4ab15a"
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
version "4.11.8"
resolved "http://npm.yohops.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
... ... @@ -1408,6 +1420,13 @@ capture-stack-trace@^1.0.0:
version "1.0.1"
resolved "http://npm.yohops.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#ed0a1edb87c05d4db1037c5f8f483d8a3b5f0825"
cardinal@2.1.1:
version "2.1.1"
resolved "http://registry.npm.taobao.org/cardinal/download/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505"
dependencies:
ansicolors "~0.3.2"
redeyed "~2.1.0"
caseless@~0.11.0:
version "0.11.0"
resolved "http://npm.yohops.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7"
... ... @@ -1649,6 +1668,13 @@ cloneable-readable@^1.0.0:
process-nextick-args "^1.0.6"
through2 "^2.0.1"
cls-bluebird@^2.1.0:
version "2.1.0"
resolved "http://registry.npm.taobao.org/cls-bluebird/download/cls-bluebird-2.1.0.tgz#37ef1e080a8ffb55c2f4164f536f1919e7968aee"
dependencies:
is-bluebird "^1.0.2"
shimmer "^1.1.0"
cmd-shim@^2.0.2, cmd-shim@~2.0.2:
version "2.0.2"
resolved "http://npm.yohops.com/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb"
... ... @@ -2312,7 +2338,7 @@ deap@^1.0.0:
version "1.0.0"
resolved "http://npm.yohops.com/deap/-/deap-1.0.0.tgz#b148bf82430a27699b7483a03eb6b67585bfc888"
debug@2, debug@2.6.9, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.6, debug@^2.6.8:
debug@2, debug@2.6.9, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.6, debug@^2.6.8, debug@^2.6.9:
version "2.6.9"
resolved "http://npm.yohops.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
... ... @@ -2421,11 +2447,15 @@ delegates@^1.0.0:
version "1.0.0"
resolved "http://npm.yohops.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
denque@1.3.0:
version "1.3.0"
resolved "http://registry.npm.taobao.org/denque/download/denque-1.3.0.tgz#681092ef44a630246d3f6edb2a199230eae8e76b"
depd@1.1.1:
version "1.1.1"
resolved "http://npm.yohops.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359"
depd@~1.1.1:
depd@^1.1.0, depd@~1.1.1:
version "1.1.2"
resolved "http://npm.yohops.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
... ... @@ -2590,6 +2620,10 @@ dotenv@^4.0.0:
version "4.0.0"
resolved "http://npm.yohops.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d"
dottie@^2.0.0:
version "2.0.0"
resolved "http://registry.npm.taobao.org/dottie/download/dottie-2.0.0.tgz#da191981c8b8d713ca0115d5898cf397c2f0ddd0"
double-ended-queue@^2.1.0-0:
version "2.1.0-0"
resolved "http://npm.yohops.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"
... ... @@ -2926,6 +2960,10 @@ esprima@~1.1.1:
version "1.1.1"
resolved "http://npm.yohops.com/esprima/-/esprima-1.1.1.tgz#5b6f1547f4d102e670e140c509be6771d6aeb549"
esprima@~4.0.0:
version "4.0.1"
resolved "http://registry.npm.taobao.org/esprima/download/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
esquery@^1.0.0:
version "1.0.0"
resolved "http://npm.yohops.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa"
... ... @@ -3588,6 +3626,10 @@ generate-object-property@^1.1.0:
dependencies:
is-property "^1.0.0"
generic-pool@^3.4.0:
version "3.4.2"
resolved "http://registry.npm.taobao.org/generic-pool/download/generic-pool-3.4.2.tgz#92ff7196520d670839a67308092a12aadf2f6a59"
genfun@^4.0.1:
version "4.0.1"
resolved "http://npm.yohops.com/genfun/-/genfun-4.0.1.tgz#ed10041f2e4a7f1b0a38466d17a5c3e27df1dfc1"
... ... @@ -4345,6 +4387,12 @@ iconv-lite@0.4.19, iconv-lite@^0.4.15, iconv-lite@~0.4.13:
version "0.4.19"
resolved "http://npm.yohops.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
iconv-lite@^0.4.18:
version "0.4.24"
resolved "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
dependencies:
safer-buffer ">= 2.1.2 < 3"
icss-replace-symbols@^1.1.0:
version "1.1.0"
resolved "http://npm.yohops.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
... ... @@ -4414,6 +4462,10 @@ indexof@0.0.1:
version "0.0.1"
resolved "http://npm.yohops.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d"
inflection@1.12.0:
version "1.12.0"
resolved "http://registry.npm.taobao.org/inflection/download/inflection-1.12.0.tgz#a200935656d6f5f6bc4dc7502e1aecb703228416"
inflight@^1.0.4, inflight@~1.0.6:
version "1.0.6"
resolved "http://npm.yohops.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
... ... @@ -4564,6 +4616,10 @@ is-binary-path@^1.0.0:
dependencies:
binary-extensions "^1.0.0"
is-bluebird@^1.0.2:
version "1.0.2"
resolved "http://registry.npm.taobao.org/is-bluebird/download/is-bluebird-1.0.2.tgz#096439060f4aa411abee19143a84d6a55346d6e2"
is-buffer@^1.0.2, is-buffer@^1.1.4, is-buffer@^1.1.5, is-buffer@~1.1.1:
version "1.1.6"
resolved "http://npm.yohops.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
... ... @@ -5509,6 +5565,10 @@ lodash@^4.0.0, lodash@^4.1.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.2, lo
version "4.17.5"
resolved "http://npm.yohops.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
lodash@^4.17.1:
version "4.17.11"
resolved "http://registry.npm.taobao.org/lodash/download/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
lodash@~1.0.1:
version "1.0.2"
resolved "http://npm.yohops.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551"
... ... @@ -5529,6 +5589,10 @@ loglevel@^1.4.1:
version "1.6.1"
resolved "http://npm.yohops.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa"
long@^4.0.0:
version "4.0.0"
resolved "http://registry.npm.taobao.org/long/download/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28"
longest-streak@^2.0.1:
version "2.0.2"
resolved "http://npm.yohops.com/longest-streak/-/longest-streak-2.0.2.tgz#2421b6ba939a443bb9ffebf596585a50b4c38e2e"
... ... @@ -5558,19 +5622,23 @@ lru-cache@2:
version "2.7.3"
resolved "http://npm.yohops.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952"
lru-cache@^3.2.0:
version "3.2.0"
resolved "http://npm.yohops.com/lru-cache/-/lru-cache-3.2.0.tgz#71789b3b7f5399bec8565dda38aa30d2a097efee"
dependencies:
pseudomap "^1.0.1"
lru-cache@2.5.0:
version "2.5.0"
resolved "http://registry.npm.taobao.org/lru-cache/download/lru-cache-2.5.0.tgz#d82388ae9c960becbea0c73bb9eb79b6c6ce9aeb"
lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@~4.1.1:
lru-cache@4.1.1, lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@~4.1.1:
version "4.1.1"
resolved "http://npm.yohops.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
resolved "http://registry.npm.taobao.org/lru-cache/download/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
dependencies:
pseudomap "^1.0.2"
yallist "^2.1.2"
lru-cache@^3.2.0:
version "3.2.0"
resolved "http://npm.yohops.com/lru-cache/-/lru-cache-3.2.0.tgz#71789b3b7f5399bec8565dda38aa30d2a097efee"
dependencies:
pseudomap "^1.0.1"
mOxie@^1.5.5:
version "1.5.7"
resolved "http://npm.yohops.com/mOxie/-/mOxie-1.5.7.tgz#eab89d529dee074a709f99622ab43cf10a6abfbf"
... ... @@ -5915,6 +5983,16 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
dependencies:
minimist "0.0.8"
moment-timezone@^0.5.14:
version "0.5.21"
resolved "http://registry.npm.taobao.org/moment-timezone/download/moment-timezone-0.5.21.tgz#3cba247d84492174dbf71de2a9848fa13207b845"
dependencies:
moment ">= 2.9.0"
"moment@>= 2.9.0", moment@^2.20.0:
version "2.22.2"
resolved "http://registry.npm.taobao.org/moment/download/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66"
moment@^2.13.0, moment@^2.18.1, moment@^2.9.0:
version "2.20.1"
resolved "http://npm.yohops.com/moment/-/moment-2.20.1.tgz#d6eb1a46cbcc14a2b2f9434112c1ff8907f313fd"
... ... @@ -5982,6 +6060,21 @@ mute-stream@~0.0.4:
version "0.0.7"
resolved "http://npm.yohops.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
mysql2@^1.6.1:
version "1.6.1"
resolved "http://registry.npm.taobao.org/mysql2/download/mysql2-1.6.1.tgz#9027fd93a05c5d86e79bfada35c9b677b3a0d7c5"
dependencies:
cardinal "2.1.1"
denque "1.3.0"
generate-function "^2.0.0"
iconv-lite "^0.4.18"
long "^4.0.0"
lru-cache "4.1.1"
named-placeholders "1.1.1"
object-assign "^4.1.1"
seq-queue "0.0.5"
sqlstring "2.3.1"
mysql@^2.13.0:
version "2.15.0"
resolved "http://npm.yohops.com/mysql/-/mysql-2.15.0.tgz#ea16841156343e8f2e47fc8985ec41cdd9573b5c"
... ... @@ -5991,6 +6084,12 @@ mysql@^2.13.0:
safe-buffer "5.1.1"
sqlstring "2.3.0"
named-placeholders@1.1.1:
version "1.1.1"
resolved "http://registry.npm.taobao.org/named-placeholders/download/named-placeholders-1.1.1.tgz#3b7a0d26203dd74b3a9df4c9cfb827b2fb907e64"
dependencies:
lru-cache "2.5.0"
nan@^2.3.0, nan@^2.3.2:
version "2.8.0"
resolved "http://npm.yohops.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a"
... ... @@ -8249,6 +8348,12 @@ redent@^2.0.0:
indent-string "^3.0.0"
strip-indent "^2.0.0"
redeyed@~2.1.0:
version "2.1.1"
resolved "http://registry.npm.taobao.org/redeyed/download/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b"
dependencies:
esprima "~4.0.0"
redis-commands@^1.2.0:
version "1.3.5"
resolved "http://npm.yohops.com/redis-commands/-/redis-commands-1.3.5.tgz#4495889414f1e886261180b1442e7295602d83a2"
... ... @@ -8626,6 +8731,13 @@ restore-cursor@^1.0.1:
exit-hook "^1.0.0"
onetime "^1.0.0"
retry-as-promised@^2.3.2:
version "2.3.2"
resolved "http://registry.npm.taobao.org/retry-as-promised/download/retry-as-promised-2.3.2.tgz#cd974ee4fd9b5fe03cbf31871ee48221c07737b7"
dependencies:
bluebird "^3.4.6"
debug "^2.6.9"
retry@0.6.0:
version "0.6.0"
resolved "http://npm.yohops.com/retry/-/retry-0.6.0.tgz#1c010713279a6fd1e8def28af0c3ff1871caa537"
... ... @@ -8677,6 +8789,10 @@ safe-buffer@5.1.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, s
version "5.1.1"
resolved "http://npm.yohops.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
"safer-buffer@>= 2.1.2 < 3":
version "2.1.2"
resolved "http://registry.npm.taobao.org/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
sass-graph@^2.2.4:
version "2.2.4"
resolved "http://npm.yohops.com/sass-graph/-/sass-graph-2.2.4.tgz#13fbd63cd1caf0908b9fd93476ad43a51d1e0b49"
... ... @@ -8746,6 +8862,10 @@ semver@^4.1.0:
version "4.3.6"
resolved "http://npm.yohops.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da"
semver@^5.5.0:
version "5.5.1"
resolved "http://registry.npm.taobao.org/semver/download/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477"
semver@~5.0.3:
version "5.0.3"
resolved "http://npm.yohops.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a"
... ... @@ -8776,6 +8896,32 @@ send@0.16.1:
range-parser "~1.2.0"
statuses "~1.3.1"
seq-queue@0.0.5:
version "0.0.5"
resolved "http://registry.npm.taobao.org/seq-queue/download/seq-queue-0.0.5.tgz#d56812e1c017a6e4e7c3e3a37a1da6d78dd3c93e"
sequelize@^4.38.0:
version "4.38.1"
resolved "http://registry.npm.taobao.org/sequelize/download/sequelize-4.38.1.tgz#4fd832c33c0ff44a6516bf7133b1ec6311fa4297"
dependencies:
bluebird "^3.5.0"
cls-bluebird "^2.1.0"
debug "^3.1.0"
depd "^1.1.0"
dottie "^2.0.0"
generic-pool "^3.4.0"
inflection "1.12.0"
lodash "^4.17.1"
moment "^2.20.0"
moment-timezone "^0.5.14"
retry-as-promised "^2.3.2"
semver "^5.5.0"
terraformer-wkt-parser "^1.1.2"
toposort-class "^1.0.1"
uuid "^3.2.1"
validator "^10.4.0"
wkx "^0.4.1"
sequencify@~0.0.7:
version "0.0.7"
resolved "http://npm.yohops.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c"
... ... @@ -8895,6 +9041,10 @@ shelljs@^0.7.5, shelljs@^0.7.6, shelljs@^0.7.7:
interpret "^1.0.0"
rechoir "^0.6.2"
shimmer@^1.1.0:
version "1.2.0"
resolved "http://registry.npm.taobao.org/shimmer/download/shimmer-1.2.0.tgz#f966f7555789763e74d8841193685a5e78736665"
sigmund@^1.0.1, sigmund@~1.0.0:
version "1.0.1"
resolved "http://npm.yohops.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
... ... @@ -9164,6 +9314,10 @@ sqlstring@2.3.0:
version "2.3.0"
resolved "http://npm.yohops.com/sqlstring/-/sqlstring-2.3.0.tgz#525b8a4fd26d6f71aa61e822a6caf976d31ad2a8"
sqlstring@2.3.1:
version "2.3.1"
resolved "http://registry.npm.taobao.org/sqlstring/download/sqlstring-2.3.1.tgz#475393ff9e91479aea62dcaf0ca3d14983a7fb40"
ssf@~0.10.1:
version "0.10.1"
resolved "http://npm.yohops.com/ssf/-/ssf-0.10.1.tgz#f23d82b63792ef56089089c1cd0c848e911cdba6"
... ... @@ -9714,6 +9868,19 @@ term-size@^1.2.0:
dependencies:
execa "^0.7.0"
terraformer-wkt-parser@^1.1.2:
version "1.2.0"
resolved "http://registry.npm.taobao.org/terraformer-wkt-parser/download/terraformer-wkt-parser-1.2.0.tgz#c9d6ac3dff25f4c0bd344e961f42694961834c34"
dependencies:
"@types/geojson" "^1.0.0"
terraformer "~1.0.5"
terraformer@~1.0.5:
version "1.0.9"
resolved "http://registry.npm.taobao.org/terraformer/download/terraformer-1.0.9.tgz#77851fef4a49c90b345dc53cf26809fdf29dcda6"
optionalDependencies:
"@types/geojson" "^1.0.0"
test-exclude@^3.3.0:
version "3.3.0"
resolved "http://npm.yohops.com/test-exclude/-/test-exclude-3.3.0.tgz#7a17ca1239988c98367b0621456dbb7d4bc38977"
... ... @@ -9814,6 +9981,10 @@ to-regex@^3.0.1:
extend-shallow "^2.0.1"
regex-not "^1.0.0"
toposort-class@^1.0.1:
version "1.0.1"
resolved "http://registry.npm.taobao.org/toposort-class/download/toposort-class-1.0.1.tgz#7ffd1f78c8be28c3ba45cd4e1a3f5ee193bd9988"
touch@^3.1.0:
version "3.1.0"
resolved "http://npm.yohops.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
... ... @@ -10188,6 +10359,10 @@ uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0:
version "3.2.1"
resolved "http://npm.yohops.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
uuid@^3.2.1:
version "3.3.2"
resolved "http://registry.npm.taobao.org/uuid/download/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
uuid@~3.1.0:
version "3.1.0"
resolved "http://npm.yohops.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
... ... @@ -10211,6 +10386,10 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0:
dependencies:
builtins "^1.0.3"
validator@^10.4.0:
version "10.8.0"
resolved "http://registry.npm.taobao.org/validator/download/validator-10.8.0.tgz#8acb15a5c39411cbc8ef2be0c98c2514da4410a7"
vary@^1, vary@~1.1.2:
version "1.1.2"
resolved "http://npm.yohops.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
... ... @@ -10579,6 +10758,12 @@ winston@^2.4.0:
isstream "0.1.x"
stack-trace "0.0.x"
wkx@^0.4.1:
version "0.4.5"
resolved "http://registry.npm.taobao.org/wkx/download/wkx-0.4.5.tgz#a85e15a6e69d1bfaec2f3c523be3dfa40ab861d0"
dependencies:
"@types/node" "*"
wordwrap@0.0.2:
version "0.0.2"
resolved "http://npm.yohops.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"
... ...