diff --git a/template/package.json b/template/package.json index fd645d1d..d1b38bf8 100644 --- a/template/package.json +++ b/template/package.json @@ -33,19 +33,19 @@ "@fortawesome/fontawesome-free": "^5.13.0", "@hapi/boom": "^9.1.0", "@koa/router": "^8.0.8", - "@ladjs/api": "^1.1.1", + "@ladjs/api": "^3.0.0", "@ladjs/assets": "^0.0.23", - "@ladjs/bull": "^1.0.5", + "@ladjs/bull": "^1.0.8", "@ladjs/env": "^1.0.0", "@ladjs/graceful": "^1.0.0", - "@ladjs/i18n": "^3.0.10", + "@ladjs/i18n": "^3.0.12", "@ladjs/mongoose": "^2.0.1", "@ladjs/mongoose-error-messages": "^1.0.0", "@ladjs/passport": "^2.0.0", - "@ladjs/policies": "^3.0.0", - "@ladjs/proxy": "^1.0.3", + "@ladjs/policies": "^3.1.0", + "@ladjs/proxy": "^2.0.0", "@ladjs/store-ip-address": "^0.0.7", - "@ladjs/web": "^1.0.12", + "@ladjs/web": "^6.0.2", "@primer/css": "^14.3.0", "@tkrotoff/bootstrap-floating-label": "^0.5.1", "accounting": "^0.4.1", @@ -82,7 +82,7 @@ "koa-views-render": "^0.0.1", "lodash": "^4.17.15", "mandarin": "^2.0.5", - "manifest-rev": "^1.0.2", + "manifest-rev": "^1.0.3", "markdown-it": "^10.0.0", "markdown-it-emoji": "^1.4.0", "markdown-it-github-headings": "^2.0.0", @@ -97,7 +97,7 @@ "nodemailer-base64-to-s3": "^3.0.2", "otplib": "^12.0.1", "p-series": "^2.1.0", - "parse-logs": "^0.0.22", + "parse-logs": "^1.0.0", "passport-local-mongoose": "^6.0.1", "passport-otp-strategy": "^1.0.1", "pino": "^6.2.1", diff --git a/template/yarn.lock b/template/yarn.lock index 085c6844..c55454bd 100644 --- a/template/yarn.lock +++ b/template/yarn.lock @@ -1084,7 +1084,7 @@ dependencies: "@hapi/hoek" "8.x.x" -"@hapi/boom@^9.0.0", "@hapi/boom@^9.1.0": +"@hapi/boom@^9.1.0": version "9.1.0" resolved "https://registry.yarnpkg.com/@hapi/boom/-/boom-9.1.0.tgz#0d9517657a56ff1e0b42d0aca9da1b37706fec56" integrity sha512-4nZmpp4tXbm162LaZT45P7F7sgiem8dwAh2vHWT6XX24dozNjGMg6BvKCRvtCUcmcXqeMIUqWN8Rc5X8yKuROQ== @@ -1116,7 +1116,7 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@koa/router@8.x", "@koa/router@^8.0.8": +"@koa/router@^8.0.8": version "8.0.8" resolved "https://registry.yarnpkg.com/@koa/router/-/router-8.0.8.tgz#95f32d11373d03d89dcb63fabe9ac6f471095236" integrity sha512-FnT93N4NUehnXr+juupDmG2yfi0JnWdCmNEuIXpCG4TtG+9xvtrLambBH3RclycopVUOEYAim2lydiNBI7IRVg== @@ -1128,34 +1128,44 @@ path-to-regexp "1.x" urijs "^1.19.2" -"@ladjs/api@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@ladjs/api/-/api-1.1.1.tgz#fbd35747b74329c6dd9e5766d207b8a7837a774d" - integrity sha512-P7mwnvCqxvsjXVNFfrvsNS7ByXn5pbtj9DJZg4/9GCLz1meexVgsaOSG1ZMYIrypVOP3ynw2jzufQg4r+9zf8w== +"@koa/router@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@koa/router/-/router-9.0.1.tgz#4090a14223ea7e78aa13b632761209cba69acd95" + integrity sha512-OI+OU49CJV4px0WkIMmayBeqVXB/JS1ZMq7UoGlTZt6Y7ijK7kdeQ18+SEHHJPytmtI1y6Hf8XLrpxva3mhv5Q== dependencies: - "@koa/router" "8.x" - "@ladjs/i18n" "^3.0.10" - "@ladjs/redis" "^1.0.3" - "@ladjs/shared-config" "^2.0.7" + debug "^4.1.1" + http-errors "^1.7.3" + koa-compose "^4.1.0" + methods "^1.1.2" + path-to-regexp "^6.1.0" + +"@ladjs/api@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@ladjs/api/-/api-3.0.0.tgz#d47e1a7f4a67d3a948cf1466d360d4f9cdf9ee02" + integrity sha512-gI6nIH3ajo0Jpffh6C/Uy5HDFP0I+hH689u342QH8dEFjizimv8NWa10K4Cda7qyRmhghuvIBWVI3XqaV6DLVQ== + dependencies: + "@koa/router" "^9.0.1" + "@ladjs/i18n" "^3.0.12" + "@ladjs/redis" "^1.0.4" + "@ladjs/shared-config" "^3.0.8" "@ladjs/store-ip-address" "^0.0.7" boolean "3.0.1" - cabin "^6.1.1" + cabin "^8.0.0" express-request-id "^1.4.1" kcors "^2.2.2" - koa "^2.11.0" + koa "^2.12.1" koa-404-handler "^0.0.2" koa-basic-auth "^4.0.0" - koa-better-error-handler "^4.0.2" + koa-better-error-handler "^4.0.3" koa-better-timeout "^0.0.4" koa-bodyparser "^4.3.0" koa-compress "^4.0.1" koa-conditional-get "^2.0.0" koa-connect "^2.0.1" koa-etag "^3.0.0" - koa-helmet "^5.2.0" koa-json "^2.0.2" koa-no-trailing-slash "^2.1.0" - koa-simple-ratelimit "^4.0.1" + koa-simple-ratelimit "^4.0.2" lodash "^4.17.15" request-received "^0.0.3" response-time "^2.3.2" @@ -1179,15 +1189,15 @@ resolved "https://registry.yarnpkg.com/@ladjs/browserslist-config/-/browserslist-config-0.0.1.tgz#1597c7845d4c75bafd8fedc36e52ee246f0ff20e" integrity sha512-JFUWFnZU/EvOTinpMSrTR1uPxDkWrHDC9Jq44T7fvwE2worab76A0tc+lUEWVfQmliPTUsKJDf7N3fk7m5UV6A== -"@ladjs/bull@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@ladjs/bull/-/bull-1.0.5.tgz#fdb7558f045c5c4d3d358cd9e9f30eff551ba30a" - integrity sha512-N1NgUV9leLBIyLLiWIXDbS1nMVW9GkWHnHoksEPYlpcS0sspGsCc0SwM18L1YbSQR58ApFxHo5+C6Qbgleqdkg== +"@ladjs/bull@^1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@ladjs/bull/-/bull-1.0.8.tgz#b172ce22722b91ef3941813b66d10e91db4bdea3" + integrity sha512-ciaz+AWPcWHJXwNuujDBKwHRR1loJuJmCKubzIT53oEafDg7YmffgvgwyWeNdutrhuwcU8m4KS5adQYevHVnJw== dependencies: - "@ladjs/redis" "^1.0.3" - "@ladjs/shared-config" "^2.0.0" + "@ladjs/redis" "^1.0.4" + "@ladjs/shared-config" "^3.0.8" auto-bind "^4.0.0" - bull "^3.13.0" + bull "^3.14.0" is-string-and-not-blank "^0.0.2" lodash "^4.17.15" @@ -1229,6 +1239,23 @@ qs "^6.9.4" titleize "^2.1.0" +"@ladjs/i18n@^3.0.12": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@ladjs/i18n/-/i18n-3.0.12.tgz#70a684eec7ce48e37baf4b5ab47ed3df0bb64239" + integrity sha512-+jCZq0la/25VndOLYs0oi1hDnDFznfMCPEYDS8NPfLbw7aaJ0YSwi/rlB/GI/fHw87UgtvZ/rhSVADs0/c3hEQ== + dependencies: + "@hapi/boom" "^9.1.0" + boolean "3.0.1" + country-language "^0.1.7" + debug "^4.1.1" + i18n "^0.9.1" + i18n-locales "^0.0.4" + lodash "^4.17.15" + moment "^2.25.3" + multimatch "^4.0.0" + qs "^6.9.4" + titleize "^2.1.0" + "@ladjs/koa-better-static@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@ladjs/koa-better-static/-/koa-better-static-2.0.0.tgz#bfe052f2aae73970146ea18353212bc26c2babbe" @@ -1237,6 +1264,14 @@ debug "*" resolve-path "^1.4.0" +"@ladjs/koa-cache-responses@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@ladjs/koa-cache-responses/-/koa-cache-responses-0.0.1.tgz#a68f8b538b40294128e904800bc550a6bb07a45f" + integrity sha512-DQg2V5BDrDtgv9bAYUEsrl707s5ddzeIfeHYl/oTuGNH0zGLVnLLGwpYAQbbKmat4HymTXoheeKbvoGW84bOPw== + dependencies: + lodash "^4.17.15" + path-to-regexp "^6.1.0" + "@ladjs/mongoose-error-messages@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@ladjs/mongoose-error-messages/-/mongoose-error-messages-1.0.0.tgz#1f830e4e85cd960d961156b5ca4569ccd6e62a31" @@ -1264,18 +1299,18 @@ passport-otp-strategy "^1.0.1" validator "^12.1.0" -"@ladjs/policies@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@ladjs/policies/-/policies-3.0.0.tgz#fd5f007409f7c7d0c50efa82f2b9d3ec7bcfc774" - integrity sha512-99NgCCr/EssQjbKEK7Yqzj8ZgcFwthOkod3OmhvYrt2ytHLT8s/a+Hd+iCwL8vQTs5WxDGk7Gl1AAEoWwfMAeA== +"@ladjs/policies@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@ladjs/policies/-/policies-3.1.0.tgz#cc7b3bef31d440c81c13e9adc529b55060aa63a3" + integrity sha512-fxYGdlMaMuvGRd8Pw5MVwTsqoQlA3Aqmw563+0In3feSEY3z7pfJxnb1+4RpZlZiuJOHoBD39NpT2vX4RW4HqA== dependencies: - "@hapi/boom" "^9.0.0" + "@hapi/boom" "^9.1.0" basic-auth "^2.0.1" -"@ladjs/proxy@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@ladjs/proxy/-/proxy-1.0.3.tgz#2d07ad9ad458b2dbe3ea4fd89e07dccb351eb657" - integrity sha512-lSkkzhIDHQ9YZ03Pjt7VASpq/hQM5FXptrK4wHNQVdwzUv4vAxuv3hcrLT4gRkN7xatJQPqUsRZmTpkYCNi27w== +"@ladjs/proxy@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@ladjs/proxy/-/proxy-2.0.0.tgz#1787c0ed005456e3631b65b46fb8d26fd7cb3d74" + integrity sha512-0LZtPV+Oa/ZcxmQ0Q4wxh9HzPiIWLCHi0c3o5p8lMU+F4dbFRbzZJmR0MzELq5yumq2kXtzrRNpsJSONgKhvxw== dependencies: finalhandler "^1.1.2" lodash "^4.17.15" @@ -1289,13 +1324,12 @@ dependencies: ioredis "^4.14.0" -"@ladjs/shared-config@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-2.0.1.tgz#2dffb0732411be76941c1fb7c0bce657b6483dab" - integrity sha512-DEm5uSr8I+uENixBdd82XE7Rv2vrjvsWsBzD3wbCE316uPCswpd8ZO/kWhem1kcTz1rH+G2zIg7EZZ4rYQAqFw== +"@ladjs/redis@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@ladjs/redis/-/redis-1.0.4.tgz#b225d508943d6a5b65e757e1fe4c19adda41f6c3" + integrity sha512-2PgOsLIQ9taJ3B4fhG6RXZQjKh5r7BkoQpQ7iIwreOPoLwCjCiLWuSempJbY3nwnxx1+TyOI2yRPPUcxPdssdA== dependencies: - boolean "^3.0.1" - is-string-and-not-blank "^0.0.2" + ioredis "^4.17.1" "@ladjs/shared-config@^2.0.7": version "2.0.7" @@ -1305,6 +1339,14 @@ boolean "^3.0.1" is-string-and-not-blank "^0.0.2" +"@ladjs/shared-config@^3.0.8": + version "3.0.8" + resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-3.0.8.tgz#b367748364727eb0e40a42e2673e880746a93634" + integrity sha512-W5XIf7GmALfxTJ5W4IPbVxIZr4xuSP6QAWL81Ac07MyKYx0HHE75pZOtFMH/hvKRr3qehT4NYqK037vyx/9H4w== + dependencies: + boolean "^3.0.1" + is-string-and-not-blank "^0.0.2" + "@ladjs/state-helper@^0.0.2": version "0.0.2" resolved "https://registry.yarnpkg.com/@ladjs/state-helper/-/state-helper-0.0.2.tgz#e25300ab24824304c2fdfb9d0f0380f55582d700" @@ -1320,30 +1362,34 @@ debug "^4.1.1" validator "^12.1.0" -"@ladjs/web@^1.0.12": - version "1.0.12" - resolved "https://registry.yarnpkg.com/@ladjs/web/-/web-1.0.12.tgz#c2fadce7cb85920dc806b0b56cc59271120a27a7" - integrity sha512-PxGVP0wG2StffFegl9K1A4y21u9uYHlvXbAGjDG5JGytGgmW4Ij2vZ7hehr9tMH+Ws2DKxIX6Rj5iRNqkMRRUA== +"@ladjs/web@^6.0.2": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@ladjs/web/-/web-6.0.2.tgz#bca92ccb9f4e4956e7b1070334973bda26b32e21" + integrity sha512-s5mCxfH+3OeFrk7j46A7FouGG/7syvfXbf3pB76G2DfLRz0468CZXDpCzPeGbMwED508bFg+QWgAcdlElpIilA== dependencies: "@hapi/boom" "^9.1.0" - "@koa/router" "8.x" - "@ladjs/i18n" "^3.0.10" + "@koa/router" "^9.0.1" + "@ladjs/i18n" "^3.0.12" "@ladjs/koa-better-static" "^2.0.0" - "@ladjs/redis" "^1.0.3" - "@ladjs/shared-config" "^2.0.7" + "@ladjs/koa-cache-responses" "^0.0.1" + "@ladjs/redis" "^1.0.4" + "@ladjs/shared-config" "^3.0.8" "@ladjs/state-helper" "^0.0.2" "@ladjs/store-ip-address" "^0.0.7" boolean "3.0.1" - cabin "^6.1.1" + cabin "^8.0.0" + crypto-random-string "^3.2.0" express-request-id "^1.4.1" + is-string-and-not-blank "^0.0.2" kcors "^2.2.2" - koa "^2.11.0" + koa "^2.12.1" koa-404-handler "^0.0.2" koa-basic-auth "^4.0.0" - koa-better-error-handler "^4.0.2" + koa-better-error-handler "^4.0.3" koa-better-flash "^0.0.4" koa-better-timeout "^0.0.4" koa-bodyparser "^4.3.0" + koa-cash "^3.0.4" koa-compress "^4.0.1" koa-conditional-get "^2.0.0" koa-connect "^2.0.1" @@ -1354,14 +1400,14 @@ koa-helmet "^5.2.0" koa-isajax "^1.0.5" koa-json "^2.0.2" - koa-livereload "^0.2.0" koa-meta "^0.2.2" koa-methodoverride "^2.0.0" koa-no-trailing-slash "^2.1.0" koa-redis "^4.0.1" - koa-simple-ratelimit "^4.0.1" - koa-views "^6.2.2" + koa-simple-ratelimit "^4.0.2" + koa-views "^6.3.0" lodash "^4.17.15" + ms "^2.1.2" multimatch "^4.0.0" request-received "^0.0.3" response-time "^2.3.2" @@ -2438,6 +2484,23 @@ axe@^5.0.1: parse-err "^0.0.12" superagent "^5.2.2" +axe@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/axe/-/axe-6.0.0.tgz#475f8578d15c54759ac38db6fa58e657a1b8f319" + integrity sha512-bjGG9+m3L8QRwVL/OWf/+znxtJ2Nlc289HBOlrsDS5dNuMMv+6vxPQJnmR2Odi+rm2Z4ag/3NQovf0DwK2UzRw== + dependencies: + "@ladjs/format-util" "^1.0.4" + boolean "^3.0.1" + console-polyfill "^0.3.0" + cuid "^2.1.8" + fast-safe-stringify "^2.0.7" + format-specifiers "^1.0.0" + iserror "^0.0.2" + omit.js "^1.0.2" + parse-app-info "^3.0.1" + parse-err "^0.0.12" + superagent "^5.2.2" + b3b@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/b3b/-/b3b-0.0.1.tgz#ff69f8a58d891ac732b20175e47546799754ef9b" @@ -2784,6 +2847,11 @@ brotli@^1.3.2: dependencies: base64-js "^1.1.2" +browser-hrtime@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/browser-hrtime/-/browser-hrtime-1.1.6.tgz#2ba08be0958462191610c7083419b7ae269e1ad9" + integrity sha512-d3bsYOPD2mc0Yo647ydma2Ep9K009P3Y5yen8ub+beXVBHSXbb/YHlIi9WJnQoutN5+AlT6vK+c60FbsbrgKgQ== + browser-pack-flat@^3.0.9: version "3.4.2" resolved "https://registry.yarnpkg.com/browser-pack-flat/-/browser-pack-flat-3.4.2.tgz#aa3bee87ad1aab8f7de34d4704610a5981c6cf24" @@ -2992,6 +3060,11 @@ bson-objectid@^1.3.0: resolved "https://registry.yarnpkg.com/bson-objectid/-/bson-objectid-1.3.0.tgz#f0f4c7c949fece975f12790510d75d7fe39fb456" integrity sha512-YcB+lRJEEEIcHNLKyhmHujW7OCVE3+xr9IpEhlprBZnXgF3hqeePeexIsAaOtu1SbkgZRlJVUxvYZ3ngUOyIew== +bson-objectid@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/bson-objectid/-/bson-objectid-1.3.1.tgz#11e4ce4c3419161fd388113781bb62c1dfbce34b" + integrity sha512-eQBNQXsisEAXlwiSy8zRNZdW2xDBJaEVkTPbodYR9hGxxtE548Qq7ilYOd8WAQ86xF7NRUdiWSQ1pa/TkKiE2A== + bson@^1.1.1, bson@~1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/bson/-/bson-1.1.4.tgz#f76870d799f15b854dffb7ee32f0a874797f7e89" @@ -3082,7 +3155,7 @@ builtin-status-codes@^3.0.0: resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= -bull@^3.13.0: +bull@^3.14.0: version "3.14.0" resolved "https://registry.yarnpkg.com/bull/-/bull-3.14.0.tgz#75fcfa17e829c860de0d51b79569636845232715" integrity sha512-qQrytpqbE6Zjl2zkvlqS1kUwWLJHpDOhhuGb34+5atPeZrd8DlxkAbxnLnaMB1XQX1iXPzFVpDOUOIIROYKp6Q== @@ -3115,7 +3188,7 @@ bytes@1: resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8" integrity sha1-NWnt6Lo0MV+rmcPpLLBMciDeH6g= -bytes@3.1.0, bytes@^3.0.0: +bytes@3.1.0, bytes@^3.0.0, bytes@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== @@ -3134,6 +3207,20 @@ cabin@^6.1.1: parse-err "^0.0.12" parse-request "^2.0.6" +cabin@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/cabin/-/cabin-8.0.0.tgz#b6bb0b03fadeeff0cc47ca65e6b3f61d1de0ac57" + integrity sha512-LDQDeo/ejTxR8gZcQEcMOZUkf8rJZUwdhDzj8vNwRARAlHsFXZ9YI0loUlewdy6MAB+WN5c0wV4ZKLjpc6eJkw== + dependencies: + ansi-colors "^4.1.1" + axe "^6.0.0" + clf-date "^0.2.0" + iserror "^0.0.2" + ms "^2.1.2" + on-finished "^2.3.0" + parse-err "^0.0.12" + parse-request "^4.0.0" + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -3575,6 +3662,11 @@ clf-date@^0.1.0: resolved "https://registry.yarnpkg.com/clf-date/-/clf-date-0.1.0.tgz#443c8ffb04efdf131ab20a8e61fe314570ce749d" integrity sha512-CeuGmzCyLl/mYcLrBJO7B+NF3LieKWYSdnVPAfgqeEz8NfOnA4B/+0My5ZYEhsI2hlIMiGYvu7QhvVL+LaA8/w== +clf-date@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/clf-date/-/clf-date-0.2.0.tgz#e552b4a69bde5bc44dae5fc1e668442e49b1af87" + integrity sha512-KmV+reIoSINOik5moU6eOqSUy3r/9t6J6Dbl4TCndg1g0R6Z3S3xHzd3u0ZeoTUSbUFr9hHbpiZ+36MrhlNEHQ== + cli-boxes@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" @@ -3937,7 +4029,7 @@ component-emitter@^1.2.1, component-emitter@^1.3.0: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== -compressible@^2.0.0: +compressible@^2.0.0, compressible@^2.0.18: version "2.0.18" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== @@ -4181,6 +4273,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== + cookiejar@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.2.tgz#dd8a235530752f988f9a0844f3fc589e3111125c" @@ -5272,7 +5369,7 @@ dotenv@^8.2.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw== -dotgitconfig@^1.0.1: +dotgitconfig@^1.0.1, dotgitconfig@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/dotgitconfig/-/dotgitconfig-1.1.1.tgz#0e854a409f005c48bf820825e94f05215db41ed0" integrity sha512-gkaAQMmhlE7N6NYtvckQ32f/xTX6Hv7RTtF9qKCYJEQgL/d6zJZk/D0eLFuuGPRCbpRj2PR/HcBLxtIh3MSB6Q== @@ -5538,12 +5635,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -error-inject@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/error-inject/-/error-inject-1.0.0.tgz#e2b3d91b54aed672f309d950d154850fa11d4f37" - integrity sha1-4rPZG1Su1nLzCdlQ0VSFD6EdTzc= - -error-stack-parser@^2.0.4, error-stack-parser@^2.0.6: +error-stack-parser@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.0.6.tgz#5a99a707bd7a4c58a797902d48d82803ede6aad8" integrity sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ== @@ -8602,6 +8694,21 @@ ioredis@^4.14.0, ioredis@^4.14.1: redis-parser "^3.0.0" standard-as-callback "^2.0.1" +ioredis@^4.17.1: + version "4.17.3" + resolved "https://registry.yarnpkg.com/ioredis/-/ioredis-4.17.3.tgz#9938c60e4ca685f75326337177bdc2e73ae9c9dc" + integrity sha512-iRvq4BOYzNFkDnSyhx7cmJNOi1x/HWYe+A4VXHBu4qpwJaGT1Mp+D2bVGJntH9K/Z/GeOM/Nprb8gB3bmitz1Q== + dependencies: + cluster-key-slot "^1.1.0" + debug "^4.1.1" + denque "^1.1.0" + lodash.defaults "^4.2.0" + lodash.flatten "^4.4.0" + redis-commands "1.5.0" + redis-errors "^1.2.0" + redis-parser "^3.0.0" + standard-as-callback "^2.0.1" + ip@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" @@ -9665,10 +9772,10 @@ koa-basic-auth@^4.0.0: basic-auth "^2.0.0" tsscmp "^1.0.6" -koa-better-error-handler@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/koa-better-error-handler/-/koa-better-error-handler-4.0.2.tgz#c0ead75ceecbf48384d3fa30cd63f5b1bc3346e1" - integrity sha512-N0tMAEd3HCV6QW3DV5TBWctOzOeA3758mHgpkrdsg4YxgnOo94sfAZn0kR00f9iBpJpp+//l3lAurhFVTkWsVg== +koa-better-error-handler@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/koa-better-error-handler/-/koa-better-error-handler-4.0.3.tgz#36ba315d1e596d17b1ab37a610fd6c26e9e1a0c7" + integrity sha512-AT54kAmIFpLjdNLOmsJQCLBTzTz0VzM+yfsL4570qGMO6N+T80qwT+UYFU24vFEs/vd+SSuUsoFC0vzg27D0hQ== dependencies: "@hapi/boom" "^9.1.0" camelcase "^6.0.0" @@ -9702,6 +9809,18 @@ koa-bodyparser@^4.3.0: co-body "^6.0.0" copy-to "^2.0.1" +koa-cash@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/koa-cash/-/koa-cash-3.0.4.tgz#21ec43ed8ee8d6c56fc61df47949f67b1a9d8e2a" + integrity sha512-ISlYf6t8Yy6wFk/dTgZIRozbtztu3OCfZpr62WdBDvXcjUs+Ecs404EWVPwSiILUsdJ/yBkPkEI9gzKTPjYryw== + dependencies: + bytes "^3.1.0" + compressible "^2.0.18" + fast-safe-stringify "^2.0.7" + get-stream "^5.1.0" + is-stream "^2.0.0" + koa-is-json "^1.0.0" + koa-compose@^3.0.0: version "3.2.1" resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7" @@ -9811,14 +9930,6 @@ koa-json@^2.0.2: koa-is-json "1" streaming-json-stringify "3" -koa-livereload@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/koa-livereload/-/koa-livereload-0.2.0.tgz#6eb4ca910a5c78f4050cb28306958a1b7160ab2e" - integrity sha1-brTKkQpcePQFDLKDBpWKG3Fgqy4= - dependencies: - koa "^2.0.0" - stream-injecter "0.0.1" - koa-meta@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/koa-meta/-/koa-meta-0.2.2.tgz#78b81af621c65be74529b91d511f45a659dd58eb" @@ -9867,10 +9978,10 @@ koa-send@^5.0.0: mz "^2.7.0" resolve-path "^1.4.0" -koa-simple-ratelimit@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/koa-simple-ratelimit/-/koa-simple-ratelimit-4.0.1.tgz#9f4ada3f9eff41b65af6ab11c90e947ab0bca21d" - integrity sha512-6hi0KLNgCcVTzz/fiMR8pZn2KdaWRBma1WbkQPgvkY7jTWygF1Fr7W/1jqENtX6m85cmrEqJWlh7z+YM0fyb6Q== +koa-simple-ratelimit@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/koa-simple-ratelimit/-/koa-simple-ratelimit-4.0.2.tgz#a1c9da056dd25ed023299852d3630fb46ac04d38" + integrity sha512-gTPrZlWg5k+elqRkt7sSq0q1G8uFuB+kk5v2qGBOdHj6lm381r99WNSkpGpHn6QyFIYltyOXHxFVPuF0w6pzzQ== dependencies: debug "^4.1.1" ms "^2.1.2" @@ -9880,10 +9991,10 @@ koa-views-render@^0.0.1: resolved "https://registry.yarnpkg.com/koa-views-render/-/koa-views-render-0.0.1.tgz#98b38e52de411d55e380a3d4af8be06a85f404bf" integrity sha512-vryfNancX55BsfC0A4scAOXrLJxbalx7TeVaPcIF6/OSN6EDOTS55uvriIDGLT8A1bbDhmy1G6M+9SvKA39pdA== -koa-views@^6.2.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/koa-views/-/koa-views-6.2.2.tgz#37b9013f97565b037117c7b94edb6ea0a5183e6f" - integrity sha512-SzuGl/d/mBGjuGTbPeV9pPiQRztOrbHsJW/014cRiYTaaN6fD9EXHUVq5NDsXtpulQUsjeykA9+jpHaO2cxLvw== +koa-views@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/koa-views/-/koa-views-6.3.0.tgz#0adaf85699fba910b81e3f0755350c2c7c6c3771" + integrity sha512-6FEN3z9B/PSay4XDAqzNBEAxfrQRhgoepoL5XKFkiMYToxTZnbirSt1qJb18YUpmHtbMdTdB4IUHFn1tyQ3SIA== dependencies: consolidate "0.15.1" debug "^4.1.0" @@ -9892,10 +10003,10 @@ koa-views@^6.2.2: mz "^2.4.0" pretty "^2.0.0" -koa@^2.0.0, koa@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/koa/-/koa-2.11.0.tgz#fe5a51c46f566d27632dd5dc8fd5d7dd44f935a4" - integrity sha512-EpR9dElBTDlaDgyhDMiLkXrPwp6ZqgAIBvhhmxQ9XN4TFgW+gEz6tkcsNI6BnUbUftrKDjVFj4lW2/J2aNBMMA== +koa@^2.12.1: + version "2.12.1" + resolved "https://registry.yarnpkg.com/koa/-/koa-2.12.1.tgz#a0ab4dcfebe3cc1b6f0875cbfd686edd7e926643" + integrity sha512-NuYVKjnBxeEe19VljPO9yNcaKKVrMagcax3jjzZtOlxRY2nThWKQqgnI3Pr1OG7mFtvySoDRixoUWZIt6R9C3A== dependencies: accepts "^1.3.5" cache-content-type "^1.0.0" @@ -9907,7 +10018,6 @@ koa@^2.0.0, koa@^2.11.0: depd "^1.1.2" destroy "^1.0.4" encodeurl "^1.0.2" - error-inject "^1.0.0" escape-html "^1.0.3" fresh "~0.5.2" http-assert "^1.3.0" @@ -9946,6 +10056,13 @@ last-commit-log@^2.1.0: dependencies: dotgitconfig "^1.0.1" +last-commit-log@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/last-commit-log/-/last-commit-log-3.0.4.tgz#8b3f363bcf25292fc386d292e330d23f4daece37" + integrity sha512-NwvGT6O3eiOIALwxa/i1YcVgQuLO7w/KheP3wORmB2JM9IaG47PbkSAn2BZMa8Z8hkPYblY+awD4lFjHFFsQ9g== + dependencies: + dotgitconfig "^1.1.0" + last-run@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/last-run/-/last-run-1.1.1.tgz#45b96942c17b1c79c772198259ba943bebf8ca5b" @@ -10743,10 +10860,10 @@ mandarin@^2.0.5: rev-hash "^3.0.0" universalify "^1.0.0" -manifest-rev@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/manifest-rev/-/manifest-rev-1.0.2.tgz#b0bfa8c6f3d4ff881d9a19f7e08cd17c090d2abf" - integrity sha512-bZIXwhhK59+u9gXtfYzxQpyte14bWf3YIhC1PDY5N+bM0Tfh0XkTx3cFR/9d2BsYHi/aRPSmVTOoytHOYBKEvQ== +manifest-rev@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/manifest-rev/-/manifest-rev-1.0.3.tgz#38dc7dd446036e61a99284e20af2b4aa88104101" + integrity sha512-MAVxsTSydoYjoZg1rdHg6teGUNVZ3DwkHxcO6WjL7+GpoSuVQO+hhL4UrC+6Kf91gaM49/riqG1M4OggS9eLsg== map-age-cleaner@^0.1.3: version "0.1.3" @@ -12496,6 +12613,16 @@ parse-app-info@^2.0.5: last-commit-log "^2.1.0" read-pkg-up "^7.0.0" +parse-app-info@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/parse-app-info/-/parse-app-info-3.0.1.tgz#65185d82fe7cd1bb3e83a3754a4cf1a67d2e48d4" + integrity sha512-WxDmCSfUvqOs8LwmH77jOvUz6k+NFM+YjIvYG8CUomwxsWymUTIK5RgxgNNpD0YkU+EkZWcA+VWawG4ZefJvBQ== + dependencies: + debug "^4.1.1" + last-commit-log "^3.0.4" + lodash "^4.17.15" + read-pkg-up "^7.0.1" + parse-asn1@^5.0.0: version "5.1.5" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e" @@ -12587,16 +12714,16 @@ parse-latin@^4.0.0: unist-util-modify-children "^1.0.0" unist-util-visit-children "^1.0.0" -parse-logs@^0.0.22: - version "0.0.22" - resolved "https://registry.yarnpkg.com/parse-logs/-/parse-logs-0.0.22.tgz#e94fb8061247cc030c8fdcf996869fa5c459fe34" - integrity sha512-oK1DSnLsC4MsDs0PQ3J5fi4L0YDkJlxYHwaslPg/kFrtjMF3jkmakNvZ1U63cbtD+cDjaiJN/MgUUaCNR75AKg== +parse-logs@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-logs/-/parse-logs-1.0.0.tgz#b29974fbd642a953140960cb1f9d44d770aa74e7" + integrity sha512-eHHLOPjmbC4iFdYGBT+l6pDwRIkVK8rNBEIVt7SiNp8Kt+spYZVMwfy2kW8aW9U8i6/cWEBYyP1EzOr6hwoZmg== dependencies: - error-stack-parser "^2.0.4" + error-stack-parser "^2.0.6" is-whitespace "^0.3.0" iserror "^0.0.2" lodash "^4.17.15" - parse-request "^2.0.6" + parse-request "^3.0.0" prepare-stack-trace "^0.0.4" rfdc "^1.1.4" @@ -12638,6 +12765,54 @@ parse-request@^2.0.6: sensitive-fields "^0.0.7" url-parse "^1.4.7" +parse-request@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/parse-request/-/parse-request-3.0.0.tgz#5998d7f4e24ceffd55e2946bd25820a17172c8cf" + integrity sha512-4VBkDFRe7tQw9eivz2AOwTkz8zPImP9pcf4JOJsmU1VWMXvnseQNeLuJK9Dm9GTraSX4AM800NcjFrCDFRHzdQ== + dependencies: + browser-process-hrtime "^1.0.0" + bson-objectid "^1.3.0" + convert-hrtime "^3.0.0" + cookie "^0.4.1" + credit-card-type "^8.3.0" + debug "^4.1.1" + fast-safe-stringify "^2.0.7" + http-headers "^3.0.2" + is-array-buffer "^1.0.1" + is-buffer "^2.0.4" + is-stream "^2.0.0" + is-uuid "^1.0.2" + ms "^2.1.2" + no-case "2.3.2" + qs "^6.9.4" + rfdc "^1.1.4" + sensitive-fields "^0.0.9" + url-parse "^1.4.7" + +parse-request@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/parse-request/-/parse-request-4.0.0.tgz#25cef694d726496d7d66f723b1f4ae613507b48c" + integrity sha512-NcDIEa6Dn5nmy78YKCvx4N+tMcuwZIASZHv4r3xsZagD+sGkeUe/ymiGy3XB8GYagqZJL6QzBvRBLsB4q2YeXQ== + dependencies: + browser-hrtime "^1.1.6" + bson-objectid "^1.3.1" + convert-hrtime "^3.0.0" + cookie "^0.4.1" + credit-card-type "^8.3.0" + debug "^4.1.1" + fast-safe-stringify "^2.0.7" + http-headers "^3.0.2" + is-array-buffer "^1.0.1" + is-buffer "^2.0.4" + is-stream "^2.0.0" + is-uuid "^1.0.2" + ms "^2.1.2" + no-case "2.3.2" + qs "^6.9.4" + rfdc "^1.1.4" + sensitive-fields "^0.0.9" + url-parse "^1.4.7" + parse5@^3.0.1: version "3.0.3" resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" @@ -12824,6 +12999,11 @@ path-to-regexp@1.x: dependencies: isarray "0.0.1" +path-to-regexp@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.1.0.tgz#0b18f88b7a0ce0bfae6a25990c909ab86f512427" + integrity sha512-h9DqehX3zZZDCEm+xbfU0ZmwCGFCAAraPJWMXJ4+v32NjZJilVg3k1TcKsRgIb8IQ/izZSaydDc1OhJCZvs2Dw== + path-type@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" @@ -15959,6 +16139,11 @@ sensitive-fields@^0.0.7: resolved "https://registry.yarnpkg.com/sensitive-fields/-/sensitive-fields-0.0.7.tgz#4fee8f9d3361c85b8c274eca769fbe93b06e259f" integrity sha512-iwo05WQQ4FX5jts0V5X2yNdQa8IgFJ5hDiQn7QdlLdlNlt/t2jvcJ5XnnTJUqYUgiNkIu/rMLpNOIfu29fWQeA== +sensitive-fields@^0.0.9: + version "0.0.9" + resolved "https://registry.yarnpkg.com/sensitive-fields/-/sensitive-fields-0.0.9.tgz#bfbdbb00bdccfd645d529fdc22dd80e57c9427e4" + integrity sha512-6oGOAj9wPBKEuzJxqrN1sxMHJKbWOg7D2zNYOXaKrDC4lP6FpAw2MVuZd4okp/KqtRxkgLMweEd6HM1+c4m8Yg== + serialize-error@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-2.1.0.tgz#50b679d5635cdf84667bdc8e59af4e5b81d5f60a" @@ -16536,11 +16721,6 @@ stream-http@^3.0.0: readable-stream "^3.0.6" xtend "^4.0.0" -stream-injecter@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/stream-injecter/-/stream-injecter-0.0.1.tgz#7507ae5eab9836536665e81ad8ce31b40fe3d455" - integrity sha1-dQeuXquYNlNmZega2M4xtA/j1FU= - stream-shift@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d"