Open
Conversation
Snyk has created this PR to upgrade bson from 4.4.0 to 4.6.1. See this package in npm: https://www.npmjs.com/package/bson See this project in Snyk: https://app.snyk.io/org/tramcrazy/project/40fcc2ad-371c-4bff-b929-47d9c5499867?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.4.0 to 4.6.1.
ℹ️ 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
-
4.6.1 - 2022-01-06
- NODE-3760: ObjectId.isValid string and byte length match (#475) (187d1c4)
- NODE-3815: update Decimal128 constructor validation (#476) (95e8293)
- NODE-3821: nullish check before using toBSON override function (#477) (1d898b6)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.6.0 - 2021-11-23
- NODE-3740: Implement root and top level key utf-8 validation settings for BSON (#472) (07019a0)
- NODE-3724: Fix BSONTypeError and BSONError to correctly handle instanceof checks (#471) (d8f334b)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.5.4 - 2021-11-03
- NODE-3640: Fix Int32 constructor to coerce its argument to int32 (#466) (d388f1e)
- NODE-3662: error checking to make sure that ObjectId results in object with correct properties (#467) (5f99b1b)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.5.3 - 2021-10-05
- NODE-3493: code and symbol tests are partially testing the wrong types (#459) (80d7f03)
- NODE-3534: add subtype 0x6 and 0x7 constants on Binary class (#461) (52cfe9c)
- NODE-3629: correct corpus runner and add null checks (#464) (d75102d)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.5.2 - 2021-09-14
- NODE-3021: fix numbers of pattern
- Thanks to @ tzhuan for contributing this!
- NODE-3582: fix internal marked APIs, add toString methods to Int32 and Double (#457) (b46ab5f)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.5.1 - 2021-08-24
- NODE-3561: umd bundle fails to require util (#455) (1c15155)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.5.0 - 2021-08-19
- NODE-3504: add unambiguous
- NODE-3451: fix performance regression from v1 (#451) (2330ab1)
- NODE-3520: global not defined in esm bundles (#452) (cb82a80)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.4.1 - 2021-07-06
- NODE-3247: DBRef special handling (#443) (f5d984d)
- NODE-3282: BSONRegExp options not alphabetized (#441) (18c3512)
- NODE-3376: use standard JS methods for copying Buffers (#444) (804050d)
- NODE-3390: serialize non-finite doubles correctly in EJSON (#445) (7eb7998)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
-
4.4.0 - 2021-05-18
- NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
- NODE-3226: make circular input errors for EJSON expressive (#433) (7b351cc)
- NODE-3256: make Long inspect result evaluable (3a2eff1)
- NODE-3153: correctly deserialize
- NODE-3223, NODE-2963: accept Uint8Array where Buffer is accepted (#432) (4613763)
- NODE-3208: clean up instanceof usage (9b6d52a)
- NODE-3195: improve ArrayBuffer brand check in ensureBuffer (#429) (99722f6)
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
from bson GitHub release notesThe MongoDB Node.js team is pleased to announce version 4.6.1 of the bson package!
Release Highlights
This release includes a few fixes to the validation checks in some of our constructors.
Bug Fixes
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.0 of the
bsonpackage!Release Highlights
This release adds a new BSON validation option that allows top-level keys to have utf-8 validation disabled or enabled, either on a global or key-specific scale, rather than defaulting to automatic utf-8 validation across all keys. Additionally, it includes a bug fix which allows BSONError and BSONTypeError to be checked with
instanceofchecks.Features
Bug Fixes
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.5.4 of the bson package!
Release Highlights
This release notably includes a fix to the
ObjectIdconstructor ensuring correct handling of invalid input.Bug Fixes
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.5.3 of the bson package!
Release Highlights
This release includes a few minor changes for spec compliance, primarily around validation, as detailed below:
Bug Fixes
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.5.2 of the bson package!
Release Highlights
Some APIs were marked internal that should've been public. We've also add toString methods to our
Int32andDoubleclasses that wrap Javascript'sNumber.toString()method.Additionally a bug in Decimal128 was corrected where the representation string was wrongly used to find the significant digits. This impacted negative numbers of pattern
-0.00XX.Bug Fixes
-0.00XX(#458) (824939a)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.5.1 of the
bsonmodule!In react native environments there was an issue where the bundler attempted to import the Node.js polyfill for
'util'.We no longer depend on the package.
Bug Fixes
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.5.0 of the
bsonmodule!Release Highlights
The
Timestampconstructor can now be called with a more convenient object parameter:new Timestamp({ t: number, i: number }); the existingnew Timestamp(increment, timestamp)option has been deprecated.Furthermore, this minor version significantly improves deserialization performance for buffer inputs and corrects an issue with our ESM bundles resulting from a reference to
globalwhich does not exist in web environments.Features
Timestamp()constructor overload (#449) (0298dd8)Bug Fixes
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.4.1 of the bson package!
Release Highlights
This patch addresses the bugs listed below. Most notably our EJSON API now correctly stringifies
InfinityandNaNdoubles in relaxed mode. Relaxed mode is intended for human readable JSON while non-relaxed or canonical mode can be used for data serialization since it will preserve the original BSON type. Double check you are using the correct format for your use case.Bug Fixes
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.4.0 of the bson module!
Release Highlights
This release of the BSON library brings some additional convenience to our
Decimal128andLongclasses.Users can now specify the construction of these types as shown below:
Here is the new API specification:
[new] Decimal128(string)[new] Long(string[, unsigned])[new] Long(bigint[, unsigned])Thanks so much to @ addaleax to contributing a number of the fixes listed below! 🚀
Features
Bug Fixes
__proto__properties (#431) (f34cabc)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