From 80fc5e86ffbd293bf9154be99319be68e601a3d2 Mon Sep 17 00:00:00 2001 From: Kim Gardner Date: Thu, 5 Jul 2018 14:27:20 -0400 Subject: [PATCH] Upgrade mongoose (#1734) * Upgrade Mongoose * Upgrade Mongoose 5.2.1 * Yarn --- package.json | 2 +- yarn.lock | 29 ++++++++++++++++++----------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index ff134d82fb..4e5534318e 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,7 @@ "metascraper-title": "^3.9.2", "minimist": "^1.2.0", "moment": "^2.18.1", - "mongoose": "^5.1.5", + "mongoose": "^5.2.1", "ms": "^2.0.0", "murmurhash-js": "^1.0.0", "name-all-modules-plugin": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index 996a4b6f2d..4c17f55e7c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7387,32 +7387,35 @@ moment@2.x.x, "moment@>= 2.9.0", moment@^2.10.3, moment@^2.10.6, moment@^2.15.2, version "2.22.2" resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66" -mongodb-core@3.0.8: - version "3.0.8" - resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-3.0.8.tgz#8d401f4eab6056c0d874a3d5844a4844f761d4d7" +mongodb-core@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-3.1.0.tgz#af91f36fd560ed785f4e61e694432df4d3698aad" dependencies: bson "~1.0.4" require_optional "^1.0.1" + optionalDependencies: + saslprep "^1.0.0" -mongodb@3.0.9: - version "3.0.9" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.0.9.tgz#742e685e45ac9c3ead02a91c9ebaae7165bb2def" +mongodb@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.1.0.tgz#20cd836381a4d8a6b1c5a194bb9c8dde852163bb" dependencies: - mongodb-core "3.0.8" + mongodb-core "3.1.0" mongoose-legacy-pluralize@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz#3ba9f91fa507b5186d399fb40854bff18fb563e4" -mongoose@^5.1.5: - version "5.1.5" - resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.1.5.tgz#0d0b4dc658deeb7ad9794af7453442ecf7fc7cb0" +mongoose@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.2.1.tgz#f49d730d2ccf23a07ffcf05ccc44e0dfc19d6e6a" dependencies: async "2.6.1" bson "~1.0.5" kareem "2.2.1" lodash.get "4.4.2" - mongodb "3.0.9" + mongodb "3.1.0" + mongodb-core "3.1.0" mongoose-legacy-pluralize "1.0.2" mpath "0.4.1" mquery "3.0.0" @@ -10111,6 +10114,10 @@ sanitize-html@~1.18.2: srcset "^1.0.0" xtend "^4.0.0" +saslprep@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.0.tgz#2c4968a0bfbf249530cd597bc62870ccd4b41a24" + sass-graph@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/sass-graph/-/sass-graph-2.2.4.tgz#13fbd63cd1caf0908b9fd93476ad43a51d1e0b49"