chore: fix repeated fs-extra

This commit is contained in:
DIYgod
2021-11-28 01:14:51 +00:00
parent ad1a09597f
commit a73aaf7cb8
2 changed files with 53 additions and 54 deletions
+7 -8
View File
@@ -40,7 +40,7 @@
},
"homepage": "https://github.com/DIYgod/RSSHub#readme",
"devDependencies": {
"@napi-rs/pinyin": "^1.6.1",
"@napi-rs/pinyin": "1.6.1",
"@types/cheerio": "0.22.30",
"@types/got": "9.6.12",
"@types/koa": "2.13.4",
@@ -48,13 +48,13 @@
"@vuepress/plugin-back-to-top": "1.8.2",
"@vuepress/plugin-google-analytics": "1.8.2",
"@vuepress/plugin-pwa": "1.8.2",
"ci-info": "^3.3.0",
"ci-info": "3.3.0",
"cross-env": "7.0.3",
"eslint": "8.3.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-yml": "^0.12.0",
"fs-extra": "^8.1.0",
"eslint-plugin-yml": "0.12.0",
"fs-extra": "10.0.0",
"jest": "27.3.1",
"mockdate": "3.0.5",
"nock": "13.2.1",
@@ -82,7 +82,7 @@
"bbcodejs": "0.0.4",
"cheerio": "1.0.0-rc.10",
"chrono-node": "2.3.4",
"city-timezones": "^1.2.0",
"city-timezones": "1.2.0",
"crypto-js": "4.1.1",
"currency-symbol-map": "5.0.1",
"dayjs": "1.10.7",
@@ -91,7 +91,6 @@
"entities": "3.0.1",
"etag": "1.8.1",
"fanfou-sdk": "4.2.0",
"fs-extra": "^10.0.0",
"git-rev-sync": "3.0.1",
"googleapis": "91.0.0",
"got": "11.8.3",
@@ -124,9 +123,9 @@
"showdown": "1.9.1",
"simplecc-wasm": "0.1.4",
"socks-proxy-agent": "6.1.1",
"string-similarity": "^4.0.3",
"string-similarity": "4.0.3",
"tiny-async-pool": "1.2.0",
"torrent-search-api": "^2.1.3",
"torrent-search-api": "2.1.3",
"tough-cookie": "4.0.0",
"tunnel": "0.0.6",
"twit": "2.2.11",
+46 -46
View File
@@ -1239,92 +1239,92 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"
"@napi-rs/pinyin-android-arm64@^1.6.2":
"@napi-rs/pinyin-android-arm64@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-android-arm64/-/pinyin-android-arm64-1.6.2.tgz#55774caa0b5051101fd88e4badd090cb69edb4f1"
integrity sha512-aHsp9p7kac3xHBqhennlIB8VN8nNqVguoLP+YHyfy8mTXzCxvW4ncu8LD/j4ZtrOoxpqOXfMmS+nV8v7f8BLuA==
"@napi-rs/pinyin-darwin-arm64@^1.6.2":
"@napi-rs/pinyin-darwin-arm64@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-darwin-arm64/-/pinyin-darwin-arm64-1.6.2.tgz#822e86a4db75e89406d8a8d826b302e0545897b1"
integrity sha512-dchVuvS960Ag7lMyCSCP+GrOkYZt5kBu0a5O4d+hT2GVdpBAj5j/uG2nh6JjflwR2YJiQ35LCEDbspaO2mYE5g==
"@napi-rs/pinyin-darwin-x64@^1.6.2":
"@napi-rs/pinyin-darwin-x64@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-darwin-x64/-/pinyin-darwin-x64-1.6.2.tgz#2044f73b356919ab980fd501d150f99d2b4fa79a"
integrity sha512-+t5HH1dJM3RTbzoq4h1zFHBv7IRAnEVy4DvgIXMBUA0XOgzDjD4OQ4HSPQxmWbFcGfNI8VbidaT4JUTATQL1rA==
"@napi-rs/pinyin-freebsd-x64@^1.6.2":
"@napi-rs/pinyin-freebsd-x64@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-freebsd-x64/-/pinyin-freebsd-x64-1.6.2.tgz#d8a25e21cfb7013f3286432de951162f05081099"
integrity sha512-6HIaV8cExEYpSA+IE71CUf0eeg7bY4ZAHpdtZaScLKdUF92UEKlf8fe5tsxGh3F/sgWIIBV5oBa9coPnHfgGYA==
"@napi-rs/pinyin-linux-arm-gnueabihf@^1.6.2":
"@napi-rs/pinyin-linux-arm-gnueabihf@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-linux-arm-gnueabihf/-/pinyin-linux-arm-gnueabihf-1.6.2.tgz#c035f058166c21186e398fcead360e57b1095cb9"
integrity sha512-Yi8UCe0KGRuiahsuXzhXbx7qkNZN/oUiVyGGPARaaulRRw0OmEC+0k91jn6pLfXZrF1IcTYvxt7pRboOehbr+g==
"@napi-rs/pinyin-linux-arm64-gnu@^1.6.2":
"@napi-rs/pinyin-linux-arm64-gnu@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-linux-arm64-gnu/-/pinyin-linux-arm64-gnu-1.6.2.tgz#334a347d6b8c2c53bd062be9541a6f3f396e1bb3"
integrity sha512-BMyCQ+gP3e1BjjcEtl/EIYvRUx1PQloHcGOUrgtZhu2MZMCOWbGl9X6Te59M6/+bo3/maemYcgIVgGI8/gXIkw==
"@napi-rs/pinyin-linux-arm64-musl@^1.6.2":
"@napi-rs/pinyin-linux-arm64-musl@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-linux-arm64-musl/-/pinyin-linux-arm64-musl-1.6.2.tgz#9f3a631e828f1220eb05c415702d3ef6492ba60a"
integrity sha512-vzWEnpgn8kothEaxbipOBSN1EupL67Igc8TvZa75pKcmlgdCGmSL/UsMvW40K57ltE7godose/2vMPHveRUT4A==
"@napi-rs/pinyin-linux-x64-gnu@^1.6.2":
"@napi-rs/pinyin-linux-x64-gnu@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-linux-x64-gnu/-/pinyin-linux-x64-gnu-1.6.2.tgz#20a92c7708ac889680dfbfc576c503beab8c41a1"
integrity sha512-Rx7Y6eyZLQfGPFUWZ+0nZ965939HZUBNWNl2Z09pAn1Q7mVzjM8Jqc2Gf6hNqfUzHmNsaQR+2uGkndZY/0yZQg==
"@napi-rs/pinyin-linux-x64-musl@^1.6.2":
"@napi-rs/pinyin-linux-x64-musl@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-linux-x64-musl/-/pinyin-linux-x64-musl-1.6.2.tgz#325b109f6a008274a6d0b6c7104b8fb44fed993e"
integrity sha512-4T8xNPNaX2DGDEP+RhSNOv6YAFe9ti/75P7SHeLGdIIiudacBCKAdPXMS8Koo/6+DQTyfmanq7lWQ8a0/i424g==
"@napi-rs/pinyin-win32-arm64-msvc@^1.6.2":
"@napi-rs/pinyin-win32-arm64-msvc@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-win32-arm64-msvc/-/pinyin-win32-arm64-msvc-1.6.2.tgz#bb349e36028fb4061ac8b4902a31cb61bbfdadbf"
integrity sha512-J25UvOGXo/YYtHxMpoWCUZ2d8zInez1dEMDziB5+VoEIRhCqmsOifS7ffhvjAqd/7VSUK+TgTyF+PwMjSZ4Miw==
"@napi-rs/pinyin-win32-ia32-msvc@^1.6.2":
"@napi-rs/pinyin-win32-ia32-msvc@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-win32-ia32-msvc/-/pinyin-win32-ia32-msvc-1.6.2.tgz#75dd8ff70a3c11884053e16d4209031e4f0b5838"
integrity sha512-6+4hq4ERX/LnW5GYH3UzlAU6TkO1wVdv9U1t7X92lz6S/kTkQmcOOijMvANHykN0Oic//uosOO3kvE5LQMoTuQ==
"@napi-rs/pinyin-win32-x64-msvc@^1.6.2":
"@napi-rs/pinyin-win32-x64-msvc@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin-win32-x64-msvc/-/pinyin-win32-x64-msvc-1.6.2.tgz#e2a3ffd8c1ddf08205627f1b49765da179723321"
integrity sha512-5Dwpg0RPhebpFTGTBGooOfBWpCVw3ajmo7ejnMfrsewuIhN5lyh3UKF7k5xrAGjCZysQdqFvTj6F5maVSFwUlw==
"@napi-rs/pinyin@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin/-/pinyin-1.6.2.tgz#7d833f54094745373916d9d2b155cff727be26e4"
integrity sha512-MvBxqtE1JzTYvsKp+XSDg7X+1dUJ+uKiMdt2L5xm7MscsGxynmHaz8mgpNyZuosX0xXC7aeH2h7SUxC4Pgz50A==
"@napi-rs/pinyin@1.6.1":
version "1.6.1"
resolved "https://registry.yarnpkg.com/@napi-rs/pinyin/-/pinyin-1.6.1.tgz#06d4e8b9182e47f6045c7169e7af557550079370"
integrity sha512-MILZu4btg2nBcgzbp7kvBkfWz5YhdKCwKJGed/opliU+cSBXW0vulb3iyKlQkQpj1q85bk+QZTlj0foP8/29wg==
dependencies:
"@node-rs/helper" "^1.2.0"
"@node-rs/helper" "^1.1.1"
optionalDependencies:
"@napi-rs/pinyin-android-arm64" "^1.6.2"
"@napi-rs/pinyin-darwin-arm64" "^1.6.2"
"@napi-rs/pinyin-darwin-x64" "^1.6.2"
"@napi-rs/pinyin-freebsd-x64" "^1.6.2"
"@napi-rs/pinyin-linux-arm-gnueabihf" "^1.6.2"
"@napi-rs/pinyin-linux-arm64-gnu" "^1.6.2"
"@napi-rs/pinyin-linux-arm64-musl" "^1.6.2"
"@napi-rs/pinyin-linux-x64-gnu" "^1.6.2"
"@napi-rs/pinyin-linux-x64-musl" "^1.6.2"
"@napi-rs/pinyin-win32-arm64-msvc" "^1.6.2"
"@napi-rs/pinyin-win32-ia32-msvc" "^1.6.2"
"@napi-rs/pinyin-win32-x64-msvc" "^1.6.2"
"@napi-rs/pinyin-android-arm64" "^1.6.1"
"@napi-rs/pinyin-darwin-arm64" "^1.6.1"
"@napi-rs/pinyin-darwin-x64" "^1.6.1"
"@napi-rs/pinyin-freebsd-x64" "^1.6.1"
"@napi-rs/pinyin-linux-arm-gnueabihf" "^1.6.1"
"@napi-rs/pinyin-linux-arm64-gnu" "^1.6.1"
"@napi-rs/pinyin-linux-arm64-musl" "^1.6.1"
"@napi-rs/pinyin-linux-x64-gnu" "^1.6.1"
"@napi-rs/pinyin-linux-x64-musl" "^1.6.1"
"@napi-rs/pinyin-win32-arm64-msvc" "^1.6.1"
"@napi-rs/pinyin-win32-ia32-msvc" "^1.6.1"
"@napi-rs/pinyin-win32-x64-msvc" "^1.6.1"
"@napi-rs/triples@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.0.3.tgz#76d6d0c3f4d16013c61e45dfca5ff1e6c31ae53c"
integrity sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA==
"@node-rs/helper@^1.2.0":
"@node-rs/helper@^1.1.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@node-rs/helper/-/helper-1.2.1.tgz#e079b05f21ff4329d82c4e1f71c0290e4ecdc70c"
integrity sha512-R5wEmm8nbuQU0YGGmYVjEc0OHtYsuXdpRG+Ut/3wZ9XAvQWyThN08bTh2cBJgoZxHQUPtvRfeQuxcAgLuiBISg==
@@ -3634,6 +3634,11 @@ chrono-node@2.3.4:
dependencies:
dayjs "^1.10.0"
ci-info@3.3.0, ci-info@^3.1.1, ci-info@^3.2.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2"
integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==
ci-info@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497"
@@ -3644,11 +3649,6 @@ ci-info@^2.0.0:
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
ci-info@^3.1.1, ci-info@^3.2.0, ci-info@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2"
integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
@@ -3657,7 +3657,7 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
inherits "^2.0.1"
safe-buffer "^5.0.1"
city-timezones@^1.2.0:
city-timezones@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/city-timezones/-/city-timezones-1.2.0.tgz#cfd9c9d613c82dc315d2a78d2db7e6bca8109572"
integrity sha512-/69UkTbg9MEsYfiEIUqkKFZBRzuuw+5WLHgybeGaR/E28/w0hLy87Q4QHa0GLStp/EOxXpq5zYvDIu9xcs+bKw==
@@ -5244,7 +5244,7 @@ eslint-plugin-prettier@4.0.0:
dependencies:
prettier-linter-helpers "^1.0.0"
eslint-plugin-yml@^0.12.0:
eslint-plugin-yml@0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-yml/-/eslint-plugin-yml-0.12.0.tgz#919644116a86c153e3af22dc07dd128531167bf3"
integrity sha512-aS82M+diohZTusadiByzh/bKDrfi+Y6VBQkD3ym/7JH+KF9WUB9qKCizLfTaCACwtRrHpqaLz3G8GKmslshyiw==
@@ -5933,7 +5933,7 @@ fs-constants@^1.0.0:
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
fs-extra@^10.0.0:
fs-extra@10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
@@ -12241,10 +12241,10 @@ string-length@^4.0.1:
char-regex "^1.0.2"
strip-ansi "^6.0.0"
string-similarity@^4.0.3:
version "4.0.4"
resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b"
integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==
string-similarity@4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.3.tgz#ef52d6fc59c8a0fc93b6307fbbc08cc6e18cde21"
integrity sha512-QEwJzNFCqq+5AGImk5z4vbsEPTN/+gtyKfXBVLBcbPBRPNganZGfQnIuf9yJ+GiwSnD65sT8xrw/uwU1Q1WmfQ==
string-width@4.2.3, "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
version "4.2.3"
@@ -12826,10 +12826,10 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
torrent-search-api@^2.1.3:
version "2.1.4"
resolved "https://registry.yarnpkg.com/torrent-search-api/-/torrent-search-api-2.1.4.tgz#b60537d9d72a868c38838a78c4a19a878a1f2b68"
integrity sha512-gFWQiQgBMjYWrxB6KP9E2SiOaE6FtSBrILippUDw8h3euMrnggrx2S2Vs/jlIduL6/zEa1bGLG3h016jRRGlng==
torrent-search-api@2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/torrent-search-api/-/torrent-search-api-2.1.3.tgz#5fe976b2493e07fe4d2315695bf1eccff6974b05"
integrity sha512-yQA/T7Rz0Xc0OsdkaJ0G09aSJh4vgt0nsCYKlg9DvSI6kGqxAwlhDAeQncj1gFTsHdPALzXeUqaPCKeigkKc4A==
dependencies:
cloudscraper "^4.6.0"
lodash "^4.17.15"