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 Loading
base: 3.0.1
Choose a base ref
...
head repository: socketio/socket.io Loading
compare: 3.0.2
Choose a head ref
  • 6 commits
  • 19 files changed
  • 1 contributor

Commits on Nov 9, 2020

  1. 2 Configuration menu
    Copy the full SHA
    e69d0ad View commit details
    Browse the repository at this point in the history
  2. docs(examples): update TypeScript example

    In order to test 50671d9
    
    [skip ci]
    darrachequesne committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    f7e0009 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. docs(examples): update React Native example

    This includes `[email protected]`, which fixes two issues with
    React Native.
    
    See also:
    
    - socketio/engine.io-client@177b95f
    - socketio/engine.io-client@ccb99e3
    
    [skip ci]
    darrachequesne committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    c596e54 View commit details
    Browse the repository at this point in the history
  2. chore: add 3rd party types in the list of dependencies

    Those types are mandatory for TypeScript users.
    
    Related:
    
    - #3690
    - microsoft/types-publisher#81 (comment)
    darrachequesne committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    118cc68 View commit details
    Browse the repository at this point in the history
  3. fix: merge Engine.IO options

    So that the following example:
    
    ```js
    const io = require('socket.io')({
      pingTimeout: 10000
    });
    
    io.listen(3000);
    ```
    
    behaves the same as:
    
    ```js
    const io = require('socket.io')(3000, {
      pingTimeout: 10000
    });
    ```
    
    Before this change, the options in the first example were not forwarded
    to the Engine.IO constructor, which is not really intuitive.
    
    The previous syntax (which is still valid):
    
    ```js
    const io = require('socket.io')();
    
    io.listen(3000, {
      pingTimeout: 10000
    });
    ```
    darrachequesne committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    43705d7 View commit details
    Browse the repository at this point in the history
  4. chore(release): 3.0.2

    darrachequesne committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    9b6f971 View commit details
    Browse the repository at this point in the history
Loading