New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

mongodb-connection-model

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-connection-model - npm Package Compare versions

Comparing version

to
3.0.3

@@ -258,2 +258,4 @@ var toURL = require('url').format;

var KERBEROS_SERVICE_NAME_DEFAULT = 'mongodb';
/**

@@ -434,2 +436,3 @@ * ### `authentication = LDAP`

port: this.port,
pathname: '/',
query: {

@@ -444,5 +447,5 @@ slaveOk: 'true'

} else if (this.authentication === 'KERBEROS') {
req.pathname = 'kerberos';
req.pathname = '/kerberos';
defaults(req.query, {
gssapiServiceName: this.kerberos_service_name,
gssapiServiceName: this.kerberos_service_name || KERBEROS_SERVICE_NAME_DEFAULT,
authMechanism: this.driver_auth_mechanism

@@ -712,2 +715,3 @@ });

Connection.SSL_DEFAULT = SSL_DEFAULT;
Connection.KERBEROS_SERVICE_NAME_DEFAULT = KERBEROS_SERVICE_NAME_DEFAULT;

@@ -714,0 +718,0 @@ var ConnectionCollection = AmpersandCollection.extend({

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/mongodb-connection-model",
"version": "3.0.2",
"version": "3.0.3",
"repository": {

@@ -47,4 +47,4 @@ "type": "git",

"backoff": "^2.4.1",
"mongodb": "^2.0.46"
"mongodb": "^2.0.47"
}
}