-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing FormData
(without using it) emits experimental warning
#42792
Comments
This is tricky to do, because the classes are defined in the |
@nodejs/undici |
We could consider removing the runtime warning for |
Let's remove the experimental warning from FormData. |
fixes: #42792 PR-URL: #42807 Fixes: #42792 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
fixes: nodejs#42792 PR-URL: nodejs#42807 Fixes: nodejs#42792 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
fixes: #42792 PR-URL: #42807 Fixes: #42792 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
Version
v18.0.0
Platform
Darwin Simens-MacBook-Pro.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64
Subsystem
No response
What steps will reproduce the bug?
node -e FormData
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
No experimental warning should be emitted by simple accessing the variable without using it, similar to accessing
fetch
itself.What do you see instead?
Additional information
Like
typeof fetch
not emitting any warning,typeof FormData
shouldn't. Using it should emit, but not simply accessing the variable.The text was updated successfully, but these errors were encountered: