8000 Comparing v2.6.6...v2.7.0 · node-fetch/node-fetch · GitHub
[go: up one dir, main page]

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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.6.6
Choose a base ref
...
head repository: node-fetch/node-fetch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.7.0
Choose a head ref
  • 19 commits
  • 11 files changed
  • 16 contributors

Commits on Nov 5, 2021

  1. 2.x: Specify encoding as an optional peer dependency in package.json (#…

    …1310)
    
    * Specify `encoding` as an optional peer dependency
    
    * Update package.json
    
    Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
    
    Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
    ciffelia and LinusU authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    8fe5c4e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. backport of #1449 (#1453)

    * backport of #1449
    
    * bump patch version
    jimmywarting authored Jan 16, 2022
    1 Configuration menu
    Copy the full SHA
    1ef4b56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    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 authored Jul 16, 2022
    Configuration menu
    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 authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    fddad0e View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

  1. Configuration menu
    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 authored Nov 8, 2022
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    Copy the full SHA
    49bef02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd2a0ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    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 authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    0f1ebb0 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

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

Commits on May 8, 2023

  1. fix: handle bom in text and json (#1739)

    * fix: handle bom in text and json
    * add unit tests
    aclarembeau authored May 8, 2023
    Configuration menu
    Copy the full SHA
    29909d7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

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

Commits on Jun 29, 2023

  1. fix: socket variable testing for undefined (#1726)

    * fix: socket variable testing for undefined
    Avoid issue where socket event was not triggered and local socket vraible is not defined.
    This issue is reproducible only using deno.
    
    * chore: made socket test capture simpler
    Only controls the execution of the section that uses socket.
    
    * Update src/index.js
    
    Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
    
    * Update index.js
    
    ---------
    
    Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
    Co-authored-by: Jimmy Wärting <jimmy@warting.se>
    3 people authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    8bc3a7c View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. fix: Remove the default connection close header (#1765)

    Instead, we rely on the underlying http implementation in Node.js
    to handle this, as per the documentation at
    https://nodejs.org/api/http.html#new-agentoptions
    
    This fixes #1735 and likely replaces #1473
    
    The original change introducing this provided no clear motivation
    for the override, and the implementation has since been changed to
    disable this header when an agent is provided, so I think there
    is sufficient evidence that removing this is the correct behaviour.
    af21ae6
    7f68577
    
    This commit is backported to the v2 branch from #1736 against v3.
    dhedey authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    65ae25a View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. feat: AbortError (#1744)

    frederikprijck authored Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9b9d458 View commit details
    Browse the repository at this point in the history
Loading
0