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:
parent
e2ff1c3b2c
commit
5ad47a0c2a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user