[Snyk] Upgrade express from 4.17.1 to 5.0.0#24
Open
snyk-io[bot] wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade express from 4.17.1 to 5.0.0. See this package in npm: express See this project in Snyk: https://app.snyk.io/org/hashimmohammad881-TrGTrpdUyGorMuF38nmW8P/project/e6715d82-c41b-4ec4-9520-3b5ae1a13f2e?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade express from 4.17.1 to 5.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 25 versions ahead of your current version.
The recommended version was released 4 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SETVALUE-1540541
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-HANDLEBARS-1056767
SNYK-JS-ELLIPTIC-8172694
SNYK-JS-LOADERUTILS-3043105
SNYK-JS-HANDLEBARS-173692
SNYK-JS-ELLIPTIC-8187303
SNYK-JS-ES5EXT-6095076
SNYK-JS-HANDLEBARS-174183
SNYK-JS-HANDLEBARS-469063
SNYK-JS-LODASH-1040724
SNYK-JS-LODASH-450202
SNYK-JS-LODASH-567746
SNYK-JS-HANDLEBARS-480388
SNYK-JS-LODASH-608086
SNYK-JS-HANDLEBARS-534478
SNYK-JS-MIXINDEEP-450212
SNYK-JS-LODASH-73638
SNYK-JS-SETVALUE-450213
SNYK-JS-QS-3153490
SNYK-JS-Y18N-1021887
SNYK-JS-SETVALUE-1540541
SNYK-JS-SETVALUE-450213
SNYK-JS-ASYNC-2441827
SNYK-JS-BODYPARSER-7926860
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-HANDLEBARS-567742
SNYK-JS-EXPRESS-7926867
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-LODASH-6139239
SNYK-JS-HANDLEBARS-1279029
SNYK-JS-LOADERUTILS-3105943
SNYK-JS-EXPRESS-6474509
SNYK-JS-LODASH-1018905
SNYK-JS-MINIMATCH-3050818
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-ISTANBULREPORTS-2328088
SNYK-JS-HANDLEBARS-534988
SNYK-JS-JSONPOINTER-1577288
SNYK-JS-LODASH-73639
SNYK-JS-PATHPARSE-1077067
SNYK-JS-PATHPARSE-1077067
SNYK-JS-LOADERUTILS-3042992
SNYK-JS-COOKIE-8163060
SNYK-JS-KINDOF-537849
SNYK-JS-WORDWRAP-3149973
SNYK-JS-SEND-7926862
SNYK-JS-SERVESTATIC-7926865
SNYK-JS-BABELTRAVERSE-5962463
Release notes
Package name: express
Express v5.0.0
🎉 Express v5 is finally here! 🎉
After years of development, the long-awaited Express v5 has been officially released. This version focuses on simplifying the codebase, improving security, and dropping support for older Node.js versions to enable better performance and maintainability.
For detailed information, please check out the official Express v5 release blog post.
Most relevant details
Major Changes in v5
path-to-regexp@8.x, removing sub-expression regex patterns for security reasons (ReDoS mitigation).body-parserchanges: Several improvements including the ability to customizeurlencodedbody depth and defaultingextendedtofalse.For a complete list of breaking changes and API deprecations, see the migration guide.
Security Updates
This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for CVE-2024-45590. Full details can be found in the security release notes.
Migration
Be sure to check out our migration guide for instructions on how to update your applications from Express v4 to v5.
Security Guidance
For best practices, we recommend reviewing the Threat Model which outlines Express' approach to securing your applications, including tips for user input validation and other critical aspects.
What's Changed
http-errors,expressjs.com,morgan,cors,body-parserby @ jonchurch in #5587res.clearCookieacceptingoptions.maxAgeandoptions.expiresby @ jonchurch in #5672expiresandmaxAgeinres.clearCookie()by @ jonchurch in #5792debugdep from 3.10 to 4.3.6 by @ carpasse in #5829questionanddiscussby @ IamLizu in #5835merge-descriptorswith allowing minors by @ RobinTail in #5782merge-descriptorsdependency by @ RobinTail in #5781fresh@^2.0.0by @ jonchurch in #5916backas a magic string by @ blakeembrey in #5933New Contributors
Full Changelog: v5.0.0-beta.3...v5.0.0
Full Changelog: 5.0.0-beta.2...v5.0.0-beta.3
What's Changed