Skip to content

Commit

Permalink
fix(deps): Bump mongoose from 5.13.7 to 5.13.13 (#662)
Browse files Browse the repository at this point in the history
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.7 to 5.13.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md">mongoose's changelog</a>.</em></p>
<blockquote>
<h1>5.13.13 / 2021-11-02</h1>
<ul>
<li>fix: upgrade to mongodb@3.7.3 <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10909">#10909</a> <a href="https://github.com/gaurav-sharma-gs">gaurav-sharma-gs</a></li>
<li>fix: correctly emit end event in before close <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10916">#10916</a> <a href="https://github.com/iovanom">iovanom</a></li>
<li>fix(index.d.ts): improve ts types for query set <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10942">#10942</a> <a href="https://github.com/jneal-afs">jneal-afs</a></li>
</ul>
<h1>6.0.12 / 2021-10-21</h1>
<ul>
<li>fix(cursor): remove the logic for emitting close, rely on autoDestroy option for Node 12 support <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10906">#10906</a> <a href="https://github.com/iovanom">iovanom</a></li>
<li>fix(map): support passing flattenMaps: false to Map toJSON(), make <code>toJSON()</code> flatten maps by default in TypeScript <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10872">#10872</a></li>
<li>fix: upgrade to mongodb driver 4.1.3 <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10911">#10911</a> <a href="https://github.com/orgads">orgads</a></li>
<li>fix(index.d.ts): correct TS function signature for <code>SchemaType.prototype.set()</code> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10799">#10799</a></li>
<li>fix(index.d.ts): support implicit $in in FilterQuery <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10826">#10826</a></li>
<li>fix(index.d.ts): More precise type for Schema.clone() <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10899">#10899</a> <a href="https://github.com/coyotte508">coyotte508</a></li>
<li>fix(index.d.ts): add caster property to schema arrays and document arrays <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10865">#10865</a></li>
<li>docs: update <code>updateMany()</code> and <code>deleteMany()</code> docs to reflect new <code>matchedCount</code>, <code>modifiedCount</code>, <code>deletedCount</code> properties <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10908">#10908</a> <a href="https://github.com/IslandRhythms">IslandRhythms</a></li>
<li>docs: fix broken links to populate virtuals <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10870">#10870</a> <a href="https://github.com/IslandRhythms">IslandRhythms</a></li>
<li>docs: updated docs to have returnOriginal, removed new and returnDocument <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10887">#10887</a> <a href="https://github.com/IslandRhythms">IslandRhythms</a></li>
</ul>
<h1>5.13.12 / 2021-10-19</h1>
<ul>
<li>fix(cursor): use stream destroy method on close to prevent emitting duplicate 'close' <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10897">#10897</a> <a href="https://github.com/iovanom">iovanom</a></li>
<li>fix(index.d.ts): backport streamlining of FilterQuery and DocumentDefinition to avoid &quot;excessively deep and possibly infinite&quot; TS errors <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10617">#10617</a></li>
</ul>
<h1>6.0.11 / 2021-10-14</h1>
<ul>
<li>perf(index.d.ts): remove some unnecessary definitions, streamline some union types to reduce number of instantiations <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10349">#10349</a></li>
<li>fix(cursor): use stream destroy method on close to prevent emitting duplicate 'close' <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10878">#10878</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10876">#10876</a> <a href="https://github.com/iovanom">iovanom</a></li>
<li>fix: create indexes when readPreference=primary is set <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10861">#10861</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10855">#10855</a> <a href="https://github.com/gemyero">gemyero</a></li>
<li>fix(document): avoid depopulating when setting array of subdocs from different doc <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10819">#10819</a></li>
<li>fix(index.d.ts): allow modifying properties of UpdateQuery instances <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10786">#10786</a></li>
<li>fix(index.d.ts): add generic Paths to populate() to allow overriding path types <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10758">#10758</a></li>
</ul>
<h1>5.13.11 / 2021-10-12</h1>
<ul>
<li>fix: upgrade mongodb -&gt; 3.7.2 <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10871">#10871</a> <a href="https://github.com/winstonralph">winstonralph</a></li>
<li>fix(connection): call setMaxListeners(0) on MongoClient to avoid event emitter memory leak warnings with <code>useDb()</code> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10732">#10732</a></li>
</ul>
<h1>6.0.10 / 2021-10-08</h1>
<ul>
<li>fix(query): add back strictQuery option to avoid empty filter issues, tie it to <code>strict</code> by default for compatibility <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10781">#10781</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10763">#10763</a></li>
<li>fix(model): avoid unnecessarily dropping text indexes in <code>syncIndexes()</code> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10851">#10851</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10850">#10850</a> <a href="https://github.com/IslandRhythms">IslandRhythms</a></li>
<li>fix(query): avoid trying to call toArray() on cursor if find() error occurred <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10845">#10845</a></li>
<li>fix: accepts uppercase values in mongoose.isValidObjectId <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10846">#10846</a> <a href="https://github.com/foxadb">foxadb</a></li>
<li>perf(document): further reduce unnecessary objects and keys to minimize document memory overhead <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10400">#10400</a></li>
<li>fix(index.d.ts): restore unpacked type and avoid distributive conditional types <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10859">#10859</a> <a href="https://github.com/dbellavista">dbellavista</a></li>
<li>fix(index.d.ts): add correct null typings for <code>findOneAndUpdate()</code> and <code>findByIdAndUpdate()</code> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10820">#10820</a></li>
<li>fix(index.d.ts): make insertMany() correctly return Promise<!-- raw HTML omitted --> if passing single document to <code>insertMany()</code> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10802">#10802</a></li>
<li>fix(index.d.ts): avoid weird issue where TypeScript 4.3.x and 4.4.x makes string extend Function <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10746">#10746</a></li>
<li>fix(index.d.ts): allow type: <code>SchemaTypeOptions[]</code> when defining schema <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10789">#10789</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Automattic/mongoose/commit/a7384400a7df87ef258fe596d151f9a82b12b32a"><code>a738440</code></a> chore: release 5.13.13</li>
<li><a href="https://github.com/Automattic/mongoose/commit/4d12a621ff95c3e7b3f835dcbea8e91425464aaf"><code>4d12a62</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10942">#10942</a> from jneal-afs/fix-query-set-ts-type</li>
<li><a href="https://github.com/Automattic/mongoose/commit/c3463c4d83cfd62f67b9c637266ce93e8fc6da97"><code>c3463c4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10916">#10916</a> from iovanom/gh-10902-v5</li>
<li><a href="https://github.com/Automattic/mongoose/commit/ff5ddb530b1378926b5753f58a566fae00b3c419"><code>ff5ddb5</code></a> fix: hardcode base 10 for nodeMajorVersion parseInt() call</li>
<li><a href="https://github.com/Automattic/mongoose/commit/d205c4d8a3560dd432eace40a0a5acf913726dd2"><code>d205c4d</code></a> make value optional</li>
<li><a href="https://github.com/Automattic/mongoose/commit/c6fd7f780a626535cddd3454b6f2a621ffb397a5"><code>c6fd7f7</code></a> Fix ts types for query set</li>
<li><a href="https://github.com/Automattic/mongoose/commit/22e9b3b15edfc94169a291019a9d760ff755cda3"><code>22e9b3b</code></a> [gh-10902 v5] Add node major version to utils</li>
<li><a href="https://github.com/Automattic/mongoose/commit/5468642ed2f8ebe5032e91a362f6ab4dafee9139"><code>5468642</code></a> [gh-10902 v5] Emit end event in before close</li>
<li><a href="https://github.com/Automattic/mongoose/commit/271bc60eecac064171de4cd24cc82cdc0b380ca5"><code>271bc60</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/10910">#10910</a> from lorand-horvath/patch-2</li>
<li><a href="https://github.com/Automattic/mongoose/commit/b7ebeecbf670ac6efd9b01f8ae1ff8f70c4fbd1d"><code>b7ebeec</code></a> Update mongodb driver to 3.7.3</li>
<li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/5.13.7...5.13.13">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongoose&package-manager=npm_and_yarn&previous-version=5.13.7&new-version=5.13.13)](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)


</details>
  • Loading branch information
dependabot[bot] authored Dec 6, 2021
1 parent 6368317 commit 37d7f25
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 9 deletions.
46 changes: 38 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"fastify-mongoose": "^0.3.0",
"grpc-js-health-check": "^1.0.2",
"it-pipe": "^1.1.0",
"mongoose": "^5.13.7",
"mongoose": "^5.13.13",
"node-nats-streaming": "^0.3.2",
"pino": "^6.13.3",
"selfsigned": "^1.10.11",
Expand Down

0 comments on commit 37d7f25

Please sign in to comment.