Lavalink-Music-Bot icon indicating copy to clipboard operation
Lavalink-Music-Bot copied to clipboard

[Snyk] Upgrade mongoose from 6.1.6 to 6.1.8

Open snyk-bot opened this issue 2 years ago • 0 comments

Snyk has created this PR to upgrade mongoose from 6.1.6 to 6.1.8.

merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 23 days ago, on 2022-01-24.
Release notes
Package name: mongoose
  • 6.1.8 - 2022-01-24

    6.1.8 / 2022-01-24

    • fix(connection): stop leaking sessions in .transaction() #11259 #11256 Uzlopak
    • perf: remove sliced in favor of Array.prototype.slice() #11238 Uzlopak
    • perf: improve setDottedPath #11264 Uzlopak
    • fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions #11199
    • fix: remove obsolete code after upgrading to bson4 #11265 Uzlopak
    • fix: remove util.isArray in favor of Array.isArray #11234 Uzlopak
    • fix(index.d.ts): avoid UnpackedIntersection making findOne().populate() result non-nullable #11041
    • docs(migration): add note to change default functions to schema #11245 AbdelrahmanHafez
    • docs: updated docs and issue templates for new FAQs #11171 IslandRhythms
    • chore: fix casting benchmark #11262 Uzlopak
    • chore: add mongodb-memory-server to test easier locally #11255 Uzlopak
    • chore: fix testing tsconfig #11243 Uzlopak
    • refactor: move utils.random to test folder #11239 Uzlopak
  • 6.1.7 - 2022-01-17

    6.1.7 / 2022-01-17

    • fix(model): correct handling for $push on a nested array #11108
    • fix(update): correctly apply timestamps to update pipelines #11151
    • fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
    • fix(index.d.ts): allow passing options to model() in place of removed skipInit #11137
    • fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
    • fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
    • docs: fix Node.js Driver compat link #11214 wesbos
    • docs: remove extraneous backquote #11204 joebowbeer
  • 6.1.6 - 2022-01-10

    6.1.6 / 2022-01-10

    • perf(document): delay creating document event emitter until used to improve memory usage, several small improvements to improve initing docs with large arrays #10400
    • fix(model): avoid bulkSave() error when versionKey: false #11186 #11071 IslandRhythms
    • fix(model): revert #11079: findByIdAndUpdate(undefined) breaking change #11149
    • fix(index.d.ts): support strings in deep populate #11181 ivalduan
    • fix(index.d.ts): rename map() -> transform() to line up with change in v6.0 #11161
    • fix(index.d.ts): allow new Model(obj) for stricter type checks #11148
    • fix(index.d.ts): make Schema.prototype.pre() and post() generics default to HydratedDocument #11180
    • docs: improve autoCreate docs #11116
    • docs(schematype): add missing parameter to example #11185 kerolloz
    • docs(connections): use updated link to list of MongoDB Node driver connect() options #11184 splinter
    • docs(aggregate): fix formatting #11191 enieber
    • docs: fix broken link #11179 khairnarsaurabh23
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 8715493 chore: release 6.1.8
  • d2497a1 Merge pull request #11265 from Uzlopak/fix-removal-remark
  • abcdb8e Merge pull request #11264 from Uzlopak/perf-setDottetPath
  • 6fed272 Merge pull request #11262 from Uzlopak/fix-casting-benchmark
  • 734720f Merge pull request #11259 from Uzlopak/fix-session-memory-leak
  • 94570a6 remove obsolete code after upgrading to bson4
  • 9bdc34a improve perf of setDottedPath
  • d073803 fix casting benchmark
  • 25a9d93 remove err
  • 7adfe90 as it is a promise, we should catch a potential promise rejection
  • 6978eb0 call endSession in transaction helper after we are done with the transaction
  • 2e01e99 Merge pull request #11255 from Uzlopak/mongodb-memory-server
  • 2766a3d chore: use [email protected]
  • e22a78a Merge pull request #11243 from Uzlopak/fix-tsconfig
  • c530400 fix(index.d.ts): avoid UnpackedIntersection making `findOne().populate()` result non-nullable
  • 7df986a just call it mongo
  • 73e08bb make it possible to run specific version
  • e33e61e add mongodb-memory-server
  • 6c9a9ca fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions
  • de223a7 test(document): repro #11199
  • c44a4af Merge pull request #11245 from AbdelrahmanHafez/gh-11233
  • ec97115 chore: upgrade mquery -> 4.0.1
  • 2143cdf Merge pull request #11239 from Uzlopak/move-random-to-tests
  • c609e5c Merge pull request #11238 from Uzlopak/remove-sliced

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

snyk-bot avatar Feb 17 '22 06:02 snyk-bot