Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-legacy

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-legacy - npm Package Compare versions

Comparing version 6.1.2 to 6.1.3

2

package.json
{
"name": "mongodb-legacy",
"description": "The legacy MongoDB driver with callback support for Node.js",
"version": "6.1.2",
"version": "6.1.3",
"files": [

@@ -6,0 +6,0 @@ "src",

@@ -28,11 +28,14 @@ 'use strict';

explain(verbosity, callback) {
explain(verbosity, options, callback) {
callback =
typeof callback === 'function'
? callback
: typeof verbosity === 'function'
? verbosity
: undefined;
: typeof options === 'function'
? options
: typeof verbosity === 'function'
? verbosity
: undefined;
options = typeof options !== 'function' ? options : undefined;
verbosity = typeof verbosity !== 'function' ? verbosity : undefined;
return maybeCallback(super.explain(verbosity), callback);
return maybeCallback(super.explain(verbosity, options), callback);
}

@@ -184,11 +187,14 @@

class LegacyAggregationCursor extends baseClass {
explain(verbosity, callback) {
explain(verbosity, options, callback) {
callback =
typeof callback === 'function'
? callback
: typeof verbosity === 'function'
? verbosity
: undefined;
: typeof options === 'function'
? options
: typeof verbosity === 'function'
? verbosity
: undefined;
options = typeof options !== 'function' ? options : undefined;
verbosity = typeof verbosity !== 'function' ? verbosity : undefined;
return maybeCallback(super.explain(verbosity), callback);
return maybeCallback(super.explain(verbosity, options), callback);
}

@@ -195,0 +201,0 @@

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