Skip to content

Conversation

@JhontSouth
Copy link
Contributor

@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
@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

4 participants