hktrpg / TG.line.Discord.Roll.Bot

Sad's HKTRPG is a TRPG dice rolling bot for Telegram, Line, Whatsapp, web site and Discord. 現支援TRPG暗骰, TPRG擲骰, 頻道經驗值, 占卜, 先攻表, TRPG角色卡, 搜圖, 翻譯, Discord 聊天紀錄匯出, 數學計算, 做筆記, 隨機抽選, 自定抽選
https://www.hktrpg.com/
GNU General Public License v3.0
91 stars 157 forks source link

Bump mongodb and mongoose #748

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 3 weeks ago

Bumps mongodb to 4.17.2 and updates ancestor dependency mongoose. These dependencies need to be updated together.

Updates mongodb from 4.16.0 to 4.17.2

Release notes

Sourced from mongodb's releases.

v4.17.2

4.17.2 (2023-11-16)

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

Release Notes

Fix connection leak when serverApi is enabled

When enabling serverApi the driver's RTT mesurment logic (used to determine the closest node) still sent the legacy hello command "isMaster" causing the server to return an error. Unfortunately, the error handling logic did not correctly destroy the socket which would cause a leak.

Both sending the correct hello command and the error handling connection clean up logic are fixed in this change.

Bug Fixes

  • NODE-5751: RTTPinger always sends legacy hello (#3923) (bc3d020)

Documentation

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

v4.17.1

4.17.1 (2023-08-23)

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

Release Notes

Import of saslprep updated to correct library.

Fixes the import of saslprep to be the correct @mongodb-js/saslprep library.

Bug Fixes

Documentation

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

v4.17.0

4.17.0 (2023-08-17)

... (truncated)

Changelog

Sourced from mongodb's changelog.

4.17.2 (2023-11-16)

Bug Fixes

  • NODE-5751: RTTPinger always sends legacy hello (#3923) (bc3d020)

4.17.1 (2023-08-23)

Bug Fixes

4.17.0 (2023-08-17)

Features

  • NODE-5272: do not create or drop ecc collections (#3678) (d26ad61)
  • NODE-5398: use mongodb-js/saslprep instead of saslprep (#3820) (5244711)

Bug Fixes

  • NODE-5262: AWS Lambda metadata detection logic is too permissive (#3683) (c0c3d99)
  • NODE-5311: construct error messages for AggregateErrors in Node16+ (#3683) (98b7bdf)
  • NODE-5316: prevent parallel topology creation in MongoClient.connect (#3696) (e13038d)
  • NODE-5356: prevent scram auth from throwing TypeError if saslprep is not a function (#3732) (2d028af)
  • NODE-5536: remove credentials from ConnectionPoolCreatedEvent options (#3812) (2910dca)
Commits
  • aab9c46 chore(4.x): release 4.17.2 [skip-ci] (#3926)
  • bc3d020 fix(NODE-5751): RTTPinger always sends legacy hello (#3923)
  • c698918 test(NODE-5738): update data lake test scripts (#3920)
  • 3934465 ci(NODE-5654): remove vars from evergreen config (#3881)
  • 278523a ci(NODE-5667): remove custom dep tests against master and fix prose test 14 (...
  • 85996c3 test(NODE-5618): use npm 9 on eol node versions (#3862)
  • cdc3d53 chore(4.x): release 4.17.1 [skip-ci] (#3840)
  • ff6c293 fix(NODE-5573): fix saslprep import (#3838)
  • c83a801 chore(4.x): release 4.17.0 [skip-ci] (#3763)
  • 1b59955 chore: update release automation scripts 4.x (#3824)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by dbx-node, a new releaser for mongodb since your current version.


Updates mongoose from 6.11.5 to 6.13.1

Changelog

Sourced from mongoose's changelog.

6.13.1 / 2024-09-06

  • fix: remove empty $and, $or, $not that were made empty by scrict mode #14749 #13086 0x0a0d

6.13.0 / 2024-06-06

  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #14599 #14587 #14572 #13410

6.12.9 / 2024-05-24

  • fix(cast): cast $comment to string in query filters #14590 #14576
  • types(model): allow passing strict type checking override to create() #14571 #14548

6.12.8 / 2024-04-10

  • fix(document): handle virtuals that are stored as objects but getter returns string with toJSON #14468 #14446
  • fix(schematype): consistently set wasPopulated to object with value property rather than boolean #14418
  • docs(model): add extra note about lean option for insertMany() skipping casting #14415 #14376

6.12.7 / 2024-03-01

  • perf(model): make insertMany() lean option skip hydrating Mongoose docs #14376 #14372
  • perf(document+schema): small optimizations to make init() faster #14383 #14113
  • fix(connection): don't modify passed options object to openUri() #14370 #13376 #13335
  • fix(ChangeStream): bubble up resumeTokenChanged changeStream event #14355 #14349 3150

6.12.6 / 2024-01-22

  • fix(collection): correctly handle buffer timeouts with find() #14277
  • fix(document): allow calling push() with different $position arguments #14254

6.12.5 / 2024-01-03

  • perf(schema): remove unnecessary lookahead in numeric subpath check
  • fix(document): allow setting nested path to null #14226
  • fix(document): avoid flattening dotted paths in mixed path underneath nested path #14198 #14178
  • fix: add ignoreAtomics option to isModified() for better backwards compatibility with Mongoose 5 #14213

6.12.4 / 2023-12-27

  • fix: upgrade mongodb driver -> 4.17.2
  • fix(document): avoid treating nested projection as inclusive when applying defaults #14173 #14115
  • fix: account for null values when assigning isNew property #14172 #13883

6.12.3 / 2023-11-07

  • fix(ChangeStream): correctly handle hydrate option when using change stream as stream instead of iterator #14052
  • fix(schema): fix dangling reference to virtual in tree after removeVirtual() #14019 #13085
  • fix(document): avoid unmarking modified on nested path if no initial value stored and already modified #14053 #14024
  • fix(document): consistently avoid marking subpaths of nested paths as modified #14053 #14022

... (truncated)

Commits
  • fe17056 try fixing deno test
  • 2c4b0d5 pin @​sinonjs/fake-timers version for node 12
  • b6ab66f chore: release 6.13.1
  • 91612bb Revert "Update cast.js"
  • 6308686 style: fix lint
  • 97dadf0 Merge pull request #14749 from 0x0a0d/improve_fix_cast_empty_query
  • e3a9e65 Update cast.js
  • 19d694a Update cast.test.js
  • e5eb234 only remove object if it becomes empty because of casting
  • 01dd471 Reapply "fix(cast): remove empty conditions after strict applied"
  • 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 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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](https://github.com/hktrpg/TG.line.Discord.Roll.Bot/network/alerts).
dependabot[bot] commented 2 weeks ago

Superseded by #756.