You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

mongodb-core

Package Overview
Dependencies
Maintainers
3
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.10 to 3.1.11

10

HISTORY.md

@@ -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)

4

lib/wireprotocol/2_6_support.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc