[Snyk] Upgrade bson from 4.6.5 to 4.7.0 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade bson from 4.6.5 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.
Release notes
Package name: bson
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:
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.
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. 🎉 🐎
- cpu: Apple M1- cores: 8
- os: darwin
- ram: 16GB
- iterations: 1,000,000
testing: Double Serialization
current - v 4.6.5 - avg 0.00024913ms
previous release - v 4.6.4 - avg 0.00036335ms
previous major - v 1.1.6 - avg 0.00036459ms
Bug Fixes
__proto__
well in EJSON (#506) (4bda57d)Documentation
We invite you to try the bson library immediately, and report any issues to the NODE project.
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