Skip to content
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

[Snyk] Upgrade whatwg-fetch from 3.0.0 to 3.1.0 #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Jul 1, 2020

Snyk has created this PR to upgrade whatwg-fetch from 3.0.0 to 3.1.0.

merge advice

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 2 days ago, on 2020-06-29.
Release notes
Package name: whatwg-fetch
  • 3.1.0 - 2020-06-29

    Documentation:

    • Added documentation on features of fetch which are not polyfilled. -- #734

    Bug 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. -- #684

    • Changed the default status text of a response to align with the specification, the default is now an empty string. -- #698

    • We now allow exclamation mark as valid header character to align with the specification -- #745

    • We no longer convert application/octet-stream responses into Blobs if the browser supports ArrayBuffers -- #752

    • Added compatibility for fetch-mock -- #736

    • Making a fetch request with an empty string for the url no longer throws a DOMException error in Internet Explorer -- #619

    • Fixed another Internet Explorer bug to make sure all resolved fetch promises will trigger their promise chains -- #575

  • 3.0.0 - 2018-09-10
    • 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.

from whatwg-fetch GitHub release notes
Commit messages
Package name: whatwg-fetch
  • 923ed30 3.1.0
  • 74e4fe8 Merge pull request #575 from CrOrc/CrOrc-fix-resolve-IE-11
  • 8640749 Update fetch.js
  • a8b7060 Update fetch.js
  • 11f6a0f Merge remote-tracking branch 'upstream/master' into CrOrc-fix-resolve-IE-11
  • a900d7d work around IE XHR bug with '' URL Fixes #618 (#619)
  • 92d78df Allow exclamation mark as valid header character (#745)
  • eadff53 Avoid blob conversion for specific requests (#752)
  • ff32363 Compatibility for fetch-mock using proxy-pollyfill (#736)
  • 8065fdd Fix prettier to version 1
  • 6606584 Change default statusText for Response (#698)
  • 7232090 Merge pull request #734 from mislav/patch-1
  • 1364c85 Fix ToC
  • 9a0bce2 Document more caveats
  • 37d1036 Stop auto-publishing whatwg-fetch on tagged releases
  • 8f8b077 Merge branch 'master' into CrOrc-fix-resolve-IE-11
  • 3674c98 Merge pull request #684 from justjavac/master
  • 96b37eb field name can not by empty
  • 1821b74 Compatibility with newer eslint-plugin-github
  • 899b155 Add note about UMD dist file
  • 73afb64 Clarify what parts of the standard we don't want to implement
  • c17d373 Update npm API key
  • 7f030fa Fix issue #533

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant