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 authored and Michaël Zasso committed 2022-04-28 06:57:22 +02:00
1 parent f9994e2029
commit d33cbabd79
1 file changed
+1 -1
+1 -1
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);
}