@@ -210,7 +210,7 @@ internalBinding('async_wrap').setupHooks(nativeHooks);
210
210
211
211
const {
212
212
setupTaskQueue,
213
- queueMicrotask
213
+ queueMicrotask,
214
214
} = require ( 'internal/process/task_queues' ) ;
215
215
216
216
// Non-standard extensions:
@@ -254,11 +254,11 @@ ObjectDefineProperty(process, 'allowedNodeEnvironmentFlags', {
254
254
value,
255
255
configurable : true ,
256
256
enumerable : true ,
257
- writable : true
257
+ writable : true ,
258
258
} ) ;
259
259
} ,
260
260
enumerable : true ,
261
- configurable : true
261
+ configurable : true ,
262
262
} ) ;
263
263
264
264
// process.assert
@@ -283,22 +283,22 @@ const features = {
283
283
// code cache even if the binary is built with embedded code cache.
284
284
get cached_builtins ( ) {
285
285
return binding . hasCachedBuiltins ( ) ;
286
- }
286
+ } ,
287
287
} ;
288
288
289
289
ObjectDefineProperty ( process , 'features' , {
290
290
__proto__ : null ,
291
291
enumerable : true ,
292
292
writable : false ,
293
293
configurable : false ,
294
- value : features
294
+ value : features ,
295
295
} ) ;
296
296
297
297
{
298
298
const {
299
299
onGlobalUncaughtException,
300
300
setUncaughtExceptionCaptureCallback,
301
- hasUncaughtExceptionCaptureCallback
301
+ hasUncaughtExceptionCaptureCallback,
302
302
} = require ( 'internal/process/execution' ) ;
303
303
304
304
// For legacy reasons this is still called `_fatalException`, even
@@ -345,14 +345,14 @@ process.emitWarning = emitWarning;
345
345
function setupPrepareStackTrace ( ) {
346
346
const {
347
347
setEnhanceStackForFatalException,
348
- setPrepareStackTraceCallback
348
+ setPrepareStackTraceCallback,
349
349
} = internalBinding ( 'errors' ) ;
350
350
const {
351
351
prepareStackTrace,
352
352
fatalExceptionStackEnhancers : {
353
353
beforeInspector,
354
- afterInspector
355
- }
354
+ afterInspector,
355
+ } ,
356
356
} = require ( 'internal/errors' ) ;
357
357
// Tell our PrepareStackTraceCallback passed to the V8 API
358
358
// to call prepareStackTrace().
@@ -371,7 +371,7 @@ function setupProcessObject() {
371
371
enumerable : false ,
372
372
writable : true ,
373
373
configurable : false ,
374
- value : 'process'
374
+ value : 'process' ,
375
375
} ) ;
376
376
377
377
// Create global.process as getters so that we have a
@@ -397,7 +397,7 @@ function setupGlobalProxy() {
397
397
value : 'global' ,
398
398
writable : false ,
399
399
enumerable : false ,
400
- configurable : true
400
+ configurable : true ,
401
401
} ) ;
402
402
globalThis . global = globalThis ;
403
403
}
0 commit comments