Bump qs and express - #4997
Conversation
Bumps [qs](https://github.com/ljharb/qs) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `qs` from 6.13.0 to 6.15.3 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.13.0...v6.15.3) Updates `express` from 4.21.2 to 4.22.2 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/v4.22.2/History.md) - [Commits](expressjs/express@4.21.2...v4.22.2) --- updated-dependencies: - dependency-name: qs dependency-version: 6.15.3 dependency-type: indirect - dependency-name: express dependency-version: 4.22.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Pull Request Overview
The PR is currently missing all file changes, including the 'package.json' update, which prevents any verification of the intended dependency bumps. Furthermore, there are no tests included to validate the updated array-cap behavior or ensure compatibility with the new versions of 'qs' and 'express'. These omissions are major issues that prevent merging. While Codacy indicates the PR is technically up to standards, this is likely a result of the empty diff.
About this PR
- The project manifest file (package.json) is missing from the provided code changes, making it impossible to verify that the dependency updates were implemented.
- The PR does not include automated tests to validate the changes in query parsing logic or to ensure compatibility with the updated dependency behaviors.
Test suggestions
- Verify that 'req.query' correctly parses more than 20 repeated keys (up to 1000) following the unification of array-cap behavior.
- Verify 'qs.parse' enforces 'throwOnLimitExceeded' for cumulative array growth during merging.
- Ensure existing application routes function correctly after the library updates, specifically checking for regressions related to query string handling.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that 'req.query' correctly parses more than 20 repeated keys (up to 1000) following the unification of array-cap behavior.
2. Verify 'qs.parse' enforces 'throwOnLimitExceeded' for cumulative array growth during merging.
3. Ensure existing application routes function correctly after the library updates, specifically checking for regressions related to query string handling.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Bumps qs and express. These dependencies needed to be updated together.
Updates
qsfrom 6.13.0 to 6.15.3Changelog
Sourced from qs's changelog.
... (truncated)
Commits
18d085ev6.15.3c38af42[Deps] updateside-channeladce539[Dev Deps] updateeslint,mock-property,tape74a0f6a[Robustness]utils: enforcearrayLimitconsistently acrossmerge's arra...f4938f5[Tests]parse: characterize current lenient handling of unbalanced bracket ...5d5f723[Perf]utils: makecompactO(n) via a side-channel visited-set instead of...52afe00[Robustness]parse: throw thearrayLimiterror before splitting oversized...963e538[Fix]parse: enforcethrowOnLimitExceededfor cumulative array growth via...59da434[Fix]utils: respect encoding of surrogate pairs across chunks9532969[Robustness]utils.merge/utils.assign: avoid invoking__proto__sette...Updates
expressfrom 4.21.2 to 4.22.2Release notes
Sourced from express's releases.
Changelog
Sourced from express's changelog.
Commits
df0abc94.22.2836d3664.xupdate qs to 6.15.1, body-parser 1.20.5 (#7224)8d09bfefix: restore array parsing for req.query repeated keys (#7181)d39e8addeps: body-parser@~1.20.4 (#7021)efe85d9deps: qs@^6.14.1 (#6972)f62378e📝 add note to history12fae144.22.15ddf311Revert "sec: security patch for CVE-2024-51999"49744ab4.22.0 (#6921)6e97452sec: security patch for CVE-2024-51999Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.