File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ node_modules
Original file line number Diff line number Diff line change 3333 }
3434 return this ;
3535 }
36- return new Cookie ( cookiestr ) ;
36+ return new Cookie ( cookiestr , request_domain , request_path ) ;
3737 }
3838 exports . Cookie = Cookie ;
3939
247247 var successful = [ ] ,
248248 i ,
249249 cookie ;
250- cookies = cookies . map ( Cookie ) ;
250+ cookies = cookies . map ( function ( item ) {
251+ return new Cookie ( item , request_domain , request_path ) ;
252+ } ) ;
251253 for ( i = 0 ; i < cookies . length ; i += 1 ) {
252254 cookie = cookies [ i ] ;
253255 if ( this . setCookie ( cookie , request_domain , request_path ) ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " cookiejar" ,
3- "version" : " 2.0.2 " ,
3+ "version" : " 2.0.3 " ,
44 "author" : {
55 "name" : " bradleymeck"
66 },
1212 },
1313 "scripts" : {
1414 "prepublish" : " jshint cookiejar.js && git tag $npm_package_version && git push origin master && git push origin --tags" ,
15- "test" : " tests/test.js"
15+ "test" : " node tests/test.js"
1616 },
1717 "repository" : {
1818 "type" : " git" ,
1919 "url" : " https://github.com/bmeck/node-cookiejar.git"
20+ },
21+ "dependencies" : {
22+ "jshint" : " ^2.8.0"
2023 }
2124}
You can’t perform that action at this time.
0 commit comments