Skip to content

Conversation

@487c
Copy link
Owner

@487c 487c commented Nov 3, 2024

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.7.0 to 8.7.1.

ℹ️ 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 1 version ahead of your current version.

  • The recommended version was released on 25 days ago.

Release notes
Package name: mongoose
  • 8.7.1 - 2024-10-09

    8.7.1 / 2024-10-09

    • fix: set flattenObjectIds to false when calling toObject() for internal purposes #14938
    • fix: add mongodb 8 to test matrix #14937
    • fix: handle buffers stored in MongoDB as EJSON representation with { $binary } #14932
    • docs: indicate that Mongoose 8.7 is required for full MongoDB 8 support #14937
  • 8.7.0 - 2024-09-27

    8.7.0 / 2024-09-27

    • feat(model): add Model.applyVirtuals() to apply virtuals to a POJO #14905 #14818
    • feat: upgrade mongodb -> 6.9.0 #14914
    • feat(query): cast $rename to string #14887 #3027
    • feat(SchemaType): add getEmbeddedSchemaType() method to SchemaTypes #14880 #8389
    • fix(model): throw MongooseBulkSaveIncompleteError if bulkSave() didn't completely succeed #14884 #14763
    • fix(connection): avoid returning readyState = connected if connection state is stale #14812 #14727
    • fix: depopulate if push() or addToSet() with an ObjectId on a populated array #14883 #1635
    • types: make __v a number, only set __v on top-level documents #14892
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade mongoose from 8.7.0 to 8.7.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr
@487c 487c self-assigned this Nov 3, 2024
@487c 487c merged commit 2c21ecd into main Nov 25, 2024
@487c 487c deleted the snyk-upgrade-7e29a7e7f92fad78732053a0282edffa branch November 25, 2024 20:56
487c added a commit that referenced this pull request Nov 25, 2024
* fixing swagger (#49)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: upgrade mongoose from 8.7.0 to 8.7.1 (#50)

Snyk has created this PR to upgrade mongoose from 8.7.0 to 8.7.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#52)

Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](eslint/rewrite@core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade winston from 3.15.0 to 3.16.0 (#53)

Snyk has created this PR to upgrade winston from 3.15.0 to 3.16.0.

See this package in npm:
winston

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump cookie and express (#55)

Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

Updates `express` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@v5.0.0...5.0.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cross-spawn from 7.0.3 to 7.0.6 (#54)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Dev (#56)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

* fixing readme

* remove log entry

* first changes deck

* adding name and description for course infos

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
487c added a commit that referenced this pull request Jan 4, 2025
* fixing swagger (#49)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: upgrade mongoose from 8.7.0 to 8.7.1 (#50)

Snyk has created this PR to upgrade mongoose from 8.7.0 to 8.7.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#52)

Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](eslint/rewrite@core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade winston from 3.15.0 to 3.16.0 (#53)

Snyk has created this PR to upgrade winston from 3.15.0 to 3.16.0.

See this package in npm:
winston

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump cookie and express (#55)

Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

Updates `express` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@v5.0.0...5.0.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cross-spawn from 7.0.3 to 7.0.6 (#54)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Dev (#56)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

* fixing readme

* remove log entry

* first changes deck

* adding name and description for course infos

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
487c added a commit that referenced this pull request Jan 4, 2025
* fixing swagger (#49)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: upgrade mongoose from 8.7.0 to 8.7.1 (#50)

Snyk has created this PR to upgrade mongoose from 8.7.0 to 8.7.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#52)

Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](eslint/rewrite@core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade winston from 3.15.0 to 3.16.0 (#53)

Snyk has created this PR to upgrade winston from 3.15.0 to 3.16.0.

See this package in npm:
winston

See this project in Snyk:
https://app.snyk.io/org/waffelmeister/project/56f35576-c468-4c70-a1f0-81d2dec18a60?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* Bump cookie and express (#55)

Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

Updates `express` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@v5.0.0...5.0.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cross-spawn from 7.0.3 to 7.0.6 (#54)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Dev (#56)

* test

* remove fake todos

* first todo

* adding read script metadata

* first upload

* update action and paths

* start error codes

* fix path

* cleaning up server

* improve logger

* update and improve error logging

* adding coverage

* throwing errors

* updatea ction

* todo_to_issue.yml aktualisieren

* es linting

* action and setting upconfig / npm

* update config

* fix eslintconfig

* test coverage #1

* shores, improve tests and extend functions

* new route for file, fixing tests

* patching and adding models

* adding folder for coverage

* adding descritpion for id

* adding create folder

* adding build infos and restructure models

* more tests

* parsing script

* change path for script

* patch schema

* tests for script and adding cards for demo

* card actions, script test etc.

* todos aufnehmen

* adding get user login

* adding user function

* fix dockerfile

* fixing docker postinstall

* updatetypes

* updated mongoose-to-swagger connection

* fixing test

* cleanup

* remove patch-package

* fixing broken objects in mongoose-to-swagger

* removing patches

* changes in lockfile

* update package-lock

* changes to cards and deck

* fixing scripts. test, script

* change insertion etc

* change file insert test todo

* Automatically added GitHub issue links to TODOs

* update packages

* changing user modifications and stuff

* changed settings and error message for test

* update of files

* fix path reduced course

* fixing schemas

* tests, test, test

* remove logging with tests

* schemas and middlewares

* schema api

* adding card functions and paths / demo data / todos

* Automatically added GitHub issue links to TODOs

* replacing login with mail and password

* fixing swagger

* fixing readme

* remove log entry

* first changes deck

* adding name and description for course infos

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants