Skip to content

Commit

Permalink
fix(deps): update dependency got to ^11.8.3 for gatsby-plugin-sharp (#…
Browse files Browse the repository at this point in the history
…34130)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
3 people committed Dec 6, 2021
1 parent b81d162 commit 80ef329
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-core-utils/src/__tests__/fetch-remote-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ Fetch details:
{
\\"attempt\\": 3,
\\"method\\": \\"GET\\",
\\"errorCode\\": \\"ERR_NON_2XX_3XX_RESPONSE\\",
\\"responseStatusCode\\": 500,
\\"responseStatusMessage\\": \\"Internal Server Error\\",
\\"requestHeaders\\": {
Expand Down Expand Up @@ -738,6 +739,7 @@ Fetch details:
{
\\"attempt\\": 3,
\\"method\\": \\"GET\\",
\\"errorCode\\": \\"ERR_NON_2XX_3XX_RESPONSE\\",
\\"responseStatusCode\\": 503,
\\"responseStatusMessage\\": \\"Service Unavailable\\",
\\"requestHeaders\\": {
Expand Down Expand Up @@ -772,6 +774,7 @@ Fetch details:
{
\\"attempt\\": 3,
\\"method\\": \\"GET\\",
\\"errorCode\\": \\"ERR_GOT_REQUEST_ERROR\\",
\\"requestHeaders\\": {
\\"user-agent\\": \\"got (https://github.com/sindresorhus/got)\\",
\\"accept-encoding\\": \\"gzip, deflate, br\\"
Expand Down
2 changes: 2 additions & 0 deletions packages/gatsby-core-utils/src/fetch-remote-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const ERROR_CODES_TO_RETRY = [
`ENOTFOUND`,
`ENETUNREACH`,
`EAI_AGAIN`,
`ERR_NON_2XX_3XX_RESPONSE`,
`ERR_GOT_REQUEST_ERROR`,
]

let fetchCache = new Map()
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"gatsby-core-utils": "^3.4.0-next.0",
"gatsby-plugin-utils": "^2.4.0-next.0",
"gatsby-telemetry": "^3.4.0-next.0",
"got": "^11.8.2",
"got": "^11.8.3",
"lodash": "^4.17.21",
"mini-svg-data-uri": "^1.4.3",
"potrace": "^2.1.8",
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6850,17 +6850,17 @@ cacheable-request@^6.0.0:
normalize-url "^4.1.0"
responselike "^1.0.2"

cacheable-request@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.1.tgz#062031c2856232782ed694a257fa35da93942a58"
integrity sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==
cacheable-request@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27"
integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==
dependencies:
clone-response "^1.0.2"
get-stream "^5.1.0"
http-cache-semantics "^4.0.0"
keyv "^4.0.0"
lowercase-keys "^2.0.0"
normalize-url "^4.1.0"
normalize-url "^6.0.1"
responselike "^2.0.0"

cached-path-relative@^1.0.0:
Expand Down Expand Up @@ -12012,17 +12012,17 @@ good-listener@^1.2.2:
dependencies:
delegate "^3.1.2"

got@^11.8.2:
version "11.8.2"
resolved "https://registry.yarnpkg.com/got/-/got-11.8.2.tgz#7abb3959ea28c31f3576f1576c1effce23f33599"
integrity sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==
got@^11.8.2, got@^11.8.3:
version "11.8.3"
resolved "https://registry.yarnpkg.com/got/-/got-11.8.3.tgz#f496c8fdda5d729a90b4905d2b07dbd148170770"
integrity sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg==
dependencies:
"@sindresorhus/is" "^4.0.0"
"@szmarczak/http-timer" "^4.0.5"
"@types/cacheable-request" "^6.0.1"
"@types/responselike" "^1.0.0"
cacheable-lookup "^5.0.3"
cacheable-request "^7.0.1"
cacheable-request "^7.0.2"
decompress-response "^6.0.0"
http2-wrapper "^1.0.0-beta.5.2"
lowercase-keys "^2.0.0"
Expand Down Expand Up @@ -18020,7 +18020,7 @@ normalize-url@^4.1.0, normalize-url@^4.5.0:
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129"
integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==

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

0 comments on commit 80ef329

Please sign in to comment.