From 4e0c406639e935e891c8453c10db4860b3ff4b6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 22 Jul 2023 15:11:09 +0300 Subject: [PATCH] chore(deps): bump mongoose from 7.0.2 to 7.3.3 (#47) * chore(deps): bump mongoose from 7.0.2 to 7.3.3 Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.0.2 to 7.3.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](https://github.com/Automattic/mongoose/compare/7.0.2...7.3.3) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] * fix: toJSON test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: saisilinus --- src/modules/toJSON/toJSON.test.ts | 4 ++-- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/modules/toJSON/toJSON.test.ts b/src/modules/toJSON/toJSON.test.ts index 628b862..9b95d09 100644 --- a/src/modules/toJSON/toJSON.test.ts +++ b/src/modules/toJSON/toJSON.test.ts @@ -85,8 +85,8 @@ describe('toJSON plugin', () => { { toJSON: { transform: (_doc, ret) => { - // eslint-disable-next-line no-param-reassign - delete ret.private; + // eslint-disable-next-line no-param-reassign, @typescript-eslint/dot-notation + delete ret['private']; }, }, } diff --git a/yarn.lock b/yarn.lock index fdd34ac..6d3f7f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1896,10 +1896,10 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -bson@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/bson/-/bson-5.1.0.tgz#7b15cd9aa012b8bf9d320fbaefe15cc2fb657de2" - integrity sha512-FEecNHkhYRBe7X9KDkdG12xNuz5VHGeH6mCE0B5sBmYtiR/Ux/9vUH/v4NUoBCDr6NuEhvahjoLiiRogptVW0A== +bson@^5.3.0: + version "5.4.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-5.4.0.tgz#0eea77276d490953ad8616b483298dbff07384c6" + integrity sha512-WRZ5SQI5GfUuKnPTNmAYPiKIof3ORXAF4IRU5UcgmivNIon01rWQlw5RUH954dpu8yGL8T59YShVddIPaU/gFA== buffer-equal-constant-time@1.0.1: version "1.0.1" @@ -5383,25 +5383,25 @@ mongodb-connection-string-url@^2.6.0: "@types/whatwg-url" "^8.2.1" whatwg-url "^11.0.0" -mongodb@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-5.1.0.tgz#e551f9e496777bde9173e51d16c163ab2c805b9d" - integrity sha512-qgKb7y+EI90y4weY3z5+lIgm8wmexbonz0GalHkSElQXVKtRuwqXuhXKccyvIjXCJVy9qPV82zsinY0W1FBnJw== +mongodb@5.6.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-5.6.0.tgz#caff5278341bfc0f1ef6f394bb403d207de03d1e" + integrity sha512-z8qVs9NfobHJm6uzK56XBZF8XwM9H294iRnB7wNjF0SnY93si5HPziIJn+qqvUR5QOff/4L0gCD6SShdR/GtVQ== dependencies: - bson "^5.0.1" + bson "^5.3.0" mongodb-connection-string-url "^2.6.0" socks "^2.7.1" optionalDependencies: saslprep "^1.0.3" mongoose@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-7.0.2.tgz#679df6bae18abb7a27f412c4e9e7285363cd07eb" - integrity sha512-whX+5lAOLOs6VXRr9w+6m5qb8m/IXWLLb9+0/HRUh2TiIYtTt7UvajK92zW6wllCjBkrrnz/MDIOTCWMbs8K4g== + version "7.3.3" + resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-7.3.3.tgz#4e9cce706d3c5628998f59875c5c2d60ee0c6d9c" + integrity sha512-g4NrRGIUEUYLeScaSChQR8i4Dlk9lR0UJzkK3r6TPJyqJ6ZWdRVP3oXfOG9Yn+hNeKcCJKfVEHo+jsU1rh3YTA== dependencies: - bson "^5.0.1" + bson "^5.3.0" kareem "2.5.1" - mongodb "5.1.0" + mongodb "5.6.0" mpath "0.9.0" mquery "5.0.0" ms "2.1.3"