-
-
Notifications
You must be signed in to change notification settings - Fork 20
feat(crypto-fips): add migration recipe for crypto.fips #177
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
….fips to crypto.getFips() and crypto.setFips()
Let me know if the Personally, I think having that helps |
You don't have to remove it entirely, but can it be a separate PR (to keep our commits organized)? Thank you! |
Co-authored-by: Aviv Keller <[email protected]>
@avivkeller Alright then. I'm gonna make another PR for another recipe where I'll include this change as a separate commit |
…ove code readability
Replaces array concatenation with generator-based iteration to improve readability, memory usage, and performance.
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.
WOW 😵💫 that's an awesome first contribution. I love your usage of yield
.
Thanks you for your contribution, I hope that you had enjoyed it. If you have any feedback feel it
Thanks @AugustinMauroy! I'll update the suggested changes |
…tFips/setFips This update introduces a transformation for replacing deprecated `crypto.fips` calls with `crypto.getFips()` and `crypto.setFips()`. It includes enhancements to variable collection, import specifier updates, and destructuring adjustments to ensure proper usage of the new methods. Additionally, new test cases have been added to validate the changes.
@AugustinMauroy I think some functions I used can be put into |
For the utility functions thing, I'll examine those and probably open another PR for that specifically |
No problem ! |
@max-programming any news ? |
@AugustinMauroy I apologise for the huge delay. Today's my last day for college assignment submissions. I'm gonna have this as my first priority once that's over Hopefully won't take long |
I completely understand. I am also at college studying application development. |
I hope everything goes well this time around haha |
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.
We’ll use updateBinding
, which already exists in our utility library, instead of recreating it here.
So, we need to add support for updateBinding
to add multiple bindings (and maybe remove as well) at the same time.
Not sure why these checks fail How can we get them to pass? |
because you touch to the utility and you break something |
Ah I think I found the failing part |
Passed finally This was such a headache lol |
Closes #175