summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-01-16 20:13:26 -0500
committercjihrig <cjihrig@gmail.com>2018-01-17 09:06:03 -0500
commitdbdcf12187ec4cdc2f9b4aa080328fb746a5afd0 (patch)
tree99c9450b53511c9dcf184a282349ace199d1d2b8 /doc
parent1e802539b2811f5090281cfc8041f21120c2c3c6 (diff)
downloadandroid-node-v8-dbdcf12187ec4cdc2f9b4aa080328fb746a5afd0.tar.gz
android-node-v8-dbdcf12187ec4cdc2f9b4aa080328fb746a5afd0.tar.bz2
android-node-v8-dbdcf12187ec4cdc2f9b4aa080328fb746a5afd0.zip
doc: correct buffer changelog ordering
This commit reorders the function level changelogs of Buffer.prototype.fill() and Buffer.alloc() to reflect the order in which the entries were added. PR-URL: https://github.com/nodejs/node/pull/18129 Fixes: https://github.com/nodejs/node/issues/18128 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/buffer.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index 767d7e2aa8..5e72e3bd96 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -511,18 +511,18 @@ console.log(buf2.toString());
<!-- YAML
added: v5.10.0
changes:
- - version: v8.9.3
- pr-url: https://github.com/nodejs/node/pull/17428
- description: Specifying an invalid string for `fill` now results in a
- zero-filled buffer.
- - version: REPLACEME
- pr-url: https://github.com/nodejs/node/pull/17427
- description: Specifying an invalid string for `fill` triggers a thrown
- exception.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/18129
description: Attempting to fill a non-zero length buffer with a zero length
buffer triggers a thrown exception.
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/17427
+ description: Specifying an invalid string for `fill` triggers a thrown
+ exception.
+ - version: v8.9.3
+ pr-url: https://github.com/nodejs/node/pull/17428
+ description: Specifying an invalid string for `fill` now results in a
+ zero-filled buffer.
-->
* `size` {integer} The desired length of the new `Buffer`.
@@ -1228,17 +1228,17 @@ console.log(buf1.equals(buf3));
<!-- YAML
added: v0.5.0
changes:
- - version: v5.7.0
- pr-url: https://github.com/nodejs/node/pull/4935
- description: The `encoding` parameter is supported now.
- - version: REPLACEME
- pr-url: https://github.com/nodejs/node/pull/17427
- description: Specifying an invalid string for `value` triggers a thrown
- exception.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/18129
description: Attempting to fill a non-zero length buffer with a zero length
buffer triggers a thrown exception.
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/17427
+ description: Specifying an invalid string for `value` triggers a thrown
+ exception.
+ - version: v5.7.0
+ pr-url: https://github.com/nodejs/node/pull/4935
+ description: The `encoding` parameter is supported now.
-->
* `value` {string|Buffer|integer} The value to fill `buf` with.