@@ -153,7 +153,7 @@ const deprecationHandler = {
153
153
setPrototypeOf ( target , proto ) {
154
154
this . maybeWarn ( ) ;
155
155
return ObjectSetPrototypeOf ( target , proto ) ;
156
- }
156
+ } ,
157
157
} ;
158
158
159
159
// process.config is serialized config.gypi
@@ -172,7 +172,7 @@ ObjectDefineProperty(process, 'config', {
172
172
set ( value ) {
173
173
deprecationHandler . maybeWarn ( ) ;
174
174
processConfig = value ;
175
- }
175
+ } ,
176
176
} ) ;
177
177
178
178
require ( 'internal/worker/js_transferable' ) . setup ( ) ;
@@ -231,7 +231,7 @@ internalBinding('async_wrap').setupHooks(nativeHooks);
231
231
232
232
const {
233
233
setupTaskQueue,
234
- queueMicrotask
234
+ queueMicrotask,
235
235
} = require ( 'internal/process/task_queues' ) ;
236
236
237
237
// Non-standard extensions:
@@ -272,11 +272,11 @@ ObjectDefineProperty(process, 'allowedNodeEnvironmentFlags', {
272
272
value,
273
273
configurable : true ,
274
274
enumerable : true ,
275
- writable : true
275
+ writable : true ,
276
276
} ) ;
277
277
} ,
278
278
enumerable : true ,
279
- configurable : true
279
+ configurable : true ,
280
280
} ) ;
281
281
282
282
// process.assert
@@ -301,22 +301,22 @@ const features = {
301
301
// code cache even if the binary is built with embedded code cache.
302
302
get cached_builtins ( ) {
303
303
return binding . hasCachedBuiltins ( ) ;
304
- }
304
+ } ,
305
305
} ;
306
306
307
307
ObjectDefineProperty ( process , 'features' , {
308
308
__proto__ : null ,
309
309
enumerable : true ,
310
310
writable : false ,
311
311
configurable : false ,
312
- value : features
312
+ value : features ,
313
313
} ) ;
314
314
315
315
{
316
316
const {
317
317
onGlobalUncaughtException,
318
318
setUncaughtExceptionCaptureCallback,
319
- hasUncaughtExceptionCaptureCallback
319
+ hasUncaughtExceptionCaptureCallback,
320
320
} = require ( 'internal/process/execution' ) ;
321
321
322
322
// For legacy reasons this is still called `_fatalException`, even
@@ -373,14 +373,14 @@ if (config.hasOpenSSL) {
373
373
function setupPrepareStackTrace ( ) {
374
374
const {
375
375
setEnhanceStackForFatalException,
376
- setPrepareStackTraceCallback
376
+ setPrepareStackTraceCallback,
377
377
} = internalBinding ( 'errors' ) ;
378
378
const {
379
379
prepareStackTrace,
380
380
fatalExceptionStackEnhancers : {
381
381
beforeInspector,
382
- afterInspector
383
- }
382
+ afterInspector,
383
+ } ,
384
384
} = require ( 'internal/errors' ) ;
385
385
// Tell our PrepareStackTraceCallback passed to the V8 API
386
386
// to call prepareStackTrace().
@@ -399,7 +399,7 @@ function setupProcessObject() {
399
399
enumerable : false ,
400
400
writable : true ,
401
401
configurable : false ,
402
- value : 'process'
402
+ value : 'process' ,
403
403
} ) ;
404
404
405
405
// Create global.process as getters so that we have a
@@ -425,7 +425,7 @@ function setupGlobalProxy() {
425
425
value : 'global' ,
426
426
writable : false ,
427
427
enumerable : false ,
428
- configurable : true
428
+ configurable : true ,
429
429
} ) ;
430
430
globalThis . global = globalThis ;
431
431
}
0 commit comments