[Snyk] Upgrade express from 4.21.1 to 5.0.0#8
Open
nerdy-tech-com-gitub wants to merge 1 commit intomainfrom
Open
[Snyk] Upgrade express from 4.21.1 to 5.0.0#8nerdy-tech-com-gitub wants to merge 1 commit intomainfrom
nerdy-tech-com-gitub wants to merge 1 commit intomainfrom
Conversation
Snyk has created this PR to upgrade express from 4.21.1 to 5.0.0. See this package in npm: express See this project in Snyk: https://app.snyk.io/org/nerds-github/project/a279b561-cc12-41e5-bfb5-02e9f198c6fd?utm_source=github&utm_medium=referral&page=upgrade-pr
|
🧙 Sourcery has finished reviewing your pull request! Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Hey @nerds-github, here is an example of how you can ask me to improve this pull request: @Sweep Add unit tests for the new `res.clearCookie()` behavior that ignores `maxAge` and `expires` options, to verify this breaking change works as expected. 📖 For more information on how to use Sweep, please read our documentation. |
There was a problem hiding this comment.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
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.21.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 12 versions ahead of your current version.
The recommended version was released on 2 months ago.
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
objas the context by @ shesek in #3587maxAgeappropriateness before use by @ cjbarth in #3936