Skip to content

Commit ab6eabe

Browse files
committed
doc: add documentation for deprecation properties
1 parent b21e3f0 commit ab6eabe

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

doc/api/process.md

+39
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,19 @@ event loop **before** additional I/O is processed. As a result,
14081408
recursively setting nextTick callbacks will block any I/O from
14091409
happening, just like a `while(true);` loop.
14101410

1411+
## process.noDeprecation
1412+
<!-- YAML
1413+
added: v0.8.0
1414+
-->
1415+
1416+
* {boolean}
1417+
1418+
The `process.noDeprecation` property indicates whether the `--no-deprecation`
1419+
flag is set on the current Node.js process. See the documentation for
1420+
the [`warning` event][process_warning] and the
1421+
[`emitWarning` method][process_emit_warning] for more information about this
1422+
flag's behavior.
1423+
14111424
## process.pid
14121425
<!-- YAML
14131426
added: v0.1.15
@@ -1781,6 +1794,19 @@ false
17811794

17821795
See the [TTY][] documentation for more information.
17831796

1797+
## process.throwDeprecation
1798+
<!-- YAML
1799+
added: v0.9.12
1800+
-->
1801+
1802+
* {boolean}
1803+
1804+
The `process.throwDeprecation` property indicates whether the
1805+
`--throw-deprecation` flag is set on the current Node.js process. See the
1806+
documentation for the [`warning` event][process_warning] and the
1807+
[`emitWarning` method][process_emit_warning] for more information about this
1808+
flag's behavior.
1809+
17841810
## process.title
17851811
<!-- YAML
17861812
added: v0.1.104
@@ -1801,6 +1827,19 @@ process. Node.js v0.8 allowed for longer process title strings by also
18011827
overwriting the `environ` memory but that was potentially insecure and
18021828
confusing in some (rather obscure) cases.
18031829

1830+
## process.traceDeprecation
1831+
<!-- YAML
1832+
added: v0.8.0
1833+
-->
1834+
1835+
* {boolean}
1836+
1837+
The `process.traceDeprecation` property indicates whether the
1838+
`--trace-deprecation` flag is set on the current Node.js process. See the
1839+
documentation for the [`warning` event][process_warning] and the
1840+
[`emitWarning` method][process_emit_warning] for more information about this
1841+
flag's behavior.
1842+
18041843
## process.umask([mask])
18051844
<!-- YAML
18061845
added: v0.1.19

0 commit comments

Comments
 (0)