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

Commits on Sep 17, 2020

  1. test: add Node.js 12 and 14 in the build matrix

    Node.js 8 is removed, as it is now EOL.
    
    Note: the node_modules folder is cached by default
    darrachequesne committed Sep 17, 2020
    Configuration menu
    Copy the full SHA
    6a59237 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. fix: check the format of the index of each attachment

    A specially crafted packet could be incorrectly decoded.
    
    Example:
    
    ```js
    const decoder = new Decoder();
    
    decoder.on("decoded", (packet) => {
      console.log(packet.data); // prints [ 'hello', [Function: splice] ]
    })
    
    decoder.add('51-["hello",{"_placeholder":true,"num":"splice"}]');
    decoder.add(Buffer.from("world"));
    ```
    
    As usual, please remember not to trust user input.
    
    Backported from b5d0cb7
    darrachequesne committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    04d23ce View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.4.2

    darrachequesne committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    4b3c191 View commit details
    Browse the repository at this point in the history
Loading