| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -693,12 +693,22 @@ disabled. | |||
| 693 | 693 | .It Ev NO_COLOR | |
| 694 | 694 | Alias for NODE_DISABLE_COLORS | |
| 695 | 695 | . | |
| 696 | + .It Ev NODE_COMPILE_CACHE Ar dir | ||
| 697 | + Enable the | ||
| 698 | + .Sy module compile cache | ||
| 699 | + for the Node.js instance. | ||
| 700 | + . | ||
| 696 | 701 | .It Ev NODE_DEBUG Ar modules... | |
| 697 | 702 | Comma-separated list of core modules that should print debug information. | |
| 698 | 703 | . | |
| 699 | 704 | .It Ev NODE_DEBUG_NATIVE Ar modules... | |
| 700 | 705 | Comma-separated list of C++ core modules that should print debug information. | |
| 701 | 706 | . | |
| 707 | + .It Ev NODE_DISABLE_COMPILE_CACHE | ||
| 708 | + Disable the | ||
| 709 | + .Sy module compile cache | ||
| 710 | + for the Node.js instance. | ||
| 711 | + . | ||
| 702 | 712 | .It Ev NODE_DISABLE_COLORS | |
| 703 | 713 | When set to | |
| 704 | 714 | .Ar 1 , | |
@@ -754,6 +764,9 @@ When set to | |||
| 754 | 764 | .Ar 1 , | |
| 755 | 765 | emit pending deprecation warnings. | |
| 756 | 766 | . | |
| 767 | + .It Ev NODE_PENDING_PIPE_INSTANCES | ||
| 768 | + Set the number of pending pipe instance handles when the pipe server is waiting for connections. This setting applies to Windows only. | ||
| 769 | + . | ||
| 757 | 770 | .It Ev NODE_PRESERVE_SYMLINKS | |
| 758 | 771 | When set to | |
| 759 | 772 | .Ar 1 , | |
@@ -787,11 +800,30 @@ the check for a supported platform is skipped during Node.js startup. | |||
| 787 | 800 | Node.js might not execute correctly. | |
| 788 | 801 | Any issues encountered on unsupported platforms will not be fixed. | |
| 789 | 802 | . | |
| 803 | + .It Ev NODE_TEST_CONTEXT | ||
| 804 | + When set to | ||
| 805 | + .Ar 'child' | ||
| 806 | + , test reporter options will be overridden and test output will be sent to stdout in the TAP format. | ||
| 807 | + If any other value is provided, Node.js makes no guarantees about the reporter format used or its stability. | ||
| 808 | + . | ||
| 790 | 809 | .It Ev NODE_TLS_REJECT_UNAUTHORIZED | |
| 791 | 810 | When set to | |
| 792 | 811 | .Ar 0 , | |
| 793 | 812 | TLS certificate validation is disabled. | |
| 794 | 813 | . | |
| 814 | + .It Ev NODE_USE_ENV_PROXY | ||
| 815 | + When enabled, Node.js parses the | ||
| 816 | + .Ar HTTP_PROXY | ||
| 817 | + , | ||
| 818 | + .Ar HTTPS_PROXY | ||
| 819 | + and | ||
| 820 | + .Ar NO_PROXY | ||
| 821 | + environment variables during startup, and tunnels requests over the specified proxy. | ||
| 822 | + .Pp | ||
| 823 | + This currently only affects requests sent over | ||
| 824 | + .Ar fetch() . | ||
| 825 | + Support for other built-in http and https methods is under way. | ||
| 826 | + . | ||
| 795 | 827 | .It Ev NODE_V8_COVERAGE Ar dir | |
| 796 | 828 | When set, Node.js writes JavaScript code coverage information to | |
| 797 | 829 | .Ar dir . | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,18 +21,8 @@ assert(manpageEnvVarNames.size > 0, | |||
| 21 | 21 | 'Unexpectedly not even a single env variable was detected when scanning the `doc/node.1` file' | |
| 22 | 22 | ); | |
| 23 | 23 | ||
| 24 | - // TODO(dario-piotrowicz): add the missing env variables to the manpage and remove this set | ||
| 25 | - // (refs: https://github.com/nodejs/node/issues/58894) | ||
| 26 | - const knownEnvVariablesMissingFromManPage = new Set([ | ||
| 27 | - 'NODE_COMPILE_CACHE', | ||
| 28 | - 'NODE_DISABLE_COMPILE_CACHE', | ||
| 29 | - 'NODE_PENDING_PIPE_INSTANCES', | ||
| 30 | - 'NODE_TEST_CONTEXT', | ||
| 31 | - 'NODE_USE_ENV_PROXY', | ||
| 32 | - ]); | ||
| 33 | - | ||
| 34 | 24 | for (const envVarName of cliMdEnvVarNames) { | |
| 35 | - if (!manpageEnvVarNames.has(envVarName) && !knownEnvVariablesMissingFromManPage.has(envVarName)) { | ||
| 25 | + if (!manpageEnvVarNames.has(envVarName)) { | ||
| 36 | 26 | assert.fail(`The "${envVarName}" environment variable (present in \`doc/api/cli.md\`) is missing from the \`doc/node.1\` file`); | |
| 37 | 27 | } | |
| 38 | 28 | manpageEnvVarNames.delete(envVarName); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments