From fa32d663ca6cfd256213421b974917f646340d75 Mon Sep 17 00:00:00 2001 From: Ajay Sabhaney Date: Tue, 7 Aug 2018 13:58:08 -0400 Subject: [PATCH] Update mongoose dependency --- package-lock.json | 108 ++++++++++++++++++++++++---------------------- package.json | 12 +++--- 2 files changed, 62 insertions(+), 58 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6aceda3..310edfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "socket.io-adapter-mongo", - "version": "0.0.3", + "name": "@mother/socket.io-adapter-mongo", + "version": "0.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -95,6 +95,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/async/-/async-2.1.4.tgz", "integrity": "sha1-LSFgx3iAMuTdbL4lAvH5osj2zeQ=", + "dev": true, "requires": { "lodash": "^4.14.0" } @@ -191,8 +192,7 @@ "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==", - "dev": true + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, "brace-expansion": { "version": "1.1.11", @@ -211,9 +211,9 @@ "dev": true }, "bson": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/bson/-/bson-1.0.6.tgz", - "integrity": "sha512-D8zmlb46xfuK2gGvKmUjIklQEouN2nQ0LEHHeZ/NoHM2LDiMk2EYzZ5Ntw/Urk+bgMDosOZxaRzXxvhI5TcAVQ==" + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-1.0.9.tgz", + "integrity": "sha512-IQX9/h7WdMBIW/q/++tGd+emQr0XMdeZ6icnT/74Xk9fnabWn+gZgpE+9V+gujL3hhJOoNrnDVY7tWdzc7NUTg==" }, "buffer": { "version": "3.6.0", @@ -922,9 +922,9 @@ } }, "kareem": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.1.0.tgz", - "integrity": "sha512-ycoMY1tVkcH1/NaxGn2erZaUC3CodmX7Fl6DUVXjN73+uecWYTaaldRkxNY3HeSKQnQTWnoxRKnZfVHcB8tIWg==" + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.2.1.tgz", + "integrity": "sha512-xpDFy8OxkFM+vK6pXy6JmH92ibeEFUuDWzas5M9L7MzVmHW3jzwAHxodCPV/BYkf4A31bVDLyonrMfp9RXb/oA==" }, "lcid": { "version": "1.0.0", @@ -938,7 +938,8 @@ "lodash": { "version": "4.17.4", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true }, "lodash._baseassign": { "version": "3.2.0", @@ -1154,20 +1155,21 @@ } }, "mongodb": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.0.8.tgz", - "integrity": "sha512-mj7yIUyAr9xnO2ev8pcVJ9uX7gSum5LLs1qIFoWLxA5Il50+jcojKtaO1/TbexsScZ9Poz00Pc3b86GiSqJ7WA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.1.1.tgz", + "integrity": "sha512-GU9oWK4pi8PC7NyGiwjFMwZyMqwGWoMEMvM0LZh7UKW/FFAqgmZKjjriD+5MEOCDUJE2dtHX93/K5UtDxO0otg==", "requires": { - "mongodb-core": "3.0.8" + "mongodb-core": "3.1.0" } }, "mongodb-core": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/mongodb-core/-/mongodb-core-3.0.8.tgz", - "integrity": "sha512-dFxfhH9N7ohuQnINyIl6dqEF8sYOE0WKuymrFf3L3cipJNrx+S8rAbNOTwa00/fuJCjBMJNFsaA+R2N16//UIw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mongodb-core/-/mongodb-core-3.1.0.tgz", + "integrity": "sha512-qRjG62Fu//CZhkgn0jA/k8jh5MhACIq8cOJUryH6sck87pgt+C222MSD02tsCq5zNo/B6ZFHtNodZ2qpf8E86g==", "requires": { "bson": "~1.0.4", - "require_optional": "^1.0.1" + "require_optional": "^1.0.1", + "saslprep": "^1.0.0" } }, "mongodb-download": { @@ -1222,21 +1224,37 @@ } }, "mongoose": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.1.3.tgz", - "integrity": "sha512-v+hHI/NxJtcVPm2cY+/kJfTfkkXVCz/le0iVdnh3enGi+fClhoaztjTtXQMdzIzNc+M0R93KcARpzvPQq/cWKQ==", + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.2.7.tgz", + "integrity": "sha512-LI3V/mYj3SHy29dUQvbmS8tKeDS5Ljm1LIfiyCIPNX10KxzDfMQYgh92Umzb6lV6Z/MayKy2HtpNTYHzDU+6xw==", "requires": { - "async": "2.1.4", + "async": "2.6.1", "bson": "~1.0.5", - "kareem": "2.1.0", + "kareem": "2.2.1", "lodash.get": "4.4.2", - "mongodb": "3.0.8", + "mongodb": "3.1.1", + "mongodb-core": "3.1.0", "mongoose-legacy-pluralize": "1.0.2", "mpath": "0.4.1", - "mquery": "3.0.0", + "mquery": "3.1.2", "ms": "2.0.0", "regexp-clone": "0.0.1", "sliced": "1.0.1" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "requires": { + "lodash": "^4.17.10" + } + }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + } } }, "mongoose-legacy-pluralize": { @@ -1250,34 +1268,14 @@ "integrity": "sha512-NNY/MpBkALb9jJmjpBlIi6GRoLveLUM0pJzgbp9vY9F7IQEb/HREC/nxrixechcQwd1NevOhJnWWV8QQQRE+OA==" }, "mquery": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.0.0.tgz", - "integrity": "sha512-WL1Lk8v4l8VFSSwN3yCzY9TXw+fKVYKn6f+w86TRzOLSE8k1yTgGaLBPUByJQi8VcLbOdnUneFV/y3Kv874pnQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.1.2.tgz", + "integrity": "sha512-rBo2+eShI/Ko/GFzXMvJvYjzeLRW3P7E4NllAGRyNO90Xw5awo5RI3zCqzuJWe1NSvdL7cGu3RPLuGjZ1TmnmA==", "requires": { - "bluebird": "3.5.0", - "debug": "2.6.9", + "bluebird": "3.5.1", + "debug": "3.1.0", "regexp-clone": "0.0.1", - "sliced": "0.0.5" - }, - "dependencies": { - "bluebird": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz", - "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw=" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "sliced": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/sliced/-/sliced-0.0.5.tgz", - "integrity": "sha1-XtwETKTrb3gW1Qui/GPiXY/kcH8=" - } + "sliced": "1.0.1" } }, "ms": { @@ -1545,6 +1543,12 @@ "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", "dev": true }, + "saslprep": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.1.tgz", + "integrity": "sha512-ntN6SbE3hRqd45PKKadRPgA+xHPWg5lPSj2JWJdJvjTwXDDfkPVtXWvP8jJojvnm+rAsZ2b299C5NwZqq818EA==", + "optional": true + }, "seek-bzip": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", diff --git a/package.json b/package.json index 4e9728c..913fe08 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mother/socket.io-adapter-mongo", - "version": "0.0.3", + "version": "0.0.4", "description": "socket.io adapter for MongoDB", "license": "MIT", "repository": { @@ -24,17 +24,17 @@ }, "dependencies": { "debug": "~3.1.0", - "mongoose": "5.1.3", + "mongoose": "^5.1.3", "notepack.io": "2.1.3", "socket.io-adapter": "~1.1.1", "uid2": "0.0.3" }, "devDependencies": { - "expect.js": "0.3.1", + "expect.js": "~0.3.1", "mocha": "~3.4.2", - "mockgoose": "7.3.3", - "socket.io": "2.1.0", - "socket.io-client": "2.1.0" + "mockgoose": "~7.3.3", + "socket.io": "~2.1.0", + "socket.io-client": "~2.1.0" }, "bugs": { "url": "https://github.com/mother/socket.io-adapter-mongo/issues"