Remove export of `NumberUtils` and `ByteUtils` from bson `.onDemand` ns

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 7.1.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed
    • None
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... BSON Library Maintainer
      I want... remove the NumberUtils and ByteUtils export from the onDemand namespace.
      So that... the library's interface separates onDemand functionality from the utils

      User Experience

      • Consumers of the library will no longer be able to access NumberUtils or ByteUtils from bson.onDemand.
      • Instead, they will access these utilities via the top-level bson.ByteUtils

      Dependencies

      • Downstream: The MongoDB Node.js Driver imports and uses .NumberUtils and .ByteUtils from bson (.onDemand is no longer used).

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • remove the export of NumberUtils and ByteUtils from onDemand
      • ensure both are exported from top-level BSON

      Testing Requirements

      • N/A

      Documentation Requirements

      • Release note

      Follow Up Requirements

      • N/A

            Assignee:
            Sergey Zelenov
            Reporter:
            Sergey Zelenov
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: