@@ -1783,10 +1783,12 @@ relied upon to exist.
1783
1783
## ` process.report `
1784
1784
<!-- YAML
1785
1785
added: v11.8.0
1786
+ changes:
1787
+ - version: REPLACEME
1788
+ pr-url: https://github.com/nodejs/node/pull/32242
1789
+ description: This API is no longer considered experimental.
1786
1790
-->
1787
1791
1788
- > Stability: 1 - Experimental
1789
-
1790
1792
* {Object}
1791
1793
1792
1794
` process.report ` is an object whose methods are used to generate diagnostic
@@ -1796,10 +1798,12 @@ reports for the current process. Additional documentation is available in the
1796
1798
### ` process.report.directory `
1797
1799
<!-- YAML
1798
1800
added: v11.12.0
1801
+ changes:
1802
+ - version: REPLACEME
1803
+ pr-url: https://github.com/nodejs/node/pull/32242
1804
+ description: This API is no longer considered experimental.
1799
1805
-->
1800
1806
1801
- > Stability: 1 - Experimental
1802
-
1803
1807
* {string}
1804
1808
1805
1809
Directory where the report is written. The default value is the empty string,
@@ -1813,10 +1817,12 @@ console.log(`Report directory is ${process.report.directory}`);
1813
1817
### ` process.report.filename `
1814
1818
<!-- YAML
1815
1819
added: v11.12.0
1820
+ changes:
1821
+ - version: REPLACEME
1822
+ pr-url: https://github.com/nodejs/node/pull/32242
1823
+ description: This API is no longer considered experimental.
1816
1824
-->
1817
1825
1818
- > Stability: 1 - Experimental
1819
-
1820
1826
* {string}
1821
1827
1822
1828
Filename where the report is written. If set to the empty string, the output
@@ -1830,10 +1836,12 @@ console.log(`Report filename is ${process.report.filename}`);
1830
1836
### ` process.report.getReport([err]) `
1831
1837
<!-- YAML
1832
1838
added: v11.8.0
1839
+ changes:
1840
+ - version: REPLACEME
1841
+ pr-url: https://github.com/nodejs/node/pull/32242
1842
+ description: This API is no longer considered experimental.
1833
1843
-->
1834
1844
1835
- > Stability: 1 - Experimental
1836
-
1837
1845
* ` err ` {Error} A custom error used for reporting the JavaScript stack.
1838
1846
* Returns: {Object}
1839
1847
@@ -1871,10 +1879,12 @@ console.log(`Report on fatal error: ${process.report.reportOnFatalError}`);
1871
1879
### ` process.report.reportOnSignal `
1872
1880
<!-- YAML
1873
1881
added: v11.12.0
1882
+ changes:
1883
+ - version: REPLACEME
1884
+ pr-url: https://github.com/nodejs/node/pull/32242
1885
+ description: This API is no longer considered experimental.
1874
1886
-->
1875
1887
1876
- > Stability: 1 - Experimental
1877
-
1878
1888
* {boolean}
1879
1889
1880
1890
If ` true ` , a diagnostic report is generated when the process receives the
@@ -1887,10 +1897,12 @@ console.log(`Report on signal: ${process.report.reportOnSignal}`);
1887
1897
### ` process.report.reportOnUncaughtException `
1888
1898
<!-- YAML
1889
1899
added: v11.12.0
1900
+ changes:
1901
+ - version: REPLACEME
1902
+ pr-url: https://github.com/nodejs/node/pull/32242
1903
+ description: This API is no longer considered experimental.
1890
1904
-->
1891
1905
1892
- > Stability: 1 - Experimental
1893
-
1894
1906
* {boolean}
1895
1907
1896
1908
If ` true ` , a diagnostic report is generated on uncaught exception.
@@ -1902,10 +1914,12 @@ console.log(`Report on exception: ${process.report.reportOnUncaughtException}`);
1902
1914
### ` process.report.signal `
1903
1915
<!-- YAML
1904
1916
added: v11.12.0
1917
+ changes:
1918
+ - version: REPLACEME
1919
+ pr-url: https://github.com/nodejs/node/pull/32242
1920
+ description: This API is no longer considered experimental.
1905
1921
-->
1906
1922
1907
- > Stability: 1 - Experimental
1908
-
1909
1923
* {string}
1910
1924
1911
1925
The signal used to trigger the creation of a diagnostic report. Defaults to
@@ -1918,10 +1932,12 @@ console.log(`Report signal: ${process.report.signal}`);
1918
1932
### ` process.report.writeReport([filename][, err]) `
1919
1933
<!-- YAML
1920
1934
added: v11.8.0
1935
+ changes:
1936
+ - version: REPLACEME
1937
+ pr-url: https://github.com/nodejs/node/pull/32242
1938
+ description: This API is no longer considered experimental.
1921
1939
-->
1922
1940
1923
- > Stability: 1 - Experimental
1924
-
1925
1941
* ` filename ` {string} Name of the file where the report is written. This
1926
1942
should be a relative path, that will be appended to the directory specified in
1927
1943
` process.report.directory ` , or the current working directory of the Node.js
0 commit comments