mongoose-paginate-v2
Advanced tools
Comparing version 1.6.1 to 1.6.2
# Changelog | ||
## v1.6.2 | ||
[2022-02-11] | ||
- Removed 2D test cases to support Mongoose 6. | ||
## v1.6.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"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 = { |
1524
432
311105