nodetube
nodetube copied to clipboard
Bump bson from 1.1.3 to 1.1.6
Bumps bson from 1.1.3 to 1.1.6.
Release notes
Sourced from bson's releases.
1.1.6
The MongoDB Node.js team is pleased to announce version 1.1.6 of the bson module!
The BSON library was written prior to the invention of the BigInt type in Javascript ecosystem. As a result the library was not able to serialize the type properly and silently failed to correctly maintain the bigint value. With this update, the library will now throw an error if it detects a bigint value. However, we've also added to/fromBigInt helper methods to the long class, please note that numbers will be clamped to int64 bit width.
const bytes = BSON.serialize({ myBigNumber: Long.fromBigInt(23n) }) const doc = BSON.deserialize(bytes) doc.myBigNumber.toBigInt() === 23n // trueNew Feature
- [NODE-2378] - Return error when failing to serialize bigint type and add Long class helpers
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. Thanks very much to all the community members who contributed to this release!
v1.1.4
The MongoDB Node.js team is pleased to announce version 1.1.4 of the
bsonmodule!This patch release resolves an issue with BSON serialization with invalid
_bsontype, originally reported by@xiaofen9. MongoDB will be issuing a CVE for this vulnerability, and we recommend that all users pin their version of thebsonmodule to 1.1.4 or higher.Release Notes
Changelog
Sourced from bson's changelog.
1.1.6 (2021-03-16)
Bug Fixes
1.1.5 (2020-08-10)
Bug Fixes
- object-id: harden the duck-typing (b526145)
Commits
Maintainer changes
This version was pushed to npm by nbbeeken, a new releaser for bson since your current version.
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
You can disable automated security fix PRs for this repo from the Security Alerts page.