Skip to content

[Snyk] Upgrade bson from 4.6.4 to 4.7.0#4

Open
snyk-bot wants to merge 1 commit intomasterfrom
snyk-upgrade-20644fcb680219d503ac864015b98c6a
Open

[Snyk] Upgrade bson from 4.6.4 to 4.7.0#4
snyk-bot wants to merge 1 commit intomasterfrom
snyk-upgrade-20644fcb680219d503ac864015b98c6a

Conversation

@snyk-bot
Copy link
Copy Markdown

Snyk has created this PR to upgrade bson from 4.6.4 to 4.7.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2022-08-18.
Release notes
Package name: bson
  • 4.7.0 - 2022-08-18

    The MongoDB Node.js team is pleased to announce version 4.7.0 of the bson package!

    Release Highlights

    This release adds automatic UUID support. Now when serializing or deserializing BSON you can work directly with the UUID type without explicit conversion methods. The UUID class is now a subclass of binary so all existing code will continue to work (including the explicit conversion methods .toUUID/.toBinary). The same automatic support for UUID is also present in EJSON .parse/.stringify.

    Take a look at the following for the expected behavior:

    const document = BSON.deserialize(bytes)
    // { uuid: UUID('xxx') }
    BSON.serialize(document)
    // Buffer < document with uuid (binary subtype 4) >

    Special thanks to @ aditi-khare-mongoDB for all her hard work on this feature!! 🎉

    Features


    Documentation

    We invite you to try the bson library immediately, and report any issues to the NODE project.

  • 4.6.5 - 2022-07-07

    The MongoDB Node.js team is pleased to announce version 4.6.5 of the bson package!

    Release Highlights

    Along with some other bug fixes listed below in this release we've fixed the float parser logic for both deserialize and serialize to use JS Dataview APIs. The most delightful part of this change is an improvement to performance of serializing 64-bit floats. 🎉 🐎

    NODE-3630: remove float parser and test edge cases for Double (#502) (54ca603)
  • NODE-4211: Do not require crypto in browser builds (#500) (b32ab40)
  • NODE-4302: remove downlevel ts and typesVersions (#501) (651b60e)
  • NODE-4381: handle __proto__ well in EJSON (#506) (4bda57d)

Documentation

We invite you to try the bson library immediately, and report any issues to the NODE project.

  • 4.6.4 - 2022-05-19

    The MongoDB Node.js team is pleased to announce version 4.6.4 of the bson package!

    Performance

    • perf(NODE-4194): improve objectId constructor performance (#498)

    Documentation

    We invite you to try the bson library immediately, and report any issues to the NODE project.

  • from bson GitHub release notes
    Commit messages
    Package name: bson

    Compare


    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    1 participant