File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,10 @@ objects:
154154*  [ ` Buffer.from(string[, encoding]) ` ] [ from_string_encoding ]  - Create a ` Buffer ` 
155155  that copies ` string ` .
156156
157- As of v10.0.0, a deprecation warning is printed at runtime when
158- ` --pending-deprecation `  is used or when the calling code is
159- outside ` node_modules `  in order to better target developers, rather than users.
157+ Without ` --pending-deprecation ` , runtime warnings occur only for code not in
158+ ` node_modules ` . This means there will not be deprecation warnings for
159+ ` Buffer() `  usage in dependencies. With ` --pending-deprecation ` , a runtime
160+ warning results no matter where the ` Buffer() `  usage occurs.
160161
161162<a  id =" DEP0006 " ></a >
162163### DEP0006: child\_ process options.customFds  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments