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: ljharb/qs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.14.1
Choose a base ref
...
head repository: ljharb/qs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.14.2
Choose a head ref
  • 12 commits
  • 10 files changed
  • 2 contributors

Commits on Jan 9, 2026

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

Commits on Jan 13, 2026

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

Commits on Feb 9, 2026

  1. [Fix] parse: fix error message to reflect arrayLimit as max index; …

    …remove extraneous comments
    
    The arrayLimit option is documented as limiting the 'maximum index'
        in an array, but was incorrectly being applied to the array length.
        This caused inconsistent behavior between indexed (param[0]=val) and
        non-indexed (param[]=val) array parameters.
    
    With arrayLimit: 3:
     - BEFORE: 4 elements (indices 0-3) would convert to object since
          length 4 > limit 3
     - AFTER: 4 elements (indices 0-3) stays as array since max index
          3 <= limit 3
    
    Changes:
     - utils.js combine(): Check 'length - 1 > limit' instead of 'length > limit'
     - utils.js merge(): Apply arrayLimit when appending to arrays
     - parse.js parseArrayValue(): Use '>' instead of '>=' for throwOnLimitExceeded check
    
    Tests updated to reflect correct behavior per documentation.
    
    Fixes #540.
    
    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    Co-authored-by: Kai Gritun <kai@kaigritun.com>
    Kai Gritun and ljharb committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    fbc5206 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

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

Commits on Feb 11, 2026

  1. Configuration menu
    Copy the full SHA
    2a35775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b9a8b4 View commit details
    Browse the repository at this point in the history
  3. [Fix] parse: throw on arrayLimit exceeded with indexed notation w…

    …hen `throwOnLimitExceeded` is true
    
    Fixes #529
    ljharb committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    febb644 View commit details
    Browse the repository at this point in the history
  4. [Fix] arrayLimit means max count, not max index, in combine/`merg…

    …e`/`parseArrayValue`
    ljharb committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    cfc108f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6addf8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5c308e5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    294db90 View commit details
    Browse the repository at this point in the history
  8. v6.14.2

    ljharb committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    bdcf0c7 View commit details
    Browse the repository at this point in the history
Loading