File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog  
22
33
4+ ##### 1.6.10 (2018-11-20)  
5+ -  Fix: subtle bug in encoding buffer values on update.
6+ 
7+ 
48##### 1.6.9 (2018-10-13)  
59-  Fix: do not allow extraneous fields in update to cause silent error.
610
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ module.exports = Adapter => class PostgreSQLAdapter extends Adapter {
456456        const  value  =  update . replace [ field ] 
457457        index ++ 
458458        if  ( Array . isArray ( value ) )  parameters . push ( value . map ( inputValue ) ) 
459-         else  parameters . push ( value ) 
459+         else  parameters . push ( inputValue ( value ) ) 
460460        set . push ( `"${ field } ${ index }  ) 
461461      } 
462462
Original file line number Diff line number Diff line change 11{
22  "name" : " fortune-postgres" 
33  "description" : " Postgres adapter for Fortune." 
4-   "version" : " 1.6.9 " 
4+   "version" : " 1.6.10 " 
55  "license" : " MIT" 
66  "repository" : {
77    "type" : " git" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments