jaylenw / nota

Backend for AngularJSTodoApp, IonicTodoApp, & ElectronTodoApp. Create and Archive Notes in this back-end application providing RESTful APIs designed to be use with a front-end application. Archived on 2023/11/26.
https://nota.jaylenwimbish.com/
MIT License
1 stars 1 forks source link

[Snyk] Upgrade mongoose from 6.4.6 to 6.6.2 #387

Closed jaylenw closed 2 years ago

jaylenw commented 2 years ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongoose from 6.4.6 to 6.6.2.

: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 **10 versions** ahead of your current version. - The recommended version was released **4 days ago**, on 2022-09-26.
Release notes
Package name: mongoose
  • 6.6.2 - 2022-09-26

    6.6.2 / 2022-09-26

    • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
    • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
    • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
    • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
    • fix(types): add sanitizeFilter to types #12465 zrosenbauer
    • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
    • docs(validation): add section on global schematype validation, clean up other issues #12430
    • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
    • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey
  • 6.6.1 - 2022-09-14

    6.6.1 / 2022-09-14

    • fix: correctly apply defaults after subdoc init #12328
    • fix(array): avoid using default _id when using pull() #12294
    • fix: allow null values inside $expr objects #12429 MartinDrost
    • fix(query): use correct Query constructor when cloning query #12418
    • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey
  • 6.6.0 - 2022-09-08

    6.6.0 / 2022-09-08

    • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
    • feat: re-export default Mongoose instance properties for ESM named imports support #12256
    • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
    • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
    • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
    • feat(types): add types for new $densify operator #12118 IslandRhythms
  • 6.5.5 - 2022-09-07

    6.5.5 / 2022-09-07

    • fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
    • fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
    • fix(types): add string "ascending" and "descending" index-directions #10269
    • docs: upgrade dox to 1.0.0 #12403 hasezoey
    • docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
    • docs: update JSDOC ... (spread) definition #12388 hasezoey
    • refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez
  • 6.5.4 - 2022-08-30

    6.5.4 / 2022-08-30

    • fix(document): allow calling $assertPopulated() with values to better support manual population #12233
    • fix(connection+mongoose): better handling for calling model() with 1 argument #12359
    • fix(model): allow defining discriminator virtuals and methods using schema options #12326
    • fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
    • fix(types): fix replaceOne return type #12351 lpizzinidev
    • fix(types): use this for return type from $assertPopulated() #12234
    • docs: highlight how to connect using auth in README #12354 AntonyOnScript
    • docs: improve jsdoc comments for private methods #12337 hasezoey
    • docs: fix minor typo in compatibility table header #12355 skyme5
  • 6.5.3 - 2022-08-25
    Read more
  • 6.5.2 - 2022-08-10

    6.5.2 / 2022-08-09

    • fix(aggregate): avoid throwing error when disconnecting with change stream open #12201 ramos-ph
    • fix(query): overwrite top-level key if using Query.prototype.set() to set to undefined #12155
    • fix(query): shallow clone options before modifying #12176
    • fix(types): auto schema type inference on Connection.prototype.model() #12240 hasezoey
    • fix(types): better typescript support for schema plugins #12139 emiljanitzek
    • fix(types): make bulkWrite() type param optional #12221 #12212
    • docs: misc cleanup #12199 hasezoey
    • docs: highlight current top-most visible header in navbar #12222 hasezoey
    • docs(populate): improve examples for Document.prototype.populate() #12111
    • docs(middleware): clarify document vs model in middleware docs #12113
  • 6.5.1 - 2022-08-03
    Read more
  • 6.5.0 - 2022-07-26
    Read more
  • 6.4.7 - 2022-07-25
  • 6.4.6 - 2022-07-20
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 17785a5 chore: release 6.6.2
  • 88ba7a1 Merge pull request #12464 from Automattic/vkarpov15/gh-12319
  • 55112dc Merge pull request #12471 from hasezoey/addNamesToFunctions
  • f58a320 style: add names to previously anonymous hook functions
  • 8b9b164 style(document): update adding query hooks to use functions instead of arrow
  • 5d24d0f style(clearValidating): add name to previously anonymous plugin function
  • a792dc3 Merge pull request #12470 from hasezoey/addNamesToPlugins
  • d08cd47 style: add names to previously anonymous plugin functions
  • f50ec33 Merge pull request #12466 from Automattic/vkarpov15/gh-12430
  • 4fcf0a5 Update test/docs/validation.test.js
  • e6ac7e8 Merge pull request #12465 from zrosenbauer/chore/add-sanitizeFilter-to-types
  • 8a63b6a Merge pull request #12467 from lpizzinidev/fix-ignore-select
  • 3437840 Add test
  • cd7e76b Update types/index.d.ts
  • e505b1f fix(query): select: false was ignored for Map
  • aded5aa test: fix tests
  • f0dafea docs(validation): add section on global schematype validation, clean up other issues
  • 6153970 Merge pull request #12463 from Automattic/vkarpov15/gh-12242
  • 11226d5 typo
  • f365ff9 rm spaces
  • bd83cb9 Add `sanitizeFilter` to types
  • b59cbed fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type
  • bb06027 fix(types): infer number enum types from schema if using `enum: [0, 1] as const`
  • 69c99d2 Merge pull request #12447 from Tzvika-m/patch-1
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](https://app.snyk.io/org/jaylenw/project/f413ac21-ad2b-4480-8fab-c5b2cecd3fac?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/jaylenw/project/f413ac21-ad2b-4480-8fab-c5b2cecd3fac/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/jaylenw/project/f413ac21-ad2b-4480-8fab-c5b2cecd3fac/settings/integration?pkg=mongoose&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build #1224


Totals Coverage Status
Change from base Build #1218: 0.0%
Covered Lines: 222
Relevant Lines: 280

💛 - Coveralls