diff --git a/package.json b/package.json index ac9dda4..6f41510 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "mongoose": "5.2.8", "mongoose-paginate-v2": "^1.0.12", "nodemailer": "^4.6.8", - "pug": "^2.0.3", + "pug": "^3.0.1", "simple-netease-cloud-music": "^0.4.0", "validator": "^10.6.0", "zlib": "^1.0.5" diff --git a/yarn.lock b/yarn.lock index f76c434..b6bf60c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -74,6 +74,10 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-validator-identifier@^7.12.11": + version "7.12.11" + resolved "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.12.11.tgz?cache=0&sync_timestamp=1608076995361&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-validator-identifier%2Fdownload%2F%40babel%2Fhelper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" + "@babel/highlight@7.0.0-beta.44": version "7.0.0-beta.44" resolved "http://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" @@ -94,6 +98,10 @@ version "7.1.6" resolved "http://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.1.6.tgz#16e97aca1ec1062324a01c5a6a7d0df8dd189854" +"@babel/parser@^7.6.0", "@babel/parser@^7.9.6": + version "7.13.9" + resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.13.9.tgz?cache=0&sync_timestamp=1614635224331&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.13.9.tgz#ca34cb95e1c2dd126863a84465ae8ef66114be99" + "@babel/template@7.0.0-beta.44": version "7.0.0-beta.44" resolved "http://registry.npm.taobao.org/@babel/template/download/@babel/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" @@ -156,6 +164,14 @@ lodash "^4.17.10" to-fast-properties "^2.0.0" +"@babel/types@^7.6.1", "@babel/types@^7.9.6": + version "7.13.0" + resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.13.0.tgz?cache=0&sync_timestamp=1614034624375&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80" + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@koa/cors@^2.2.2": version "2.2.2" resolved "http://registry.npm.taobao.org/@koa/cors/download/@koa/cors-2.2.2.tgz#9084ab7f58107734e6b19d602d99538eda73f2d0" @@ -402,6 +418,10 @@ acorn@^5.0.0, acorn@^5.5.0: version "5.7.3" resolved "http://registry.npm.taobao.org/acorn/download/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.npm.taobao.org/acorn/download/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + address@>=0.0.1, address@^1.0.0, address@^1.0.1: version "1.0.3" resolved "http://registry.npm.taobao.org/address/download/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" @@ -669,6 +689,10 @@ asn1@~0.2.3: dependencies: safer-buffer "~2.1.0" +assert-never@^1.2.1: + version "1.2.1" + resolved "https://registry.npm.taobao.org/assert-never/download/assert-never-1.2.1.tgz#11f0e363bf146205fb08193b5c7b90f4d1cf44fe" + assert-plus@1.0.0, assert-plus@^1.0.0: version "1.0.0" resolved "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" @@ -1455,6 +1479,12 @@ babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: lodash "^4.17.4" to-fast-properties "^1.0.3" +babel-walk@3.0.0-canary-5: + version "3.0.0-canary-5" + resolved "https://registry.npm.taobao.org/babel-walk/download/babel-walk-3.0.0-canary-5.tgz#f66ecd7298357aee44955f235a6ef54219104b11" + dependencies: + "@babel/types" "^7.9.6" + babylon@7.0.0-beta.44: version "7.0.0-beta.44" resolved "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" @@ -1842,7 +1872,7 @@ change-case@^3.0.2: upper-case "^1.1.1" upper-case-first "^1.1.0" -character-parser@^2.1.1: +character-parser@^2.1.1, character-parser@^2.2.0: version "2.2.0" resolved "http://registry.npm.taobao.org/character-parser/download/character-parser-2.2.0.tgz#c7ce28f36d4bcd9744e5ffc2c5fcde1c73261fc0" dependencies: @@ -2245,6 +2275,13 @@ constantinople@^3.0.1: babel-types "^6.26.0" babylon "^6.18.0" +constantinople@^4.0.1: + version "4.0.1" + resolved "https://registry.npm.taobao.org/constantinople/download/constantinople-4.0.1.tgz#0def113fa0e4dc8de83331a5cf79c8b325213151" + dependencies: + "@babel/parser" "^7.6.0" + "@babel/types" "^7.6.1" + contains-path@^0.1.0: version "0.1.0" resolved "http://registry.npm.taobao.org/contains-path/download/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" @@ -4887,6 +4924,12 @@ is-class-hotfix@~0.0.6: version "0.0.6" resolved "http://registry.npm.taobao.org/is-class-hotfix/download/is-class-hotfix-0.0.6.tgz#a527d31fb23279281dde5f385c77b5de70a72435" +is-core-module@^2.2.0: + version "2.2.0" + resolved "https://registry.npm.taobao.org/is-core-module/download/is-core-module-2.2.0.tgz?cache=0&sync_timestamp=1606413983512&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-core-module%2Fdownload%2Fis-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "http://registry.npm.taobao.org/is-data-descriptor/download/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -4926,6 +4969,13 @@ is-expression@^3.0.0: acorn "~4.0.2" object-assign "^4.0.1" +is-expression@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/is-expression/download/is-expression-4.0.0.tgz#c33155962abf21d0afd2552514d67d2ec16fd2ab" + dependencies: + acorn "^7.1.1" + object-assign "^4.1.1" + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "http://registry.npm.taobao.org/is-extendable/download/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -5190,7 +5240,7 @@ jest-changed-files@^23.4.2: dependencies: throat "^4.0.0" -js-stringify@^1.0.1: +js-stringify@^1.0.1, js-stringify@^1.0.2: version "1.0.2" resolved "http://registry.npm.taobao.org/js-stringify/download/js-stringify-1.0.2.tgz#1736fddfd9724f28a3682adc6230ae7e4e9679db" @@ -5777,6 +5827,10 @@ lodash@^3.3.1: version "3.10.1" resolved "http://registry.npm.taobao.org/lodash/download/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" +lodash@^4.17.19: + version "4.17.21" + resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + log-symbols@^2.2.0: version "2.2.0" resolved "http://registry.npm.taobao.org/log-symbols/download/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" @@ -6876,7 +6930,7 @@ path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "http://registry.npm.taobao.org/path-key/download/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" -path-parse@^1.0.5: +path-parse@^1.0.5, path-parse@^1.0.6: version "1.0.6" resolved "http://registry.npm.taobao.org/path-parse/download/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" @@ -7172,6 +7226,14 @@ pug-attrs@^2.0.3: js-stringify "^1.0.1" pug-runtime "^2.0.4" +pug-attrs@^3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/pug-attrs/download/pug-attrs-3.0.0.tgz#b10451e0348165e31fad1cc23ebddd9dc7347c41" + dependencies: + constantinople "^4.0.1" + js-stringify "^1.0.2" + pug-runtime "^3.0.0" + pug-code-gen@^2.0.1: version "2.0.1" resolved "http://registry.npm.taobao.org/pug-code-gen/download/pug-code-gen-2.0.1.tgz#0951ec83225d74d8cfc476a7f99a259b5f7d050c" @@ -7185,10 +7247,27 @@ pug-code-gen@^2.0.1: void-elements "^2.0.1" with "^5.0.0" +pug-code-gen@^3.0.2: + version "3.0.2" + resolved "https://registry.npm.taobao.org/pug-code-gen/download/pug-code-gen-3.0.2.tgz#ad190f4943133bf186b60b80de483100e132e2ce" + dependencies: + constantinople "^4.0.1" + doctypes "^1.1.0" + js-stringify "^1.0.2" + pug-attrs "^3.0.0" + pug-error "^2.0.0" + pug-runtime "^3.0.0" + void-elements "^3.1.0" + with "^7.0.0" + pug-error@^1.3.2: version "1.3.2" resolved "http://registry.npm.taobao.org/pug-error/download/pug-error-1.3.2.tgz#53ae7d9d29bb03cf564493a026109f54c47f5f26" +pug-error@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/pug-error/download/pug-error-2.0.0.tgz#5c62173cb09c34de2a2ce04f17b8adfec74d8ca5" + pug-filters@^3.1.0: version "3.1.0" resolved "http://registry.npm.taobao.org/pug-filters/download/pug-filters-3.1.0.tgz#27165555bc04c236e4aa2b0366246dfa021b626e" @@ -7201,6 +7280,16 @@ pug-filters@^3.1.0: resolve "^1.1.6" uglify-js "^2.6.1" +pug-filters@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/pug-filters/download/pug-filters-4.0.0.tgz#d3e49af5ba8472e9b7a66d980e707ce9d2cc9b5e" + dependencies: + constantinople "^4.0.1" + jstransformer "1.0.0" + pug-error "^2.0.0" + pug-walk "^2.0.0" + resolve "^1.15.1" + pug-lexer@^4.0.0: version "4.0.0" resolved "http://registry.npm.taobao.org/pug-lexer/download/pug-lexer-4.0.0.tgz#210c18457ef2e1760242740c5e647bd794cec278" @@ -7209,6 +7298,14 @@ pug-lexer@^4.0.0: is-expression "^3.0.0" pug-error "^1.3.2" +pug-lexer@^5.0.0: + version "5.0.1" + resolved "https://registry.npm.taobao.org/pug-lexer/download/pug-lexer-5.0.1.tgz#ae44628c5bef9b190b665683b288ca9024b8b0d5" + dependencies: + character-parser "^2.2.0" + is-expression "^4.0.0" + pug-error "^2.0.0" + pug-linker@^3.0.5: version "3.0.5" resolved "http://registry.npm.taobao.org/pug-linker/download/pug-linker-3.0.5.tgz#9e9a7ae4005682d027deeb96b000f88eeb83a02f" @@ -7216,6 +7313,13 @@ pug-linker@^3.0.5: pug-error "^1.3.2" pug-walk "^1.1.7" +pug-linker@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/pug-linker/download/pug-linker-4.0.0.tgz#12cbc0594fc5a3e06b9fc59e6f93c146962a7708" + dependencies: + pug-error "^2.0.0" + pug-walk "^2.0.0" + pug-load@^2.0.11: version "2.0.11" resolved "http://registry.npm.taobao.org/pug-load/download/pug-load-2.0.11.tgz#e648e57ed113fe2c1f45d57858ea2bad6bc01527" @@ -7223,6 +7327,13 @@ pug-load@^2.0.11: object-assign "^4.1.0" pug-walk "^1.1.7" +pug-load@^3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/pug-load/download/pug-load-3.0.0.tgz#9fd9cda52202b08adb11d25681fb9f34bd41b662" + dependencies: + object-assign "^4.1.1" + pug-walk "^2.0.0" + pug-parser@^5.0.0: version "5.0.0" resolved "http://registry.npm.taobao.org/pug-parser/download/pug-parser-5.0.0.tgz#e394ad9b3fca93123940aff885c06e44ab7e68e4" @@ -7230,20 +7341,41 @@ pug-parser@^5.0.0: pug-error "^1.3.2" token-stream "0.0.1" +pug-parser@^6.0.0: + version "6.0.0" + resolved "https://registry.npm.taobao.org/pug-parser/download/pug-parser-6.0.0.tgz#a8fdc035863a95b2c1dc5ebf4ecf80b4e76a1260" + dependencies: + pug-error "^2.0.0" + token-stream "1.0.0" + pug-runtime@^2.0.4: version "2.0.4" resolved "http://registry.npm.taobao.org/pug-runtime/download/pug-runtime-2.0.4.tgz#e178e1bda68ab2e8c0acfc9bced2c54fd88ceb58" +pug-runtime@^3.0.0: + version "3.0.1" + resolved "https://registry.npm.taobao.org/pug-runtime/download/pug-runtime-3.0.1.tgz#f636976204723f35a8c5f6fad6acda2a191b83d7" + pug-strip-comments@^1.0.3: version "1.0.3" resolved "http://registry.npm.taobao.org/pug-strip-comments/download/pug-strip-comments-1.0.3.tgz#f1559592206edc6f85310dacf4afb48a025af59f" dependencies: pug-error "^1.3.2" +pug-strip-comments@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/pug-strip-comments/download/pug-strip-comments-2.0.0.tgz#f94b07fd6b495523330f490a7f554b4ff876303e" + dependencies: + pug-error "^2.0.0" + pug-walk@^1.1.7: version "1.1.7" resolved "http://registry.npm.taobao.org/pug-walk/download/pug-walk-1.1.7.tgz#c00d5c5128bac5806bec15d2b7e7cdabe42531f3" +pug-walk@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/pug-walk/download/pug-walk-2.0.0.tgz#417aabc29232bb4499b5b5069a2b2d2a24d5f5fe" + pug@^2.0.3: version "2.0.3" resolved "http://registry.npm.taobao.org/pug/download/pug-2.0.3.tgz#71cba82537c95a5eab7ed04696e4221f53aa878e" @@ -7257,6 +7389,19 @@ pug@^2.0.3: pug-runtime "^2.0.4" pug-strip-comments "^1.0.3" +pug@^3.0.1: + version "3.0.1" + resolved "https://registry.npm.taobao.org/pug/download/pug-3.0.1.tgz#9b287554043e6d18852673a382b0350595bdc067" + dependencies: + pug-code-gen "^3.0.2" + pug-filters "^4.0.0" + pug-lexer "^5.0.0" + pug-linker "^4.0.0" + pug-load "^3.0.0" + pug-parser "^6.0.0" + pug-runtime "^3.0.0" + pug-strip-comments "^2.0.0" + pump@^2.0.0: version "2.0.1" resolved "http://registry.npm.taobao.org/pump/download/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" @@ -7702,6 +7847,13 @@ resolve@^1.1.6, resolve@^1.5.0, resolve@^1.6.0: dependencies: path-parse "^1.0.5" +resolve@^1.15.1: + version "1.20.0" + resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" + dependencies: + is-core-module "^2.2.0" + path-parse "^1.0.6" + responselike@1.0.2: version "1.0.2" resolved "http://registry.npm.taobao.org/responselike/download/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" @@ -8519,6 +8671,10 @@ token-stream@0.0.1: version "0.0.1" resolved "http://registry.npm.taobao.org/token-stream/download/token-stream-0.0.1.tgz#ceeefc717a76c4316f126d0b9dbaa55d7e7df01a" +token-stream@1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/token-stream/download/token-stream-1.0.0.tgz#cc200eab2613f4166d27ff9afc7ca56d49df6eb4" + tough-cookie@~2.4.3: version "2.4.3" resolved "http://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" @@ -8886,6 +9042,10 @@ void-elements@^2.0.1: version "2.0.1" resolved "http://registry.npm.taobao.org/void-elements/download/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" +void-elements@^3.1.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/void-elements/download/void-elements-3.1.0.tgz#614f7fbf8d801f0bb5f0661f5b2f5785750e4f09" + watchr@~2.4.13: version "2.4.13" resolved "http://registry.npm.taobao.org/watchr/download/watchr-2.4.13.tgz#d74847bb4d6f90f61fe2c74f9f68662aa0e07601" @@ -8992,6 +9152,15 @@ with@^5.0.0: acorn "^3.1.0" acorn-globals "^3.0.0" +with@^7.0.0: + version "7.0.2" + resolved "https://registry.npm.taobao.org/with/download/with-7.0.2.tgz#ccee3ad542d25538a7a7a80aad212b9828495bac" + dependencies: + "@babel/parser" "^7.9.6" + "@babel/types" "^7.9.6" + assert-never "^1.2.1" + babel-walk "3.0.0-canary-5" + word-wrap@1.1.0: version "1.1.0" resolved "http://registry.npm.taobao.org/word-wrap/download/word-wrap-1.1.0.tgz#356153d61d10610d600785c5d701288e0ae764a6"