From d33cbabd79cd7f2d2925e352b34dd42e8675147a Mon Sep 17 00:00:00 2001 From: Xuguang Mei Date: Sun, 24 Apr 2022 13:34:54 +0800 Subject: [PATCH] lib: remove experimental warning from FormData MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: https://github.com/nodejs/node/issues/42792 PR-URL: https://github.com/nodejs/node/pull/42807 Fixes: https://github.com/nodejs/node/issues/42792 Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Mestery Reviewed-By: Beth Griggs Reviewed-By: Filip Skokan Reviewed-By: Akhil Marsonya --- lib/internal/bootstrap/pre_execution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js index e1b882b6dbe744..0b58803e63d243 100644 --- a/lib/internal/bootstrap/pre_execution.js +++ b/lib/internal/bootstrap/pre_execution.js @@ -190,12 +190,12 @@ function setupFetch() { return undici; } - emitExperimentalWarning('The Fetch API'); undici = require('internal/deps/undici/undici'); return undici; } async function fetch(input, init = undefined) { + emitExperimentalWarning('The Fetch API'); return lazyUndici().fetch(input, init); }