Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [whatwg-fetch](https://redirect.github.com/github/fetch) |
dependencies | minor | [`^3.0.0` ->
`^3.6.20`](https://renovatebot.com/diffs/npm/whatwg-fetch/3.0.0/3.6.20)
|

---

### Release Notes

<details>
<summary>github/fetch (whatwg-fetch)</summary>

###
[`v3.6.20`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#3620-2023-12-13)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.19...v3.6.20)

##### Bug Fixes

- Response.error().ok === false
([#&elastic#8203;1412](https://redirect.github.com/JakeChampion/fetch/issues/1412))
([27e1c75](https://redirect.github.com/JakeChampion/fetch/commit/27e1c75f830f0b70a40b511e03652776951aca75))

###
[`v3.6.19`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#3619-2023-09-11)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.18...v3.6.19)

##### Bug Fixes

- Have unique error messages for xhr timeouts and errors
([#&elastic#8203;1380](https://redirect.github.com/JakeChampion/fetch/issues/1380))
([7170f0b](https://redirect.github.com/JakeChampion/fetch/commit/7170f0b127d16c5895aba61c9168482834809046))

###
[`v3.6.18`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3618)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.17...v3.6.18)

- Fix - File fetching broken since commit
[`0c1d2b9`](https://redirect.github.com/github/fetch/commit/0c1d2b9)
[`elastic#1375`](https://redirect.github.com/JakeChampion/fetch/pull/1375)
- Remove broken links
[`1dc07c6`](https://redirect.github.com/JakeChampion/fetch/commit/1dc07c6064a32e989306fb2324204c56c93140fe)
- automatically generate a changelog
[`0e7d1dd`](https://redirect.github.com/JakeChampion/fetch/commit/0e7d1dd95826b3b76510f0832784207f2609145e)

###
[`v3.6.17`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3617)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.16...v3.6.17)

> 20 July 2023

- Revert "Resolves
[https://github.com/JakeChampion/fetch/issues/928](https://redirect.github.com/JakeChampion/fetch/issues/928)"
[`elastic#928`](https://redirect.github.com/JakeChampion/fetch/issues/928)

###
[`v3.6.16`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3616)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.15...v3.6.16)

> 18 July 2023

- Resolves
[https://github.com/JakeChampion/fetch/issues/928](https://redirect.github.com/JakeChampion/fetch/issues/928)
[`elastic#928`](https://redirect.github.com/JakeChampion/fetch/issues/928)

###
[`v3.6.15`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3615)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.14...v3.6.15)

> 18 July 2023

- fix
[https://github.com/JakeChampion/fetch/issues/997](https://redirect.github.com/JakeChampion/fetch/issues/997)
[`elastic#997`](https://redirect.github.com/JakeChampion/fetch/issues/997)

###
[`v3.6.14`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3614)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.13...v3.6.14)

> 18 July 2023

- Fix
[https://github.com/JakeChampion/fetch/issues/1076](https://redirect.github.com/JakeChampion/fetch/issues/1076)
[`elastic#1076`](https://redirect.github.com/JakeChampion/fetch/issues/1076)

###
[`v3.6.13`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3613)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.12...v3.6.13)

> 18 July 2023

- respect charset within readBlobAsText
[`elastic#1059`](https://redirect.github.com/JakeChampion/fetch/issues/1059)

###
[`v3.6.12`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3612)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.11...v3.6.12)

> 18 July 2023

- fix: Headers only accepts array which have nested array of length 2
[`elastic#1235`](https://redirect.github.com/JakeChampion/fetch/issues/1235)

###
[`v3.6.11`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3611)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.10...v3.6.11)

> 18 July 2023

- Define Body.arrayBuffer even if support.blob is false
[`elastic#992`](https://redirect.github.com/JakeChampion/fetch/issues/992)

###
[`v3.6.10`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v3610)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.9...v3.6.10)

> 18 July 2023

- use globals if they exist
[`dffc542`](https://redirect.github.com/JakeChampion/fetch/commit/dffc542fe7140f35ee7fec29e3da67f3bf080910)

###
[`v3.6.9`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v369)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.8...v3.6.9)

> 18 July 2023

- fix: when no body supplied, do not set bodyUsed to true
[`7d92dff`](https://redirect.github.com/JakeChampion/fetch/commit/7d92dff12d7c4058b57c7e77adeb0a76ffab639f)

###
[`v3.6.8`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v368)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.7...v3.6.8)

> 18 July 2023

- validate status is in range
[`elastic#1213`](https://redirect.github.com/JakeChampion/fetch/issues/1213)

###
[`v3.6.7`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v367)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.6...v3.6.7)

> 18 July 2023

- dont shadow `global`
[`elastic#1026`](https://redirect.github.com/JakeChampion/fetch/issues/1026)
- dont use github eslint
[`408d3b6`](https://redirect.github.com/JakeChampion/fetch/commit/408d3b60e27abef325dd898d899430c46a0012b2)
- remove invalid-headers test
[`e3f6590`](https://redirect.github.com/JakeChampion/fetch/commit/e3f65907924b7692af7c08cd92044456bc92ad8b)
- Update lock.yml permissions
[`e97321b`](https://redirect.github.com/JakeChampion/fetch/commit/e97321bc081e80275397fc4c7a990791aa8b3524)

###
[`v3.6.6`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v366)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.5...v3.6.6)

> 18 July 2023

- fix: ignore not throw on invalid response headers
[`elastic#930`](https://redirect.github.com/JakeChampion/fetch/issues/930)

###
[`v3.6.5`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v365)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.4...v3.6.5)

> 18 July 2023

- Add some missed methods which should be normalized as uppercase
[`a43b628`](https://redirect.github.com/JakeChampion/fetch/commit/a43b6283833c403230bb1a5238e2d7ac435c52da)
- Update caniuse link to use HTTPS and new pattern
[`fb5b0cf`](https://redirect.github.com/JakeChampion/fetch/commit/fb5b0cf42b470faf8c5448ab461d561f34380a30)

###
[`v3.6.4`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v364)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.3...v3.6.4)

> 18 July 2023

- always set a signal on Request
[`d1d09fb`](https://redirect.github.com/JakeChampion/fetch/commit/d1d09fb8039b4b8c7f2f5d6c844ea72d8a3cefe6)

###
[`v3.6.3`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v363)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.2...v3.6.3)

> 18 July 2023

- Compatible global equals to the false
[`7727e50`](https://redirect.github.com/JakeChampion/fetch/commit/7727e50493eafae9a7005f10f18f81e5bbcbfdd3)

###
[`v3.6.2`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#3620-2023-12-13)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.1...v3.6.2)

##### Bug Fixes

- Response.error().ok === false
([#&elastic#8203;1412](https://redirect.github.com/JakeChampion/fetch/issues/1412))
([27e1c75](https://redirect.github.com/JakeChampion/fetch/commit/27e1c75f830f0b70a40b511e03652776951aca75))

###
[`v3.6.1`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#3619-2023-09-11)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.6.0...v3.6.1)

##### Bug Fixes

- Have unique error messages for xhr timeouts and errors
([#&elastic#8203;1380](https://redirect.github.com/JakeChampion/fetch/issues/1380))
([7170f0b](https://redirect.github.com/JakeChampion/fetch/commit/7170f0b127d16c5895aba61c9168482834809046))

###
[`v3.6.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v360)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.5.0...v3.6.0)

> 18 February 2021

- Fix statusText: undefined should give '' and null should give 'null'
[`b5c8bd0`](https://redirect.github.com/JakeChampion/fetch/commit/b5c8bd0fee1530f1c204cc5c68b427a3498dbdad)
- Represent non-stringified JSON request body as an \[object Object]
string
[`5c6b055`](https://redirect.github.com/JakeChampion/fetch/commit/5c6b055e6ae6f718f416c94bfcdc89693d0abdcb)
- Fix eslint and eslint-plugin-github dependency conflicts
[`190e698`](https://redirect.github.com/JakeChampion/fetch/commit/190e698f8e737ad751a11de60f6b8b3301fa557b)

###
[`v3.5.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v350)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.4.1...v3.5.0)

> 6 November 2020

- Fixes
[#&elastic#8203;748](https://redirect.github.com/github/fetch/issues/748)
[`elastic#748`](https://redirect.github.com/JakeChampion/fetch/issues/748)
- Create lock.yml
[`8767781`](https://redirect.github.com/JakeChampion/fetch/commit/87677811d543cfb44b124e026b50f710e95017ec)

###
[`v3.4.1`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v341)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.4.0...v3.4.1)

> 7 September 2020

- Add npmignore file to ensure we always publish the dist directory
[`7ca02eb`](https://redirect.github.com/JakeChampion/fetch/commit/7ca02eb0234b0a61fd711d922b2e69d3c5390516)
- Make the clean task remove the dist directory and the default task
create it
[`fd23745`](https://redirect.github.com/JakeChampion/fetch/commit/fd23745f3474cd23d88e5128d8bc74813be1aff0)

###
[`v3.4.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v340)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.3.1...v3.4.0)

> 7 August 2020

- Use globalThis as the global object if it exists
[`96c2651`](https://redirect.github.com/JakeChampion/fetch/commit/96c26512608a0081d493df4fc17da4394bd1b410)

###
[`v3.3.1`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v331)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.3.0...v3.3.1)

> 4 August 2020

- rename variable to no longer shadow over function of same name
[`c5db762`](https://redirect.github.com/JakeChampion/fetch/commit/c5db7621c3b1530683b8f706388d4ac210a2db02)
- remove semicolon to pass linting
[`f264aa5`](https://redirect.github.com/JakeChampion/fetch/commit/f264aa5704f7431c429ec16e6fdd3c7034c7f2d9)

###
[`v3.3.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v330)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.2.0...v3.3.0)

> 4 August 2020

- Make Response.arrayBuffer() always resolve with a `ArrayBuffer`
[`elastic#801`](https://redirect.github.com/github/fetch/issues/801)
- Stop using top-level `this` to stop rollup warning
[`elastic#802`](https://redirect.github.com/github/fetch/issues/802)
- Recommend an AbortController polyfill which is fully synchronous
[`elastic#800`](https://redirect.github.com/github/fetch/issues/800)
- Add keepalive caveat
[`elastic#780`](https://redirect.github.com/github/fetch/issues/780)
- Throw a TypeError if Request or Response functions are called without
`new`
[`5ef028d`](https://redirect.github.com/JakeChampion/fetch/commit/5ef028d61f6c1543603cdacbe0f8a0f00d5957c0)
- If headers are passed in via a Record then do not normalise the header
names as part of the request
[`b65ed60`](https://redirect.github.com/JakeChampion/fetch/commit/b65ed608604492d605df2d62cd4c5050e2a8d508)
- Update fetch.js
[`37b55c2`](https://redirect.github.com/JakeChampion/fetch/commit/37b55c27413b902cef4e629892424ae469fb1ea2)

###
[`v3.2.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v320)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.1.1...v3.2.0)

> 9 July 2020

- Detect if DOMException exists via typeof instead of trying to call it
and catching the exception which may get thrown
[`elastic#724`](https://redirect.github.com/github/fetch/issues/724)
- use `this` if `self` is not defined
[`elastic#657`](https://redirect.github.com/github/fetch/issues/657)
- create variable called `global` which is either `self` or `this`
[`a0783a5`](https://redirect.github.com/JakeChampion/fetch/commit/a0783a5571018191578cc08d5b3bac61a0b64562)
- Add support for no-cache and no-store via a cache-busting querystring
parameter
[`a0dcd85`](https://redirect.github.com/JakeChampion/fetch/commit/a0dcd853f8ed29d06a022f92c87c303bd0e1f1bf)
- make global `this` correct when using rollup
[`6e9fc0e`](https://redirect.github.com/JakeChampion/fetch/commit/6e9fc0ee026dd89d864c3d176c57789ee5615114)

###
[`v3.1.1`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v311)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.1.0...v3.1.1)

> 8 July 2020

- check if Content-Type header exists prior to examining the value
[`elastic#792`](https://redirect.github.com/JakeChampion/fetch/pull/792)
- Move from Travis to GitHub Actions
[`elastic#793`](https://redirect.github.com/JakeChampion/fetch/pull/793)

###
[`v3.1.0`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v310)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.0.1...v3.1.0)

> 29 June 2020

###
[`v3.0.1`](https://redirect.github.com/github/fetch/blob/HEAD/CHANGELOG.md#v301)

[Compare
Source](https://redirect.github.com/github/fetch/compare/v3.0.0...v3.0.1)

> 8 July 2020

- check if Content-Type header exists prior to examining the value
[`elastic#792`](https://redirect.github.com/JakeChampion/fetch/pull/792)
- Move from Travis to GitHub Actions
[`elastic#793`](https://redirect.github.com/JakeChampion/fetch/pull/793)
- Co-authored-by: Jake Champion \<me@jakechampion.name>
[`elastic#575`](https://redirect.github.com/JakeChampion/fetch/pull/575)
- work around IE XHR bug with '' URL Fixes
[#&elastic#8203;618](https://redirect.github.com/github/fetch/issues/618)
[`elastic#619`](https://redirect.github.com/JakeChampion/fetch/pull/619)
- Allow exclamation mark as valid header character
[`elastic#745`](https://redirect.github.com/JakeChampion/fetch/pull/745)
- Avoid blob conversion for specific requests
[`elastic#752`](https://redirect.github.com/JakeChampion/fetch/pull/752)
- Compatibility for fetch-mock using proxy-pollyfill
[`elastic#736`](https://redirect.github.com/JakeChampion/fetch/pull/736)
- Change default statusText for Response
[`elastic#698`](https://redirect.github.com/JakeChampion/fetch/pull/698)
- Document more common pitfalls in the README
[`elastic#734`](https://redirect.github.com/JakeChampion/fetch/pull/734)
- field name can not by empty
[`elastic#684`](https://redirect.github.com/JakeChampion/fetch/pull/684)
- work around IE XHR bug with '' URL Fixes
[#&elastic#8203;618](https://redirect.github.com/github/fetch/issues/618)
([#&elastic#8203;619](https://redirect.github.com/github/fetch/issues/619))
[`elastic#618`](https://redirect.github.com/JakeChampion/fetch/issues/618)
- Clarify what parts of the standard we don't want to implement
[`elastic#661`](https://redirect.github.com/JakeChampion/fetch/issues/661)
- Document more caveats
[`9a0bce2`](https://redirect.github.com/JakeChampion/fetch/commit/9a0bce23454cdd5beefd9d4c599664003573e581)
- Fix issue
[#&elastic#8203;533](https://redirect.github.com/github/fetch/issues/533)
[`7f030fa`](https://redirect.github.com/JakeChampion/fetch/commit/7f030fab4d79433204331cefe365f5fbbab9e992)
- Compatibility with newer eslint-plugin-github
[`1821b74`](https://redirect.github.com/JakeChampion/fetch/commit/1821b74b808152d4d6e787c21165f2d569c2a7c4)

#####
[v3.0.0](https://redirect.github.com/JakeChampion/fetch/compare/v2.0.4...v3.0.0)

> 7 September 2018

- Add flow definitions
[`elastic#654`](https://redirect.github.com/JakeChampion/fetch/pull/654)
- Match spec behavior re: unsupported body type
[`elastic#651`](https://redirect.github.com/JakeChampion/fetch/pull/651)
- Update Karma and detect available browsers when testing
[`elastic#652`](https://redirect.github.com/JakeChampion/fetch/pull/652)
- Adopt Contributor Covenant Code of Conduct
[`elastic#649`](https://redirect.github.com/JakeChampion/fetch/pull/649)
- Change `credentials` default value to `same-origin`
[`elastic#640`](https://redirect.github.com/JakeChampion/fetch/pull/640)
- Switch test suite from PhantomJS to Karma
[`elastic#626`](https://redirect.github.com/JakeChampion/fetch/pull/626)
- Support abort API
[`elastic#592`](https://redirect.github.com/JakeChampion/fetch/pull/592)
- build/distribute as UMD
[`elastic#616`](https://redirect.github.com/JakeChampion/fetch/pull/616)
- Test signal reuse. Add AbortSignal polyfill.
[`elastic#2`](https://redirect.github.com/JakeChampion/fetch/pull/2)
- Clear abort event listener for all xhr completion states.
[`#1`](https://redirect.github.com/JakeChampion/fetch/pull/1)
- Expand install & importing documentation
[`elastic#569`](https://redirect.github.com/JakeChampion/fetch/issues/569)
- Match spec behavior re: unsupported body type
[`elastic#576`](https://redirect.github.com/JakeChampion/fetch/issues/576)
- Run test files through prettier
[`0a57487`](https://redirect.github.com/JakeChampion/fetch/commit/0a5748775d99f882172375693f56761383f8faf3)
- Unwrap `fetch.js` to be a clean module file
[`8aec47c`](https://redirect.github.com/JakeChampion/fetch/commit/8aec47cb6c67a9a321f1eb07457f70fc46235610)
- Switch from PhantomJS to Karma + Chrome/Firefox for testing
[`b539589`](https://redirect.github.com/JakeChampion/fetch/commit/b53958904649bfeb784083b9b7e0b89902c7d30e)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <brad.white@elastic.co>
(cherry picked from commit e49ec10)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jun 4, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) June 4, 2025 19:37
@kibanamachine kibanamachine merged commit c87d08e into elastic:8.18 Jun 4, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-npmDll 6.0MB 6.0MB +2.1KB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants