lib: remove experimental warning from FormData

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 <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
This commit is contained in:
Xuguang Mei 2022-04-24 13:34:54 +08:00 committed by GitHub
parent e2ff1c3b2c
commit 5ad47a0c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}