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

Update npm packages including express #400

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

irfanh94
Copy link
Contributor

@irfanh94 irfanh94 commented Oct 8, 2024

Description

This PR updates several npm packages, with the main focus on updating the express package to its latest version. It ensures compatibility with the updated dependencies and applies minor fixes where necessary to avoid potential issues caused by outdated packages.

Related Issue

No specific issue is linked to this PR. This update is primarily to maintain the project's health by keeping dependencies up to date.

Motivation and Context

Keeping dependencies up to date is important for security, performance, and compatibility reasons. The main motivation behind this PR is to upgrade express and ensure that the project continues to function smoothly with the latest version.

How Has This Been Tested?

  • I tested this update by running the test suite using npm run test, and all tests passed successfully.
  • No additional changes to the functionality were made, so the existing tests cover the changes introduced.

Types of changes

  • Dependency update (non-breaking change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@notaphplover
Copy link
Member

Hey @irfanh94, thank you so much for your contribution. I just updated dependencies myself, but I did not update eslint. Would you mind updating this PR with the eslint updates? Thanks in advance

@rsaz rsaz added dependencies Pull requests that update a dependency file enhancement labels Oct 25, 2024
@rsaz rsaz self-assigned this Oct 25, 2024
@rsaz rsaz merged commit a0ee887 into inversify:master Oct 25, 2024
4 checks passed
@rsaz
Copy link
Contributor

rsaz commented Oct 25, 2024

  • deps updated
  • eslint configured and updated

cc: @notaphplover

"express"
],
"dependencies": {
"express": "4.21.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a peer dependency I'm afraid. Let's allow any minor:

  "express": "^4.21.1",

"dependencies": {
"express": "4.21.1",
"http-status-codes": "2.3.0",
"inversify": "^6.0.3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a peer dependency as well.

@@ -11,4 +11,4 @@ export * from './debug';
export * from './httpResponseMessage';
export * from './content/stringContent';
export * from './content/jsonContent';
export * from './content/httpContent';
export * from './content/httpContent';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the line feed

"devDependencies": {
"@types/async": "3.2.24",
"@types/cookie-parser": "1.4.7",
"@types/express": "4.17.21",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's allow any minor:

  "@types/express": "^4.17.21",

notaphplover added a commit that referenced this pull request Oct 25, 2024
notaphplover added a commit that referenced this pull request Oct 25, 2024
* Revert "Update npm packages including express (#400)"

This reverts commit a0ee887.

* chore: update dependencies

* chore: update eslint

* style: format package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants