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

bump: [#4684] Replace nanoid with native module crypto #4769

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

ceciliaavila
Copy link
Collaborator

Addresses #4684
#minor

Description

This PR replaces the micro-library nanoid with the native module crypto to generate a random ID. Nanoid can't be upgraded as, in its latest version, it is an ESM-only package.

Specific Changes

  • Updated botbuilder-test-utils/jwt.ts replacing the use of nanoid with crypto.

Testing

The following image shows the unit tests passing after the change.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner October 15, 2024 13:19
@coveralls
Copy link

coveralls commented Oct 15, 2024

Pull Request Test Coverage Report for Build 11576505677

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 85.23%

Totals Coverage Status
Change from base Build 11575805257: 0.0%
Covered Lines: 20444
Relevant Lines: 22944

💛 - Coveralls

@ceciliaavila
Copy link
Collaborator Author

@tracyboehrer, conflicts solved!

@tracyboehrer tracyboehrer merged commit d00038a into main Oct 29, 2024
13 checks passed
@tracyboehrer tracyboehrer deleted the southworks/update/replace-nanoid-dependency branch October 29, 2024 17:27
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.

3 participants