Skip to content
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

fix(deps): update dependency express to v5 #469

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express (source) ^4.21.2 -> ^5.1.0 age adoption passing confidence
@types/express (source) ^4.17.21 -> ^5.0.1 age adoption passing confidence

Release Notes

expressjs/express (express)

v5.1.0

Compare Source

========================

  • Add support for Uint8Array in res.send()
  • Add support for ETag option in res.sendFile()
  • Add support for multiple links with the same rel in res.links()
  • Add funding field to package.json
  • perf: use loop for acceptParams
  • refactor: prefix built-in node module imports
  • deps: remove setprototypeof
  • deps: remove safe-buffer
  • deps: remove utils-merge
  • deps: remove methods
  • deps: remove depd
  • deps: debug@^4.4.0
  • deps: body-parser@^2.2.0
  • deps: router@^2.2.0
  • deps: content-type@^1.0.5
  • deps: finalhandler@^2.1.0
  • deps: qs@^6.14.0
  • deps: server-static@2.2.0
  • deps: type-is@2.0.1

v5.0.1

Compare Source

==========

v5.0.0

Compare Source

=========================

  • remove:
    • path-is-absolute dependency - use path.isAbsolute instead
  • breaking:
    • res.status() accepts only integers, and input must be greater than 99 and less than 1000
      • will throw a RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000. for inputs outside this range
      • will throw a TypeError: Invalid status code: ${code}. Status code must be an integer. for non integer inputs
    • deps: send@1.0.0
    • res.redirect('back') and res.location('back') is no longer a supported magic string, explicitly use req.get('Referrer') || '/'.
  • change:
    • res.clearCookie will ignore user provided maxAge and expires options
  • deps: cookie-signature@^1.2.1
  • deps: debug@4.3.6
  • deps: merge-descriptors@^2.0.0
  • deps: serve-static@^2.1.0
  • deps: qs@6.13.0
  • deps: accepts@^2.0.0
  • deps: mime-types@^3.0.0
    • application/javascript => text/javascript
  • deps: type-is@^2.0.0
  • deps: content-disposition@^1.0.0
  • deps: finalhandler@^2.0.0
  • deps: fresh@^2.0.0
  • deps: body-parser@^2.0.1
  • deps: send@^1.1.0

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner September 25, 2024 21:42
@renovate renovate bot force-pushed the renovate/express-5.x branch 9 times, most recently from 868258e to 7e0cf9c Compare October 1, 2024 21:31
@dblane-digicatapult dblane-digicatapult added the triaged This issue or PR has been triaged label Oct 1, 2024
@renovate renovate bot force-pushed the renovate/express-5.x branch 2 times, most recently from 2b03d57 to 3cddc5d Compare October 2, 2024 09:14
@dblane-digicatapult
Copy link
Contributor

@renovate renovate bot force-pushed the renovate/express-5.x branch 4 times, most recently from 4f3733b to cb33339 Compare October 8, 2024 01:35
@renovate renovate bot force-pushed the renovate/express-5.x branch 8 times, most recently from 9215dab to d431abc Compare October 17, 2024 22:59
@renovate renovate bot force-pushed the renovate/express-5.x branch 2 times, most recently from 957466e to f72237f Compare October 18, 2024 21:09
@renovate renovate bot force-pushed the renovate/express-5.x branch 4 times, most recently from a947e88 to bc1be75 Compare March 10, 2025 16:01
@renovate renovate bot force-pushed the renovate/express-5.x branch 5 times, most recently from 78adc3d to 92fd863 Compare March 17, 2025 13:04
@renovate renovate bot force-pushed the renovate/express-5.x branch 7 times, most recently from 360aecb to 4f2a93d Compare March 22, 2025 01:25
@renovate renovate bot force-pushed the renovate/express-5.x branch 10 times, most recently from 6c383f2 to 16e660b Compare March 30, 2025 10:50
@renovate renovate bot force-pushed the renovate/express-5.x branch from 16e660b to 3f60e51 Compare March 31, 2025 14:52
@renovate renovate bot changed the title chore(deps): update dependency @types/express to v5 fix(deps): update dependency express to v5 Mar 31, 2025
Copy link
Contributor Author

renovate bot commented Mar 31, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @digicatapult/tsoa-oauth-express@1.0.3
npm error Found: express@5.1.0
npm error node_modules/express
npm error   express@"^5.1.0" from the root project
npm error   peer express@">=4.0.0 || >=5.0.0-beta" from swagger-ui-express@5.0.1
npm error   node_modules/swagger-ui-express
npm error     swagger-ui-express@"^5.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer express@"^4.21.2" from @digicatapult/tsoa-oauth-express@1.0.3
npm error node_modules/@digicatapult/tsoa-oauth-express
npm error   @digicatapult/tsoa-oauth-express@"^1.0.3" from the root project
npm error
npm error Conflicting peer dependency: express@4.21.2
npm error node_modules/express
npm error   peer express@"^4.21.2" from @digicatapult/tsoa-oauth-express@1.0.3
npm error   node_modules/@digicatapult/tsoa-oauth-express
npm error     @digicatapult/tsoa-oauth-express@"^1.0.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-03-31T14_52_03_100Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-03-31T14_52_03_100Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies npm triaged This issue or PR has been triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant