-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
node -e invocation that doesn't mention sys yields deprecation warning #40871
Comments
Here's a simpler replication:
The issue is that the value of I suspect this is Working-As-Expected, as |
tbc, I the varying character of |
Maybe this is what @Trott was getting at with the properties of |
Yeah, that's what I was referring to. Sorry that I wasn't clear about it and/or didn't read what you initially wrote closely enough. Anyway, the deprecation warning occurs the first time the |
One solution could be to omit deprecated modules when we fill the global object for |
I like this idea, although I imagine it would be a breaking change. |
Version
v17.1.0
Platform
Linux t440p 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always reproducible.
What is the expected behavior?
No deprecation warning,
What do you see instead?
No response
Additional information
The provided code:
sys
, and uses no librariesThe text was updated successfully, but these errors were encountered: