File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -594,6 +594,11 @@ declare module "node:process" {
594594 * @default false
595595 */
596596 reportOnUncaughtException : boolean ;
597+ /**
598+ * If true, a diagnostic report is generated without the environment variables.
599+ * @default false
600+ */
601+ excludeEnv : boolean ;
597602 /**
598603 * The signal used to trigger the creation of a diagnostic report.
599604 * @default 'SIGUSR2'
Original file line number Diff line number Diff line change @@ -474,6 +474,11 @@ declare module "process" {
474474 * @default false
475475 */
476476 reportOnUncaughtException : boolean ;
477+ /**
478+ * If true, a diagnostic report is generated without the environment variables.
479+ * @default false
480+ */
481+ excludeEnv : boolean ;
477482 /**
478483 * The signal used to trigger the creation of a diagnostic report.
479484 * @default 'SIGUSR2'
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ import { fileURLToPath } from "node:url";
6868 report . reportOnFatalError = true ;
6969 report . reportOnSignal = true ;
7070 report . reportOnUncaughtException = true ;
71+ report . excludeEnv = true ;
7172 report . signal = "SIGINT" ;
7273 let dest = report . writeReport ( "asdasd" , new Error ( ) ) ;
7374 dest = report . writeReport ( "asdasd" ) ;
Original file line number Diff line number Diff line change @@ -472,6 +472,11 @@ declare module "process" {
472472 * @default false
473473 */
474474 reportOnUncaughtException : boolean ;
475+ /**
476+ * If true, a diagnostic report is generated without the environment variables.
477+ * @default false
478+ */
479+ excludeEnv : boolean ;
475480 /**
476481 * The signal used to trigger the creation of a diagnostic report.
477482 * @default 'SIGUSR2'
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ import { fileURLToPath } from "node:url";
6868 report . reportOnFatalError = true ;
6969 report . reportOnSignal = true ;
7070 report . reportOnUncaughtException = true ;
71+ report . excludeEnv = true ;
7172 report . signal = "SIGINT" ;
7273 let dest = report . writeReport ( "asdasd" , new Error ( ) ) ;
7374 dest = report . writeReport ( "asdasd" ) ;
You can’t perform that action at this time.
0 commit comments