File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ added: REPLACEME
767
767
* Returns: A map of provider types to the corresponding numeric id.
768
768
This map contains all the event types that might be emitted by the ` async_hooks .init ()` event.
769
769
770
- This feature suppress the deprecated usage of ` process .binding (' async_wrap' ).Providers ` .
770
+ This feature suppresses the deprecated usage of ` process .binding (' async_wrap' ).Providers ` .
771
771
772
772
## Promise execution tracking
773
773
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ module.exports = {
354
354
executionAsyncId,
355
355
triggerAsyncId,
356
356
executionAsyncResource,
357
- asyncWrapProviders : ObjectFreeze ( { ...asyncWrap . Providers } ) ,
357
+ asyncWrapProviders : ObjectFreeze ( { __proto__ : null , ...asyncWrap . Providers } ) ,
358
358
// Embedder API
359
359
AsyncResource,
360
360
} ;
You can’t perform that action at this time.
0 commit comments