diff --git a/integration/messaging/package.json b/integration/messaging/package.json index 030c6abc094..f9656abc5fa 100644 --- a/integration/messaging/package.json +++ b/integration/messaging/package.json @@ -15,7 +15,7 @@ "express": "4.17.1", "geckodriver": "2.0.4", "mocha": "9.1.1", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "selenium-assistant": "6.1.0" } } diff --git a/packages/auth-compat/package.json b/packages/auth-compat/package.json index f35ec52dc51..d5e5e3416ec 100644 --- a/packages/auth-compat/package.json +++ b/packages/auth-compat/package.json @@ -47,7 +47,7 @@ "@firebase/auth-types": "0.11.0", "@firebase/component": "0.5.10", "@firebase/util": "1.4.3", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "selenium-webdriver": "^4.0.0-beta.2", "tslib": "^2.1.0" }, diff --git a/packages/auth/package.json b/packages/auth/package.json index 6aef3a0146c..0f03181995e 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -80,7 +80,7 @@ "@firebase/component": "0.5.10", "@firebase/logger": "0.3.2", "@firebase/util": "1.4.3", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "selenium-webdriver": "4.0.0-rc-1", "tslib": "^2.1.0" }, diff --git a/packages/firestore/package.json b/packages/firestore/package.json index 2fc7c815e80..e87c0e28148 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -83,7 +83,7 @@ "@firebase/webchannel-wrapper": "0.6.1", "@grpc/grpc-js": "^1.3.2", "@grpc/proto-loader": "^0.6.0", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "tslib": "^2.1.0" }, "peerDependencies": { diff --git a/packages/functions/package.json b/packages/functions/package.json index 37d8b2c6af0..3edd12f2632 100644 --- a/packages/functions/package.json +++ b/packages/functions/package.json @@ -66,7 +66,7 @@ "@firebase/auth-interop-types": "0.1.6", "@firebase/app-check-interop-types": "0.1.0", "@firebase/util": "1.4.3", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "tslib": "^2.1.0" }, "nyc": { diff --git a/packages/rules-unit-testing/package.json b/packages/rules-unit-testing/package.json index 867e3357566..b588b35ed11 100644 --- a/packages/rules-unit-testing/package.json +++ b/packages/rules-unit-testing/package.json @@ -39,6 +39,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "dependencies": { - "node-fetch": "2.6.5" + "node-fetch": "3.2.0" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index 3ae094c4507..816c772b419 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -43,7 +43,7 @@ "dependencies": { "@firebase/util": "1.4.3", "@firebase/component": "0.5.10", - "node-fetch": "2.6.5", + "node-fetch": "3.2.0", "tslib": "^2.1.0" }, "peerDependencies": { diff --git a/repo-scripts/changelog-generator/package.json b/repo-scripts/changelog-generator/package.json index 6f9026fc554..f8e97a30e56 100644 --- a/repo-scripts/changelog-generator/package.json +++ b/repo-scripts/changelog-generator/package.json @@ -18,8 +18,8 @@ "dependencies": { "@changesets/types": "3.3.0", "@changesets/get-github-info": "0.5.0", - "node-fetch": "2.6.5", - "@types/node-fetch": "2.5.12" + "node-fetch": "3.2.0", + "@types/node-fetch": "3.0.2" }, "license": "Apache-2.0", "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 5fb5ae129b1..5dd07a3db10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3060,13 +3060,12 @@ dependencies: "@types/node" "*" -"@types/node-fetch@2.5.12": - version "2.5.12" - resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.12.tgz#8a6f779b1d4e60b7a57fb6fd48d84fb545b9cc66" - integrity sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw== +"@types/node-fetch@3.0.2": + version "3.0.2" + resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-3.0.2.tgz#899fb992d1349d2e34c287b70007a22c51acae79" + integrity sha512-3q5FyT6iuekUxXeL2qjcyIhtMJdfMF7RGhYXWKkYpdcW9k36A/+txXrjG0l+NMVkiC30jKNrcOqVlqBl7BcCHA== dependencies: - "@types/node" "*" - form-data "^3.0.0" + node-fetch "*" "@types/node@*", "@types/node@>=10.0.0", "@types/node@>=12.12.47", "@types/node@>=13.7.0": version "16.9.6" @@ -5604,7 +5603,7 @@ combine-source-map@^0.8.0: lodash.memoize "~3.0.3" source-map "~0.5.3" -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: +combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -6149,6 +6148,11 @@ data-uri-to-buffer@3: resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636" integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og== +data-uri-to-buffer@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b" + integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== + dataloader@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/dataloader/-/dataloader-1.4.0.tgz#bca11d867f5d3f1b9ed9f737bd15970c65dff5c8" @@ -7470,6 +7474,14 @@ fecha@^4.2.0: resolved "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz#0a83ad8f86ef62a091e22bb5a039cd03d23eecce" integrity sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q== +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.1.4" + resolved "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.4.tgz#e8c6567f80ad7fc22fd302e7dcb72bafde9c1717" + integrity sha512-Eq5Xv5+VlSrYWEqKrusxY1C3Hm/hjeAsCGVG3ft7pZahlUAChpGZT/Ms1WmSLnEAisEXszjzu/s+ce6HZB2VHA== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + figgy-pudding@^3.5.1: version "3.5.2" resolved "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" @@ -7829,15 +7841,6 @@ form-data@^2.5.0: combined-stream "^1.0.6" mime-types "^2.1.12" -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== - 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#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -7847,6 +7850,13 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + forwarded@0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -11911,6 +11921,11 @@ node-addon-api@^3.0.0: resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + node-emoji@^1.4.1: version "1.11.0" resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz#69a0150e6946e2f115e9d7ea4df7971e2628301c" @@ -11918,7 +11933,16 @@ node-emoji@^1.4.1: dependencies: lodash "^4.17.21" -node-fetch@2.6.5, node-fetch@^2.5.0, node-fetch@^2.6.1: +node-fetch@*, node-fetch@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.0.tgz#59390db4e489184fa35d4b74caf5510e8dfbaf3b" + integrity sha512-8xeimMwMItMw8hRrOl3C9/xzU49HV/yE6ORew/l+dxWimO5A4Ra8ld2rerlJvc/O7et5Z1zrWsPX43v1QBjCxw== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + +node-fetch@^2.5.0, node-fetch@^2.6.1: version "2.6.5" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd" integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ== @@ -16523,6 +16547,11 @@ wcwidth@^1.0.0, wcwidth@^1.0.1: dependencies: defaults "^1.0.3" +web-streams-polyfill@^3.0.3: + version "3.2.0" + resolved "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.0.tgz#a6b74026b38e4885869fb5c589e90b95ccfc7965" + integrity sha512-EqPmREeOzttaLRm5HS7io98goBgZ7IVz79aDvqjD0kYXLtFZTc0T/U6wHTPKyIjb+MdN7DFIIX6hgdBEpWmfPA== + webdriver-js-extender@2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz#57d7a93c00db4cc8d556e4d3db4b5db0a80c3bb7"