Update Mongoose and Mongodb versions (#12)

* Update Mongoose, Mongo, and Node versions
This commit is contained in:
João Luiz 2020-08-07 07:05:46 -03:00 committed by GitHub
parent 3bf40990ae
commit ccddc93fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 12 deletions

29
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "shorturl",
"version": "0.0.2",
"version": "0.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -282,7 +282,7 @@
"mongodb": {
"version": "3.5.9",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.5.9.tgz",
"integrity": "sha512-vXHBY1CsGYcEPoVWhwgxIBeWqP3dSu9RuRDsoLRPTITrcrgm1f0Ubu1xqF9ozMwv53agmEiZm0YGo+7WL3Nbug==",
"integrity": "sha1-eZtyvoEQt+caiCu3zg2E0FQp93I=",
"requires": {
"bl": "^2.2.0",
"bson": "^1.1.4",
@ -293,13 +293,13 @@
}
},
"mongoose": {
"version": "5.9.22",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.9.22.tgz",
"integrity": "sha512-nwH2LwrGN/jR0Qi8TqSog0MWZRtxdpQxVFcPNjs+CUyCMaxKqFJYrkPILTPKPMMzwrAv1cCQqrvoLl+ggklvbg==",
"version": "5.9.27",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.9.27.tgz",
"integrity": "sha512-N8zj4pj9J2xJ2BnQ4NiIHEtmjPldtbmbEZOMz4phLTQr3KFWPR0T0I6EzQxNioHwmDbHD4VFzbEd755oD2SJxA==",
"requires": {
"bson": "^1.1.4",
"kareem": "2.3.1",
"mongodb": "3.5.9",
"mongodb": "3.5.10",
"mongoose-legacy-pluralize": "1.0.2",
"mpath": "0.7.0",
"mquery": "3.2.2",
@ -310,15 +310,28 @@
"sliced": "1.0.1"
},
"dependencies": {
"mongodb": {
"version": "3.5.10",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.5.10.tgz",
"integrity": "sha512-p/C48UvTU/dr/PQEDKfb9DsCVDJWXGmdJNFC+u5FPmTQVtog69X6D8vrWHz+sJx1zJnd96sjdh9ueo7bx2ILTw==",
"requires": {
"bl": "^2.2.0",
"bson": "^1.1.4",
"denque": "^1.4.1",
"require_optional": "^1.0.1",
"safe-buffer": "^5.1.2",
"saslprep": "^1.0.0"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
"integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk="
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
"integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY="
}
}
},

View File

@ -1,6 +1,6 @@
{
"name": "shorturl",
"version": "0.0.2",
"version": "0.0.3",
"description": "API project for freeCodeCamp",
"main": "server.js",
"scripts": {
@ -8,13 +8,13 @@
},
"dependencies": {
"express": "^4.17.1",
"mongodb": "^3.3.3",
"mongoose": "^5.7.7",
"mongodb": "^3.5.9",
"mongoose": "^5.9.27",
"cors": "^2.8.5",
"body-parser": "^1.19.0"
},
"engines": {
"node": "10.17.0"
"node": "12.18.3"
},
"repository": {
"type": "git",