-
Notifications
You must be signed in to change notification settings - Fork 30k
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
repl: hide top-level await feature behind a flag #19604
Conversation
Should this be documented? |
doc/api/repl.md
Outdated
> await Promise.reject(new Error('REPL await')) | ||
Error: REPL await | ||
at repl:1:45 | ||
> timeout = util.promisify(setTimeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: maybe const timeout =
and const old =
to not emphasize sloppy mode?
e4a8224
to
ce1f2d5
Compare
I'll be landing this in a few days. |
PR-URL: #19604 Refs: #17807 Refs: #15566 (comment) Reviewed-By: Gus Caplan <me@gus.host>
@TimothyGu It seems the flag also should be mentioned in |
Since this is semver-patch it will definitely make it in to 10.0.0 |
@vsemozhetbyt See #20133. |
This should be backported with #20133 |
PR-URL: #20133 Fixes: #19604 (comment) Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #19604 Refs: #17807 Refs: #15566 (comment) Reviewed-By: Gus Caplan <me@gus.host>
PR-URL: #20133 Fixes: #19604 (comment) Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: #17807
Refs: #15566 (comment)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes