codeclannigeria / codeclannigeria-backend

The official website API for Code Clan Nigeria (CCN) community
https://codeclannigeria-api.herokuapp.com/api/
MIT License
12 stars 12 forks source link

chore(deps): bump mongoose from 5.10.10 to 5.12.14 #271

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps mongoose from 5.10.10 to 5.12.14.

Changelog

Sourced from mongoose's changelog.

5.12.14 / 2021-06-15

  • fix(schema): check that schema type is an object when setting isUnderneathDocArray #10361 vmo-khanus
  • fix(document): avoid infinite recursion when setting single nested subdoc to array #10351
  • fix(populate): allow populating nested path in schema using Model.populate() #10335
  • fix(drivers): emit operation-start/operation-end events to allow inspecting when operations start and end
  • fix(index.d.ts): improve typings for virtuals #10350 thiagokisaki
  • fix(index.d.ts): correct constructor type for Document #10328
  • fix(index.d.ts): add ValidationError as a possible type for ValidationError#errors #10320 IslandRhythms
  • fix: remove unnecessary async devDependency that's causing npm audit warnings #10281
  • docs(typescript): add schemas guide #10308
  • docs(model): add options parameter description to Model.exists() #10336 Aminoiz

5.12.13 / 2021-06-04

  • perf(document): avoid creating nested paths when running $getAllSubdocs() #10275
  • fix: make returnDocument option work with findOneAndUpdate() #10232 #10231 cnwangjie
  • fix(document): correctly reset subdocument when resetting a map subdocument underneath a single nested subdoc after save #10295
  • perf(query): avoid setting non-null sessions to avoid overhead from $getAllSubdocs() #10275
  • perf(document): pre split schematype paths when compiling schema to avoid extra overhead of splitting when hydrating documents #10275
  • perf(schema): pre-calculate mapPaths to avoid looping over every path for each path when initing doc #10275
  • fix(index.d.ts): drill down into nested arrays when creating LeanDocument type #10293

5.12.12 / 2021-05-28

5.12.11 / 2021-05-24

  • fix(populate): skip applying setters when casting arrays for populate() to avoid issues with arrays of immutable elements #10264
  • perf(schematype): avoid cloning setters every time we run setters #9588
  • perf(get): add benchmarks and extra cases to speed up get() #9588
  • perf(array): improve array constructor performance on small arrays to improve nested array perf #9588
  • fix(index.d.ts): allow using type: [String] with string[] when using SchemaDefinition with generic #10261
  • fix(index.d.ts): support ReadonlyArray as well as regular array where possible in schema definitions #10260
  • docs(connection): document noListener option to useDb #10278 stuartpb
  • docs: migrate raw tutorial content from pug / JS to markdown #10271
  • docs: fix typo #10269 sanjib

5.12.10 / 2021-05-18

  • fix(query): allow setting defaults option on result documents from query options #7287 IslandRhythms
  • fix(populate): handle populating embedded discriminator with custom tiedValue #10231
  • fix(document): allow passing space-delimited string of pathsToValidate to validate() and validateSync() #10258
  • fix(model+schema): support loadClass() on classes that have collection as a static property #10257 #10254 IslandRhythms
  • fix(SchemaArrayOptions): correct property name #10236
  • fix(index.d.ts): add any to all query operators to minimize likelihood of "type instantiation is excessively deep" when querying docs with 4-level deep subdocs #10189
  • fix(index.d.ts): add $parent() in addition to parent() in TS definitions

... (truncated)

Commits


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[bot] commented 3 years ago

Superseded by #272.