diff --git a/integration-tests/package.json b/integration-tests/package.json index 63505012c4..89a018ddfa 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -66,7 +66,7 @@ "mocha": "^8.4.0", "mocha-junit-reporter": "^2.0.2", "mocha-multi-reporters": "^1.5.1", - "node-fetch": "^2.6.1", + "node-fetch": "^3.3.2", "prom-client": "^14.0.1", "request-promise-native": "^1.0.5", "rimraf": "^3.0.2" diff --git a/ops_boba/monitor/package.json b/ops_boba/monitor/package.json index 0424d8fefd..e8f88bc441 100644 --- a/ops_boba/monitor/package.json +++ b/ops_boba/monitor/package.json @@ -25,6 +25,6 @@ "hardhat": "^2.12.5", "lodash": "4.17.21", "mysql": "^2.18.1", - "node-fetch": "2.6.0" + "node-fetch": "3.3.2" } } diff --git a/packages/boba/gas-price-oracle/package.json b/packages/boba/gas-price-oracle/package.json index e0bddb890b..2caf0b99e3 100644 --- a/packages/boba/gas-price-oracle/package.json +++ b/packages/boba/gas-price-oracle/package.json @@ -44,7 +44,7 @@ "ts-node": "10.9.1", "tslint": "^6.1.3", "typescript": "^4.3.5", - "node-fetch": "^2.6.1" + "node-fetch": "^3.3.2" }, "dependencies": { "@ethersproject/providers": "^5.5.0", diff --git a/packages/data-transport-layer/package.json b/packages/data-transport-layer/package.json index a862bb413b..af31ef0002 100644 --- a/packages/data-transport-layer/package.json +++ b/packages/data-transport-layer/package.json @@ -58,7 +58,7 @@ "level": "^6.0.1", "levelup": "^5.1.1", "lodash": "^4.17.21", - "node-fetch": "^2.6.1" + "node-fetch": "^3.3.2" }, "devDependencies": { "@ethersproject/abstract-provider": "^5.5.0", diff --git a/packages/message-relayer/package.json b/packages/message-relayer/package.json index f8a9e94492..8127d1c154 100644 --- a/packages/message-relayer/package.json +++ b/packages/message-relayer/package.json @@ -39,7 +39,7 @@ "bcfg": "^0.2.1", "dotenv": "^10.0.0", "ethers": "^5.5.4", - "node-fetch": "^2.6.1" + "node-fetch": "^3.3.2" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.0.2", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 56d77d8dc9..391ea74fd8 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -61,7 +61,7 @@ "@eth-optimism/core-utils": "0.8.1", "lodash": "^4.17.21", "merkletreejs": "^0.2.27", - "node-fetch": "^2.6.7", + "node-fetch": "^3.3.2", "rlp": "^2.2.7" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 64f69539ae..d5c6c65ccb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7665,6 +7665,11 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== + date-fns@^2.29.3: version "2.30.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" @@ -9800,6 +9805,14 @@ fault@^1.0.0: dependencies: format "^0.2.0" +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + fetch-ponyfill@^4.0.0: version "4.1.0" resolved "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz" @@ -10092,6 +10105,13 @@ format@^0.2.0: resolved "https://registry.npmjs.org/format/-/format-0.2.2.tgz" integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + formidable@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/formidable/-/formidable-2.1.1.tgz" @@ -14392,6 +14412,11 @@ node-addon-api@^4.2.0: resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz" integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + node-emoji@^1.10.0, node-emoji@^1.4.1: version "1.11.0" resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz" @@ -14407,11 +14432,6 @@ node-environment-flags@1.0.6: object.getownpropertydescriptors "^2.0.3" semver "^5.7.0" -node-fetch@2.6.0: - version "2.6.0" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz" - integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== - node-fetch@2.6.7, node-fetch@^2.6.1, node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" @@ -14419,6 +14439,15 @@ node-fetch@2.6.7, node-fetch@^2.6.1, node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" +node-fetch@3.3.2, node-fetch@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b" + integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + node-fetch@~1.7.1: version "1.7.3" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz" @@ -19345,6 +19374,11 @@ wcwidth@^1.0.0, wcwidth@^1.0.1: dependencies: defaults "^1.0.3" +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + web3-bzz@1.2.11: version "1.2.11" resolved "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.2.11.tgz"