Skip to content

Commit 80ef329

Browse files
renovate[bot]renovate-botLekoArts
authored
fix(deps): update dependency got to ^11.8.3 for gatsby-plugin-sharp (#34130)
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: LekoArts <[email protected]>
1 parent b81d162 commit 80ef329

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

packages/gatsby-core-utils/src/__tests__/fetch-remote-file.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ Fetch details:
664664
{
665665
\\"attempt\\": 3,
666666
\\"method\\": \\"GET\\",
667+
\\"errorCode\\": \\"ERR_NON_2XX_3XX_RESPONSE\\",
667668
\\"responseStatusCode\\": 500,
668669
\\"responseStatusMessage\\": \\"Internal Server Error\\",
669670
\\"requestHeaders\\": {
@@ -738,6 +739,7 @@ Fetch details:
738739
{
739740
\\"attempt\\": 3,
740741
\\"method\\": \\"GET\\",
742+
\\"errorCode\\": \\"ERR_NON_2XX_3XX_RESPONSE\\",
741743
\\"responseStatusCode\\": 503,
742744
\\"responseStatusMessage\\": \\"Service Unavailable\\",
743745
\\"requestHeaders\\": {
@@ -772,6 +774,7 @@ Fetch details:
772774
{
773775
\\"attempt\\": 3,
774776
\\"method\\": \\"GET\\",
777+
\\"errorCode\\": \\"ERR_GOT_REQUEST_ERROR\\",
775778
\\"requestHeaders\\": {
776779
\\"user-agent\\": \\"got (https://github.com/sindresorhus/got)\\",
777780
\\"accept-encoding\\": \\"gzip, deflate, br\\"

packages/gatsby-core-utils/src/fetch-remote-file.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const ERROR_CODES_TO_RETRY = [
6868
`ENOTFOUND`,
6969
`ENETUNREACH`,
7070
`EAI_AGAIN`,
71+
`ERR_NON_2XX_3XX_RESPONSE`,
72+
`ERR_GOT_REQUEST_ERROR`,
7173
]
7274

7375
let fetchCache = new Map()

packages/gatsby-plugin-sharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"gatsby-core-utils": "^3.4.0-next.0",
1616
"gatsby-plugin-utils": "^2.4.0-next.0",
1717
"gatsby-telemetry": "^3.4.0-next.0",
18-
"got": "^11.8.2",
18+
"got": "^11.8.3",
1919
"lodash": "^4.17.21",
2020
"mini-svg-data-uri": "^1.4.3",
2121
"potrace": "^2.1.8",

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6850,17 +6850,17 @@ cacheable-request@^6.0.0:
68506850
normalize-url "^4.1.0"
68516851
responselike "^1.0.2"
68526852

6853-
cacheable-request@^7.0.1:
6854-
version "7.0.1"
6855-
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.1.tgz#062031c2856232782ed694a257fa35da93942a58"
6856-
integrity sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==
6853+
cacheable-request@^7.0.2:
6854+
version "7.0.2"
6855+
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27"
6856+
integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==
68576857
dependencies:
68586858
clone-response "^1.0.2"
68596859
get-stream "^5.1.0"
68606860
http-cache-semantics "^4.0.0"
68616861
keyv "^4.0.0"
68626862
lowercase-keys "^2.0.0"
6863-
normalize-url "^4.1.0"
6863+
normalize-url "^6.0.1"
68646864
responselike "^2.0.0"
68656865

68666866
cached-path-relative@^1.0.0:
@@ -12012,17 +12012,17 @@ good-listener@^1.2.2:
1201212012
dependencies:
1201312013
delegate "^3.1.2"
1201412014

12015-
got@^11.8.2:
12016-
version "11.8.2"
12017-
resolved "https://registry.yarnpkg.com/got/-/got-11.8.2.tgz#7abb3959ea28c31f3576f1576c1effce23f33599"
12018-
integrity sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==
12015+
got@^11.8.2, got@^11.8.3:
12016+
version "11.8.3"
12017+
resolved "https://registry.yarnpkg.com/got/-/got-11.8.3.tgz#f496c8fdda5d729a90b4905d2b07dbd148170770"
12018+
integrity sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg==
1201912019
dependencies:
1202012020
"@sindresorhus/is" "^4.0.0"
1202112021
"@szmarczak/http-timer" "^4.0.5"
1202212022
"@types/cacheable-request" "^6.0.1"
1202312023
"@types/responselike" "^1.0.0"
1202412024
cacheable-lookup "^5.0.3"
12025-
cacheable-request "^7.0.1"
12025+
cacheable-request "^7.0.2"
1202612026
decompress-response "^6.0.0"
1202712027
http2-wrapper "^1.0.0-beta.5.2"
1202812028
lowercase-keys "^2.0.0"
@@ -18020,7 +18020,7 @@ normalize-url@^4.1.0, normalize-url@^4.5.0:
1802018020
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129"
1802118021
integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==
1802218022

18023-
normalize-url@^6.1.0:
18023+
normalize-url@^6.0.1, normalize-url@^6.1.0:
1802418024
version "6.1.0"
1802518025
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
1802618026
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==

0 commit comments

Comments
 (0)