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