FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Comparing 1.20.3...1.x · expressjs/body-parser · GitHub

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: expressjs/body-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.20.3
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: expressjs/body-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.x
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
  • 20 commits
  • 14 files changed
  • 8 contributors

Commits on Sep 10, 2024

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

Commits on Oct 31, 2024

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

Commits on Nov 22, 2025

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

Commits on Nov 25, 2025

  1. deps: qs@~6.14.0 (#664)

    * deps: qs@^6.14.0
    
    Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
    
    * update history
    
    Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
    
    * Apply suggestions from code review
    
    ---------
    
    Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
    Co-authored-by: Phillip Barta <barta.phillip@gmail.com>
    bjohansebas and Phillip9587 authored Nov 25, 2025
    Configuration menu
    Copy the full SHA
    ec5fa29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcd1535 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d133c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d8f8adb View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2025

  1. 1.20.4 (#672)

    UlisesGascon authored Dec 1, 2025
    Configuration menu
    Copy the full SHA
    7db202c View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2026

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

Commits on Apr 23, 2026

  1. fix: correct off-by-one error in parameterCount (#716)

    * fix: correct off-by-one error in parameterCount
    
    The `parameterCount` function was counting `&` characters but returning
    that count directly. Since the number of parameters equals the number
    of `&` characters plus one, this caused an off-by-one error.
    
    For example, with `a[0]=1&a[1]=2&...&a[199]=200` (200 parameters):
    - Before: returned 199 (number of `&` chars)
    - After: returns 200 (actual parameter count)
    
    This bug became visible with qs@6.14.2 which changed `arrayLimit` to
    restrict array length instead of max index. With the buggy count,
    large arrays would be converted to objects instead of arrays.
    
    - Fix `parameterCount` to return the actual count of parameters
    
    Fixes #715
    
    * deps(qs): bump to ~6.14.2
    
    * refactor: use 2.x do/while loop for parameterCount
    
    The previous while loop counted '&' separators, so the return value
    was (parameter count - 1). That happened to work because old qs
    treated `arrayLimit` as a max-index rather than max-length. The
    limit check itself was always correct, only the return value was
    off relative to the function's name.
    
    Rather than patch with `+1`, port the 2.x version where `count`
    directly represents parameter count. The do/while runs once
    unconditionally for the first parameter (before any '&'), then
    increments per '&' found.
    
    do/while is safe because the caller at line 74 guards empty bodies
    (`body.length ? queryparse(body) : {}`). If that guard were removed,
    this would incorrectly return 1 for empty input.
    
    Simple parser is unaffected, it only checks for `undefined` and
    discards the count. Only the extended parser consumed the value,
    as input to qs's `arrayLimit`.
    
    * docs: update HISTORY.md
    
    ---------
    
    Co-authored-by: Jon Church <me@jonchurch.com>
    abhu85 and jonchurch authored Apr 23, 2026
    Configuration menu
    Copy the full SHA
    6f24d7e View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2026

  1. deps(qs): bump qs to 6.15.1

    jonchurch committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    cd0e7a0 View commit details
    Browse the repository at this point in the history
  2. release(patch): 1.20.5

    jonchurch committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    0defdbe View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2026

  1. fix: improve limit option validation (#741)

    * fix: improve limit option validation
    
    * chore: replace arrow functions in tests
    
    * ci: add Node.js 26 to ci matrix
    Phillip9587 authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    3492672 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2026

  1. 1.20.6 (#746)

    UlisesGascon committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    5cc4fb8 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2026

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

Commits on Sep 2, 2026

  1. deps: qs@~6.16.0 (#761)

    Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
    krzysdz and krzysdz authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    355eb04 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2026

  1. 1.20.7 (#767)

    UlisesGascon authored Sep 8, 2026
    Configuration menu
    Copy the full SHA
    0f0f0d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cea4f4 View commit details
    Browse the repository at this point in the history
  3. 1.20.8 (#770)

    UlisesGascon authored Sep 8, 2026
    Configuration menu
    Copy the full SHA
    5c08c20 View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL