File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ function setOptions(command, query) {
840840 Object . keys ( options ) . some ( function someOptions ( key ) {
841841 var valid = options [ key ] . valid ;
842842
843- if ( query . hasOwnProperty ( key ) ) {
843+ if ( key in query ) {
844844 if ( options [ key ] . bool ) {
845845 opts [ options [ key ] . name ] = ! reBool . test ( query [ key ] ) ;
846846 } else if ( ! valid || ( valid && valid . test ( query [ key ] ) ) ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " webpagetest" ,
3- "version" : " 0.3.4 " ,
3+ "version" : " 0.3.5 " ,
44 "description" : " WebPageTest API wrapper for NodeJS" ,
55 "author" : " Marcel Duran <github@marcelduran.com> (http://github.com/marcelduran)" ,
66 "homepage" : " http://github.com/marcelduran/webpagetest-api" ,
2828 "node" : " >=0.10.1"
2929 },
3030 "dependencies" : {
31- "commander" : " ^2.7.1 " ,
32- "csv" : " ^0.4 .1" ,
31+ "commander" : " ^2.9.0 " ,
32+ "csv" : " ^1.1 .1" ,
3333 "entities" : " ^1.1.1" ,
34- "mocha" : " ^2.2.4 " ,
35- "xml2js" : " ^0.4.6 "
34+ "mocha" : " ^3.4.1 " ,
35+ "xml2js" : " ^0.4.17 "
3636 },
3737 "devDependencies" : {
38- "nock" : " ~1.5.0 "
38+ "nock" : " ~9.0.13 "
3939 }
4040}
You can’t perform that action at this time.
0 commit comments