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: 4.6.2
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: 4.7.0
Choose a head ref
  • 5 commits
  • 14 files changed
  • 3 contributors

Commits on Jun 16, 2023

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

Commits on Jun 20, 2023

  1. feat: expose ESM build with debug (#1585)

    So that debug logs can be printed with vite:
    
    ```js
    import { defineConfig } from 'vite'
    import react from '@vitejs/plugin-react'
    
    export default defineConfig({
      plugins: [react()],
      server: {
        port: 4000
      },
      resolve: {
        conditions: ["development"]
      }
    })
    ```
    
    Reference: https://v2.vitejs.dev/config/#resolve-conditions
    
    Related:
    
    - socketio/socket.io#4731
    - socketio/socket.io#4635
    - https://github.com/socketio/socket.io-client/issues/1516
    FossPrime authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    781d753 View commit details
    Browse the repository at this point in the history
  2. fix: properly report timeout error when connecting

    In some specific cases (Node.js client with WebSocket only), the reason
    attached to the "connect_error" event was "websocket error" instead of
    "timeout".
    
    Related: socketio/socket.io#4062
    darrachequesne committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    5bc94b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. fix: use same scope for setTimeout and clearTimeout calls (#1568)

    Details:
    
    - engine.io-client sets clearTimeoutFn and setTimeoutFn function
      depending on settings passed to manager
    
    - socker.io-client is using manager.setTimeoutFn to start connection
      monitoring timer, but is using regular clearTimeout function to
      stop it when connection is established
    
    - in some setups it is causing timer fail to stop and it will break
      connection every _timeout_ milliseconds (which is 20000 by default)
    mast authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    f2892ab View commit details
    Browse the repository at this point in the history
  2. chore(release): 4.7.0

    darrachequesne committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    9b235ec View commit details
    Browse the repository at this point in the history
Loading