chore: update deps

This commit is contained in:
Innei
2022-05-10 19:35:07 +08:00
parent b8328f7ae8
commit 913cf7a0f0
2 changed files with 81 additions and 74 deletions

View File

@@ -171,7 +171,7 @@
"cross-env": "7.0.3",
"eslint": "*",
"eslint-plugin-unused-imports": "2.0.0",
"husky": "7.0.4",
"husky": "8.0.1",
"ioredis": "5.0.4",
"jest": "28.1.0",
"lint-staged": "12.4.1",

153
pnpm-lock.yaml generated
View File

@@ -72,7 +72,7 @@ specifiers:
fastify-swagger: npm:@fastify/swagger@6
fs-extra: '*'
get-image-colors: 4.0.1
husky: 7.0.4
husky: 8.0.1
image-size: 1.0.1
inquirer: '*'
ioredis: 5.0.4
@@ -219,9 +219,9 @@ devDependencies:
'@vercel/ncc': 0.33.4
cron: 2.0.0
cross-env: 7.0.3
eslint: 8.14.0
eslint-plugin-unused-imports: 2.0.0_eslint@8.14.0
husky: 7.0.4
eslint: 8.15.0
eslint-plugin-unused-imports: 2.0.0_eslint@8.15.0
husky: 8.0.1
ioredis: 5.0.4
jest: 28.1.0_p2brwx6nx5zpemlvbnwk444zqy
lint-staged: 12.4.1
@@ -854,14 +854,14 @@ packages:
'@cspotcode/source-map-consumer': 0.8.0
dev: true
/@eslint/eslintrc/1.2.2:
resolution: {integrity: sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==}
/@eslint/eslintrc/1.2.3:
resolution: {integrity: sha512-uGo44hIwoLGNyduRpjdEpovcbMdd+Nv7amtmJxnKmI8xj6yd5LncmSwDa5NgX/41lIFJtkjD6YdVfgEzPfJ5UA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
debug: 4.3.4
espree: 9.3.1
globals: 13.13.0
espree: 9.3.2
globals: 13.14.0
ignore: 5.2.0
import-fresh: 3.3.0
js-yaml: 4.1.0
@@ -987,12 +987,12 @@ packages:
peerDependencies:
typescript: '>=4'
dependencies:
'@typescript-eslint/eslint-plugin': 5.20.0_lnjlwhtxjffjmj5o7dnwvwyqxq
'@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu
eslint: 8.14.0
eslint-config-prettier: 8.5.0_eslint@8.14.0
eslint-plugin-import: 2.26.0_as7czvxgrvaa35lzxztolpnp5a
eslint-plugin-unused-imports: 2.0.0_3ma5hjgccsod3r67hdxlba5uoy
'@typescript-eslint/eslint-plugin': 5.20.0_c63nfttrfhylg3zmgcxfslaw44
'@typescript-eslint/parser': 5.23.0_hcfsmds2fshutdssjqluwm76uu
eslint: 8.15.0
eslint-config-prettier: 8.5.0_eslint@8.15.0
eslint-plugin-import: 2.26.0_doddzorl55y6dbr5ij3nshfl64
eslint-plugin-unused-imports: 2.0.0_xy4mj6ojwa6eu4d5g6zjm6oqka
typescript: 4.6.4
transitivePeerDependencies:
- eslint-import-resolver-typescript
@@ -1995,7 +1995,7 @@ packages:
dev: false
optional: true
/@typescript-eslint/eslint-plugin/5.20.0_lnjlwhtxjffjmj5o7dnwvwyqxq:
/@typescript-eslint/eslint-plugin/5.20.0_c63nfttrfhylg3zmgcxfslaw44:
resolution: {integrity: sha512-fapGzoxilCn3sBtC6NtXZX6+P/Hef7VDbyfGqTTpzYydwhlkevB+0vE0EnmHPVTVSy68GUncyJ/2PcrFBeCo5Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2006,12 +2006,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/parser': 5.23.0_hcfsmds2fshutdssjqluwm76uu
'@typescript-eslint/scope-manager': 5.20.0
'@typescript-eslint/type-utils': 5.20.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/utils': 5.20.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/type-utils': 5.20.0_hcfsmds2fshutdssjqluwm76uu
'@typescript-eslint/utils': 5.20.0_hcfsmds2fshutdssjqluwm76uu
debug: 4.3.4
eslint: 8.14.0
eslint: 8.15.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
@@ -2022,8 +2022,8 @@ packages:
- supports-color
dev: true
/@typescript-eslint/parser/5.22.0_t725usgvqspm5woeqpaxbfp2qu:
resolution: {integrity: sha512-piwC4krUpRDqPaPbFaycN70KCP87+PC5WZmrWs+DlVOxxmF+zI6b6hETv7Quy4s9wbkV16ikMeZgXsvzwI3icQ==}
/@typescript-eslint/parser/5.23.0_hcfsmds2fshutdssjqluwm76uu:
resolution: {integrity: sha512-V06cYUkqcGqpFjb8ttVgzNF53tgbB/KoQT/iB++DOIExKmzI9vBJKjZKt/6FuV9c+zrDsvJKbJ2DOCYwX91cbw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -2032,11 +2032,11 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.22.0
'@typescript-eslint/types': 5.22.0
'@typescript-eslint/typescript-estree': 5.22.0_typescript@4.6.4
'@typescript-eslint/scope-manager': 5.23.0
'@typescript-eslint/types': 5.23.0
'@typescript-eslint/typescript-estree': 5.23.0_typescript@4.6.4
debug: 4.3.4
eslint: 8.14.0
eslint: 8.15.0
typescript: 4.6.4
transitivePeerDependencies:
- supports-color
@@ -2050,15 +2050,15 @@ packages:
'@typescript-eslint/visitor-keys': 5.20.0
dev: true
/@typescript-eslint/scope-manager/5.22.0:
resolution: {integrity: sha512-yA9G5NJgV5esANJCO0oF15MkBO20mIskbZ8ijfmlKIvQKg0ynVKfHZ15/nhAJN5m8Jn3X5qkwriQCiUntC9AbA==}
/@typescript-eslint/scope-manager/5.23.0:
resolution: {integrity: sha512-EhjaFELQHCRb5wTwlGsNMvzK9b8Oco4aYNleeDlNuL6qXWDF47ch4EhVNPh8Rdhf9tmqbN4sWDk/8g+Z/J8JVw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.22.0
'@typescript-eslint/visitor-keys': 5.22.0
'@typescript-eslint/types': 5.23.0
'@typescript-eslint/visitor-keys': 5.23.0
dev: true
/@typescript-eslint/type-utils/5.20.0_t725usgvqspm5woeqpaxbfp2qu:
/@typescript-eslint/type-utils/5.20.0_hcfsmds2fshutdssjqluwm76uu:
resolution: {integrity: sha512-WxNrCwYB3N/m8ceyoGCgbLmuZwupvzN0rE8NBuwnl7APgjv24ZJIjkNzoFBXPRCGzLNkoU/WfanW0exvp/+3Iw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2068,9 +2068,9 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.20.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/utils': 5.20.0_hcfsmds2fshutdssjqluwm76uu
debug: 4.3.4
eslint: 8.14.0
eslint: 8.15.0
tsutils: 3.21.0_typescript@4.6.4
typescript: 4.6.4
transitivePeerDependencies:
@@ -2082,8 +2082,8 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/types/5.22.0:
resolution: {integrity: sha512-T7owcXW4l0v7NTijmjGWwWf/1JqdlWiBzPqzAWhobxft0SiEvMJB56QXmeCQjrPuM8zEfGUKyPQr/L8+cFUBLw==}
/@typescript-eslint/types/5.23.0:
resolution: {integrity: sha512-NfBsV/h4dir/8mJwdZz7JFibaKC3E/QdeMEDJhiAE3/eMkoniZ7MjbEMCGXw6MZnZDMN3G9S0mH/6WUIj91dmw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
@@ -2108,8 +2108,8 @@ packages:
- supports-color
dev: true
/@typescript-eslint/typescript-estree/5.22.0_typescript@4.6.4:
resolution: {integrity: sha512-EyBEQxvNjg80yinGE2xdhpDYm41so/1kOItl0qrjIiJ1kX/L/L8WWGmJg8ni6eG3DwqmOzDqOhe6763bF92nOw==}
/@typescript-eslint/typescript-estree/5.23.0_typescript@4.6.4:
resolution: {integrity: sha512-xE9e0lrHhI647SlGMl+m+3E3CKPF1wzvvOEWnuE3CCjjT7UiRnDGJxmAcVKJIlFgK6DY9RB98eLr1OPigPEOGg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@@ -2117,8 +2117,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.22.0
'@typescript-eslint/visitor-keys': 5.22.0
'@typescript-eslint/types': 5.23.0
'@typescript-eslint/visitor-keys': 5.23.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@@ -2129,7 +2129,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/utils/5.20.0_t725usgvqspm5woeqpaxbfp2qu:
/@typescript-eslint/utils/5.20.0_hcfsmds2fshutdssjqluwm76uu:
resolution: {integrity: sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -2139,9 +2139,9 @@ packages:
'@typescript-eslint/scope-manager': 5.20.0
'@typescript-eslint/types': 5.20.0
'@typescript-eslint/typescript-estree': 5.20.0_typescript@4.6.4
eslint: 8.14.0
eslint: 8.15.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.14.0
eslint-utils: 3.0.0_eslint@8.15.0
transitivePeerDependencies:
- supports-color
- typescript
@@ -2155,11 +2155,11 @@ packages:
eslint-visitor-keys: 3.3.0
dev: true
/@typescript-eslint/visitor-keys/5.22.0:
resolution: {integrity: sha512-DbgTqn2Dv5RFWluG88tn0pP6Ex0ROF+dpDO1TNNZdRtLjUr6bdznjA6f/qNqJLjd2PgguAES2Zgxh/JzwzETDg==}
/@typescript-eslint/visitor-keys/5.23.0:
resolution: {integrity: sha512-Vd4mFNchU62sJB8pX19ZSPog05B0Y0CE2UxAZPT5k4iqhRYjPnqyY3woMxCd0++t9OTqkgjST+1ydLBi7e2Fvg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.22.0
'@typescript-eslint/types': 5.23.0
eslint-visitor-keys: 3.3.0
dev: true
@@ -2802,6 +2802,13 @@ packages:
buffer: 5.7.1
dev: false
/bson/4.6.3:
resolution: {integrity: sha512-rAqP5hcUVJhXP2MCSNVsf0oM2OGU1So6A9pVRDYayvJ5+hygXHQApf87wd5NlhPM1J9RJnbqxIG/f8QTzRoQ4A==}
engines: {node: '>=6.9.0'}
dependencies:
buffer: 5.7.1
dev: false
/buffer-crc32/0.2.13:
resolution: {integrity: sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=}
dev: false
@@ -3737,13 +3744,13 @@ packages:
engines: {node: '>=10'}
dev: true
/eslint-config-prettier/8.5.0_eslint@8.14.0:
/eslint-config-prettier/8.5.0_eslint@8.15.0:
resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
eslint: 8.14.0
eslint: 8.15.0
dev: true
/eslint-import-resolver-node/0.3.6:
@@ -3755,7 +3762,7 @@ packages:
- supports-color
dev: true
/eslint-module-utils/2.7.3_wex3ustmkv4ospy3s77r6ihlwq:
/eslint-module-utils/2.7.3_cphntlaow2spielwlvsegonsm4:
resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==}
engines: {node: '>=4'}
peerDependencies:
@@ -3773,7 +3780,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/parser': 5.23.0_hcfsmds2fshutdssjqluwm76uu
debug: 3.2.7
eslint-import-resolver-node: 0.3.6
find-up: 2.1.0
@@ -3781,7 +3788,7 @@ packages:
- supports-color
dev: true
/eslint-plugin-import/2.26.0_as7czvxgrvaa35lzxztolpnp5a:
/eslint-plugin-import/2.26.0_doddzorl55y6dbr5ij3nshfl64:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'}
peerDependencies:
@@ -3791,14 +3798,14 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu
'@typescript-eslint/parser': 5.23.0_hcfsmds2fshutdssjqluwm76uu
array-includes: 3.1.5
array.prototype.flat: 1.3.0
debug: 2.6.9
doctrine: 2.1.0
eslint: 8.14.0
eslint: 8.15.0
eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.3_wex3ustmkv4ospy3s77r6ihlwq
eslint-module-utils: 2.7.3_cphntlaow2spielwlvsegonsm4
has: 1.0.3
is-core-module: 2.9.0
is-glob: 4.0.3
@@ -3812,7 +3819,7 @@ packages:
- supports-color
dev: true
/eslint-plugin-unused-imports/2.0.0_3ma5hjgccsod3r67hdxlba5uoy:
/eslint-plugin-unused-imports/2.0.0_eslint@8.15.0:
resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -3822,12 +3829,11 @@ packages:
'@typescript-eslint/eslint-plugin':
optional: true
dependencies:
'@typescript-eslint/eslint-plugin': 5.20.0_lnjlwhtxjffjmj5o7dnwvwyqxq
eslint: 8.14.0
eslint: 8.15.0
eslint-rule-composer: 0.3.0
dev: true
/eslint-plugin-unused-imports/2.0.0_eslint@8.14.0:
/eslint-plugin-unused-imports/2.0.0_xy4mj6ojwa6eu4d5g6zjm6oqka:
resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -3837,7 +3843,8 @@ packages:
'@typescript-eslint/eslint-plugin':
optional: true
dependencies:
eslint: 8.14.0
'@typescript-eslint/eslint-plugin': 5.20.0_c63nfttrfhylg3zmgcxfslaw44
eslint: 8.15.0
eslint-rule-composer: 0.3.0
dev: true
@@ -3862,13 +3869,13 @@ packages:
estraverse: 5.3.0
dev: true
/eslint-utils/3.0.0_eslint@8.14.0:
/eslint-utils/3.0.0_eslint@8.15.0:
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
dependencies:
eslint: 8.14.0
eslint: 8.15.0
eslint-visitor-keys: 2.1.0
dev: true
@@ -3882,12 +3889,12 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/eslint/8.14.0:
resolution: {integrity: sha512-3/CE4aJX7LNEiE3i6FeodHmI/38GZtWCsAtsymScmzYapx8q1nVVb+eLcLSzATmCPXw5pT4TqVs1E0OmxAd9tw==}
/eslint/8.15.0:
resolution: {integrity: sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
'@eslint/eslintrc': 1.2.2
'@eslint/eslintrc': 1.2.3
'@humanwhocodes/config-array': 0.9.5
ajv: 6.12.6
chalk: 4.1.2
@@ -3896,16 +3903,16 @@ packages:
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.1.1
eslint-utils: 3.0.0_eslint@8.14.0
eslint-utils: 3.0.0_eslint@8.15.0
eslint-visitor-keys: 3.3.0
espree: 9.3.1
espree: 9.3.2
esquery: 1.4.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
file-entry-cache: 6.0.1
functional-red-black-tree: 1.0.1
glob-parent: 6.0.2
globals: 13.13.0
globals: 13.14.0
ignore: 5.2.0
import-fresh: 3.3.0
imurmurhash: 0.1.4
@@ -3926,8 +3933,8 @@ packages:
- supports-color
dev: true
/espree/9.3.1:
resolution: {integrity: sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==}
/espree/9.3.2:
resolution: {integrity: sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
acorn: 8.7.1
@@ -4534,8 +4541,8 @@ packages:
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
engines: {node: '>=4'}
/globals/13.13.0:
resolution: {integrity: sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==}
/globals/13.14.0:
resolution: {integrity: sha512-ERO68sOYwm5UuLvSJTY7w7NP2c8S4UcXs3X1GBX8cwOr+ShOcDBbCY5mH4zxz0jsYCdJ8ve8Mv9n2YGJMB1aeg==}
engines: {node: '>=8'}
dependencies:
type-fest: 0.20.2
@@ -4690,9 +4697,9 @@ packages:
engines: {node: '>=10.17.0'}
dev: true
/husky/7.0.4:
resolution: {integrity: sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==}
engines: {node: '>=12'}
/husky/8.0.1:
resolution: {integrity: sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==}
engines: {node: '>=14'}
hasBin: true
dev: true
@@ -6243,7 +6250,7 @@ packages:
resolution: {integrity: sha512-bAGuf+6mXuVjKReNcOGjdI05y9g0JXnRpZ3/PBN3kVXIn3rbhbFwR/lPbuwtsBsWhlblMK8tieDeFAVzV6yhww==}
engines: {node: '>=12.0.0'}
dependencies:
bson: 4.6.2
bson: 4.6.3
kareem: 2.3.5
mongodb: 4.5.0
mpath: 0.9.0