@@ -197,7 +197,7 @@ internalBinding('async_wrap').setupHooks(nativeHooks);
197
197
198
198
const {
199
199
setupTaskQueue,
200
- queueMicrotask
200
+ queueMicrotask,
201
201
} = require ( 'internal/process/task_queues' ) ;
202
202
203
203
// Non-standard extensions:
@@ -236,11 +236,11 @@ ObjectDefineProperty(process, 'allowedNodeEnvironmentFlags', {
236
236
value,
237
237
configurable : true ,
238
238
enumerable : true ,
239
- writable : true
239
+ writable : true ,
240
240
} ) ;
241
241
} ,
242
242
enumerable : true ,
243
- configurable : true
243
+ configurable : true ,
244
244
} ) ;
245
245
246
246
// process.assert
@@ -265,22 +265,22 @@ const features = {
265
265
// code cache even if the binary is built with embedded code cache.
266
266
get cached_builtins ( ) {
267
267
return binding . hasCachedBuiltins ( ) ;
268
- }
268
+ } ,
269
269
} ;
270
270
271
271
ObjectDefineProperty ( process , 'features' , {
272
272
__proto__ : null ,
273
273
enumerable : true ,
274
274
writable : false ,
275
275
configurable : false ,
276
- value : features
276
+ value : features ,
277
277
} ) ;
278
278
279
279
{
280
280
const {
281
281
onGlobalUncaughtException,
282
282
setUncaughtExceptionCaptureCallback,
283
- hasUncaughtExceptionCaptureCallback
283
+ hasUncaughtExceptionCaptureCallback,
284
284
} = require ( 'internal/process/execution' ) ;
285
285
286
286
// For legacy reasons this is still called `_fatalException`, even
@@ -327,14 +327,14 @@ process.emitWarning = emitWarning;
327
327
function setupPrepareStackTrace ( ) {
328
328
const {
329
329
setEnhanceStackForFatalException,
330
- setPrepareStackTraceCallback
330
+ setPrepareStackTraceCallback,
331
331
} = internalBinding ( 'errors' ) ;
332
332
const {
333
333
prepareStackTrace,
334
334
fatalExceptionStackEnhancers : {
335
335
beforeInspector,
336
- afterInspector
337
- }
336
+ afterInspector,
337
+ } ,
338
338
} = require ( 'internal/errors' ) ;
339
339
// Tell our PrepareStackTraceCallback passed to the V8 API
340
340
// to call prepareStackTrace().
@@ -353,7 +353,7 @@ function setupProcessObject() {
353
353
enumerable : false ,
354
354
writable : true ,
355
355
configurable : false ,
356
- value : 'process'
356
+ value : 'process' ,
357
357
} ) ;
358
358
359
359
// Create global.process as getters so that we have a
@@ -379,7 +379,7 @@ function setupGlobalProxy() {
379
379
value : 'global' ,
380
380
writable : false ,
381
381
enumerable : false ,
382
- configurable : true
382
+ configurable : true ,
383
383
} ) ;
384
384
globalThis . global = globalThis ;
385
385
}
0 commit comments