From da112dbe4cfdf0f59fc4ebd8a30455e91d2a053b Mon Sep 17 00:00:00 2001 From: Khafra <42794878+KhafraDev@users.noreply.github.com> Date: Sat, 18 Mar 2023 17:27:54 -0400 Subject: [PATCH 1/2] buffer: graduate File from experimental and expose as global --- doc/api/buffer.md | 6 ++++-- doc/api/globals.md | 12 ++++++++++++ lib/.eslintrc.yaml | 2 ++ .../bootstrap/web/exposed-window-or-worker.js | 2 ++ lib/internal/file.js | 3 --- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index d6e2831dd09913..0b290beeddaf84 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/00000 + 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..4877c6e09a3efe 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -474,6 +474,18 @@ changes: A browser-compatible implementation of the [`fetch()`][] function. +## Class: `File` + + + + + +See {File}. + ## Class `FormData` diff --git a/doc/api/globals.md b/doc/api/globals.md index 4877c6e09a3efe..a1b1f259b32418 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -477,9 +477,7 @@ A browser-compatible implementation of the [`fetch()`][] function. ## Class: `File`