@@ -40,15 +40,15 @@ function prepareMainThreadExecution(expandArgv1 = false, initializeModules = tru
40
40
prepareExecution ( {
41
41
expandArgv1,
42
42
initializeModules,
43
- isMainThread : true
43
+ isMainThread : true ,
44
44
} ) ;
45
45
}
46
46
47
47
function prepareWorkerThreadExecution ( ) {
48
48
prepareExecution ( {
49
49
expandArgv1 : false ,
50
50
initializeModules : false , // Will need to initialize it after policy setup
51
- isMainThread : false
51
+ isMainThread : false ,
52
52
} ) ;
53
53
}
54
54
@@ -139,7 +139,7 @@ function patchProcessObject(expandArgv1) {
139
139
enumerable : true ,
140
140
// Only set it to true during snapshot building.
141
141
configurable : getOptionValue ( '--build-snapshot' ) ,
142
- value : process . argv [ 0 ]
142
+ value : process . argv [ 0 ] ,
143
143
} ) ;
144
144
145
145
process . exitCode = undefined ;
@@ -188,15 +188,15 @@ function addReadOnlyProcessAlias(name, option, enumerable = true) {
188
188
writable : false ,
189
189
configurable : true ,
190
190
enumerable,
191
- value
191
+ value,
192
192
} ) ;
193
193
}
194
194
}
195
195
196
196
function setupWarningHandler ( ) {
197
197
const {
198
198
onWarning,
199
- resetForSerialization
199
+ resetForSerialization,
200
200
} = require ( 'internal/process/warning' ) ;
201
201
if ( getOptionValue ( '--warnings' ) &&
202
202
process . env . NODE_NO_WARNINGS !== '1' ) {
@@ -245,7 +245,7 @@ function setupFetch() {
245
245
} ,
246
246
set ( value ) {
247
247
exposeInterface ( globalThis , name , value ) ;
248
- }
248
+ } ,
249
249
} ;
250
250
}
251
251
@@ -291,7 +291,7 @@ function setupWebCrypto() {
291
291
{ __proto__ : null , ...ObjectGetOwnPropertyDescriptor ( {
292
292
get crypto ( ) {
293
293
throw new ERR_NO_CRYPTO ( ) ;
294
- }
294
+ } ,
295
295
} , 'crypto' ) } ) ;
296
296
297
297
}
@@ -339,7 +339,7 @@ function initializeReport() {
339
339
get ( ) {
340
340
const { report } = require ( 'internal/process/report' ) ;
341
341
return report ;
342
- }
342
+ } ,
343
343
} ) ;
344
344
}
345
345
@@ -400,7 +400,7 @@ function setupInspectorHooks() {
400
400
if ( internalBinding ( 'config' ) . hasInspector ) {
401
401
const {
402
402
enable,
403
- disable
403
+ disable,
404
404
} = require ( 'internal/inspector_async_hook' ) ;
405
405
internalBinding ( 'inspector' ) . registerAsyncHook ( enable , disable ) ;
406
406
}
@@ -455,7 +455,7 @@ function initializeDeprecations() {
455
455
writable : false ,
456
456
enumerable : true ,
457
457
configurable : true ,
458
- value : noBrowserGlobals
458
+ value : noBrowserGlobals ,
459
459
} ) ;
460
460
}
461
461
@@ -526,7 +526,7 @@ function readPolicyFromDisk() {
526
526
for ( let i = 0 ; i < integrityEntries . length ; i ++ ) {
527
527
const {
528
528
algorithm,
529
- value : expected
529
+ value : expected ,
530
530
} = integrityEntries [ i ] ;
531
531
const hash = createHash ( algorithm ) ;
532
532
hash . update ( src ) ;
@@ -543,7 +543,7 @@ function readPolicyFromDisk() {
543
543
}
544
544
}
545
545
return {
546
- manifestSrc : src , manifestURL : manifestURL . href
546
+ manifestSrc : src , manifestURL : manifestURL . href ,
547
547
} ;
548
548
}
549
549
}
@@ -599,7 +599,7 @@ function loadPreloadModules() {
599
599
if ( preloadModules && preloadModules . length > 0 ) {
600
600
const {
601
601
Module : {
602
- _preloadModules
602
+ _preloadModules,
603
603
} ,
604
604
} = require ( 'internal/modules/cjs/loader' ) ;
605
605
_preloadModules ( preloadModules ) ;
@@ -614,5 +614,5 @@ module.exports = {
614
614
setupUserModules,
615
615
prepareMainThreadExecution,
616
616
prepareWorkerThreadExecution,
617
- markBootstrapComplete
617
+ markBootstrapComplete,
618
618
} ;
0 commit comments