Bump bson from 4.2.2 to 4.4.1
Bumps bson from 4.2.2 to 4.4.1.
Release notes
Sourced from bson's releases.
v4.4.1
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
- 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)
Documentation
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
We invite you to try the bson library immediately, and report any issues to the NODE project.
v4.4.0
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:const longFromBigInt = new Long(23n) const d128FromString = new Decimal128('4.23')Here is the new API specification:
[new] Decimal128(string)[new] Long(string[, unsigned])[new] Long(bigint[, unsigned])Thanks so much to
@addaleaxto contributing a number of the fixes listed below! 🚀Features
- NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
- NODE-3226: make circular input errors for EJSON expressive (#433) (7b351cc)
Bug Fixes
- NODE-3256: make Long inspect result evaluable (3a2eff1)
... (truncated)
Changelog
Sourced from bson's changelog.
4.4.1 (2021-07-06)
Bug Fixes
- 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)
4.4.0 (2021-05-18)
Features
- NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
- make circular input errors for EJSON expressive (#433) (7b351cc)
Bug Fixes
- make Long inspect result evaluable (3a2eff1)
- NODE-3153: correctly deserialize
__proto__properties (#431) (f34cabc)- accept Uint8Array where Buffer is accepted (#432) (4613763)
- clean up instanceof usage (9b6d52a)
- improve ArrayBuffer brand check in ensureBuffer (#429) (99722f6)
4.3.0 (2021-04-06)
Features
4.2.3 (2021-03-02)
Bug Fixes
Commits
d92de12chore(release): 4.4.17eb7998fix(NODE-3390): serialize non-finite doubles correctly in EJSON (#445)804050dfix(NODE-3376): use standard JS methods for copying Buffers (#444)f5d984dfix(NODE-3247): DBRef special handling (#443)f170d44chore(NODE-3330): add mocha.opts, remove mocharch.json (#442)18c3512fix(NODE-3282): BSONRegExp options not alphabetized (#441)53cf5c6chore(test): add timeout to older versions test (#438)485aa3ctest: bson corpus spec runner calling wrong fn (#436)fc9fb5dchore(release): 4.4.0392c1bcfeat(NODE-3264): allow Decimal128(string), Long(string), Long(bigint) (#437)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)