Skip to content

Bump bson and mongodb#10

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bson-and-mongodb-1.1.6
Open

Bump bson and mongodb#10
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bson-and-mongodb-1.1.6

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 20, 2023

Bumps bson and mongodb. These dependencies needed to be updated together.
Updates bson from 1.0.9 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 // true

New Feature

  • [NODE-2378] - Return error when failing to serialize bigint type and add Long class helpers

Documentation

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 bson module!

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 the bson module to 1.1.4 or higher.

Release Notes

Changelog

Sourced from bson's changelog.

1.1.6 (2021-03-16)

Bug Fixes

  • Throw error on bigint usage and add helpers to Long (#426) (375f368)

1.1.5 (2020-08-10)

Bug Fixes

  • object-id: harden the duck-typing (b526145)

1.1.3 (2019-11-09)

Reverts 1.1.2

1.1.2 (2019-11-08)

Bug Fixes

  • _bsontype: only check bsontype if it is a prototype member. (dd8a349)

1.1.1 (2019-03-08)

Bug Fixes

  • object-id: support 4.x->1.x interop for MinKey and ObjectId (53419a5)

Features

  • replace new Buffer with modern versions (24aefba)

1.1.0 (2018-08-13)

Bug Fixes

... (truncated)

Commits
  • 6fc7a87 chore(release): 1.1.6
  • 375f368 fix: Throw error on bigint usage and add helpers to Long (#426)
  • 290dd6a chore(release): 1.1.5
  • b526145 fix(object-id): harden the duck-typing
  • 6e782da 1.1.4
  • 3809c13 fix: throw if invalid _bsontype is detected
  • e4de7b5 1.1.3
  • 8de4140 Revert "fix(_bsontype): only check bsontype if it is a prototype member."
  • 179e1ed 1.1.2
  • dd8a349 fix(_bsontype): only check bsontype if it is a prototype member.
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by nbbeeken, a new releaser for bson since your current version.


Updates mongodb from 3.0.10 to 3.7.3

Release notes

Sourced from mongodb's releases.

v3.7.3

The MongoDB Node.js team is pleased to announce version 3.7.3 of the mongodb package!

What's Changed

Full Changelog: mongodb/node-mongodb-native@v3.7.2...v3.7.3

Documentation

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

v3.7.2

The MongoDB Node.js team is pleased to announce version 3.7.2 of the mongodb package!

Release Highlights

This release contains a fix for optional require of dependencies on yarn berry.

Bug Fixes

  • NODE-3622: bump optional-require for additional yarn berry pnp support (#2989) (ec23d6302)

Documentation

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

v3.7.1

The MongoDB Node.js team is pleased to announce version 3.7.1 of the mongodb package!

Release Highlights

This release contains an internal improvement that makes our monitor utilize the new hello handshake for monitoring when available.

Features

  • NODE-3424: use hello for monitoring commands (#2964) (910c564)

Documentation

... (truncated)

Commits
  • b42e8b3 chore(release): 3.7.3
  • 428e6d3 fix(NODE-3515): do proper opTime merging in bulk results (#3011)
  • 564b0d7 test(NODE-3606): legacy and new versions of the CSFLE library (#3002)
  • 7c5a7bb chore(release): 3.7.2
  • ec23d63 chore(NODE-3622): bump optional-require for additional yarn berry pnp support...
  • 28f721d chore(release): 3.7.1
  • 910c564 feat(NODE-3424): use hello for monitoring commands (#2964)
  • 44df7d7 chore(release): 3.7.0
  • 1a76618 fix: versioned api low node compat fix (#2970)
  • 7602f68 docs(NODE-3406): add versioned api examples (#2969)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by nbbeeken, a new releaser for mongodb 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [bson](https://github.com/mongodb/js-bson) and [mongodb](https://github.com/mongodb/node-mongodb-native). These dependencies needed to be updated together.

Updates `bson` from 1.0.9 to 1.1.6
- [Release notes](https://github.com/mongodb/js-bson/releases)
- [Changelog](https://github.com/mongodb/js-bson/blob/v1.1.6/HISTORY.md)
- [Commits](mongodb/js-bson@v1.0.9...v1.1.6)

Updates `mongodb` from 3.0.10 to 3.7.3
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v3.0.10...v3.7.3)

---
updated-dependencies:
- dependency-name: bson
  dependency-type: indirect
- dependency-name: mongodb
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants