Skip to content

Commit

Permalink
buffer: graduate Blob from experimental
Browse files Browse the repository at this point in the history
It's time.

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #41270
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
  • Loading branch information
jasnell authored and targos committed Jul 31, 2022
1 parent 37066f0 commit 58279d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 7 additions & 3 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,15 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and
## Class: `Blob`

<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/41270
description: No longer experimental.
-->

> Stability: 1 - Experimental
A [`Blob`][] encapsulates immutable, raw data that can be safely shared across
multiple worker threads.

Expand Down
2 changes: 0 additions & 2 deletions lib/internal/blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const {
const {
createDeferredPromise,
customInspectSymbol: kInspect,
emitExperimentalWarning,
} = require('internal/util');
const { inspect } = require('internal/util/inspect');

Expand Down Expand Up @@ -135,7 +134,6 @@ class Blob {
* @constructs {Blob}
*/
constructor(sources = [], options = {}) {
emitExperimentalWarning('buffer.Blob');
if (sources === null ||
typeof sources[SymbolIterator] !== 'function' ||
typeof sources === 'string') {
Expand Down

0 comments on commit 58279d5

Please sign in to comment.