This repository was archived by the owner on May 1, 2025. It is now read-only.
Commit 87597ca
fix(parser): make sure
* toBoolean and toNumber change.
I tried to use:
var qs = new MongoQS({
string: {
toNumber: false
}
});
But toNumber and toBoolean is always in true.
I propose a change so firstly it checks if it is boolean and then makes the change.
Thanks for this great module! :)
* Fix without ( and ) in typeof
* Strings changed to singlequoted for test passtoNumber and toBoolean can be turned off1 parent 24efed5 commit 87597ca
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments