-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix leanQuery with flat option (#21)
* fix leanQuery with flat option * several smaller fixes and promise tests * boolean conversion allows numbers (0=false, !0 = true) and undefined (=true) * fix: count promise resolves now same count object than callback * add promise tests which validate same thing than callback tests * disconnect mongoose after tests
- Loading branch information
Showing
5 changed files
with
252 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,37 @@ | ||
{ | ||
"name": "mongoose-query", | ||
"description": "mongoose Query lib", | ||
"keywords": ["mongoose", "query", "mongodb"], | ||
"version": "0.3.0", | ||
"keywords": [ | ||
"mongoose", | ||
"query", | ||
"mongodb" | ||
], | ||
"version": "0.4.0", | ||
"homepage": "https://github.com/jupe/mongoose-query", | ||
"author": "Jussi Vatjus-Anttila <jussiva@gmail.com>)", | ||
"main": "lib/index", | ||
"bugs" : { | ||
"url" : "https://github.com/jupe/mongoose-query/issues" | ||
"bugs": { | ||
"url": "https://github.com/jupe/mongoose-query/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/jupe/mongoose-query" | ||
"type": "git", | ||
"url": "https://github.com/jupe/mongoose-query" | ||
}, | ||
"licenses" : "MIT", | ||
"license": "MIT", | ||
"dependencies": { | ||
"mongoose": "^4.11.4", | ||
"flat": "*", | ||
"lodash": "*" | ||
}, | ||
"devDependencies": { | ||
"mocha": "3.5.3", | ||
"chai": "*", | ||
"request": "*" | ||
"chai": "*", | ||
"mocha": "^4.0.1", | ||
"request": "*" | ||
}, | ||
"contributors": [ | ||
"Jussi Vatjus-Anttila <jussiva@gmail.com>" | ||
], | ||
"scripts": { | ||
"test": "mocha -R list" | ||
"test": "mocha -R list" | ||
} | ||
} |
Oops, something went wrong.