Socket
Socket
Sign inDemoInstall

mongoose-paginate-v2

Package Overview
Dependencies
0
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.1 to 1.6.2

6

CHANGELOG.md
# Changelog
## v1.6.2
[2022-02-11]
- Removed 2D test cases to support Mongoose 6.
## v1.6.1

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

2

package.json
{
"name": "mongoose-paginate-v2",
"version": "1.6.1",
"version": "1.6.2",
"description": "A custom pagination library for Mongoose with customizable labels.",

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

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

## Note
## Known Issues
There are few operators that this plugin does not support natively, below are the list and suggested replacements,
### For Mongoose < 6.0.0
There are few operators that this plugin does not support natively, below are the list and suggested replacements.
- $where: $expr

@@ -411,2 +413,6 @@ - $near: $geoWithin with \$center

### For Mongoose > 6.0.0
$geoNear, $near, and $nearSphere will not work. This will be updated in the future plugin versions.
## Development

@@ -413,0 +419,0 @@

@@ -508,3 +508,3 @@ 'use strict';

});
/*
it('2dsphere', function () {

@@ -540,3 +540,3 @@ var query = {

});
*/
it('all data (without pagination)', function () {

@@ -543,0 +543,0 @@ var query = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc