mongodb-core
Advanced tools
Comparing version 3.1.10 to 3.1.11
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="3.1.11"></a> | ||
## [3.1.11](https://github.com/mongodb-js/mongodb-core/compare/v3.1.10...v3.1.11) (2019-01-16) | ||
### Bug Fixes | ||
* **wire-protocol:** don't allow override of `slaveOk` ([8fcef69](https://github.com/mongodb-js/mongodb-core/commit/8fcef69)) | ||
<a name="3.1.10"></a> | ||
@@ -7,0 +17,0 @@ ## [3.1.10](https://github.com/mongodb-js/mongodb-core/compare/v3.1.9...v3.1.10) (2019-01-15) |
@@ -133,3 +133,2 @@ 'use strict'; | ||
command: true, | ||
slaveOk: readPreference.slaveOk(), | ||
numberToSkip: 0, | ||
@@ -142,2 +141,5 @@ numberToReturn: -1, | ||
// This value is not overridable | ||
commandOptions.slaveOk = readPreference.slaveOk(); | ||
try { | ||
@@ -144,0 +146,0 @@ const query = new Query(bson, `${databaseNamespace(ns)}.$cmd`, finalCmd, commandOptions); |
@@ -174,3 +174,2 @@ 'use strict'; | ||
command: true, | ||
slaveOk: readPreference.slaveOk(), | ||
numberToSkip: 0, | ||
@@ -183,2 +182,5 @@ numberToReturn: -1, | ||
// This value is not overridable | ||
commandOptions.slaveOk = readPreference.slaveOk(); | ||
try { | ||
@@ -185,0 +187,0 @@ const query = new Query(bson, `${databaseNamespace(ns)}.$cmd`, finalCmd, commandOptions); |
{ | ||
"name": "mongodb-core", | ||
"version": "3.1.10", | ||
"version": "3.1.11", | ||
"description": "Core MongoDB driver functionality, no bells and whistles and meant for integration not end applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
603917
14983