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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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 11346946263

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.242%

Totals Coverage Status
Change from base Build 11237135309: 0.0%
Covered Lines: 20444
Relevant Lines: 22942

💛 - Coveralls

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