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

fix: [#4483] Switching npm dependency bcrypt to bcryptjs #4669

Merged
merged 2 commits into from
May 23, 2024

Conversation

JhontSouth
Copy link
Collaborator

@JhontSouth JhontSouth commented May 23, 2024

Fixes #4483

Description

This PR changes the use of bcrypt for bcryptjs to improve the portability of botbuilder-js.

Specific Changes

  • Replaced bcrypt ^5.0.1 by bcryptjs ^2.4.3.

Testing

The following image shows the CosmosDbKeyEscape unit tests working with the hashSync method from bcryptjs.
image

@JhontSouth JhontSouth requested a review from a team as a code owner May 23, 2024 19:14
@coveralls
Copy link

coveralls commented May 23, 2024

Pull Request Test Coverage Report for Build 9213589006

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.431%

Totals Coverage Status
Change from base Build 9161368601: 0.0%
Covered Lines: 20426
Relevant Lines: 22901

💛 - Coveralls

@tracyboehrer tracyboehrer merged commit f08405a into main May 23, 2024
13 checks passed
@tracyboehrer tracyboehrer deleted the southworks/fix/bcrypt-portability branch May 23, 2024 21:12
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.

Switching npm dependency bcrypt to bcryptjs
3 participants