Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 82b34f3

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
doc: edit text for DEP0104
Make the deprecation message a bit clear and concise. PR-URL: #20519 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 252ca72 commit 82b34f3
Copy full SHA for 82b34f3

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -950,11 +950,11 @@ methods in particular can be replaced by using [`util.types`][].
950950
951951
Type: Documentation-only (supports [`--pending-deprecation`][])
952952
953-
Currently when assigning a property to [`process.env`][], the assigned value is
954-
implicitly converted to a string if it is not a string. This behavior is
955-
deprecated if the assigned value is not a string, boolean, or number. In the
956-
future, such assignment may result in a thrown error. Please convert the
957-
property to a string before assigning it to `process.env`.
953+
When assigning a non-string property to [`process.env`][], the assigned value is
954+
implicitly converted to a string. This behavior is deprecated if the assigned
955+
value is not a string, boolean, or number. In the future, such assignment may
956+
result in a thrown error. Please convert the property to a string before
957+
assigning it to `process.env`.
958958
959959
<a id="DEP0105"></a>
960960
### DEP0105: decipher.finaltol

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.