Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Snyk] Upgrade bson from 6.8.0 to 6.9.0 #255

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

ilovepixelart
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade bson from 6.8.0 to 6.9.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 1 version ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: bson
  • 6.9.0 - 2024-10-21

    6.9.0 (2024-10-15)

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

    Release Notes

    Timestamp now has t and i properties

    To make this type a bit easier to use we are surfacing the breakdown of the two internal 32 bit segments of a Timestamp value.

    const ts = new Timestamp({ i: 2, t: 1 });
    ts.i // 2
    ts.t // 1

    ObjectId.isValid(string) performance improvement

    Often used to validate whether a hex string is the correct length and proper format before constructing an ObjectId for querying, the isValid function will validate strings much faster than before. Many thanks to @ SeanReece for the contribution!

    Serialization performance improved.

    Optimizations have been implemented with respect to BSON serialization across the board, resulting in up to 20% gains in serialization with a sample of MFlix documents. Thanks again to @ SeanReece for the contribution!

    Features

    Performance Improvements

    Documentation

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

  • 6.8.0 - 2024-06-27

    6.8.0 (2024-06-27)

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

    Release Notes

    Add Signature to Github Releases

    The Github release for js-bson now contains a detached signature file for the NPM package (named
    bson-X.Y.Z.tgz.sig), on every major and patch release to 6.x and 5.x. To verify the signature, follow the instructions in the 'Release Integrity' section of the README.md file.

    Optimize performance of Long.fromBigInt

    Internally fromBigInt was originally implemented using toString of the bigint value. Now, Long.fromBigInt has been refactored to use bitwise operations greatly improving performance.

    Features

    Performance Improvements

    Documentation

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

from bson GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade bson from 6.8.0 to 6.9.0.

See this package in npm:
bson

See this project in Snyk:
https://app.snyk.io/org/ilovepixelart/project/a17543ce-4145-4e52-a60a-9b883071e987?utm_source=github&utm_medium=referral&page=upgrade-pr
@ilovepixelart ilovepixelart merged commit f78af6b into main Nov 20, 2024
11 checks passed
@ilovepixelart ilovepixelart deleted the snyk-upgrade-0409fd4b367c28a88d5514ee927f3f98 branch November 20, 2024 17:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants