File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed 
src/common/runtime/helper Expand file tree Collapse file tree 4 files changed +5
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1- module . exports   =  function  ( api )  { 
1+ export   default  function  ( api )  { 
22  api . cache ( true ) ; 
33  return  { 
44    presets : [ '@babel/preset-typescript' ] , 
Original file line number Diff line number Diff line change 22  "name" : " @webgpu/cts"  ,
33  "version" : " 0.1.0"  ,
44  "description" : " WebGPU Conformance Test Suite"  ,
5+   "type" : " module"  ,
56  "scripts" : {
67    "test" : " grunt all"  ,
78    "all" : " grunt all"  ,
Original file line number Diff line number Diff line change 11/* eslint no-process-exit: "off" */ 
22/* eslint @typescript-eslint/no-namespace: "off" */ 
33
4- function  node ( )  { 
5-   const  {  existsSync }  =  require ( 'fs' ) ; 
4+ async   function  node ( )  { 
5+   const  {  existsSync }  =  await   import ( 'fs' ) ; 
66
77  return  { 
88    type : 'node' , 
@@ -41,6 +41,6 @@ function deno() {
4141  } ; 
4242} 
4343
44- const  sys  =  typeof  globalThis . process  !==  'undefined'  ? node ( )  : deno ( ) ; 
44+ const  sys  =  typeof  globalThis . process  !==  'undefined'  ? await   node ( )  : deno ( ) ; 
4545
4646export  default  sys ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments