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

mongoose-paginate-v2

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-paginate-v2 - npm Package Compare versions

Comparing version 1.3.14 to 1.3.15

6

CHANGELOG.md
# Changelog
## v1.3.15
[2021-02-21]
- Fixed issues where no results or incorrect count are returned when using collations.
## v1.3.14

@@ -4,0 +10,0 @@

4

dist/index.js

@@ -125,3 +125,3 @@ "use strict";

// Deprecated since starting from MongoDB Node.JS driver v3.1
countPromise = this.count(query).exec();
countPromise = this.count(query).collation(collation).exec();
} else {

@@ -133,3 +133,3 @@ if (useEstimatedCount === true) {

} else {
countPromise = this.countDocuments(query).exec();
countPromise = this.countDocuments(query).collation(collation).exec();
}

@@ -136,0 +136,0 @@ }

{
"name": "mongoose-paginate-v2",
"version": "1.3.14",
"version": "1.3.15",
"description": "A cursor based custom pagination library for Mongoose with customizable labels.",

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

@@ -120,3 +120,3 @@ /**

// Deprecated since starting from MongoDB Node.JS driver v3.1
countPromise = this.count(query).exec();
countPromise = this.count(query).collation(collation).exec();
} else {

@@ -128,3 +128,3 @@ if (useEstimatedCount === true) {

} else {
countPromise = this.countDocuments(query).exec();
countPromise = this.countDocuments(query).collation(collation).exec();
}

@@ -131,0 +131,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