@@ -37,15 +37,15 @@ function prepareMainThreadExecution(expandArgv1 = false, initializeModules = tru
37
37
prepareExecution ( {
38
38
expandArgv1,
39
39
initializeModules,
40
- isMainThread : true
40
+ isMainThread : true ,
41
41
} ) ;
42
42
}
43
43
44
44
function prepareWorkerThreadExecution ( ) {
45
45
prepareExecution ( {
46
46
expandArgv1 : false ,
47
47
initializeModules : false , // Will need to initialize it after policy setup
48
- isMainThread : false
48
+ isMainThread : false ,
49
49
} ) ;
50
50
}
51
51
@@ -135,7 +135,7 @@ function patchProcessObject(expandArgv1) {
135
135
enumerable : true ,
136
136
// Only set it to true during snapshot building.
137
137
configurable : getOptionValue ( '--build-snapshot' ) ,
138
- value : process . argv [ 0 ]
138
+ value : process . argv [ 0 ] ,
139
139
} ) ;
140
140
141
141
process . exitCode = undefined ;
@@ -184,15 +184,15 @@ function addReadOnlyProcessAlias(name, option, enumerable = true) {
184
184
writable : false ,
185
185
configurable : true ,
186
186
enumerable,
187
- value
187
+ value,
188
188
} ) ;
189
189
}
190
190
}
191
191
192
192
function setupWarningHandler ( ) {
193
193
const {
194
194
onWarning,
195
- resetForSerialization
195
+ resetForSerialization,
196
196
} = require ( 'internal/process/warning' ) ;
197
197
if ( getOptionValue ( '--warnings' ) &&
198
198
process . env . NODE_NO_WARNINGS !== '1' ) {
@@ -241,7 +241,7 @@ function setupFetch() {
241
241
} ,
242
242
set ( value ) {
243
243
exposeInterface ( globalThis , name , value ) ;
244
- }
244
+ } ,
245
245
} ;
246
246
}
247
247
@@ -271,7 +271,7 @@ function setupWebCrypto() {
271
271
get crypto ( ) {
272
272
webcrypto ??= require ( 'internal/crypto/webcrypto' ) ;
273
273
return webcrypto . crypto ;
274
- }
274
+ } ,
275
275
} , 'crypto' ) } ) ;
276
276
if ( internalBinding ( 'config' ) . hasOpenSSL ) {
277
277
webcrypto ??= require ( 'internal/crypto/webcrypto' ) ;
@@ -323,7 +323,7 @@ function initializeReport() {
323
323
configurable : true ,
324
324
get ( ) {
325
325
return report ;
326
- }
326
+ } ,
327
327
} ) ;
328
328
}
329
329
@@ -384,7 +384,7 @@ function setupInspectorHooks() {
384
384
if ( internalBinding ( 'config' ) . hasInspector ) {
385
385
const {
386
386
enable,
387
- disable
387
+ disable,
388
388
} = require ( 'internal/inspector_async_hook' ) ;
389
389
internalBinding ( 'inspector' ) . registerAsyncHook ( enable , disable ) ;
390
390
}
@@ -439,7 +439,7 @@ function initializeDeprecations() {
439
439
writable : false ,
440
440
enumerable : true ,
441
441
configurable : true ,
442
- value : noBrowserGlobals
442
+ value : noBrowserGlobals ,
443
443
} ) ;
444
444
}
445
445
@@ -510,7 +510,7 @@ function readPolicyFromDisk() {
510
510
for ( let i = 0 ; i < integrityEntries . length ; i ++ ) {
511
511
const {
512
512
algorithm,
513
- value : expected
513
+ value : expected ,
514
514
} = integrityEntries [ i ] ;
515
515
const hash = createHash ( algorithm ) ;
516
516
hash . update ( src ) ;
@@ -527,7 +527,7 @@ function readPolicyFromDisk() {
527
527
}
528
528
}
529
529
return {
530
- manifestSrc : src , manifestURL : manifestURL . href
530
+ manifestSrc : src , manifestURL : manifestURL . href ,
531
531
} ;
532
532
}
533
533
}
@@ -557,7 +557,7 @@ function initializeESMLoader() {
557
557
558
558
const {
559
559
setImportModuleDynamicallyCallback,
560
- setInitializeImportMetaObjectCallback
560
+ setInitializeImportMetaObjectCallback,
561
561
} = internalBinding ( 'module_wrap' ) ;
562
562
const esm = require ( 'internal/process/esm_loader' ) ;
563
563
// Setup per-isolate callbacks that locate data or callbacks that we keep
@@ -600,7 +600,7 @@ function loadPreloadModules() {
600
600
if ( preloadModules && preloadModules . length > 0 ) {
601
601
const {
602
602
Module : {
603
- _preloadModules
603
+ _preloadModules,
604
604
} ,
605
605
} = require ( 'internal/modules/cjs/loader' ) ;
606
606
_preloadModules ( preloadModules ) ;
@@ -615,5 +615,5 @@ module.exports = {
615
615
setupUserModules,
616
616
prepareMainThreadExecution,
617
617
prepareWorkerThreadExecution,
618
- markBootstrapComplete
618
+ markBootstrapComplete,
619
619
} ;
0 commit comments