From 5da952472b4bf495674b68eeee02f06eda3d626a Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 22 Feb 2017 00:10:25 +0100 Subject: [PATCH] doc: document pending semver-major API changes PR-URL: https://github.com/nodejs/node/pull/11489 Reviewed-By: Ben Noordhuis Reviewed-By: Sam Roberts Reviewed-By: Roman Reiss Reviewed-By: James M Snell Reviewed-By: Italo A. Casas --- doc/api/buffer.md | 29 +++++++++++++++++++++++++++++ doc/api/child_process.md | 14 ++++++++++++++ doc/api/console.md | 7 +++++++ doc/api/crypto.md | 3 +++ doc/api/dgram.md | 3 +++ doc/api/querystring.md | 3 +++ doc/api/string_decoder.md | 5 +++++ 7 files changed, 64 insertions(+) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index e79fe978e2fdb9..650e9ed981aceb 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -704,6 +704,10 @@ actual byte length is returned. ### Class Method: Buffer.compare(buf1, buf2) * `buf1` {Buffer|Uint8Array} @@ -729,6 +733,10 @@ console.log(arr.sort(Buffer.compare)); ### Class Method: Buffer.concat(list[, totalLength]) * `list` {Array} List of `Buffer` or [`Uint8Array`] instances to concat @@ -966,6 +974,9 @@ console.log(buffer.buffer === arrayBuffer); * `otherBuffer` {Buffer} A `Buffer` or [`Uint8Array`] to compare to @@ -1232,6 +1247,9 @@ console.log(buf.includes('this', 4)); * `value` {String | Buffer | Uint8Array | Integer} What to search for @@ -1464,6 +1486,9 @@ console.log(buf.length); ``` ### buf.parent + > Stability: 0 - Deprecated: Use [`buf.buffer`] instead. @@ -2475,6 +2500,10 @@ Note that this is a property on the `buffer` module returned by ## buffer.transcode(source, fromEnc, toEnc) * `source` {Buffer|Uint8Array} A `Buffer` or `Uint8Array` instance diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 50409b02959473..c653ba0d85daa4 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -252,6 +252,9 @@ encoding, `Buffer` objects will be passed to the callback instead. * `command` {String} The command to run @@ -680,6 +690,9 @@ execution.** diff --git a/doc/api/crypto.md b/doc/api/crypto.md index a36fc7c730abd8..3cec15d8223aef 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1384,6 +1384,9 @@ console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] * `buffer` {Buffer} A `Buffer` containing the bytes to decode.