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: socketio/socket.io-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4.0
Choose a base ref
...
head repository: socketio/socket.io-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.5.0
Choose a head ref
  • 3 commits
  • 14 files changed
  • 1 contributor

Commits on Jun 25, 2022

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

Commits on Jun 26, 2022

  1. fix: ensure buffered events are sent in order

    Before this commit, an event sent in the "connect" handler could be
    sent before the events that were buffered while disconnected.
    
    ```js
    socket.on("connect", () => {
      socket.emit("bar");
    });
    
    socket.emit("foo"); // buffered while disconnected
    ```
    
    In the example above, the "bar" event was sent first, which is not
    correct.
    
    Related: #1458
    
    Backported from 34f822f
    darrachequesne committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    991eb0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b8e318 View commit details
    Browse the repository at this point in the history
Loading