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.8.1 to 1.8.2

.github/workflows/build.yml

6

CHANGELOG.md
# Changelog
## v1.8.2
[2024-05-29]
- MongoDB < 3.4: Fix for countDocument
## v1.8.1

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

4

dist/index.js

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

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

@@ -138,3 +138,3 @@ } else {

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

@@ -141,0 +141,0 @@ }

{
"name": "mongoose-paginate-v2",
"version": "1.8.1",
"version": "1.8.2",
"description": "A custom pagination library for Mongoose with customizable labels.",

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

@@ -6,7 +6,11 @@ ![Banner](static/banner.jpg)

[![npm version](https://img.shields.io/npm/v/mongoose-paginate-v2.svg)](https://www.npmjs.com/package/mongoose-paginate-v2)
[![Build Status](https://travis-ci.com/aravindnc/mongoose-paginate-v2.svg?branch=master)](https://travis-ci.com/aravindnc/mongoose-paginate-v2)
[![Build Status](https://github.com/aravindnc/mongoose-paginate-v2/actions/workflows/build.yml/badge.svg)](#)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/aravindnc/mongoose-paginate-v2/issues)
[![Downloads](https://img.shields.io/npm/dm/mongoose-paginate-v2.svg)](https://img.shields.io/npm/dm/mongoose-paginate-v2.svg)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Faravindnc%2Fmongoose-paginate-v2.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Faravindnc%2Fmongoose-paginate-v2?ref=badge_shield)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/aravindnc/mongoose-paginate-v2)
![npms.io](https://img.shields.io/npms-io/maintenance-score/mongoose-paginate-v2)
![npms.io](https://img.shields.io/npms-io/quality-score/mongoose-paginate-v2)
> A custom pagination library for [Mongoose](http://mongoosejs.com) with customizable labels.

@@ -13,0 +17,0 @@

@@ -142,3 +142,3 @@ /**

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

@@ -157,3 +157,3 @@ } else {

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

@@ -160,0 +160,0 @@ }

Sorry, the diff of this file is not supported yet

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