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

List of dependencies to upgrade #256

Closed
15 tasks done
IamLizu opened this issue Aug 15, 2024 · 20 comments
Closed
15 tasks done

List of dependencies to upgrade #256

IamLizu opened this issue Aug 15, 2024 · 20 comments

Comments

@IamLizu
Copy link
Member

IamLizu commented Aug 15, 2024

As part of the plan of publishing 5.0, we need to upgrade the dependencies. The idea is to create better visibility on these deps. Please note that the list has been compared against 5.0 package.json.

Dependencies that are not directly owned by expressjs / PillarsJS / jshttp.

List

Reference

@carpasse
Copy link

I reviewed all the dependencies, and below is the list of external dependencies that need to be updated:

Dependency Current Version Updated Version Status/Notes License
cookie-signature 1.0.6 1.2.1 Update available MIT
debug 3.1.0 4.3.6 Update available MIT
depd 2.0.0 - Already latest (6 years without update) MIT
escape-html ~1.0.3 - Already latest (9 years without update) MIT
merge-descriptors 1.0.1 2.0.0 Update available MIT
once 1.4.0 - Already latest (8 years without update) ISC
path-is-absolute 1.0.1 - Deprecated/unmaintained N/A
qs 6.11.0 6.13.0 Update available BSD-3-Clause
safe-buffer 5.2.1 - Already latest (5 years without update) MIT
setprototypeof 1.2.0 - Already latest (5 years without update) ISC
utils-merge 1.0.1 - Already latest (7 years without update) MIT

@IamLizu
Copy link
Member Author

IamLizu commented Aug 15, 2024

@carpasse I think my initial comment is unclear, by checked items, I meant those do not need intervention. Only the unchecked items need to be taken care of.

In any case, thank you for putting in the effort.

And it appears you and I agree on the list. Perhaps we can now just check the ones that are upgraded, once their respective PR is merged?

@wesleytodd
Copy link
Member

Hey! I was working through these as well (until work and life and security stuff all started happening at once) and I was attempting to track progress in #233. Would it be a good thing to add these last items to that todo list instead of in a separate issue?

@IamLizu
Copy link
Member Author

IamLizu commented Aug 15, 2024

Hey @wesleytodd 👋

Yes, perhaps it would be better to keep the track there.

I am unable to edit the last push issue though.

@wesleytodd
Copy link
Member

Could you just comment them in there for now?

@IamLizu
Copy link
Member Author

IamLizu commented Aug 15, 2024

Alright, since its referenced in the global issue now, I think we just check the relevant dependency once its upgraded. I can keep track of that.

And I would like to work on upgrading cookie-signature.

cc: @UlisesGascon @carpasse

@wesleytodd
Copy link
Member

For that lib, you should check out this issue: tj/node-cookie-signature#36 (comment)

@carpasse
Copy link

@IamLizu I am sorry I missed the message and started working in cookie signature when I connected this morning. I've closed the PR please ignore it.

I would like to work on upgrading debug dependency from 3.1.0 to 4.3.6

cc @wesleytodd @UlisesGascon @IamLizu

@carpasse
Copy link

@wesleytodd @UlisesGascon Express 5.0 is still using path-is-absolute dependency which is deprecated. I would like to remove it since it will no longer be necessary for 5.0

@carpasse
Copy link

@wesleytodd @UlisesGascon @IamLizu I would like to work on updating qs dep from 6.11.0 to 6.13.0

@IamLizu
Copy link
Member Author

IamLizu commented Aug 16, 2024

Hey @carpasse 👋

Alright, and for visibility, I am updating the main comment tagging your PRs.

@carpasse
Copy link

Question, what branch should we base the PRs to update the dependencies on?
branch 5.0 or branch 5-merge

@wesleytodd
Copy link
Member

Express 5.0 is still using path-is-absolute dependency which is deprecated. I would like to remove it since it will no longer be necessary for 5.0

Sounds like a good thing to remove. 👍

I would like to work on updating qs dep from 6.11.0 to 6.13.0

I think this has already been done somewhere. Let me look, but IIRC that release was an ask of ours. I will ping in slack about it.

Question, what branch should we base the PRs to update the dependencies on?
branch 5.0 or branch 5-merge

5.0 is the correct branch. That one is Chris working on merging in some changes from master which did not merge cleanly.

@IamLizu
Copy link
Member Author

IamLizu commented Aug 21, 2024

Hi @wesleytodd 👋

I think this has already been done somewhere. Let me look, but IIRC that release was an ask of ours. I will ping in slack about it.

I tried to search in the PRs but couldn't find qs being upgraded in anyone. I think I must have missed something.

@carpasse
Copy link

@wesleytodd I had a chat with @UlisesGascon and the qs dep was updated on body-parser but not on express therefore I've created the PR.

@IamLizu
Copy link
Member Author

IamLizu commented Aug 23, 2024

Awesome!

Now that we have a PR against each of the pending deps, can we fast track these PRs and get them to land?

cc: @wesleytodd @UlisesGascon

@wesleytodd
Copy link
Member

Everything above is checked off. I still have a few in #233 with remaining changes to land, but does this mean we are able to close this one?

@IamLizu
Copy link
Member Author

IamLizu commented Aug 23, 2024

Yes, we can close this 🎉

I believe this issue has served its purpose on tracking the upgrades of dependencies of express which are not owned by express. I hope it also makes the last point of "Pending things (Express):" in #233 checkable as well.

Thank you to everyone involved in upgrading these deps.

@IamLizu IamLizu closed this as completed Aug 23, 2024
@bjohansebas
Copy link
Member

hey @IamLizu encodeurl is outdated. The latest version is 2.0.0, while the one in the package is 1.0.2. It would be good to update it."

@IamLizu
Copy link
Member Author

IamLizu commented Aug 24, 2024

@bjohansebas encodeurl is owned by PillarJS. We were only focusing on the ones that not owned by Expressjs / PillarJS / JSHttp. Since it was already mentioned in the first comment, I didn't mention it explicitly in my last comment.

I hope its clear now 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants