refactor: use node scheme imports in scripts (#38846)
* refactor: use node scheme imports in script * refactor: use node scheme imports in build
This commit is contained in:
		
					parent
					
						
							
								395b608dd5
							
						
					
				
			
			
				commit
				
					
						abec9ead06
					
				
			
		
					 40 changed files with 105 additions and 89 deletions
				
			
		| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
#!/usr/bin/env node
 | 
			
		||||
 | 
			
		||||
const { ElectronVersions, Installer } = require('@electron/fiddle-core');
 | 
			
		||||
const childProcess = require('child_process');
 | 
			
		||||
const crypto = require('crypto');
 | 
			
		||||
const childProcess = require('node:child_process');
 | 
			
		||||
const crypto = require('node:crypto');
 | 
			
		||||
const fs = require('fs-extra');
 | 
			
		||||
const { hashElement } = require('folder-hash');
 | 
			
		||||
const os = require('os');
 | 
			
		||||
const path = require('path');
 | 
			
		||||
const os = require('node:os');
 | 
			
		||||
const path = require('node:path');
 | 
			
		||||
const unknownFlags = [];
 | 
			
		||||
 | 
			
		||||
require('colors');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue