-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency express to v5 #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
68b30d7
to
55a53e3
Compare
55a53e3
to
92b3b52
Compare
5690d9f
to
a0b3a04
Compare
a0b3a04
to
392d49a
Compare
d2408f5
to
19d73e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment @cursor review
or bugbot run
to trigger another review on this PR
"cpu-features": "^0.0.10", | ||
"dotenv": "^16.4.7", | ||
"express": "^4.21.1", | ||
"express": "^5.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Express v5 Incompatibility with express-async-errors
Upgrading Express to v5 while keeping express-async-errors
causes a startup crash. express-async-errors
patches Express 4 internals that no longer exist in v5, resulting in a runtime error when the package is imported. This prevents the service from booting.
Additional Locations (1)
19d73e8
to
8aa3ba4
Compare
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
8aa3ba4
to
561cba3
Compare
This PR contains the following updates:
^4.21.1
->^5.0.0
Release Notes
expressjs/express (express)
v5.1.0
Compare Source
========================
Uint8Array
inres.send()
res.sendFile()
res.links()
setprototypeof
safe-buffer
utils-merge
methods
depd
debug@^4.4.0
body-parser@^2.2.0
router@^2.2.0
content-type@^1.0.5
finalhandler@^2.1.0
qs@^6.14.0
[email protected]
[email protected]
v5.0.1
Compare Source
==========
cookie
semver lock to address CVE-2024-47764v5.0.0
Compare Source
=========================
path-is-absolute
dependency - usepath.isAbsolute
insteadres.status()
accepts only integers, and input must be greater than 99 and less than 1000RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.
for inputs outside this rangeTypeError: Invalid status code: ${code}. Status code must be an integer.
for non integer inputsres.redirect('back')
andres.location('back')
is no longer a supported magic string, explicitly usereq.get('Referrer') || '/'
.res.clearCookie
will ignore user providedmaxAge
andexpires
optionsapplication/javascript
=>text/javascript
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.