Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: node-fetch/node-fetch
base: 1ef4b560a17e644a02a3bfdea7631ffeee578b35
Choose a base ref
...
head repository: node-fetch/node-fetch
compare: 70f592d9d2da959df1cebc2dd2314286a4bcf345
Choose a head ref
  • 12 commits
  • 10 files changed
  • 9 contributors

Commits on Jan 16, 2022

  1. Copy the full SHA
    838d971 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. fix: premature close with chunked transfer encoding and for async ite…

    …rators in Node 12 (#1172)
    
    * fix: premature close with chunked transfer encoding and for async iterators in Node 12
    
    This PR backports the fix from #1064 to the `2.x.x` branch following
    the [comment here](#1064 (comment)).
    
    I had to add some extra babel config to allow using the `for await..of`
    syntax in the tests.  The config is only needed for the tests as
    this syntax is not used in the implementation.
    
    * chore: fix up tests for node 6+
    
    * chore: codecov dropped support for node < 8 without shipping major
    
    * chore: npm7 strips empty dependencies hash during install
    
    * chore: pin deps to versions that work on node 4
    
    * chore: do not emit close error after aborting a request
    
    * chore: test on node 4-16
    
    * chore: simplify chunked transer encoding bad ending
    
    * chore: avoid calling .destroy as it is not in every node.js release
    
    * chore: listen for response close as socket is reused and shows warnings
    achingbrain committed Jul 16, 2022
    Copy the full SHA
    50536d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. fix(headers): don't forward secure headers on protocol change (#1605)

    backport for #1599 to the 2.x branch
    
    Co-authored-by: Guilherme Victal <guilherme.a@dasa.com.br>
    victal and Guilherme Victal committed Jul 19, 2022
    Copy the full SHA
    fddad0e View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

  1. Copy the full SHA
    e218f8d View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. fix: prevent hoisting of the undefined global variable in `browser.…

    …js` (#1534)
    
    Because of JS hoisting `var global` to the top of the file, `typeof
    global` in `getGlobal()` will always be `undefined`.
    
    By using a different variable name like `globalObject`, we are able to
    read the "real" `typeof global` and get access to the global object that
    way.
    valeriangalliat committed Nov 8, 2022
    Copy the full SHA
    8bb6e31 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. ci(release): initial version

    gr2m committed Jan 13, 2023
    Copy the full SHA
    1768eaa View commit details
    Browse the repository at this point in the history
  2. ci(semantic-release): config

    gr2m committed Jan 13, 2023
    Copy the full SHA
    ce37bcd View commit details
    Browse the repository at this point in the history
  3. ci(release): use latest Node LTS

    gr2m committed Jan 13, 2023
    Copy the full SHA
    49bef02 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    dd2a0ba View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    6e9464d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Prevent error when response is null (#1699)

    Fix for this error.
    
    TypeError: Cannot read properties of null (reading 'body')
    labnol committed Jan 23, 2023
    Copy the full SHA
    0f1ebb0 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Copy the full SHA
    70f592d View commit details
    Browse the repository at this point in the history