@@ -197,7 +197,7 @@ internalBinding('async_wrap').setupHooks(nativeHooks);
197197
198198const {
199199 setupTaskQueue,
200- queueMicrotask
200+ queueMicrotask,
201201} = require ( 'internal/process/task_queues' ) ;
202202
203203// Non-standard extensions:
@@ -236,11 +236,11 @@ ObjectDefineProperty(process, 'allowedNodeEnvironmentFlags', {
236236 value,
237237 configurable : true ,
238238 enumerable : true ,
239- writable : true
239+ writable : true ,
240240 } ) ;
241241 } ,
242242 enumerable : true ,
243- configurable : true
243+ configurable : true ,
244244} ) ;
245245
246246// process.assert
@@ -265,22 +265,22 @@ const features = {
265265 // code cache even if the binary is built with embedded code cache.
266266 get cached_builtins ( ) {
267267 return binding . hasCachedBuiltins ( ) ;
268- }
268+ } ,
269269} ;
270270
271271ObjectDefineProperty ( process , 'features' , {
272272 __proto__ : null ,
273273 enumerable : true ,
274274 writable : false ,
275275 configurable : false ,
276- value : features
276+ value : features ,
277277} ) ;
278278
279279{
280280 const {
281281 onGlobalUncaughtException,
282282 setUncaughtExceptionCaptureCallback,
283- hasUncaughtExceptionCaptureCallback
283+ hasUncaughtExceptionCaptureCallback,
284284 } = require ( 'internal/process/execution' ) ;
285285
286286 // For legacy reasons this is still called `_fatalException`, even
@@ -327,14 +327,14 @@ process.emitWarning = emitWarning;
327327function setupPrepareStackTrace ( ) {
328328 const {
329329 setEnhanceStackForFatalException,
330- setPrepareStackTraceCallback
330+ setPrepareStackTraceCallback,
331331 } = internalBinding ( 'errors' ) ;
332332 const {
333333 prepareStackTrace,
334334 fatalExceptionStackEnhancers : {
335335 beforeInspector,
336- afterInspector
337- }
336+ afterInspector,
337+ } ,
338338 } = require ( 'internal/errors' ) ;
339339 // Tell our PrepareStackTraceCallback passed to the V8 API
340340 // to call prepareStackTrace().
@@ -353,7 +353,7 @@ function setupProcessObject() {
353353 enumerable : false ,
354354 writable : true ,
355355 configurable : false ,
356- value : 'process'
356+ value : 'process' ,
357357 } ) ;
358358
359359 // Create global.process as getters so that we have a
@@ -379,7 +379,7 @@ function setupGlobalProxy() {
379379 value : 'global' ,
380380 writable : false ,
381381 enumerable : false ,
382- configurable : true
382+ configurable : true ,
383383 } ) ;
384384 globalThis . global = globalThis ;
385385}
0 commit comments