GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: update documentation for node:process warning · nodejs/node@e3594d5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+5-1Lines changed: 5 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,10 @@ process.on('warning', (warning) => {
606606

607607
By default, Node.js will print process warnings to `stderr`. The `--no-warnings`
608608
command-line option can be used to suppress the default console output but the
609-
`'warning'` event will still be emitted by the `process` object.
609+
`'warning'` event will still be emitted by the `process` object. Currently, it
610+
is not possible to suppress specific warning types other than deprecation
611+
warnings. To suppress deprecation warnings, check out the [`--no-deprecation`][]
612+
flag.
610613

611614
The following example illustrates the warning that is printed to `stderr` when
612615
too many listeners have been added to an event:
@@ -3954,6 +3957,7 @@ cases:
39543957
[`'message'`]: child_process.md#event-message
39553958
[`'uncaughtException'`]: #event-uncaughtexception
39563959
[`--experimental-permission`]: cli.md#--experimental-permission
3960+
[`--no-deprecation`]: cli.md#--no-deprecation
39573961
[`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode
39583962
[`Buffer`]: buffer.md
39593963
[`ChildProcess.disconnect()`]: child_process.md#subprocessdisconnect

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.