@@ -915,7 +915,6 @@ Type: Runtime
915
915
916
916
This was never a documented feature.
917
917
918
-
919
918
<a id="DEP0101"></a>
920
919
### DEP0101: --with-lttng
921
920
@@ -940,6 +939,17 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
940
939
Using `process.binding()` in general should be avoided. The type checking
941
940
methods in particular can be replaced by using [`util.types`][].
942
941
942
+ <a id="DEP0104"></a>
943
+ ### DEP0104: process.env string coercion
944
+
945
+ Type: Documentation-only (supports [`--pending-deprecation`][])
946
+
947
+ Currently when assigning a property to [`process.env`][], the assigned value is
948
+ implicitly converted to a string if it is not a string. This behavior is
949
+ deprecated if the assigned value is not a string, boolean, or number. In the
950
+ future, such assignment may result in a thrown error. Please convert the
951
+ property to a string before assigning it to `process.env`.
952
+
943
953
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
944
954
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
945
955
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array
@@ -976,6 +986,7 @@ methods in particular can be replaced by using [`util.types`][].
976
986
[`fs.stat()`]: fs.html#fs_fs_stat_path_callback
977
987
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces
978
988
[`os.tmpdir()`]: os.html#os_os_tmpdir
989
+ [`process.env`]: process.html#process_process_env
979
990
[`punycode`]: punycode.html
980
991
[`require.extensions`]: modules.html#modules_require_extensions
981
992
[`setInterval()`]: timers.html#timers_setinterval_callback_delay_args
0 commit comments