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

mongodb-explain-plan-model

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-explain-plan-model - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

lib/index.js

@@ -56,3 +56,6 @@ var Model = require('ampersand-model');

var ixscan = this.findStageByName('IXSCAN');
return !ixscan.parent || ixscan.parent.stage !== 'FETCH';
if (!ixscan) {
return false;
}
return !ixscan.parentName || ixscan.parentName !== 'FETCH';
}

@@ -59,0 +62,0 @@ },

2

lib/stage-iteration.js

@@ -34,3 +34,3 @@ var each = require('lodash.foreach');

each(children, function(child) {
child.parent = stage;
child.parentName = stage.stage;
stageStack.push(child);

@@ -37,0 +37,0 @@ });

{
"name": "mongodb-explain-plan-model",
"description": "Ampersand model abstraction for MongoDB explain plans (3.0+)",
"version": "0.1.1",
"version": "0.1.2",
"scripts": {

@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt",

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