File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ function treatValue(value) {
61
61
else if ( value . includes ( ':' ) ) return getCompareOperator ( value )
62
62
else if ( value === 'now' ) return normalizeDate ( dateToString ( new Date ( ) ) , false )
63
63
else if ( parseInt ( value ) . toString ( ) === value ) return parseInt ( value )
64
+ else if ( value === 'null' ) return null
65
+ else if ( value === 'undefined' ) return undefined
64
66
return value
65
67
}
66
68
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " query-strings-parser" ,
3
- "version" : " 2.1.11 " ,
3
+ "version" : " 2.1.13 " ,
4
4
"description" : " Middleware to transform query strings in a format that is recognized by the MongoDB, MySQL and other databases..." ,
5
5
"license" : " MIT" ,
6
6
"main" : " index.js" ,
23
23
" Adson Macêdo <agnsoft@hotmail.com>" ,
24
24
" Douglas Rafael <douglas.rafael@nutes.uepb.edu.br>" ,
25
25
" Jefferson Sampaio <jefferson.medeiros@nutes.uepb.edu.br>" ,
26
+ " João Pedro Miranda <berrytern@gmail.com>" ,
26
27
" Lucas Barbosa <lucas.barbosa@nutes.uepb.edu.br>"
27
28
],
28
29
"keywords" : [
You can’t perform that action at this time.
0 commit comments