-
Notifications
You must be signed in to change notification settings - Fork 51
Use luxon 3.x #2839
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
Use luxon 3.x #2839
Conversation
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
@RobbieTheWagner for reference: #2515 (comment) and #2515 (comment) /cc @alex-ju |
@didoo I took a look at those comments and atlas does not have luxon installed at all, so I am confused. I think the correct paths forward here are either just use 3.x like this PR proposes or we could make it a peerDep and allow whatever versions, but currently if anyone installs HDS and they do not specify their own version of luxon, this is forcing them to use 2.x which has vulnerabilities. |
@alex-ju and @KristinLBradley worked on this and I'm sure have more context; would be a problem to wait for when they're back from PTO next week? |
@didoo I think waiting should be fine, but I am not sure. I don't know what our requirements are for a timeline for having all the vulnerabilities resolved in atlas though. If the main reason we were trying to support 2.x was for atlas, I don't think we need it anymore, and in the meantime we are forcing all consumers of HDS to install the old 2.x version with the vulnerabilities, since this is not a peerDep. |
@didoo do you still think we should wait to merge this or are the approvals from @zamoore and @MelSumner sufficient to merge? |
@RobbieTheWagner we discussed this today in our HDS Engineering sync, and if @MelSumner and @zamoore approve, it's OK to merge. ๐ |
๐ Summary
This PR drops the 2.x version of luxon from dependencies.
๐ ๏ธ Detailed description
I think the way it was defined consumers would always get 2.x, which has security vulnerabilities. If we do need to support 2.x, we could also make it a peerDep instead of dropping it, but I am not sure if there is a reason we need 2.x support or not.
๐ธ Screenshots
๐ External links
Jira ticket: HDS-XXX
Figma file: [if it applies]
๐ Component checklist
๐ฌ Please consider using conventional comments when reviewing this PR.