We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401f3e7 commit 906245eCopy full SHA for 906245e
doc/api/deprecations.md
@@ -154,9 +154,10 @@ objects:
154
* [`Buffer.from(string[, encoding])`][from_string_encoding] - Create a `Buffer`
155
that copies `string`.
156
157
-As of v10.0.0, a deprecation warning is printed at runtime when
158
-`--pending-deprecation` is used or when the calling code is
159
-outside `node_modules` in order to better target developers, rather than users.
+Without `--pending-deprecation`, runtime warnings occur only for code not in
+`node_modules`. This means there will not be deprecation warnings for
+`Buffer()` usage in dependencies. With `--pending-deprecation`, a runtime
160
+warning results no matter where the `Buffer()` usage occurs.
161
162
<a id="DEP0006"></a>
163
### DEP0006: child\_process options.customFds
0 commit comments