Commit 2b43a4a9 authored by wty's avatar wty

上线前准备

parent 82b30992
......@@ -17,6 +17,7 @@
"morgan": "~1.9.1",
"mysql": "^2.18.1",
"nodemon": "^2.0.12",
"pm2": "^5.1.2",
"request": "^2.88.2"
}
}
......@@ -5,25 +5,34 @@ const router = express.Router()
router.get('/addToolBox', (req, res) => {
const {toolBoxName, toolBoxIcon, toolBoxDesc, toolBoxUrl, typeId, childTypeId} = req.query
// res.send({success: true})
const SQL = 'INSERT INTO toolbox (toolBoxName, toolBoxIcon, toolBoxDesc, toolBoxUrl, sortId) VALUES (?,?,?,?)'
const typeSQL = `INSERT INTO toolbox_type (typeId,toolBoxId) VALUES (?,?)`
try {
Mysql.query(SQL, [toolBoxName, toolBoxDesc, toolBoxIcon, toolBoxUrl], (err, result) => {
if (err) {
const SQL = 'INSERT INTO toolbox (toolBoxName, toolBoxIcon, toolBoxDesc, toolBoxUrl,sortId) VALUES (?,?,?,?,?)'
Mysql.query(SQL, [toolBoxName, toolBoxDesc, toolBoxIcon, toolBoxUrl, 0], (err, result) => {
if (err) {
res.send({
success: false,
err
})
return
}
request(domain + '/query/queryToolBox', {}, (a, b, body) => {
const data = JSON.parse(body).data
const lastToolBoxId = data[data.length - 1].toolBoxId
const SQL = 'INSERT INTO type_childtype_toolbox (toolBoxId,typeId,childTypeId) VALUES (?,?,?)'
Mysql.query(SQL, [lastToolBoxId,typeId,childTypeId], (err, result) => {
if (err) {
res.send({
success: false,
err
})
return
}
res.send({
success: false,
err
success: true
})
}
res.send({
success: true,
data: result
})
})
} catch (e) {
console.error(e)
}
})
})
router.get('/addType', (req, res) => {
......
......@@ -40,6 +40,9 @@ router.get('/queryChildType', (req, res) => {
router.get('/queryToolBox', (req, res) => {
let {isFollow, typeId} = req.query
let SQL = `SELECT toolbox.*, type_childtype_toolbox.childTypeId FROM type_childtype_toolbox INNER JOIN toolbox ON type_childtype_toolbox.toolBoxId = toolbox.toolBoxId WHERE type_childtype_toolbox.typeId = ?`
if (!isFollow && !typeId){
SQL = `SELECT * FROM toolBox`
}
if (isFollow) {
typeId = JSON.parse(typeId)
SQL = 'SELECT * FROM toolbox WHERE toolboxId IN (?)'
......@@ -52,11 +55,10 @@ router.get('/queryToolBox', (req, res) => {
})
throw err
}
const _result = result.slice()
res.send({
success: true,
data: _result.sort((a, b) => a.sortId - b.sortId)
data: result
})
})
});
......
......@@ -40,23 +40,23 @@ router.get('/queryChildType', (req, res) => {
router.get('/queryTypeForManage', (req, res) => {
const SQL = 'SELECT child_type.childTypeId, child_type.childTypeName, child_type.typeId, type.typeName FROM child_type INNER JOIN type ON child_type.typeId = type.typeId'
Mysql.query(SQL, [], (err, result) => {
console.log(result)
const dataArr = []
const combineType = (typeId) => {
if (dataArr.filter(v => v.typeId === typeId).length) return
const childType = result.filter(v => v.typeId === 2).map(v => ({
const combineType = (value) => {
if (dataArr.filter(v => v.typeId === value.typeId).length) return
const childType = result.filter(v => v.typeId === value.typeId).map(v => ({
childTypeId: v.childTypeId,
childTypeName: v.childTypeName
}))
dataArr.push({
typeId: result[0].typeId,
typeName: result[0].typeName,
typeId: value.typeId,
typeName: value.typeName,
children: childType
})
}
result.forEach(v => {
combineType(v.typeId)
combineType(v)
})
res.send({
success: true,
data: dataArr
......@@ -64,4 +64,51 @@ router.get('/queryTypeForManage', (req, res) => {
})
})
router.get('/deleteChildType', ((req, res) => {
const {childTypeId} = req.query
let SQL = 'DELETE FROM child_type WHERE childTypeId = ?;\n' +
'DELETE FROM type_childtype_toolbox WHERE childTypeId = ?;'
Mysql.query(SQL, [childTypeId, childTypeId], (err, result) => {
if (err) {
res.send({
success: false,
err
})
return
}
res.send({
success: true,
})
})
}))
router.get('/updateType', (req, res) => {
const {typeId, typeName, childTypeId, childTypeName} = req.query
let SQL
const values = []
if (typeId) {
SQL = 'UPDATE type SET typeName = ? WHERE typeId = ?'
values.push(typeName)
values.push(typeId)
} else {
SQL = 'UPDATE child_type SET childTypeName = ? WHERE childTypeId = ?'
values.push(childTypeName)
values.push(childTypeId)
}
Mysql.query(SQL, values, (err, result) => {
if (err) {
res.send({
success: false,
err
})
return
}
res.send({
success: true,
})
})
})
module.exports = router
......@@ -10,8 +10,6 @@ const ErrorCode = {
/* GET users listing. */
router.get('/getUser', function (req, res, next) {
let {userId} = req.cookies
console.log(req.cookies)
console.log('userId:',userId)
if (!userId){
userId = req.query.userId
}
......@@ -30,11 +28,13 @@ router.get('/getUser', function (req, res, next) {
success: false,
err
})
throw err
return
}
const _result = result.slice()
_result[0].follow = JSON.parse(_result[0].follow)
// console.log(JSON.parse(_result[0]))
res.send({
success: true,
......@@ -80,12 +80,11 @@ router.get('/follow', (req, res) => {
success: false,
err
})
throw err
return
}
res.send({
success: true,
})
})
})
......
......@@ -2,6 +2,89 @@
# yarn lockfile v1
"@opencensus/core@0.0.9":
version "0.0.9"
resolved "http://npm.dui88.com:80/@opencensus%2fcore/-/core-0.0.9.tgz#b16f775435ee309433e4126af194d37313fc93b3"
integrity sha1-sW93VDXuMJQz5BJq8ZTTcxP8k7M=
dependencies:
continuation-local-storage "^3.2.1"
log-driver "^1.2.7"
semver "^5.5.0"
shimmer "^1.2.0"
uuid "^3.2.1"
"@opencensus/core@^0.0.8":
version "0.0.8"
resolved "http://npm.dui88.com:80/@opencensus%2fcore/-/core-0.0.8.tgz#df01f200c2d2fbfe14dae129a1a86fb87286db92"
integrity sha1-3wHyAMLS+/4U2uEpoahvuHKG25I=
dependencies:
continuation-local-storage "^3.2.1"
log-driver "^1.2.7"
semver "^5.5.0"
shimmer "^1.2.0"
uuid "^3.2.1"
"@opencensus/propagation-b3@0.0.8":
version "0.0.8"
resolved "http://npm.dui88.com:80/@opencensus%2fpropagation-b3/-/propagation-b3-0.0.8.tgz#0751e6fd75f09400d9d3c419001e9e15a0df68e9"
integrity sha1-B1Hm/XXwlADZ08QZAB6eFaDfaOk=
dependencies:
"@opencensus/core" "^0.0.8"
uuid "^3.2.1"
"@pm2/agent@~2.0.0":
version "2.0.1"
resolved "http://npm.dui88.com:80/@pm2%2fagent/-/agent-2.0.1.tgz#0edffc54cd8ee2b12f90136264e7880f3f78c79d"
integrity sha1-Dt/8VM2O4rEvkBNiZOeIDz94x50=
dependencies:
async "~3.2.0"
chalk "~3.0.0"
dayjs "~1.8.24"
debug "~4.3.1"
eventemitter2 "~5.0.1"
fast-json-patch "^3.0.0-1"
fclone "~1.0.11"
nssocket "0.6.0"
pm2-axon "~4.0.1"
pm2-axon-rpc "~0.7.0"
proxy-agent "~5.0.0"
semver "~7.2.0"
ws "~7.4.0"
"@pm2/io@~5.0.0":
version "5.0.0"
resolved "http://npm.dui88.com:80/@pm2%2fio/-/io-5.0.0.tgz#623cbcaf6fe39375f20ac2e75497477a1b1ec5c5"
integrity sha1-Yjy8r2/jk3XyCsLnVJdHehsexcU=
dependencies:
"@opencensus/core" "0.0.9"
"@opencensus/propagation-b3" "0.0.8"
async "~2.6.1"
debug "~4.3.1"
eventemitter2 "^6.3.1"
require-in-the-middle "^5.0.0"
semver "6.3.0"
shimmer "^1.2.0"
signal-exit "^3.0.3"
tslib "1.9.3"
"@pm2/js-api@~0.6.7":
version "0.6.7"
resolved "http://npm.dui88.com:80/@pm2%2fjs-api/-/js-api-0.6.7.tgz#ed28c3b7b6d26f03f826318754fdc5468afa589f"
integrity sha1-7SjDt7bSbwP4JjGHVP3FRor6WJ8=
dependencies:
async "^2.6.3"
axios "^0.21.0"
debug "~4.3.1"
eventemitter2 "^6.3.1"
ws "^7.0.0"
"@pm2/pm2-version-check@latest":
version "1.0.4"
resolved "http://npm.dui88.com:80/@pm2%2fpm2-version-check/-/pm2-version-check-1.0.4.tgz#cf97fbb14b0eca95430ca05eedccbd2683806e43"
integrity sha1-z5f7sUsOypVDDKBe7cy9JoOAbkM=
dependencies:
debug "^4.3.1"
"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "http://npm.dui88.com:80/@sindresorhus%2fis/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
......@@ -14,6 +97,11 @@
dependencies:
defer-to-connect "^1.0.1"
"@tootallnate/once@1":
version "1.1.2"
resolved "http://npm.dui88.com:80/@tootallnate%2fonce/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
integrity sha1-zLkURTYBeaBOf+av94wA/8Hur4I=
"@types/body-parser@*":
version "1.19.1"
resolved "http://npm.dui88.com:80/@types%2fbody-parser/-/body-parser-1.19.1.tgz#0c0174c42a7d017b818303d4b5d969cb0b75929c"
......@@ -96,6 +184,13 @@ accepts@~1.3.5:
mime-types "~2.1.24"
negotiator "0.6.2"
agent-base@6, agent-base@^6.0.0, agent-base@^6.0.2:
version "6.0.2"
resolved "http://npm.dui88.com:80/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"
integrity sha1-Sf/1hXfP7j83F2/qtMIuAPhtf3c=
dependencies:
debug "4"
ajv@^6.12.3:
version "6.12.6"
resolved "http://npm.dui88.com:80/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
......@@ -106,6 +201,18 @@ ajv@^6.12.3:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
amp-message@~0.1.1:
version "0.1.2"
resolved "http://npm.dui88.com:80/amp-message/-/amp-message-0.1.2.tgz#a78f1c98995087ad36192a41298e4db49e3dfc45"
integrity sha1-p48cmJlQh602GSpBKY5NtJ49/EU=
dependencies:
amp "0.3.1"
amp@0.3.1, amp@~0.3.1:
version "0.3.1"
resolved "http://npm.dui88.com:80/amp/-/amp-0.3.1.tgz#6adf8d58a74f361e82c1fa8d389c079e139fc47d"
integrity sha1-at+NWKdPNh6CwfqNOJwHnhOfxH0=
ansi-align@^3.0.0:
version "3.0.0"
resolved "http://npm.dui88.com:80/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb"
......@@ -113,6 +220,11 @@ ansi-align@^3.0.0:
dependencies:
string-width "^3.0.0"
ansi-colors@^4.1.1:
version "4.1.1"
resolved "http://npm.dui88.com:80/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
integrity sha1-y7muJWv3UK8eqzRPIpqif+lLo0g=
ansi-regex@^4.1.0:
version "4.1.0"
resolved "http://npm.dui88.com:80/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
......@@ -138,6 +250,13 @@ anymatch@~3.1.2:
normalize-path "^3.0.0"
picomatch "^2.0.4"
argparse@^1.0.7:
version "1.0.10"
resolved "http://npm.dui88.com:80/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
integrity sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=
dependencies:
sprintf-js "~1.0.2"
array-flatten@1.1.1:
version "1.1.1"
resolved "http://npm.dui88.com:80/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2"
......@@ -155,6 +274,33 @@ assert-plus@1.0.0, assert-plus@^1.0.0:
resolved "http://npm.dui88.com:80/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=
ast-types@^0.13.2:
version "0.13.4"
resolved "http://npm.dui88.com:80/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
integrity sha1-7g13s0MmOWXsw/ti2hbnIisrZ4I=
dependencies:
tslib "^2.0.1"
async-listener@^0.6.0:
version "0.6.10"
resolved "http://npm.dui88.com:80/async-listener/-/async-listener-0.6.10.tgz#a7c97abe570ba602d782273c0de60a51e3e17cbc"
integrity sha1-p8l6vlcLpgLXgic8DeYKUePhfLw=
dependencies:
semver "^5.3.0"
shimmer "^1.1.0"
async@^2.6.3, async@~2.6.1:
version "2.6.3"
resolved "http://npm.dui88.com:80/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
integrity sha1-1yYl4jRKNlbjo61Pp0n6gymdgv8=
dependencies:
lodash "^4.17.14"
async@^3.2.0, async@~3.2.0:
version "3.2.1"
resolved "http://npm.dui88.com:80/async/-/async-3.2.1.tgz#d3274ec66d107a47476a4c49136aacdb00665fc8"
integrity sha1-0ydOxm0QekdHakxJE2qs2wBmX8g=
asynckit@^0.4.0:
version "0.4.0"
resolved "http://npm.dui88.com:80/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
......@@ -170,6 +316,13 @@ aws4@^1.8.0:
resolved "http://npm.dui88.com:80/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
integrity sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=
axios@^0.21.0:
version "0.21.4"
resolved "http://npm.dui88.com:80/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
integrity sha1-xnuQ3AVo5cHPKwuFjEO6KOLtpXU=
dependencies:
follow-redirects "^1.14.0"
balanced-match@^1.0.0:
version "1.0.2"
resolved "http://npm.dui88.com:80/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
......@@ -199,6 +352,16 @@ binary-extensions@^2.0.0:
resolved "http://npm.dui88.com:80/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha1-dfUC7q+f/eQvyYgpZFvk6na9ni0=
blessed@0.1.81:
version "0.1.81"
resolved "http://npm.dui88.com:80/blessed/-/blessed-0.1.81.tgz#f962d687ec2c369570ae71af843256e6d0ca1129"
integrity sha1-+WLWh+wsNpVwrnGvhDJW5tDKESk=
bodec@^0.1.0:
version "0.1.0"
resolved "http://npm.dui88.com:80/bodec/-/bodec-0.1.0.tgz#bc851555430f23c9f7650a75ef64c6a94c3418cc"
integrity sha1-vIUVVUMPI8n3ZQp172TGqUw0GMw=
body-parse@^0.1.0:
version "0.1.0"
resolved "http://npm.dui88.com:80/body-parse/-/body-parse-0.1.0.tgz#cd1639d9ac0725be81db38e1ca4012476f7051a6"
......@@ -265,6 +428,11 @@ braces@~3.0.2:
dependencies:
fill-range "^7.0.1"
buffer-from@^1.0.0:
version "1.1.2"
resolved "http://npm.dui88.com:80/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
integrity sha1-KxRqb9cugLT1XSVfNe1Zo6mkG9U=
bytes@3.0.0:
version "3.0.0"
resolved "http://npm.dui88.com:80/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
......@@ -298,7 +466,7 @@ caseless@~0.12.0:
resolved "http://npm.dui88.com:80/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
chalk@^3.0.0:
chalk@3.0.0, chalk@^3.0.0, chalk@~3.0.0:
version "3.0.0"
resolved "http://npm.dui88.com:80/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ=
......@@ -306,7 +474,12 @@ chalk@^3.0.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"
chokidar@^3.2.2:
charm@~0.1.1:
version "0.1.2"
resolved "http://npm.dui88.com:80/charm/-/charm-0.1.2.tgz#06c21eed1a1b06aeb67553cdc53e23274bac2296"
integrity sha1-BsIe7RobBq62dVPNxT4jJ0usIpY=
chokidar@^3.2.2, chokidar@^3.5.1:
version "3.5.2"
resolved "http://npm.dui88.com:80/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
integrity sha1-26OXb8rbAW9m/TZQIdkWANAcHnU=
......@@ -331,6 +504,13 @@ cli-boxes@^2.2.0:
resolved "http://npm.dui88.com:80/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
integrity sha1-3dUDXSUJT84iDpyrQKRYQKRAMY8=
cli-tableau@^2.0.0:
version "2.0.1"
resolved "http://npm.dui88.com:80/cli-tableau/-/cli-tableau-2.0.1.tgz#baa78d83e08a2d7ab79b7dad9406f0254977053f"
integrity sha1-uqeNg+CKLXq3m32tlAbwJUl3BT8=
dependencies:
chalk "3.0.0"
clone-response@^1.0.2:
version "1.0.2"
resolved "http://npm.dui88.com:80/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b"
......@@ -357,6 +537,11 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"
commander@2.15.1:
version "2.15.1"
resolved "http://npm.dui88.com:80/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
integrity sha1-30boZ9D8Kuxmo0ZitAapzK//Ww8=
concat-map@0.0.1:
version "0.0.1"
resolved "http://npm.dui88.com:80/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
......@@ -384,6 +569,14 @@ content-type@~1.0.4:
resolved "http://npm.dui88.com:80/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
integrity sha1-4TjMdeBAxyexlm/l5fjJruJW/js=
continuation-local-storage@^3.2.1:
version "3.2.1"
resolved "http://npm.dui88.com:80/continuation-local-storage/-/continuation-local-storage-3.2.1.tgz#11f613f74e914fe9b34c92ad2d28fe6ae1db7ffb"
integrity sha1-EfYT906RT+mzTJKtLSj+auHbf/s=
dependencies:
async-listener "^0.6.0"
emitter-listener "^1.1.1"
cookie-parser@~1.4.4:
version "1.4.5"
resolved "http://npm.dui88.com:80/cookie-parser/-/cookie-parser-1.4.5.tgz#3e572d4b7c0c80f9c61daf604e4336831b5d1d49"
......@@ -412,11 +605,23 @@ core-util-is@1.0.2, core-util-is@~1.0.0:
resolved "http://npm.dui88.com:80/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
cron@1.8.2:
version "1.8.2"
resolved "http://npm.dui88.com:80/cron/-/cron-1.8.2.tgz#4ac5e3c55ba8c163d84f3407bde94632da8370ce"
integrity sha1-SsXjxVuowWPYTzQHvelGMtqDcM4=
dependencies:
moment-timezone "^0.5.x"
crypto-random-string@^2.0.0:
version "2.0.0"
resolved "http://npm.dui88.com:80/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
integrity sha1-7yp6lm7BEIM4g2m6oC6+rSKbMNU=
culvert@^0.1.2:
version "0.1.2"
resolved "http://npm.dui88.com:80/culvert/-/culvert-0.1.2.tgz#9502f5f0154a2d5a22a023e79f71cc936fa6ef6f"
integrity sha1-lQL18BVKLVoioCPnn3HMk2+m728=
dashdash@^1.12.0:
version "1.14.1"
resolved "http://npm.dui88.com:80/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
......@@ -424,6 +629,16 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"
data-uri-to-buffer@3:
version "3.0.1"
resolved "http://npm.dui88.com:80/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636"
integrity sha1-WUuJc5OMW8LDMEZTV4U0GrxPNjY=
dayjs@~1.8.24, dayjs@~1.8.25:
version "1.8.36"
resolved "http://npm.dui88.com:80/dayjs/-/dayjs-1.8.36.tgz#be36e248467afabf8f5a86bae0de0cdceecced50"
integrity sha1-vjbiSEZ6+r+PWoa64N4M3O7M7VA=
debug@2.6.9, debug@^2.2.0, debug@~2.6.9:
version "2.6.9"
resolved "http://npm.dui88.com:80/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
......@@ -431,6 +646,13 @@ debug@2.6.9, debug@^2.2.0, debug@~2.6.9:
dependencies:
ms "2.0.0"
debug@4, debug@^4.1.1, debug@^4.3.1, debug@~4.3.1:
version "4.3.2"
resolved "http://npm.dui88.com:80/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
integrity sha1-8KScGKyHeeMdSgxgKd+3aHPHQos=
dependencies:
ms "2.1.2"
debug@^3.2.6:
version "3.2.7"
resolved "http://npm.dui88.com:80/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
......@@ -450,11 +672,26 @@ deep-extend@^0.6.0:
resolved "http://npm.dui88.com:80/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
integrity sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=
deep-is@~0.1.3:
version "0.1.4"
resolved "http://npm.dui88.com:80/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha1-pvLc5hL63S7x9Rm3NVHxfoUZmDE=
defer-to-connect@^1.0.1:
version "1.1.3"
resolved "http://npm.dui88.com:80/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
integrity sha1-MxrgUMCNz3ifjIOnuB8O2U9KxZE=
degenerator@^3.0.1:
version "3.0.1"
resolved "http://npm.dui88.com:80/degenerator/-/degenerator-3.0.1.tgz#7ef78ec0c8577a544477308ddf1d2d6e88d51f5b"
integrity sha1-fveOwMhXelREdzCN3x0tbojVH1s=
dependencies:
ast-types "^0.13.2"
escodegen "^1.8.1"
esprima "^4.0.0"
vm2 "^3.9.3"
delayed-stream@~1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
......@@ -495,6 +732,13 @@ ee-first@1.1.1:
resolved "http://npm.dui88.com:80/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
emitter-listener@^1.1.1:
version "1.1.2"
resolved "http://npm.dui88.com:80/emitter-listener/-/emitter-listener-1.1.2.tgz#56b140e8f6992375b3d7cb2cab1cc7432d9632e8"
integrity sha1-VrFA6PaZI3Wz18ssqxzHQy2WMug=
dependencies:
shimmer "^1.2.0"
emoji-regex@^7.0.1:
version "7.0.3"
resolved "http://npm.dui88.com:80/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
......@@ -517,6 +761,13 @@ end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
enquirer@2.3.6:
version "2.3.6"
resolved "http://npm.dui88.com:80/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d"
integrity sha1-Kn/l3WNKHkElqXXsmU/1RW3Dc00=
dependencies:
ansi-colors "^4.1.1"
escape-goat@^2.0.0:
version "2.1.1"
resolved "http://npm.dui88.com:80/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
......@@ -527,11 +778,58 @@ escape-html@~1.0.3:
resolved "http://npm.dui88.com:80/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=
escape-string-regexp@^4.0.0:
version "4.0.0"
resolved "http://npm.dui88.com:80/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha1-FLqDpdNz49MR5a/KKc9b+tllvzQ=
escodegen@^1.8.1:
version "1.14.3"
resolved "http://npm.dui88.com:80/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
integrity sha1-TnuB+6YVgdyXWC7XjKt/Do1j9QM=
dependencies:
esprima "^4.0.1"
estraverse "^4.2.0"
esutils "^2.0.2"
optionator "^0.8.1"
optionalDependencies:
source-map "~0.6.1"
esprima@^4.0.0, esprima@^4.0.1:
version "4.0.1"
resolved "http://npm.dui88.com:80/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=
estraverse@^4.2.0:
version "4.3.0"
resolved "http://npm.dui88.com:80/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
integrity sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0=
esutils@^2.0.2:
version "2.0.3"
resolved "http://npm.dui88.com:80/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
integrity sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=
etag@~1.8.1:
version "1.8.1"
resolved "http://npm.dui88.com:80/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
eventemitter2@5.0.1, eventemitter2@~5.0.1:
version "5.0.1"
resolved "http://npm.dui88.com:80/eventemitter2/-/eventemitter2-5.0.1.tgz#6197a095d5fb6b57e8942f6fd7eaad63a09c9452"
integrity sha1-YZegldX7a1folC9v1+qtY6CclFI=
eventemitter2@^6.3.1:
version "6.4.4"
resolved "http://npm.dui88.com:80/eventemitter2/-/eventemitter2-6.4.4.tgz#aa96e8275c4dbeb017a5d0e03780c65612a1202b"
integrity sha1-qpboJ1xNvrAXpdDgN4DGVhKhICs=
eventemitter2@~0.4.14:
version "0.4.14"
resolved "http://npm.dui88.com:80/eventemitter2/-/eventemitter2-0.4.14.tgz#8f61b75cde012b2e9eb284d4545583b5643b61ab"
integrity sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=
express@~4.16.1:
version "4.16.4"
resolved "http://npm.dui88.com:80/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e"
......@@ -588,11 +886,31 @@ fast-deep-equal@^3.1.1:
resolved "http://npm.dui88.com:80/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
integrity sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=
fast-json-patch@^3.0.0-1:
version "3.1.0"
resolved "http://npm.dui88.com:80/fast-json-patch/-/fast-json-patch-3.1.0.tgz#ec8cd9b9c4c564250ec8b9140ef7a55f70acaee6"
integrity sha1-7IzZucTFZCUOyLkUDvelX3CsruY=
fast-json-stable-stringify@^2.0.0:
version "2.1.0"
resolved "http://npm.dui88.com:80/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
integrity sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=
fast-levenshtein@~2.0.6:
version "2.0.6"
resolved "http://npm.dui88.com:80/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
fclone@1.0.11, fclone@~1.0.11:
version "1.0.11"
resolved "http://npm.dui88.com:80/fclone/-/fclone-1.0.11.tgz#10e85da38bfea7fc599341c296ee1d77266ee640"
integrity sha1-EOhdo4v+p/xZk0HClu4ddyZu5kA=
file-uri-to-path@2:
version "2.0.0"
resolved "http://npm.dui88.com:80/file-uri-to-path/-/file-uri-to-path-2.0.0.tgz#7b415aeba227d575851e0a5b0c640d7656403fba"
integrity sha1-e0Fa66In1XWFHgpbDGQNdlZAP7o=
fill-range@^7.0.1:
version "7.0.1"
resolved "http://npm.dui88.com:80/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
......@@ -613,6 +931,11 @@ finalhandler@1.1.1:
statuses "~1.4.0"
unpipe "~1.0.0"
follow-redirects@^1.14.0:
version "1.14.4"
resolved "http://npm.dui88.com:80/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379"
integrity sha1-g4/fSKi73XnlLuUfsclOPtmLk3k=
forever-agent@~0.6.1:
version "0.6.1"
resolved "http://npm.dui88.com:80/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
......@@ -637,11 +960,38 @@ fresh@0.5.2:
resolved "http://npm.dui88.com:80/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=
fs-extra@^8.1.0:
version "8.1.0"
resolved "http://npm.dui88.com:80/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
integrity sha1-SdQ8RaiM2Wd2aMt74bRu/bjS4cA=
dependencies:
graceful-fs "^4.2.0"
jsonfile "^4.0.0"
universalify "^0.1.0"
fs.realpath@^1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
fsevents@~2.3.2:
version "2.3.2"
resolved "http://npm.dui88.com:80/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
integrity sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=
ftp@^0.3.10:
version "0.3.10"
resolved "http://npm.dui88.com:80/ftp/-/ftp-0.3.10.tgz#9197d861ad8142f3e63d5a83bfe4c59f7330885d"
integrity sha1-kZfYYa2BQvPmPVqDv+TFn3MwiF0=
dependencies:
readable-stream "1.1.x"
xregexp "2.0.0"
function-bind@^1.1.1:
version "1.1.1"
resolved "http://npm.dui88.com:80/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=
get-stream@^4.1.0:
version "4.1.0"
resolved "http://npm.dui88.com:80/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
......@@ -656,6 +1006,18 @@ get-stream@^5.1.0:
dependencies:
pump "^3.0.0"
get-uri@3:
version "3.0.2"
resolved "http://npm.dui88.com:80/get-uri/-/get-uri-3.0.2.tgz#f0ef1356faabc70e1f9404fa3b66b2ba9bfc725c"
integrity sha1-8O8TVvqrxw4flAT6O2ayupv8clw=
dependencies:
"@tootallnate/once" "1"
data-uri-to-buffer "3"
debug "4"
file-uri-to-path "2"
fs-extra "^8.1.0"
ftp "^0.3.10"
getpass@^0.1.1:
version "0.1.7"
resolved "http://npm.dui88.com:80/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
......@@ -663,6 +1025,16 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"
git-node-fs@^1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/git-node-fs/-/git-node-fs-1.0.0.tgz#49b215e242ebe43aa4c7561bbba499521752080f"
integrity sha1-SbIV4kLr5Dqkx1Ybu6SZUhdSCA8=
git-sha1@^0.1.2:
version "0.1.2"
resolved "http://npm.dui88.com:80/git-sha1/-/git-sha1-0.1.2.tgz#599ac192b71875825e13a445f3a6e05118c2f745"
integrity sha1-WZrBkrcYdYJeE6RF86bgURjC90U=
glob-parent@~5.1.2:
version "5.1.2"
resolved "http://npm.dui88.com:80/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
......@@ -670,6 +1042,18 @@ glob-parent@~5.1.2:
dependencies:
is-glob "^4.0.1"
glob@^7.0.5:
version "7.2.0"
resolved "http://npm.dui88.com:80/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
integrity sha1-0VU1r3cy4C6Uj0xBYovZECk/YCM=
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"
global-dirs@^2.0.1:
version "2.1.0"
resolved "http://npm.dui88.com:80/global-dirs/-/global-dirs-2.1.0.tgz#e9046a49c806ff04d6c1825e196c8f0091e8df4d"
......@@ -694,7 +1078,7 @@ got@^9.6.0:
to-readable-stream "^1.0.0"
url-parse-lax "^3.0.0"
graceful-fs@^4.1.2:
graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0:
version "4.2.8"
resolved "http://npm.dui88.com:80/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
integrity sha1-5BK40z9eAGWTy9PO5t+fLOu+gCo=
......@@ -727,6 +1111,13 @@ has-yarn@^2.1.0:
resolved "http://npm.dui88.com:80/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
integrity sha1-E34RNUp7W/EapctknPDG8/8rLnc=
has@^1.0.3:
version "1.0.3"
resolved "http://npm.dui88.com:80/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=
dependencies:
function-bind "^1.1.1"
http-cache-semantics@^4.0.0:
version "4.1.0"
resolved "http://npm.dui88.com:80/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
......@@ -753,6 +1144,26 @@ http-errors@1.7.2:
statuses ">= 1.5.0 < 2"
toidentifier "1.0.0"
http-errors@1.7.3:
version "1.7.3"
resolved "http://npm.dui88.com:80/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06"
integrity sha1-bGGeT5xgMIw4UZSYwU+7EKrOuwY=
dependencies:
depd "~1.1.2"
inherits "2.0.4"
setprototypeof "1.1.1"
statuses ">= 1.5.0 < 2"
toidentifier "1.0.0"
http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1:
version "4.0.1"
resolved "http://npm.dui88.com:80/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a"
integrity sha1-ioyO9/WTLM+VPClsqCkblap0qjo=
dependencies:
"@tootallnate/once" "1"
agent-base "6"
debug "4"
http-signature@~1.2.0:
version "1.2.0"
resolved "http://npm.dui88.com:80/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
......@@ -762,6 +1173,14 @@ http-signature@~1.2.0:
jsprim "^1.2.2"
sshpk "^1.7.0"
https-proxy-agent@5, https-proxy-agent@^5.0.0:
version "5.0.0"
resolved "http://npm.dui88.com:80/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2"
integrity sha1-4qkFQqu2inYuCghQ9sntrf2FBrI=
dependencies:
agent-base "6"
debug "4"
iconv-lite@0.4.23:
version "0.4.23"
resolved "http://npm.dui88.com:80/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
......@@ -769,7 +1188,7 @@ iconv-lite@0.4.23:
dependencies:
safer-buffer ">= 2.1.2 < 3"
iconv-lite@0.4.24:
iconv-lite@0.4.24, iconv-lite@^0.4.4:
version "0.4.24"
resolved "http://npm.dui88.com:80/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=
......@@ -791,26 +1210,39 @@ imurmurhash@^0.1.4:
resolved "http://npm.dui88.com:80/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
inherits@2.0.3:
version "2.0.3"
resolved "http://npm.dui88.com:80/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
inflight@^1.0.4:
version "1.0.6"
resolved "http://npm.dui88.com:80/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
dependencies:
once "^1.3.0"
wrappy "1"
inherits@~2.0.3:
inherits@2, inherits@2.0.4, inherits@~2.0.1, inherits@~2.0.3:
version "2.0.4"
resolved "http://npm.dui88.com:80/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=
inherits@2.0.3:
version "2.0.3"
resolved "http://npm.dui88.com:80/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
ini@1.3.7:
version "1.3.7"
resolved "http://npm.dui88.com:80/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
integrity sha1-oJNj4ZEZcuoW16iFEAXYTPCamoQ=
ini@~1.3.0:
ini@^1.3.5, ini@~1.3.0:
version "1.3.8"
resolved "http://npm.dui88.com:80/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
integrity sha1-op2kJbSIBvNHZ6Tvzjlyaa8oQyw=
ip@^1.1.5:
version "1.1.5"
resolved "http://npm.dui88.com:80/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
ipaddr.js@1.9.1:
version "1.9.1"
resolved "http://npm.dui88.com:80/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"
......@@ -830,6 +1262,13 @@ is-ci@^2.0.0:
dependencies:
ci-info "^2.0.0"
is-core-module@^2.2.0:
version "2.7.0"
resolved "http://npm.dui88.com:80/is-core-module/-/is-core-module-2.7.0.tgz#3c0ef7d31b4acfc574f80c58409d568a836848e3"
integrity sha1-PA730xtKz8V0+AxYQJ1WioNoSOM=
dependencies:
has "^1.0.3"
is-extglob@^2.1.1:
version "2.1.1"
resolved "http://npm.dui88.com:80/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
......@@ -890,6 +1329,11 @@ is-yarn-global@^0.3.0:
resolved "http://npm.dui88.com:80/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232"
integrity sha1-1QLTOCWQ6jAEiTdGdUyJE5lz4jI=
isarray@0.0.1:
version "0.0.1"
resolved "http://npm.dui88.com:80/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
isarray@~1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
......@@ -900,6 +1344,16 @@ isstream@~0.1.2:
resolved "http://npm.dui88.com:80/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
js-git@^0.7.8:
version "0.7.8"
resolved "http://npm.dui88.com:80/js-git/-/js-git-0.7.8.tgz#52fa655ab61877d6f1079efc6534b554f31e5444"
integrity sha1-UvplWrYYd9bxB578ZTS1VPMeVEQ=
dependencies:
bodec "^0.1.0"
culvert "^0.1.2"
git-sha1 "^0.1.2"
pako "^0.2.5"
jsbn@~0.1.0:
version "0.1.1"
resolved "http://npm.dui88.com:80/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
......@@ -920,11 +1374,18 @@ json-schema@0.2.3:
resolved "http://npm.dui88.com:80/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=
json-stringify-safe@~5.0.1:
json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1:
version "5.0.1"
resolved "http://npm.dui88.com:80/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
jsonfile@^4.0.0:
version "4.0.0"
resolved "http://npm.dui88.com:80/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=
optionalDependencies:
graceful-fs "^4.1.6"
jsprim@^1.2.2:
version "1.4.1"
resolved "http://npm.dui88.com:80/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
......@@ -949,6 +1410,29 @@ latest-version@^5.0.0:
dependencies:
package-json "^6.3.0"
lazy@~1.0.11:
version "1.0.11"
resolved "http://npm.dui88.com:80/lazy/-/lazy-1.0.11.tgz#daa068206282542c088288e975c297c1ae77b690"
integrity sha1-2qBoIGKCVCwIgojpdcKXwa53tpA=
levn@~0.3.0:
version "0.3.0"
resolved "http://npm.dui88.com:80/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=
dependencies:
prelude-ls "~1.1.2"
type-check "~0.3.2"
lodash@^4.17.14:
version "4.17.21"
resolved "http://npm.dui88.com:80/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=
log-driver@^1.2.7:
version "1.2.7"
resolved "http://npm.dui88.com:80/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
integrity sha1-Y7lQIfBwL+36LJuwok53l9cYcdg=
lowercase-keys@^1.0.0, lowercase-keys@^1.0.1:
version "1.0.1"
resolved "http://npm.dui88.com:80/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f"
......@@ -959,6 +1443,20 @@ lowercase-keys@^2.0.0:
resolved "http://npm.dui88.com:80/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
integrity sha1-JgPni3tLAAbLyi+8yKMgJVislHk=
lru-cache@^5.1.1:
version "5.1.1"
resolved "http://npm.dui88.com:80/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
integrity sha1-HaJ+ZxAnGUdpXa9oSOhH8B2EuSA=
dependencies:
yallist "^3.0.2"
lru-cache@^6.0.0:
version "6.0.0"
resolved "http://npm.dui88.com:80/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
integrity sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ=
dependencies:
yallist "^4.0.0"
make-dir@^3.0.0:
version "3.1.0"
resolved "http://npm.dui88.com:80/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
......@@ -1015,6 +1513,28 @@ minimist@^1.2.0:
resolved "http://npm.dui88.com:80/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha1-Z9ZgFLZqaoqqDAg8X9WN9OTpdgI=
mkdirp@1.0.4:
version "1.0.4"
resolved "http://npm.dui88.com:80/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha1-PrXtYmInVteaXw4qIh3+utdcL34=
module-details-from-path@^1.0.3:
version "1.0.3"
resolved "http://npm.dui88.com:80/module-details-from-path/-/module-details-from-path-1.0.3.tgz#114c949673e2a8a35e9d35788527aa37b679da2b"
integrity sha1-EUyUlnPiqKNenTV4hSeqN7Z52is=
moment-timezone@^0.5.x:
version "0.5.33"
resolved "http://npm.dui88.com:80/moment-timezone/-/moment-timezone-0.5.33.tgz#b252fd6bb57f341c9b59a5ab61a8e51a73bbd22c"
integrity sha1-slL9a7V/NBybWaWrYajlGnO70iw=
dependencies:
moment ">= 2.9.0"
"moment@>= 2.9.0":
version "2.29.1"
resolved "http://npm.dui88.com:80/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
integrity sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M=
morgan@~1.9.1:
version "1.9.1"
resolved "http://npm.dui88.com:80/morgan/-/morgan-1.9.1.tgz#0a8d16734a1d9afbc824b99df87e738e58e2da59"
......@@ -1031,11 +1551,21 @@ ms@2.0.0:
resolved "http://npm.dui88.com:80/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
ms@2.1.2:
version "2.1.2"
resolved "http://npm.dui88.com:80/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
ms@^2.1.1:
version "2.1.3"
resolved "http://npm.dui88.com:80/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=
mute-stream@~0.0.4:
version "0.0.8"
resolved "http://npm.dui88.com:80/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
integrity sha1-FjDEKyJR/4HiooPelqVJfqkuXg0=
mysql@^2.18.1:
version "2.18.1"
resolved "http://npm.dui88.com:80/mysql/-/mysql-2.18.1.tgz#2254143855c5a8c73825e4522baf2ea021766717"
......@@ -1046,11 +1576,25 @@ mysql@^2.18.1:
safe-buffer "5.1.2"
sqlstring "2.3.1"
needle@2.4.0:
version "2.4.0"
resolved "http://npm.dui88.com:80/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
integrity sha1-aDPnSXXERGQlkOFadQKIxfk5tXw=
dependencies:
debug "^3.2.6"
iconv-lite "^0.4.4"
sax "^1.2.4"
negotiator@0.6.2:
version "0.6.2"
resolved "http://npm.dui88.com:80/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
integrity sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs=
netmask@^2.0.1:
version "2.0.2"
resolved "http://npm.dui88.com:80/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7"
integrity sha1-iwGgdkQGXVNjg4NYI7xSAE66xec=
nodemon@^2.0.12:
version "2.0.12"
resolved "http://npm.dui88.com:80/nodemon/-/nodemon-2.0.12.tgz#5dae4e162b617b91f1873b3bfea215dd71e144d5"
......@@ -1084,6 +1628,14 @@ normalize-url@^4.1.0:
resolved "http://npm.dui88.com:80/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a"
integrity sha1-DdkM8SiO4dExO4cIHJpZMu5IUYo=
nssocket@0.6.0:
version "0.6.0"
resolved "http://npm.dui88.com:80/nssocket/-/nssocket-0.6.0.tgz#59f96f6ff321566f33c70f7dbeeecdfdc07154fa"
integrity sha1-Wflvb/MhVm8zxw99vu7N/cBxVPo=
dependencies:
eventemitter2 "~0.4.14"
lazy "~1.0.11"
oauth-sign@~0.9.0:
version "0.9.0"
resolved "http://npm.dui88.com:80/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
......@@ -1101,18 +1653,54 @@ on-headers@~1.0.1:
resolved "http://npm.dui88.com:80/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f"
integrity sha1-dysK5qqlJcOZ5Imt+tkMQD6zwo8=
once@^1.3.1, once@^1.4.0:
once@^1.3.0, once@^1.3.1, once@^1.4.0:
version "1.4.0"
resolved "http://npm.dui88.com:80/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
dependencies:
wrappy "1"
optionator@^0.8.1:
version "0.8.3"
resolved "http://npm.dui88.com:80/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495"
integrity sha1-hPodA2/p08fiHZmIS2ARZ+yPtJU=
dependencies:
deep-is "~0.1.3"
fast-levenshtein "~2.0.6"
levn "~0.3.0"
prelude-ls "~1.1.2"
type-check "~0.3.2"
word-wrap "~1.2.3"
p-cancelable@^1.0.0:
version "1.1.0"
resolved "http://npm.dui88.com:80/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc"
integrity sha1-0HjRWjr0CSIMiG8dmgyi5EGrJsw=
pac-proxy-agent@^5.0.0:
version "5.0.0"
resolved "http://npm.dui88.com:80/pac-proxy-agent/-/pac-proxy-agent-5.0.0.tgz#b718f76475a6a5415c2efbe256c1c971c84f635e"
integrity sha1-txj3ZHWmpUFcLvviVsHJcchPY14=
dependencies:
"@tootallnate/once" "1"
agent-base "6"
debug "4"
get-uri "3"
http-proxy-agent "^4.0.1"
https-proxy-agent "5"
pac-resolver "^5.0.0"
raw-body "^2.2.0"
socks-proxy-agent "5"
pac-resolver@^5.0.0:
version "5.0.0"
resolved "http://npm.dui88.com:80/pac-resolver/-/pac-resolver-5.0.0.tgz#1d717a127b3d7a9407a16d6e1b012b13b9ba8dc0"
integrity sha1-HXF6Ens9epQHoW1uGwErE7m6jcA=
dependencies:
degenerator "^3.0.1"
ip "^1.1.5"
netmask "^2.0.1"
package-json@^6.3.0:
version "6.5.0"
resolved "http://npm.dui88.com:80/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0"
......@@ -1123,11 +1711,26 @@ package-json@^6.3.0:
registry-url "^5.0.0"
semver "^6.2.0"
pako@^0.2.5:
version "0.2.9"
resolved "http://npm.dui88.com:80/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75"
integrity sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=
parseurl@~1.3.2:
version "1.3.3"
resolved "http://npm.dui88.com:80/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
integrity sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ=
path-is-absolute@^1.0.0:
version "1.0.1"
resolved "http://npm.dui88.com:80/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
path-parse@^1.0.6:
version "1.0.7"
resolved "http://npm.dui88.com:80/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha1-+8EUtgykKzDZ2vWFjkvWi77bZzU=
path-to-regexp@0.1.7:
version "0.1.7"
resolved "http://npm.dui88.com:80/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
......@@ -1143,6 +1746,98 @@ picomatch@^2.0.4, picomatch@^2.2.1:
resolved "http://npm.dui88.com:80/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
integrity sha1-8fBh3o9qS/AiiS4tEoI0+5gwKXI=
pidusage@2.0.21, pidusage@^2.0.21:
version "2.0.21"
resolved "http://npm.dui88.com:80/pidusage/-/pidusage-2.0.21.tgz#7068967b3d952baea73e57668c98b9eaa876894e"
integrity sha1-cGiWez2VK66nPldmjJi56qh2iU4=
dependencies:
safe-buffer "^5.2.1"
pm2-axon-rpc@~0.7.0, pm2-axon-rpc@~0.7.1:
version "0.7.1"
resolved "http://npm.dui88.com:80/pm2-axon-rpc/-/pm2-axon-rpc-0.7.1.tgz#2daec5383a63135b3f18babb70266dacdcbc429a"
integrity sha1-La7FODpjE1s/GLq7cCZtrNy8Qpo=
dependencies:
debug "^4.3.1"
pm2-axon@~4.0.1:
version "4.0.1"
resolved "http://npm.dui88.com:80/pm2-axon/-/pm2-axon-4.0.1.tgz#a7b4bb586e9aeb35b1042b488cde15b60cabafd2"
integrity sha1-p7S7WG6a6zWxBCtIjN4Vtgyrr9I=
dependencies:
amp "~0.3.1"
amp-message "~0.1.1"
debug "^4.3.1"
escape-string-regexp "^4.0.0"
pm2-deploy@~1.0.2:
version "1.0.2"
resolved "http://npm.dui88.com:80/pm2-deploy/-/pm2-deploy-1.0.2.tgz#98d8385553a3a4dca11c7b3116deb519bc5961a7"
integrity sha1-mNg4VVOjpNyhHHsxFt61GbxZYac=
dependencies:
run-series "^1.1.8"
tv4 "^1.3.0"
pm2-multimeter@^0.1.2:
version "0.1.2"
resolved "http://npm.dui88.com:80/pm2-multimeter/-/pm2-multimeter-0.1.2.tgz#1a1e55153d41a05534cea23cfe860abaa0eb4ace"
integrity sha1-Gh5VFT1BoFU0zqI8/oYKuqDrSs4=
dependencies:
charm "~0.1.1"
pm2-sysmonit@^1.2.8:
version "1.2.8"
resolved "http://npm.dui88.com:80/pm2-sysmonit/-/pm2-sysmonit-1.2.8.tgz#eddea34a53fd8c8d7c3efb73b97a3c548686e24d"
integrity sha1-7d6jSlP9jI18PvtzuXo8VIaG4k0=
dependencies:
async "^3.2.0"
debug "^4.3.1"
pidusage "^2.0.21"
systeminformation "^5.7"
tx2 "~1.0.4"
pm2@^5.1.2:
version "5.1.2"
resolved "http://npm.dui88.com:80/pm2/-/pm2-5.1.2.tgz#bffe4e9a84ee013362717eaad1b39b4d73f0fcd0"
integrity sha1-v/5OmoTuATNicX6q0bObTXPw/NA=
dependencies:
"@pm2/agent" "~2.0.0"
"@pm2/io" "~5.0.0"
"@pm2/js-api" "~0.6.7"
"@pm2/pm2-version-check" latest
async "~3.2.0"
blessed "0.1.81"
chalk "3.0.0"
chokidar "^3.5.1"
cli-tableau "^2.0.0"
commander "2.15.1"
cron "1.8.2"
dayjs "~1.8.25"
debug "^4.3.1"
enquirer "2.3.6"
eventemitter2 "5.0.1"
fclone "1.0.11"
mkdirp "1.0.4"
needle "2.4.0"
pidusage "2.0.21"
pm2-axon "~4.0.1"
pm2-axon-rpc "~0.7.1"
pm2-deploy "~1.0.2"
pm2-multimeter "^0.1.2"
promptly "^2"
semver "^7.2"
source-map-support "0.5.19"
sprintf-js "1.1.2"
vizion "~2.2.1"
yamljs "0.3.0"
optionalDependencies:
pm2-sysmonit "^1.2.8"
prelude-ls@~1.1.2:
version "1.1.2"
resolved "http://npm.dui88.com:80/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
prepend-http@^2.0.0:
version "2.0.0"
resolved "http://npm.dui88.com:80/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
......@@ -1153,6 +1848,13 @@ process-nextick-args@~2.0.0:
resolved "http://npm.dui88.com:80/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha1-eCDZsWEgzFXKmud5JoCufbptf+I=
promptly@^2:
version "2.2.0"
resolved "http://npm.dui88.com:80/promptly/-/promptly-2.2.0.tgz#2a13fa063688a2a5983b161fff0108a07d26fc74"
integrity sha1-KhP6BjaIoqWYOxYf/wEIoH0m/HQ=
dependencies:
read "^1.0.4"
proxy-addr@~2.0.4:
version "2.0.7"
resolved "http://npm.dui88.com:80/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
......@@ -1161,6 +1863,25 @@ proxy-addr@~2.0.4:
forwarded "0.2.0"
ipaddr.js "1.9.1"
proxy-agent@~5.0.0:
version "5.0.0"
resolved "http://npm.dui88.com:80/proxy-agent/-/proxy-agent-5.0.0.tgz#d31405c10d6e8431fde96cba7a0c027ce01d633b"
integrity sha1-0xQFwQ1uhDH96Wy6egwCfOAdYzs=
dependencies:
agent-base "^6.0.0"
debug "4"
http-proxy-agent "^4.0.0"
https-proxy-agent "^5.0.0"
lru-cache "^5.1.1"
pac-proxy-agent "^5.0.0"
proxy-from-env "^1.0.0"
socks-proxy-agent "^5.0.0"
proxy-from-env@^1.0.0:
version "1.1.0"
resolved "http://npm.dui88.com:80/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha1-4QLxbKNVQkhldV0sno6k8k1Yw+I=
psl@^1.1.28:
version "1.8.0"
resolved "http://npm.dui88.com:80/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
......@@ -1226,6 +1947,16 @@ raw-body@2.4.0:
iconv-lite "0.4.24"
unpipe "1.0.0"
raw-body@^2.2.0:
version "2.4.1"
resolved "http://npm.dui88.com:80/raw-body/-/raw-body-2.4.1.tgz#30ac82f98bb5ae8c152e67149dac8d55153b168c"
integrity sha1-MKyC+Yu1rowVLmcUnayNVRU7Fow=
dependencies:
bytes "3.1.0"
http-errors "1.7.3"
iconv-lite "0.4.24"
unpipe "1.0.0"
rc@^1.2.8:
version "1.2.8"
resolved "http://npm.dui88.com:80/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
......@@ -1236,6 +1967,23 @@ rc@^1.2.8:
minimist "^1.2.0"
strip-json-comments "~2.0.1"
read@^1.0.4:
version "1.0.7"
resolved "http://npm.dui88.com:80/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"
integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=
dependencies:
mute-stream "~0.0.4"
readable-stream@1.1.x:
version "1.1.14"
resolved "http://npm.dui88.com:80/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk=
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.1"
isarray "0.0.1"
string_decoder "~0.10.x"
readable-stream@2.3.7:
version "2.3.7"
resolved "http://npm.dui88.com:80/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
......@@ -1296,6 +2044,23 @@ request@^2.88.2:
tunnel-agent "^0.6.0"
uuid "^3.3.2"
require-in-the-middle@^5.0.0:
version "5.1.0"
resolved "http://npm.dui88.com:80/require-in-the-middle/-/require-in-the-middle-5.1.0.tgz#b768f800377b47526d026bbf5a7f727f16eb412f"
integrity sha1-t2j4ADd7R1JtAmu/Wn9yfxbrQS8=
dependencies:
debug "^4.1.1"
module-details-from-path "^1.0.3"
resolve "^1.12.0"
resolve@^1.12.0:
version "1.20.0"
resolved "http://npm.dui88.com:80/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
integrity sha1-YpoBP7P3B1XW8LeTXMHCxTeLGXU=
dependencies:
is-core-module "^2.2.0"
path-parse "^1.0.6"
responselike@^1.0.2:
version "1.0.2"
resolved "http://npm.dui88.com:80/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"
......@@ -1303,12 +2068,17 @@ responselike@^1.0.2:
dependencies:
lowercase-keys "^1.0.0"
run-series@^1.1.8:
version "1.1.9"
resolved "http://npm.dui88.com:80/run-series/-/run-series-1.1.9.tgz#15ba9cb90e6a6c054e67c98e1dc063df0ecc113a"
integrity sha1-FbqcuQ5qbAVOZ8mOHcBj3w7METo=
safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
resolved "http://npm.dui88.com:80/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0=
safe-buffer@^5.0.1, safe-buffer@^5.1.2:
safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.1:
version "5.2.1"
resolved "http://npm.dui88.com:80/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
integrity sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=
......@@ -1318,6 +2088,11 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.2:
resolved "http://npm.dui88.com:80/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=
sax@^1.2.4:
version "1.2.4"
resolved "http://npm.dui88.com:80/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha1-KBYjTiN4vdxOU1T6tcqold9xANk=
semver-diff@^3.1.1:
version "3.1.1"
resolved "http://npm.dui88.com:80/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b"
......@@ -1325,15 +2100,27 @@ semver-diff@^3.1.1:
dependencies:
semver "^6.3.0"
semver@^5.7.1:
semver@6.3.0, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
version "6.3.0"
resolved "http://npm.dui88.com:80/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
semver@^5.3.0, semver@^5.5.0, semver@^5.7.1:
version "5.7.1"
resolved "http://npm.dui88.com:80/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
version "6.3.0"
resolved "http://npm.dui88.com:80/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
semver@^7.2:
version "7.3.5"
resolved "http://npm.dui88.com:80/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
integrity sha1-C2Ich5NI2JmOSw5L6Us/EuYBjvc=
dependencies:
lru-cache "^6.0.0"
semver@~7.2.0:
version "7.2.3"
resolved "http://npm.dui88.com:80/semver/-/semver-7.2.3.tgz#3641217233c6382173c76bf2c7ecd1e1c16b0d8a"
integrity sha1-NkEhcjPGOCFzx2vyx+zR4cFrDYo=
send@0.16.2:
version "0.16.2"
......@@ -1374,11 +2161,66 @@ setprototypeof@1.1.1:
resolved "http://npm.dui88.com:80/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
integrity sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM=
shimmer@^1.1.0, shimmer@^1.2.0:
version "1.2.1"
resolved "http://npm.dui88.com:80/shimmer/-/shimmer-1.2.1.tgz#610859f7de327b587efebf501fb43117f9aff337"
integrity sha1-YQhZ994ye1h+/r9QH7QxF/mv8zc=
signal-exit@^3.0.2:
version "3.0.3"
resolved "http://npm.dui88.com:80/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
integrity sha1-oUEMLt2PB3sItOJTyOrPyvBXRhw=
signal-exit@^3.0.3:
version "3.0.5"
resolved "http://npm.dui88.com:80/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
integrity sha1-nj6MwMdamUcrRDIQM6dwLnc4JS8=
smart-buffer@^4.1.0:
version "4.2.0"
resolved "http://npm.dui88.com:80/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae"
integrity sha1-bh1x+k8YwF99D/IW3RakgdDo2a4=
socks-proxy-agent@5, socks-proxy-agent@^5.0.0:
version "5.0.1"
resolved "http://npm.dui88.com:80/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz#032fb583048a29ebffec2e6a73fca0761f48177e"
integrity sha1-Ay+1gwSKKev/7C5qc/ygdh9IF34=
dependencies:
agent-base "^6.0.2"
debug "4"
socks "^2.3.3"
socks@^2.3.3:
version "2.6.1"
resolved "http://npm.dui88.com:80/socks/-/socks-2.6.1.tgz#989e6534a07cf337deb1b1c94aaa44296520d30e"
integrity sha1-mJ5lNKB88zfesbHJSqpEKWUg0w4=
dependencies:
ip "^1.1.5"
smart-buffer "^4.1.0"
source-map-support@0.5.19:
version "0.5.19"
resolved "http://npm.dui88.com:80/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha1-qYti+G3K9PZzmWSMCFKRq56P7WE=
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"
source-map@^0.6.0, source-map@~0.6.1:
version "0.6.1"
resolved "http://npm.dui88.com:80/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha1-dHIq8y6WFOnCh6jQu95IteLxomM=
sprintf-js@1.1.2:
version "1.1.2"
resolved "http://npm.dui88.com:80/sprintf-js/-/sprintf-js-1.1.2.tgz#da1765262bf8c0f571749f2ad6c26300207ae673"
integrity sha1-2hdlJiv4wPVxdJ8q1sJjACB65nM=
sprintf-js@~1.0.2:
version "1.0.3"
resolved "http://npm.dui88.com:80/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
sqlstring@2.3.1:
version "2.3.1"
resolved "http://npm.dui88.com:80/sqlstring/-/sqlstring-2.3.1.tgz#475393ff9e91479aea62dcaf0ca3d14983a7fb40"
......@@ -1427,6 +2269,11 @@ string-width@^4.0.0, string-width@^4.1.0:
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.0"
string_decoder@~0.10.x:
version "0.10.31"
resolved "http://npm.dui88.com:80/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
string_decoder@~1.1.1:
version "1.1.1"
resolved "http://npm.dui88.com:80/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
......@@ -1467,6 +2314,11 @@ supports-color@^7.1.0:
dependencies:
has-flag "^4.0.0"
systeminformation@^5.7:
version "5.9.4"
resolved "http://npm.dui88.com:80/systeminformation/-/systeminformation-5.9.4.tgz#1f0e29e0aa376dec8f69cc517eeefc5cdcda411a"
integrity sha1-Hw4p4Ko3beyPacxRfu78XNzaQRo=
term-size@^2.1.0:
version "2.2.1"
resolved "http://npm.dui88.com:80/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54"
......@@ -1504,6 +2356,16 @@ tough-cookie@~2.5.0:
psl "^1.1.28"
punycode "^2.1.1"
tslib@1.9.3:
version "1.9.3"
resolved "http://npm.dui88.com:80/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
integrity sha1-1+TdeSRdhUKMTX5IIqeZF5VMooY=
tslib@^2.0.1:
version "2.3.1"
resolved "http://npm.dui88.com:80/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha1-6KM1rdXOrlGqJh0ypJAVjvBC7wE=
tunnel-agent@^0.6.0:
version "0.6.0"
resolved "http://npm.dui88.com:80/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
......@@ -1511,11 +2373,30 @@ tunnel-agent@^0.6.0:
dependencies:
safe-buffer "^5.0.1"
tv4@^1.3.0:
version "1.3.0"
resolved "http://npm.dui88.com:80/tv4/-/tv4-1.3.0.tgz#d020c846fadd50c855abb25ebaecc68fc10f7963"
integrity sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=
tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.5"
resolved "http://npm.dui88.com:80/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
tx2@~1.0.4:
version "1.0.4"
resolved "http://npm.dui88.com:80/tx2/-/tx2-1.0.4.tgz#cb9432df22e0b8c54daf711b51b708f094449ddf"
integrity sha1-y5Qy3yLguMVNr3EbUbcI8JREnd8=
dependencies:
json-stringify-safe "^5.0.1"
type-check@~0.3.2:
version "0.3.2"
resolved "http://npm.dui88.com:80/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"
integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=
dependencies:
prelude-ls "~1.1.2"
type-fest@^0.8.1:
version "0.8.1"
resolved "http://npm.dui88.com:80/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
......@@ -1550,6 +2431,11 @@ unique-string@^2.0.0:
dependencies:
crypto-random-string "^2.0.0"
universalify@^0.1.0:
version "0.1.2"
resolved "http://npm.dui88.com:80/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=
unpipe@1.0.0, unpipe@~1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
......@@ -1598,7 +2484,7 @@ utils-merge@1.0.1:
resolved "http://npm.dui88.com:80/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
uuid@^3.3.2:
uuid@^3.2.1, uuid@^3.3.2:
version "3.4.0"
resolved "http://npm.dui88.com:80/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=
......@@ -1617,6 +2503,21 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"
vizion@~2.2.1:
version "2.2.1"
resolved "http://npm.dui88.com:80/vizion/-/vizion-2.2.1.tgz#04201ea45ffd145d5b5210e385a8f35170387fb2"
integrity sha1-BCAepF/9FF1bUhDjhajzUXA4f7I=
dependencies:
async "^2.6.3"
git-node-fs "^1.0.0"
ini "^1.3.5"
js-git "^0.7.8"
vm2@^3.9.3:
version "3.9.3"
resolved "http://npm.dui88.com:80/vm2/-/vm2-3.9.3.tgz#29917f6cc081cc43a3f580c26c5b553fd3c91f40"
integrity sha1-KZF/bMCBzEOj9YDCbFtVP9PJH0A=
widest-line@^3.1.0:
version "3.1.0"
resolved "http://npm.dui88.com:80/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"
......@@ -1624,6 +2525,11 @@ widest-line@^3.1.0:
dependencies:
string-width "^4.0.0"
word-wrap@~1.2.3:
version "1.2.3"
resolved "http://npm.dui88.com:80/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w=
wrappy@1:
version "1.0.2"
resolved "http://npm.dui88.com:80/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
......@@ -1639,7 +2545,40 @@ write-file-atomic@^3.0.0:
signal-exit "^3.0.2"
typedarray-to-buffer "^3.1.5"
ws@^7.0.0:
version "7.5.5"
resolved "http://npm.dui88.com:80/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881"
integrity sha1-i0vEr1GM+r0Ec65PmRRCh7M+uIE=
ws@~7.4.0:
version "7.4.6"
resolved "http://npm.dui88.com:80/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
integrity sha1-VlTKjs3u5HwzqaS/bSjivimAN3w=
xdg-basedir@^4.0.0:
version "4.0.0"
resolved "http://npm.dui88.com:80/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
integrity sha1-S8jZmEQDaWIl74OhVzy7y0552xM=
xregexp@2.0.0:
version "2.0.0"
resolved "http://npm.dui88.com:80/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943"
integrity sha1-UqY+VsoLhKfzpfPWGHLxJq16WUM=
yallist@^3.0.2:
version "3.1.1"
resolved "http://npm.dui88.com:80/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
integrity sha1-27fa+b/YusmrRev2ArjLrQ1dCP0=
yallist@^4.0.0:
version "4.0.0"
resolved "http://npm.dui88.com:80/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=
yamljs@0.3.0:
version "0.3.0"
resolved "http://npm.dui88.com:80/yamljs/-/yamljs-0.3.0.tgz#dc060bf267447b39f7304e9b2bfbe8b5a7ddb03b"
integrity sha1-3AYL8mdEezn3ME6bK/votafdsDs=
dependencies:
argparse "^1.0.7"
glob "^7.0.5"
......@@ -20,8 +20,9 @@ function ContentItem(props) {
const index = _follow.indexOf(toolBoxId)
_follow.splice(index, 1)
}
console.log( {follow: JSON.stringify(_follow), userId: dataCenter.userInfo.uid})
fetchData('/users/follow', {follow: JSON.stringify(_follow), userId: dataCenter.userInfo.uid})
.then(() => fetchData('/users/getUser', {}, 'userInfo'))
.then(() => fetchData('/users/getUser', {userId: 100001}, 'userInfo'))
}
useEffect(() => {
......
......@@ -4,7 +4,7 @@ const initDataCenter = {
childType: null,
userInfo: null,
needUpdateIndex: false,
typeId: 2,
typeId: 'follow',
childTypeId: 'all'
}
......@@ -34,7 +34,8 @@ function deepFreeze(obj) {
deepFreeze(initDataCenter)
const dataReducer = (state, action) => {
console.log(action)
// console.log(action)
console.table(action,['dataCenter的dispatch'])
switch (action.type) {
case 'UPDATE_DATA':
return Object.assign({}, state, {
......
......@@ -2,29 +2,23 @@ import logo from "../../static/logo.png";
import './index.scss'
import ToolType from "../../component/ToolType/ToolType";
import Content from "../../component/Content/Content";
import {PopContext, Root} from "../../dataCenter/Root";
import {useContext, useEffect, useState} from "react";
import {Root} from "../../dataCenter/Root";
import {useContext, useEffect} from "react";
import {NEED_UPDATE_INDEX} from "../../dataCenter/action";
function Index() {
const [pop, setPop] = useState()
const {fetchData, dataCenter, dispatch} = useContext(Root)
const showPop = popComponent => {
setPop(popComponent)
}
const getUser = () => {
fetchData('/users/getUser', {userId: '100001'}, 'userInfo')
.catch(res =>
res.code === 70001 && (window.location.href = '/login')
)
}
useEffect(() => {
fetchData('/query/queryType', {}, 'type')
.then(()=> fetchData('/query/queryChildType',{typeId: dataCenter.typeId},'childType'))
.then(() => fetchData('/query/queryChildType', {typeId: dataCenter.typeId}, 'childType'))
.then(() => dispatch(NEED_UPDATE_INDEX()))
}, [dataCenter.typeId])
useEffect(() => {
if (dataCenter.needUpdateIndex) {
const _typeId = dataCenter.typeId === 'follow' ? {
......@@ -40,39 +34,35 @@ function Index() {
}, [])
return (
<PopContext.Provider value={{hidePop: () => setPop(''), showPop: popName => showPop(popName)}}>
<div className="index">
<div className="welcome-top">
<div className="index">
<div className="welcome-top">
<span>欢迎您!
<span className="welcome-uname">{dataCenter?.userInfo?.uname}</span>
<a className="login-btn">退出登录</a>
</span>
</div>
<div className="nav">
<div className="nav-title">
<img src={logo} alt=""/>
</div>
<div className="nav">
<div className="nav-title">
<img src={logo} alt=""/>
</div>
<div className="nav-weather">
<iframe width="360" height="40" frameBorder="0" scrolling="no" hspace="0"
src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"/>
</div>
</div>
<div className="tool-nav">
<ToolType/>
</div>
<div className="container">
<Content/>
</div>
{
pop
}
<div className="index-footer">
兑吧研发中心·杭州兑吧网络科技游戏公司版权所有
<br/>
浙ICP备14017299号-1
<div className="nav-weather">
<iframe width="360" height="40" frameBorder="0" scrolling="no" hspace="0"
src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"/>
</div>
</div>
</PopContext.Provider>
<div className="tool-nav">
<ToolType/>
</div>
<div className="container">
<Content/>
</div>
<div className="index-footer">
兑吧研发中心·杭州兑吧网络科技游戏公司版权所有
<br/>
浙ICP备14017299号-1
</div>
</div>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment