diff --git a/packages/fields-location-google/package.json b/packages/fields-location-google/package.json index 45ded75f95..163a8689ac 100644 --- a/packages/fields-location-google/package.json +++ b/packages/fields-location-google/package.json @@ -21,7 +21,7 @@ "cuid": "^2.1.8", "google-maps-react": "^2.0.6", "mongoose": "^5.12.13", - "node-fetch": "^2.6.1", + "node-fetch": "^3.0.0", "react": "^17.0.2", "react-toast-notifications": "^2.4.4" }, diff --git a/packages/fields-oembed/package.json b/packages/fields-oembed/package.json index 16f39bc5b1..c7275f36ec 100644 --- a/packages/fields-oembed/package.json +++ b/packages/fields-oembed/package.json @@ -22,7 +22,7 @@ "@keystonejs/adapter-prisma": "^3.2.2", "@keystonejs/fields": "^22.1.3", "@keystonejs/fields-content": "^9.1.2", - "node-fetch": "^2.6.1", + "node-fetch": "^3.0.0", "query-string": "^6.14.1" }, "peerDependencies": { diff --git a/packages/fields-unsplash/package.json b/packages/fields-unsplash/package.json index bda1301ff8..5e261d7706 100644 --- a/packages/fields-unsplash/package.json +++ b/packages/fields-unsplash/package.json @@ -20,7 +20,7 @@ "@keystonejs/adapter-prisma": "^3.2.2", "@keystonejs/fields": "^22.1.3", "@keystonejs/fields-content": "^9.1.2", - "node-fetch": "^2.6.1", + "node-fetch": "^3.0.0", "query-string": "^6.14.1", "unsplash-js": "^6.3.0" }, diff --git a/yarn.lock b/yarn.lock index 8230536cf7..b4a3eb8c9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9983,7 +9983,7 @@ data-uri-to-buffer@1: resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz#77163ea9c20d8641b4707e8f18abdf9a78f34835" integrity sha512-vKQ9DTQPN1FLYiiEEOQ6IBGFqvjCa5rSK3cWMy/Nespm5d/x3dGFT9UBZnkLxCwua/IXBi2TYnwTEpsOvhC4UQ== -data-uri-to-buffer@3.0.1: +data-uri-to-buffer@3.0.1, data-uri-to-buffer@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636" integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og== @@ -12187,6 +12187,13 @@ fd-slicer@~1.1.0: dependencies: pend "~1.2.0" +fetch-blob@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.1.2.tgz#6bc438675f3851ecea51758ac91f6a1cd1bacabd" + integrity sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ== + dependencies: + web-streams-polyfill "^3.0.3" + figgy-pudding@^3.5.1: version "3.5.2" resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" @@ -19156,6 +19163,14 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" +node-fetch@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.0.0.tgz#79da7146a520036f2c5f644e4a26095f17e411ea" + integrity sha512-bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3Q== + dependencies: + data-uri-to-buffer "^3.0.1" + fetch-blob "^3.1.2" + node-fingerprint@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/node-fingerprint/-/node-fingerprint-0.0.2.tgz#31cbabeb71a67ae7dd5a7dc042e51c3c75868501" @@ -27490,6 +27505,11 @@ web-resource-inliner@^5.0.0: node-fetch "^2.6.0" valid-data-url "^3.0.0" +web-streams-polyfill@^3.0.3: + version "3.1.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.1.1.tgz#1516f2d4ea8f1bdbfed15eb65cb2df87098c8364" + integrity sha512-Czi3fG883e96T4DLEPRvufrF2ydhOOW1+1a6c3gNjH2aIh50DNFBdfwh2AKoOf1rXvpvavAoA11Qdq9+BKjE0Q== + webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"