Title: fix(deps): update dependency body-parser to v2 [security] - abandoned by renovate[bot] · Pull Request #240 · 142vip/JavaScriptCollection · GitHub
Open Graph Title: fix(deps): update dependency body-parser to v2 [security] - abandoned by renovate[bot] · Pull Request #240 · 142vip/JavaScriptCollection
X Title: fix(deps): update dependency body-parser to v2 [security] - abandoned by renovate[bot] · Pull Request #240 · 142vip/JavaScriptCollection
Description: This PR contains the following updates: Package Change Age Confidence body-parser 1.20.2 -> 2.2.1 WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information. GitHub Vulnerability Alerts CVE-2025-13466 Impact body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic. Patches This issue is addressed in version 2.2.1. Release Notes expressjs/body-parser (body-parser) v2.2.1 Compare Source ========================= Security fix for GHSA-wqch-xfxh-vrr4 deps: type-is@^2.0.1 iconv-lite@^0.7.0 Handle split surrogate pairs when encoding UTF-8 Avoid false positives in encodingExists by using prototype-less objects raw-body@^3.0.1 debug@^4.4.3 v2.2.0 Compare Source ========================= refactor: normalize common options for all parsers deps: iconv-lite@^0.6.3 v2.1.0 Compare Source ========================= deps: type-is@^2.0.0 debug@^4.4.0 Removed destroy refactor: prefix built-in node module imports use the node require cache instead of custom caching v2.0.2 Compare Source ========================= remove unpipe package and use native unpipe() method v2.0.1 Compare Source ========================= Restore expected behavior extended to false v2.0.0 Compare Source ========================= Breaking Changes Node.js 18 is the minimum supported version req.body is no longer always initialized to {} it is left undefined unless a body is parsed Remove deprecated bodyParser() combination middleware urlencoded parser now defaults extended to false as released, this is not the case, fixed in 2.0.1 urlencoded simple parser now uses qs module instead of querystring module Features Add brotli support #406 urlencoded: Add option to customize the depth with a default value of 32 urlencoded: Support iso-8859-1, utf8 sentinel, and numeric entities Use on-finished to determine when body read Dependencies deps: raw-body@^3.0.0 deps: qs@6.12.3 deps: debug@3.1.0 deps: iconv-lite@0.5.2 v1.20.3 Compare Source =================== deps: qs@6.13.0 add depth option to customize the depth level in the parser IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity) Configuration 📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined). 🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied. ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 Ignore: Close this PR and you won't be reminded about this update again. If you want to rebase/retry this PR, check this box This PR was generated by Mend Renovate. View the repository job log.
Open Graph Description: This PR contains the following updates: Package Change Age Confidence body-parser 1.20.2 -> 2.2.1 WarningSome dependencies could not be looked up. Check the Dependency Dashboard for...
X Description: This PR contains the following updates: Package Change Age Confidence body-parser 1.20.2 -> 2.2.1 WarningSome dependencies could not be looked up. Check the Dependency Dashboard...
Opengraph URL: https://github.com/142vip/JavaScriptCollection/pull/240
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dd84d141-a614-2c2a-1858-585b5ec9f28d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9ADE:3B80A7:235706D:2F1BC51:698D9175 |
| html-safe-nonce | f3f1907d7aab246ff6ebf7c1059661f0330f343e3565cf9be1c411de6cc45e98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QURFOjNCODBBNzoyMzU3MDZEOjJGMUJDNTE6Njk4RDkxNzUiLCJ2aXNpdG9yX2lkIjoiNzk4MTk5ODYzNzQ5NTE5Mzk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3016411c716c4a8ce8a2fdd74fe14d199eb2ca377fae95d96b724fe1ad02ba0 |
| hovercard-subject-tag | pull_request:3043944006 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/142vip/JavaScriptCollection/pull/240/files |
| twitter:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| og:image:alt | This PR contains the following updates: Package Change Age Confidence body-parser 1.20.2 -> 2.2.1 WarningSome dependencies could not be looked up. Check the Dependency Dashboard for... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/142vip/JavaScriptCollection git https://github.com/142vip/JavaScriptCollection.git |
| octolytics-dimension-user_id | 105834656 |
| octolytics-dimension-user_login | 142vip |
| octolytics-dimension-repository_id | 268041774 |
| octolytics-dimension-repository_nwo | 142vip/JavaScriptCollection |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 268041774 |
| octolytics-dimension-repository_network_root_nwo | 142vip/JavaScriptCollection |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cefb6b50cb02e85b21d59b711abca4e67e11cf47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width