Build(deps): Bump bson from 1.1.1 to 1.1.6 in /Predictor/PredictorWebService #10

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6 into master
dependabot[bot] commented 2021-05-08 23:12:48 +00:00 (Migrated from github.com)

Bumps bson from 1.1.1 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)

Commits
Maintainer changes

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


Dependabot compatibility score

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will 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.

Bumps [bson](https://github.com/mongodb/js-bson) from 1.1.1 to 1.1.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mongodb/js-bson/releases">bson's releases</a>.</em></p> <blockquote> <h2>1.1.6</h2> <p>The MongoDB Node.js team is pleased to announce version 1.1.6 of the bson module!</p> <p>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.</p> <pre lang="js"><code>const bytes = BSON.serialize({ myBigNumber: Long.fromBigInt(23n) }) const doc = BSON.deserialize(bytes) doc.myBigNumber.toBigInt() === 23n // true </code></pre> <h2>New Feature</h2> <ul> <li>[<a href="https://jira.mongodb.org/browse/NODE-2378">NODE-2378</a>] - Return error when failing to serialize bigint type and add Long class helpers</li> </ul> <h2>Documentation</h2> <ul> <li>API: <a href="https://github.com/mongodb/js-bson#readme">https://github.com/mongodb/js-bson#readme</a></li> <li>Changelog: <a href="https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log">https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log</a></li> </ul> <p>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!</p> <h2>v1.1.4</h2> <p>The MongoDB Node.js team is pleased to announce version 1.1.4 of the <code>bson</code> module!</p> <p>This patch release resolves an issue with BSON serialization with invalid <code>_bsontype</code>, originally reported by <a href="https://github.com/xiaofen9"><code>@​xiaofen9</code></a>. MongoDB will be issuing a CVE for this vulnerability, and we recommend that all users pin their version of the <code>bson</code> module to 1.1.4 or higher.</p> <h2>Release Notes</h2> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mongodb/js-bson/blob/v1.1.6/HISTORY.md">bson's changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/mongodb/js-bson/compare/v1.1.5...v1.1.6">1.1.6</a> (2021-03-16)</h3> <h3>Bug Fixes</h3> <ul> <li>Throw error on bigint usage and add helpers to Long (<a href="https://github-redirect.dependabot.com/mongodb/js-bson/issues/426">#426</a>) (<a href="https://github.com/mongodb/js-bson/commit/375f368738807f2d41c7751e618fd09c8a1b94c9">375f368</a>)</li> </ul> <h3><a href="https://github.com/mongodb/js-bson/compare/v1.1.4...v1.1.5">1.1.5</a> (2020-08-10)</h3> <h3>Bug Fixes</h3> <ul> <li><strong>object-id:</strong> harden the duck-typing (<a href="https://github.com/mongodb/js-bson/commit/b5261450c3bc4abb2e2fb19b5b1a7aba27982d44">b526145</a>)</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/mongodb/js-bson/compare/v1.1.2...v1.1.3">1.1.3</a> (2019-11-09)</h2> <p>Reverts 1.1.2</p> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/mongodb/js-bson/compare/v1.1.1...v1.1.2">1.1.2</a> (2019-11-08)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>_bsontype:</strong> only check bsontype if it is a prototype member. (<a href="https://github.com/mongodb/js-bson/commit/dd8a349">dd8a349</a>)</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/mongodb/js-bson/commits/v1.1.6">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~nbbeeken">nbbeeken</a>, a new releaser for bson since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bson&package-manager=npm_and_yarn&previous-version=1.1.1&new-version=1.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will 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](https://github.com/lokenxo/userflow-predictor/network/alerts). </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6:dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout master
git merge --no-ff dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git rebase master
git checkout master
git merge --ff-only dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git rebase master
git checkout master
git merge --no-ff dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout master
git merge --squash dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout master
git merge --ff-only dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git checkout master
git merge dependabot/npm_and_yarn/Predictor/PredictorWebService/bson-1.1.6
git push origin master
Sign in to join this conversation.
No description provided.