diff --git a/package.json b/package.json index 76222001..ee288265 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "jsonwebtoken": "9.0.2", "morgan": "1.10.0", "node-cron": "3.0.3", - "node-fetch": "2", + "node-fetch": "2.7.0", "nodemailer": "6.9.13", "qcloud-cos-sts": "3.1.0", "unisms": "0.0.6", diff --git a/yarn.lock b/yarn.lock index 19ac4f4d..fc44420e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3928,7 +3928,7 @@ node-environment-flags@^1.0.5: object.getownpropertydescriptors "^2.0.3" semver "^5.7.0" -node-fetch@2, node-fetch@^2.6.12, node-fetch@^2.6.7: +node-fetch@2.7.0, node-fetch@^2.6.12, node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==