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

fix(NODE-3376): use standard JS methods for copying Buffers #444

Merged
merged 2 commits into from
Jun 25, 2021

Commits on Jun 25, 2021

  1. fix(NODE-3376): use standard JS methods for copying Buffers

    - Use standard JS methods for copying Buffers, because unlike the
      `buffer` module polyfill, these have working typechecking
    - Add tests that ensure that for all BSON distributions and all
      legacy packages, their serialization is cross-compatible
      (modulo NODE-2848, which would require updates to either the
      `buffer` poyfill or the legacy 1.x bson versions).
    addaleax committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    eb9005b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e49c23c View commit details
    Browse the repository at this point in the history