File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77<!-- name=vm--> 
88
99The ` vm `  module provides APIs for compiling and running code within V8 Virtual
10- Machine contexts.
10+ Machine contexts. ** Note that the ` vm `  module is not a security mechanism. Do
11+ not use it to run untrusted code** . The term "sandbox" is used throughout these
12+ docs simply to refer to a separate context, and does not confer any security
13+ guarantees.
1114
1215JavaScript code can be compiled and run immediately or
1316compiled, saved, and run later.
@@ -40,9 +43,6 @@ console.log(sandbox.y); // 17
4043console .log (x); //  1; y is not defined.
4144``` 
4245
43- ** The vm module is not a security mechanism. Do not use it to run untrusted
44- code** .
45- 
4646## Class: vm.SourceTextModule  
4747<!--  YAML
4848added: v9.6.0 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments