@@ -153,7 +153,7 @@ const deprecationHandler = {
153153 setPrototypeOf ( target , proto ) {
154154 this . maybeWarn ( ) ;
155155 return ObjectSetPrototypeOf ( target , proto ) ;
156- }
156+ } ,
157157} ;
158158
159159// process.config is serialized config.gypi
@@ -172,7 +172,7 @@ ObjectDefineProperty(process, 'config', {
172172 set ( value ) {
173173 deprecationHandler . maybeWarn ( ) ;
174174 processConfig = value ;
175- }
175+ } ,
176176} ) ;
177177
178178require ( 'internal/worker/js_transferable' ) . setup ( ) ;
@@ -231,7 +231,7 @@ internalBinding('async_wrap').setupHooks(nativeHooks);
231231
232232const {
233233 setupTaskQueue,
234- queueMicrotask
234+ queueMicrotask,
235235} = require ( 'internal/process/task_queues' ) ;
236236
237237// Non-standard extensions:
@@ -272,11 +272,11 @@ ObjectDefineProperty(process, 'allowedNodeEnvironmentFlags', {
272272 value,
273273 configurable : true ,
274274 enumerable : true ,
275- writable : true
275+ writable : true ,
276276 } ) ;
277277 } ,
278278 enumerable : true ,
279- configurable : true
279+ configurable : true ,
280280} ) ;
281281
282282// process.assert
@@ -301,22 +301,22 @@ const features = {
301301 // code cache even if the binary is built with embedded code cache.
302302 get cached_builtins ( ) {
303303 return binding . hasCachedBuiltins ( ) ;
304- }
304+ } ,
305305} ;
306306
307307ObjectDefineProperty ( process , 'features' , {
308308 __proto__ : null ,
309309 enumerable : true ,
310310 writable : false ,
311311 configurable : false ,
312- value : features
312+ value : features ,
313313} ) ;
314314
315315{
316316 const {
317317 onGlobalUncaughtException,
318318 setUncaughtExceptionCaptureCallback,
319- hasUncaughtExceptionCaptureCallback
319+ hasUncaughtExceptionCaptureCallback,
320320 } = require ( 'internal/process/execution' ) ;
321321
322322 // For legacy reasons this is still called `_fatalException`, even
@@ -373,14 +373,14 @@ if (config.hasOpenSSL) {
373373function setupPrepareStackTrace ( ) {
374374 const {
375375 setEnhanceStackForFatalException,
376- setPrepareStackTraceCallback
376+ setPrepareStackTraceCallback,
377377 } = internalBinding ( 'errors' ) ;
378378 const {
379379 prepareStackTrace,
380380 fatalExceptionStackEnhancers : {
381381 beforeInspector,
382- afterInspector
383- }
382+ afterInspector,
383+ } ,
384384 } = require ( 'internal/errors' ) ;
385385 // Tell our PrepareStackTraceCallback passed to the V8 API
386386 // to call prepareStackTrace().
@@ -399,7 +399,7 @@ function setupProcessObject() {
399399 enumerable : false ,
400400 writable : true ,
401401 configurable : false ,
402- value : 'process'
402+ value : 'process' ,
403403 } ) ;
404404
405405 // Create global.process as getters so that we have a
@@ -425,7 +425,7 @@ function setupGlobalProxy() {
425425 value : 'global' ,
426426 writable : false ,
427427 enumerable : false ,
428- configurable : true
428+ configurable : true ,
429429 } ) ;
430430 globalThis . global = globalThis ;
431431}
0 commit comments