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

feat: remove crypto-js in favour of crypto native dependency #525

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

Conversation

fenos
Copy link
Contributor

@fenos fenos commented Jul 23, 2024

What kind of change does this PR introduce?

Performance

What is the current behavior?

Currently, storage uses crypto-js which run on the same JS thread and potentially block the event loop for longer than necessary.

What is the new behavior?

Removed crypto-js in favour of the native crypto module which will be much more efficient

Additional context

Add any other context or screenshots.

Copy link

github-actions bot commented Jul 23, 2024

Pull Request Test Coverage Report for Build 10055502007

Details

  • 39 of 43 (90.7%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 79.595%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/internal/auth/crypto.ts 39 43 90.7%
Totals Coverage Status
Change from base Build 9957560404: 0.008%
Covered Lines: 13223
Relevant Lines: 16453

💛 - Coveralls

@inian inian requested a review from staaldraad August 5, 2024 09:34
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

Successfully merging this pull request may close these issues.

2 participants