Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4713 Update and improve rollup bundles of BSON
  3. NODE-4859

Move get random bytes code into ByteUtils to better support the corresponding platform

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • bson-5.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 0
    • Not Needed
    • Not Needed

      While working on NODE-4713 it became apparent that there was an issue with bundling and where we have the code placed that gets the best random bytes function. Since we now have distinct ByteUtils "libraries" for node and "web" platforms we can move the randomBytes functionality to there to better support each platforms functionality.

      AC

      • Move randomBytes utility into each platforms byte utils implementation

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: