New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongo-slow-queries

Package Overview
Dependencies
Maintainers
15
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-slow-queries - npm Package Compare versions

Comparing version 2.0.2-AUTO-195.1 to 2.1.0

2

.github/pull_request_template.md

@@ -7,3 +7,3 @@ #### Changes Made

#### Test Plan
<!--- What steps do you take to ensure that this PR does what it's supposed to do? How do you ensure that adjacent code/features are still working as predicted? --->
<!--- How do we know this PR does what it's supposed to do? How do we ensure that adjacent code/features are still working? How do we evaluate the performance implications of this PR?--->

@@ -10,0 +10,0 @@ #### Checklist

## Release History
* 2.1.0 Allow pulling queries from `system.profile`
* 2.0.1 Support non-admin db references if they have an adminCommand method

@@ -4,0 +7,0 @@

{
"name": "mongo-slow-queries",
"version": "2.0.2-AUTO-195.1",
"version": "2.1.0",
"description": "Utility for identifying slow queries in Mongo",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -29,2 +29,7 @@ const { deferred } = require('promise-callbacks');

*
* When using `system.profile`, it will only return queries which both exceed the
* provided `options.queryThreshold` and the db's slow query threshold -- unless
* the profiler is at level 2 (use `--profile 2` in the MongoDB command line), in
* which case only `options.queryThreshold` matters.
*
* @param {Object} options Options to use to create the Mongo slow query

@@ -31,0 +36,0 @@ * checker.

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