Update dependency whatwg-fetch to v3.6.2 - autoclosed #334
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.0->3.6.2Release Notes
github/fetch
v3.6.2Compare Source
v3.6.1Compare Source
Bug fixes:
constBoth were fixed in JakeChampion/fetch#914
v3.6.0Compare Source
Bug fixes:
Improve error message if a header contains an invalid character -- add header name in case of error JakeChampion/fetch#880 Thank you for the contribution @CarmeloPatti
Make Response.statusText be an empty string if set to
undefinedand be'null'if set tonull-- Fix Response.statusText JakeChampion/fetch#897 Thank you for the contribution @tkrotoffRepresent non-stringified JSON request body as an [object Object] string -- Represent non-stringified JSON request body as an [object Object] string JakeChampion/fetch#881 Thank you for the contribution @kettanaito
v3.5.0Compare Source
Added a work-around for projects which use core-js -- JakeChampion/fetch#748
v3.4.1Compare Source
Republishing to ensure the dist/fetch.umd.js is up-to-date
v3.4.0Compare Source
Use globalThis as the global object if it exists #822
v3.3.1Compare Source
v3.3.0Compare Source
Features:
Bug fixes:
Fixed the "self is not defined" error that was reported for NodeJS applications - Fix https://github.com/github/fetch/issues/657 JakeChampion/fetch#794
Reverted the DOMException handling refactor as the original code fixed issues in old Android browsers - Detect if DOMException exists via typeof instead of trying to call it and catching the exception which may get thrown JakeChampion/fetch#797
Response.arrayBuffer()now always resolve with aArrayBufferas per the specification. -- Make Response.arrayBuffer() always resolve with aArrayBufferJakeChampion/fetch#816RequestandResponsecan now only be called vianew(as constructors) as per the specification. -- Throw a TypeError if Request or Response functions are called withoutnewJakeChampion/fetch#796Headers which are passed as a
Headersobject no longer have their names normalised as per the specification -- If headers are passed in via a Record then do not normalise the header names as part of the request JakeChampion/fetch#798Refactor:
thisto stop warnings being emitted from Rollup. -- Stop using top-levelthisto stop rollup warning JakeChampion/fetch#815v3.2.0Compare Source
Features:
Bug fixes:
new- Throw a TypeError if Request or Response functions are called withoutnewJakeChampion/fetch#796Refactor:
v3.1.1Compare Source
Bug fix
-- check if Content-Type header exists prior to examining the value #792
v3.1.0Compare Source
Documentation:
fetchwhich are not polyfilled. -- Document more common pitfalls in the README JakeChampion/fetch#734Bug fixes:
Empty header names used to not throw an error which was not compliant with the specification. They now throw a TypeError, the same as Chrome, Firefox and Safari do. -- field name can not by empty JakeChampion/fetch#684
Changed the default status text of a response to align with the specification, the default is now an empty string. -- Change default statusText for Response JakeChampion/fetch#698
We now allow exclamation mark as valid header character to align with the specification -- Allow exclamation mark as valid header character JakeChampion/fetch#745
We no longer convert
application/octet-streamresponses intoBlobs if the browser supportsArrayBuffers-- Avoid blob conversion for specific requests JakeChampion/fetch#752Added compatibility for
fetch-mock-- Compatibility for fetch-mock using proxy-pollyfill JakeChampion/fetch#736Making a fetch request with an empty string for the url no longer throws a DOMException error in Internet Explorer -- work around IE XHR bug with '' URL Fixes #618 JakeChampion/fetch#619
Fixed another Internet Explorer bug to make sure all resolved fetch promises will trigger their promise chains -- Fix issue #533 JakeChampion/fetch#575
v3.0.1Compare Source
Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.