Skip to content

Upgrade whatwg-fetch to version 3.0.0 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2020

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented May 3, 2020

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ whatwg-fetch (~2.0.3 → ~3.0.0) · Repo

Release Notes

3.0.0

  • The whatwg-fetch package is now a module with exports. The following methods/classes are available:

    • fetch
    • Headers
    • Request
    • Response
    • DOMException

    All exports except for DOMException represent the polyfill implementations, not the native variants if they are available.

    This library still automatically acts like a polyfill if native window.fetch is unavailable; there is currently no way to use it as a ponyfill.

  • Change credentials default value omitsame-origin to match the updated spec.

  • fetch() and new Request() now accept the signal parameter to accept an AbortSignal.

  • Join multiple header values with ,<space> instead of , to match other browsers.

  • Convert any Request/Response unsupported body type to a string to match the spec.

  • Flow type definitions are now included in the package.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 69 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label May 3, 2020
@pull-assistant
Copy link

pull-assistant bot commented May 3, 2020

Score: 1.00

Best reviewed: commit by commit


Optimal code review plan

     Update whatwg-fetch to version 3.0.0

Powered by Pull Assistant. Last update 68c57d6 ... 68c57d6. Read the comment docs.

@mtdev2 mtdev2 merged commit af84ee2 into master May 4, 2020
@mtdev2 mtdev2 deleted the depfu/update/examplessimple/npm/whatwg-fetch-3.0.0 branch May 4, 2020 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant