Skip to content

Commit

Permalink
doc: clean up deprecations.md doc
Browse files Browse the repository at this point in the history
* This removes the --pending-deprecation label
  from the Buffer() constructor.  It was added originally,
  since it was just a Documentation only deprecation.
  It is now a full runtime deprecation,
  which by default will output what the  flag does anyway
  • Loading branch information
lholmquist committed Sep 26, 2019
1 parent 4d2856e commit c32edab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ changes:
description: Documentation-only deprecation.
-->

Type: Runtime (supports [`--pending-deprecation`][])
Type: Runtime

The `Buffer()` function and `new Buffer()` constructor are deprecated due to
API usability issues that can lead to accidental security issues.
Expand Down

0 comments on commit c32edab

Please sign in to comment.