@@ -40,15 +40,15 @@ function prepareMainThreadExecution(expandArgv1 = false, initializeModules = tru
4040 prepareExecution ( {
4141 expandArgv1,
4242 initializeModules,
43- isMainThread : true
43+ isMainThread : true ,
4444 } ) ;
4545}
4646
4747function prepareWorkerThreadExecution ( ) {
4848 prepareExecution ( {
4949 expandArgv1 : false ,
5050 initializeModules : false , // Will need to initialize it after policy setup
51- isMainThread : false
51+ isMainThread : false ,
5252 } ) ;
5353}
5454
@@ -139,7 +139,7 @@ function patchProcessObject(expandArgv1) {
139139 enumerable : true ,
140140 // Only set it to true during snapshot building.
141141 configurable : getOptionValue ( '--build-snapshot' ) ,
142- value : process . argv [ 0 ]
142+ value : process . argv [ 0 ] ,
143143 } ) ;
144144
145145 process . exitCode = undefined ;
@@ -188,15 +188,15 @@ function addReadOnlyProcessAlias(name, option, enumerable = true) {
188188 writable : false ,
189189 configurable : true ,
190190 enumerable,
191- value
191+ value,
192192 } ) ;
193193 }
194194}
195195
196196function setupWarningHandler ( ) {
197197 const {
198198 onWarning,
199- resetForSerialization
199+ resetForSerialization,
200200 } = require ( 'internal/process/warning' ) ;
201201 if ( getOptionValue ( '--warnings' ) &&
202202 process . env . NODE_NO_WARNINGS !== '1' ) {
@@ -245,7 +245,7 @@ function setupFetch() {
245245 } ,
246246 set ( value ) {
247247 exposeInterface ( globalThis , name , value ) ;
248- }
248+ } ,
249249 } ;
250250 }
251251
@@ -291,7 +291,7 @@ function setupWebCrypto() {
291291 { __proto__ : null , ...ObjectGetOwnPropertyDescriptor ( {
292292 get crypto ( ) {
293293 throw new ERR_NO_CRYPTO ( ) ;
294- }
294+ } ,
295295 } , 'crypto' ) } ) ;
296296
297297 }
@@ -339,7 +339,7 @@ function initializeReport() {
339339 get ( ) {
340340 const { report } = require ( 'internal/process/report' ) ;
341341 return report ;
342- }
342+ } ,
343343 } ) ;
344344}
345345
@@ -400,7 +400,7 @@ function setupInspectorHooks() {
400400 if ( internalBinding ( 'config' ) . hasInspector ) {
401401 const {
402402 enable,
403- disable
403+ disable,
404404 } = require ( 'internal/inspector_async_hook' ) ;
405405 internalBinding ( 'inspector' ) . registerAsyncHook ( enable , disable ) ;
406406 }
@@ -455,7 +455,7 @@ function initializeDeprecations() {
455455 writable : false ,
456456 enumerable : true ,
457457 configurable : true ,
458- value : noBrowserGlobals
458+ value : noBrowserGlobals ,
459459 } ) ;
460460 }
461461
@@ -526,7 +526,7 @@ function readPolicyFromDisk() {
526526 for ( let i = 0 ; i < integrityEntries . length ; i ++ ) {
527527 const {
528528 algorithm,
529- value : expected
529+ value : expected ,
530530 } = integrityEntries [ i ] ;
531531 const hash = createHash ( algorithm ) ;
532532 hash . update ( src ) ;
@@ -543,7 +543,7 @@ function readPolicyFromDisk() {
543543 }
544544 }
545545 return {
546- manifestSrc : src , manifestURL : manifestURL . href
546+ manifestSrc : src , manifestURL : manifestURL . href ,
547547 } ;
548548 }
549549}
@@ -599,7 +599,7 @@ function loadPreloadModules() {
599599 if ( preloadModules && preloadModules . length > 0 ) {
600600 const {
601601 Module : {
602- _preloadModules
602+ _preloadModules,
603603 } ,
604604 } = require ( 'internal/modules/cjs/loader' ) ;
605605 _preloadModules ( preloadModules ) ;
@@ -614,5 +614,5 @@ module.exports = {
614614 setupUserModules,
615615 prepareMainThreadExecution,
616616 prepareWorkerThreadExecution,
617- markBootstrapComplete
617+ markBootstrapComplete,
618618} ;
0 commit comments