diff --git a/package.json b/package.json index dca26682..abfa2acd 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "morgan": "1.10.0", "multer": "^1.4.5-lts.1", "node-cron": "3.0.2", - "node-fetch": "2.6.9", + "node-fetch": "2.7.0", "nodemailer": "6.9.1", "qcloud-cos-sts": "^3.1.0", "unisms": "^0.0.6", @@ -65,7 +65,7 @@ "@types/mongoose": "5.10.3", "@types/morgan": "1.9.4", "@types/multer": "1.4.7", - "@types/node-fetch": "2.6.3", + "@types/node-fetch": "2.6.11", "@types/nodemailer": "6.4.7", "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "5.59.1", diff --git a/yarn.lock b/yarn.lock index ccb6af5e..58d75f55 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2018,13 +2018,13 @@ resolved "https://registry.npmjs.org/@types/node-cron/-/node-cron-3.0.7.tgz" integrity sha512-9PuLtBboc/+JJ7FshmJWv769gDonTpItN0Ol5TMwclpSQNjVyB2SRxSKBcTtbSysSL5R7Oea06kTTFNciCoYwA== -"@types/node-fetch@2.6.3": - version "2.6.3" - resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz" - integrity sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w== +"@types/node-fetch@2.6.11": + version "2.6.11" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" + integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g== dependencies: "@types/node" "*" - form-data "^3.0.0" + form-data "^4.0.0" "@types/node@*", "@types/node@^18.11.18": version "18.16.3" @@ -3553,6 +3553,15 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + form-data@~2.3.2: version "2.3.3" resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz" @@ -4750,7 +4759,14 @@ node-fetch@2.6.7: dependencies: whatwg-url "^5.0.0" -node-fetch@2.6.9, node-fetch@^2.6.7: +node-fetch@2.7.0: + 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== + dependencies: + whatwg-url "^5.0.0" + +node-fetch@^2.6.7: version "2.6.9" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz" integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==