mongoose-paginate-v2
Advanced tools
Comparing version 1.6.2 to 1.6.3
# Changelog | ||
## v1.6.3 | ||
[2022-02-28] | ||
- Added support for Mongoose 6 | ||
## v1.6.2 | ||
@@ -4,0 +10,0 @@ |
@@ -23,3 +23,3 @@ declare module 'mongoose' { | ||
select?: object | string | undefined; | ||
collation?: import('mongodb').CollationDocument | undefined; | ||
collation?: import('mongodb').CollationOptions | undefined; | ||
sort?: object | string | undefined; | ||
@@ -69,2 +69,3 @@ populate?: | ||
TMethods, | ||
TVirtuals, | ||
O extends PaginateOptions = {} | ||
@@ -75,3 +76,3 @@ > = O['lean'] extends true | ||
: LeanDocument<T> | ||
: EnforceDocument<T, TMethods>; | ||
: HydratedDocument<T, TMethods, TVirtuals>; | ||
@@ -78,0 +79,0 @@ interface PaginateModel<T, TQueryHelpers = {}, TMethods = {}> |
{ | ||
"name": "mongoose-paginate-v2", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "A custom pagination library for Mongoose with customizable labels.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -414,3 +414,3 @@ ![Banner](static/banner.jpg) | ||
$geoNear, $near, and $nearSphere will not work. This will be updated in the future plugin versions. | ||
$geoNear, $near, and $nearSphere may not work (Untested). This will be updated in the future plugin versions. | ||
@@ -431,3 +431,1 @@ ## Development | ||
[MIT](LICENSE) | ||
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Faravindnc%2Fmongoose-paginate-v2.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Faravindnc%2Fmongoose-paginate-v2?ref=badge_large) |
1525
310977
430