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

refactor(NODE-5953): move promisifying of randomBytes to utils #3999

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Feb 22, 2024

Description

Move promisifying of randomBytes to utils.ts to make it module-scoped function and to reuse everywhere else.

Is there new documentation needed for these changes?

None

What is the motivation for this change?

Technical debt leftover from NODE-5616

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@alenakhineika alenakhineika marked this pull request as ready for review February 22, 2024 16:40
src/utils.ts Show resolved Hide resolved
@nbbeeken nbbeeken self-assigned this Feb 22, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Feb 22, 2024
@nbbeeken nbbeeken merged commit 17952d2 into main Feb 22, 2024
24 of 27 checks passed
@nbbeeken nbbeeken deleted the NODE-5953-move-promisifying-randomBytes-to-utils branch February 22, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
3 participants