diff --git a/package-lock.json b/package-lock.json index 8016a6d6fa..5d809d2c95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "celebrate": "^15.0.1", "compression": "~1.7.2", "connect-datadog": "0.0.9", - "connect-mongo": "^4.4.1", + "connect-mongo": "~4.6.0", "convict": "^6.2.4", "convict-format-with-validator": "^6.2.0", "cookie-parser": "~1.4.6", @@ -9803,22 +9803,18 @@ } }, "node_modules/connect-mongo": { - "version": "4.4.1", - "license": "MIT", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/connect-mongo/-/connect-mongo-4.6.0.tgz", + "integrity": "sha512-8new4Z7NLP3CGP65Aw6ls3xDBeKVvHRSh39CXuDZTQsvpeeU9oNMzfFgvqmHqZ6gWpxIl663RyoVEmCAGf1yOg==", "dependencies": { "debug": "^4.3.1", - "kruptein": "^3.0.0", - "mongodb": "3.6.5" + "kruptein": "^3.0.0" }, "engines": { "node": ">=10" - } - }, - "node_modules/connect-mongo/node_modules/bson": { - "version": "1.1.6", - "license": "Apache-2.0", - "engines": { - "node": ">=0.6.19" + }, + "peerDependencies": { + "mongodb": "^4.1.0" } }, "node_modules/connect-mongo/node_modules/debug": { @@ -9836,43 +9832,6 @@ } } }, - "node_modules/connect-mongo/node_modules/mongodb": { - "version": "3.6.5", - "license": "Apache-2.0", - "dependencies": { - "bl": "^2.2.1", - "bson": "^1.1.4", - "denque": "^1.4.1", - "require_optional": "^1.0.1", - "safe-buffer": "^5.1.2" - }, - "engines": { - "node": ">=4" - }, - "optionalDependencies": { - "saslprep": "^1.0.0" - }, - "peerDependenciesMeta": { - "aws4": { - "optional": true - }, - "bson-ext": { - "optional": true - }, - "kerberos": { - "optional": true - }, - "mongodb-client-encryption": { - "optional": true - }, - "mongodb-extjson": { - "optional": true - }, - "snappy": { - "optional": true - } - } - }, "node_modules/console-browserify": { "version": "1.2.0", "dev": true @@ -24036,14 +23995,6 @@ "uuid": "bin/uuid" } }, - "node_modules/require_optional": { - "version": "1.0.1", - "license": "Apache-2.0", - "dependencies": { - "resolve-from": "^2.0.0", - "semver": "^5.1.0" - } - }, "node_modules/require-at": { "version": "1.0.6", "license": "Apache-2.0", @@ -24169,13 +24120,6 @@ "node": ">=0.10.0" } }, - "node_modules/resolve-from": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/resolve-url": { "version": "0.2.1", "dev": true, @@ -36438,32 +36382,19 @@ } }, "connect-mongo": { - "version": "4.4.1", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/connect-mongo/-/connect-mongo-4.6.0.tgz", + "integrity": "sha512-8new4Z7NLP3CGP65Aw6ls3xDBeKVvHRSh39CXuDZTQsvpeeU9oNMzfFgvqmHqZ6gWpxIl663RyoVEmCAGf1yOg==", "requires": { "debug": "^4.3.1", - "kruptein": "^3.0.0", - "mongodb": "3.6.5" + "kruptein": "^3.0.0" }, "dependencies": { - "bson": { - "version": "1.1.6" - }, "debug": { "version": "4.3.1", "requires": { "ms": "2.1.2" } - }, - "mongodb": { - "version": "3.6.5", - "requires": { - "bl": "^2.2.1", - "bson": "^1.1.4", - "denque": "^1.4.1", - "require_optional": "^1.0.1", - "safe-buffer": "^5.1.2", - "saslprep": "^1.0.0" - } } } }, @@ -46158,13 +46089,6 @@ } } }, - "require_optional": { - "version": "1.0.1", - "requires": { - "resolve-from": "^2.0.0", - "semver": "^5.1.0" - } - }, "require-at": { "version": "1.0.6" }, @@ -46249,9 +46173,6 @@ } } }, - "resolve-from": { - "version": "2.0.0" - }, "resolve-url": { "version": "0.2.1", "dev": true diff --git a/package.json b/package.json index 2eb45d9e27..7fca61120e 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "celebrate": "^15.0.1", "compression": "~1.7.2", "connect-datadog": "0.0.9", - "connect-mongo": "^4.4.1", + "connect-mongo": "~4.6.0", "convict": "^6.2.4", "convict-format-with-validator": "^6.2.0", "cookie-parser": "~1.4.6",