From 2b4ed59196fb7f8e2105e97fd3b63999051d36a8 Mon Sep 17 00:00:00 2001 From: Diluka W Date: Tue, 25 May 2021 12:04:27 +0800 Subject: [PATCH] feat: upgrade bull-board to 2.1.0 and update deps --- .gitignore | 1 + package.json | 12 +++++------ yarn.lock | 59 ++++++++++++++++++++++++++++------------------------ 3 files changed, 39 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index e079c2a..816947b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ jspm_packages/ .idea/ .env +.npmrc diff --git a/package.json b/package.json index 1a2023d..8936e01 100644 --- a/package.json +++ b/package.json @@ -8,16 +8,16 @@ }, "dependencies": { "body-parser": "^1.19.0", - "bull": "^3.13.0", - "bull-board": "^2.0.3", - "bullmq": "^1.8.4", + "bull": "^3.22.6", + "bull-board": "^2.1.0", + "bullmq": "^1.28.0", "connect-ensure-login": "^0.1.1", - "dotenv": "^9.0.2", + "dotenv": "^10.0.0", "express": "^4.17.1", - "express-session": "^1.17.1", + "express-session": "^1.17.2", "morgan": "^1.10.0", "passport": "^0.4.1", "passport-local": "^1.0.0", - "redis": "^3.0.2" + "redis": "^3.1.2" } } diff --git a/yarn.lock b/yarn.lock index 1169d8c..b890727 100644 --- a/yarn.lock +++ b/yarn.lock @@ -132,10 +132,10 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -bull-board@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/bull-board/-/bull-board-2.0.3.tgz#2bc27e05dd3e080fb663c35c89fbd5d2395455c6" - integrity sha512-3PVwZIy+CH8+Ik8y8TZRjGLz5vFMYJ5PpDuMLZoD/ZPo8GQVhIuZ+mXFhNW7TWtCos9uW6gS0rRTNBDuLvlN/g== +bull-board@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/bull-board/-/bull-board-2.1.0.tgz#767ab693bfdbf5ce29eedc0d9b00508fe1302915" + integrity sha512-0RwTJbXzWmVkxLveNG5e0xvisPvNS1dXP/q4Un3NTcPKOz9R54+t5N8MhMzwTvrjgZIud+/rl9cbzaZh17lIkQ== dependencies: "@types/express" "^4.17.9" "@types/express-serve-static-core" "^4.17.14" @@ -143,10 +143,10 @@ bull-board@^2.0.3: express "4.17.1" redis-info "^3.0.8" -bull@^3.13.0: - version "3.22.5" - resolved "https://registry.yarnpkg.com/bull/-/bull-3.22.5.tgz#ab42d76ecb7d8c5faba7a6a6e1d8b0ed0cde7ff5" - integrity sha512-wA5CRChiqF7bQ3/mLToFRiAKujWVBJJ07Ok368aiER8N1ail0veHwHc02I4lMMUyG9WoxHCHyrCqyPQhDGrd2w== +bull@^3.22.6: + version "3.22.6" + resolved "https://registry.yarnpkg.com/bull/-/bull-3.22.6.tgz#039b5a59689b0b236ca85c9397e76db481cc9b3c" + integrity sha512-M7jYiohDP6qhtm+3D+6xDt52u1vdJyqk4EdeZBc39pKJpqLgCtUFuHrTPycvd6TLCqtcW/3kA2Gx70zmKUmWYg== dependencies: cron-parser "^2.13.0" debuglog "^1.0.0" @@ -159,10 +159,10 @@ bull@^3.13.0: util.promisify "^1.0.1" uuid "^8.3.0" -bullmq@^1.8.4: - version "1.25.1" - resolved "https://registry.yarnpkg.com/bullmq/-/bullmq-1.25.1.tgz#c9f07d435e088a8c627ffadd7b5f037719148b37" - integrity sha512-eWPe2j9hmcKaWHPArqVihYwF96gD0NEA88nqHcr+KrVZpG26k3oab+Hv6Tpits0rCgjzFIsyfQ06XTla9sAtLQ== +bullmq@^1.28.0: + version "1.28.0" + resolved "https://registry.yarnpkg.com/bullmq/-/bullmq-1.28.0.tgz#f90f30cb6a326cdcb5e34d3a72830e2a56315050" + integrity sha512-1EjaZTaurJ4E9FYrDEdEyuotfG8lAATignQrpl6VtXSaElwN9TWNQR2G1EwNq2X0TqFKHINqkW52z68v7ZG33Q== dependencies: "@types/ioredis" "^4.22.2" cron-parser "^2.7.3" @@ -244,6 +244,11 @@ cookie@0.4.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== +cookie@0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" + integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== + cron-parser@^2.13.0, cron-parser@^2.7.3: version "2.18.0" resolved "https://registry.yarnpkg.com/cron-parser/-/cron-parser-2.18.0.tgz#de1bb0ad528c815548371993f81a54e5a089edcf" @@ -298,10 +303,10 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= -dotenv@^9.0.2: - version "9.0.2" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-9.0.2.tgz#dacc20160935a37dea6364aa1bef819fb9b6ab05" - integrity sha512-I9OvvrHp4pIARv4+x9iuewrWycX6CcZtoAu1XrzPxc5UygMJXJZYmBsynku8IkrJwgypE5DGNjDPmPRhDCptUg== +dotenv@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" + integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== ee-first@1.1.1: version "1.1.1" @@ -366,18 +371,18 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= -express-session@^1.17.1: - version "1.17.1" - resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.1.tgz#36ecbc7034566d38c8509885c044d461c11bf357" - integrity sha512-UbHwgqjxQZJiWRTMyhvWGvjBQduGCSBDhhZXYenziMFjxst5rMV+aJZ6hKPHZnPyHGsrqRICxtX8jtEbm/z36Q== +express-session@^1.17.2: + version "1.17.2" + resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.2.tgz#397020374f9bf7997f891b85ea338767b30d0efd" + integrity sha512-mPcYcLA0lvh7D4Oqr5aNJFMtBMKPLl++OKKxkHzZ0U0oDq1rpKBnkR5f5vCHR26VeArlTOEF9td4x5IjICksRQ== dependencies: - cookie "0.4.0" + cookie "0.4.1" cookie-signature "1.0.6" debug "2.6.9" depd "~2.0.0" on-headers "~1.0.2" parseurl "~1.3.3" - safe-buffer "5.2.0" + safe-buffer "5.2.1" uid-safe "~2.1.5" express@4.17.1, express@^4.17.1: @@ -887,7 +892,7 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -redis@^3.0.2: +redis@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/redis/-/redis-3.1.2.tgz#766851117e80653d23e0ed536254677ab647638c" integrity sha512-grn5KoZLr/qrRQVwoSkmzdbw6pwF+/rwODtrOr6vuBRiR/f3rjSTGupbF90Zpqm2oenix8Do6RV7pYEkGwlKkw== @@ -902,10 +907,10 @@ safe-buffer@5.1.2: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== +safe-buffer@5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== "safer-buffer@>= 2.1.2 < 3": version "2.1.2"