diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-01-22 05:37:00 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-01-26 19:06:59 +0300 |
commit | cef00ad4145e15ae19e09f3324dd8366ad151adb (patch) | |
tree | 7ffcfb8a580279585498f43e6e5a4628a3eafbfc /doc/api/buffer.md | |
parent | bb13469acb66e555feb6d278991ba3f4042130d8 (diff) |
2021-01-26, Version 15.7.0 (Current)
PR-URL: https://github.com/nodejs/node/pull/37020
Notable changes:
* buffer:
* introduce Blob (James M Snell) [#36811](https://github.com/nodejs/node/pull/36811)
* add base64url encoding option (Filip Skokan) [#36952](https://github.com/nodejs/node/pull/36952)
* doc:
* add @iansu to collaborators (Ian Sutherland) [#36951](https://github.com/nodejs/node/pull/36951)
* add @RaisinTen to collaborators (Darshan Sen) [#36998](https://github.com/nodejs/node/pull/36998)
* add @miladfarca to collaborators (Milad Fa) [#36934](https://github.com/nodejs/node/pull/36934)
* fs:
* allow position parameter to be a BigInt in read and readSync (raisinten) [#36190](https://github.com/nodejs/node/pull/36190)
* http:
* attach request as res.req (Ian Storm Taylor) [#36505](https://github.com/nodejs/node/pull/36505)
* expose urlToHttpOptions utility (Yongsheng Zhang) [#35960](https://github.com/nodejs/node/pull/35960)
Diffstat (limited to 'doc/api/buffer.md')
-rw-r--r-- | doc/api/buffer.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md index e80c72251d7..d04650ba09e 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -50,7 +50,7 @@ const buf7 = Buffer.from('tést', 'latin1'); ## Buffers and character encodings <!-- YAML changes: - - version: REPLACEME + - version: v15.7.0 pr-url: https://github.com/nodejs/node/pull/36952 description: Introduced `base64url` encoding. - version: v6.4.0 @@ -289,7 +289,7 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and ## Class: `Blob` <!-- YAML -added: REPLACEME +added: v15.7.0 --> > Stability: 1 - Experimental @@ -299,7 +299,7 @@ multiple worker threads. ### `new buffer.Blob([sources[, options]])` <!-- YAML -added: REPLACEME +added: v15.7.0 --> * `sources` {string[]|ArrayBuffer[]|TypedArray[]|DataView[]|Blob[]} An array @@ -321,7 +321,7 @@ String sources are also copied into the `Blob`. ### `blob.arrayBuffer()` <!-- YAML -added: REPLACEME +added: v15.7.0 --> * Returns: {Promise} @@ -331,14 +331,14 @@ the `Blob` data. ### `blob.size` <!-- YAML -added: REPLACEME +added: v15.7.0 --> The total size of the `Blob` in bytes. ### `blob.slice([start, [end, [type]]])` <!-- YAML -added: REPLACEME +added: v15.7.0 --> * `start` {number} The starting index. @@ -350,7 +350,7 @@ data. The original `Blob` is not alterered. ### `blob.text()` <!-- YAML -added: REPLACEME +added: v15.7.0 --> * Returns: {Promise} @@ -360,7 +360,7 @@ string. ### `blob.type` <!-- YAML -added: REPLACEME +added: v15.7.0 --> * Type: {string} |