Socket
Socket
Sign inDemoInstall

mongodb-core

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-core - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

4

HISTORY.md

@@ -0,1 +1,5 @@

1.1.15 03-04-2015
-----------------
- Removed check for type in replset pickserver function.
1.1.14 02-26-2015

@@ -2,0 +6,0 @@ -----------------

2

lib/topologies/replset.js

@@ -737,4 +737,2 @@ "use strict";

var pickServer = function(self, s, readPreference) {
if(!(readPreference instanceof ReadPreference)
&& readPreference != null) throw new MongoError(f("readPreference %s must be an instance of ReadPreference", readPreference));
// If no read Preference set to primary by default

@@ -741,0 +739,0 @@ readPreference = readPreference || ReadPreference.primary;

{
"name": "mongodb-core",
"version": "1.1.14",
"version": "1.1.15",
"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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc