Skip to content

feat(NODE-7317): use BSON.NumberUtils to determine endianness#4808

Merged
PavelSafronov merged 2 commits intomainfrom
NODE-7317
Jan 20, 2026
Merged

feat(NODE-7317): use BSON.NumberUtils to determine endianness#4808
PavelSafronov merged 2 commits intomainfrom
NODE-7317

Conversation

@durran
Copy link
Contributor

@durran durran commented Nov 26, 2025

Description

Uses BSON's NumberUtils to determine endianess instead of Node's os module.

Summary of Changes

  • Update BSON and switch to use NumberUtils.

What is the motivation for this change?

NODE-7317

Release Highlight

Release notes highlight

Double check the following

  • Lint is passing (npm run check:lint)
  • 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

@durran durran marked this pull request as ready for review January 20, 2026 16:49
@durran durran requested a review from a team as a code owner January 20, 2026 16:49
@PavelSafronov PavelSafronov changed the title feat(NODE-7317): user number utils to determine endianess feat(NODE-7317): use BSON.NumberUtils to determine endianness Jan 20, 2026
@PavelSafronov PavelSafronov self-assigned this Jan 20, 2026
@PavelSafronov PavelSafronov added Team Review Needs review from team Primary Review In Review with primary reviewer, not yet ready for team's eyes and removed Team Review Needs review from team labels Jan 20, 2026
@PavelSafronov PavelSafronov merged commit 4e9467e into main Jan 20, 2026
27 of 29 checks passed
@PavelSafronov PavelSafronov deleted the NODE-7317 branch January 20, 2026 19:14
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

Development

Successfully merging this pull request may close these issues.

2 participants