From 7bc0e6a4e79684a98cb64c61452af00e20f590e7 Mon Sep 17 00:00:00 2001 From: Khafra Date: Wed, 22 Mar 2023 15:28:12 -0400 Subject: [PATCH] buffer: graduate File from experimental and expose as global PR-URL: https://github.com/nodejs/node/pull/47153 Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina Reviewed-By: Geoffrey Booth Reviewed-By: Robert Nagy Reviewed-By: Antoine du Hamel --- doc/api/buffer.md | 6 ++++-- doc/api/globals.md | 10 ++++++++++ lib/.eslintrc.yaml | 2 ++ lib/internal/bootstrap/web/exposed-window-or-worker.js | 2 ++ lib/internal/file.js | 3 --- 5 files changed, 18 insertions(+), 5 deletions(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index d6e2831dd09913..da90d3f3050882 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -5054,10 +5054,12 @@ See [`Buffer.from(string[, encoding])`][`Buffer.from(string)`]. added: - v19.2.0 - v18.13.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/47153 + description: No longer experimental. --> -> Stability: 1 - Experimental - * Extends: {Blob} A [`File`][] provides information about files. diff --git a/doc/api/globals.md b/doc/api/globals.md index ec42fd53ab24eb..a1b1f259b32418 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -474,6 +474,16 @@ changes: A browser-compatible implementation of the [`fetch()`][] function. +## Class: `File` + + + + + +See {File}. + ## Class `FormData`