-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
doc: remove superfluous URL require statement #20364
doc: remove superfluous URL require statement #20364
Conversation
I think this can be fast-tracked, please 👍 if you agree. CI lite: https://ci.nodejs.org/job/node-test-commit-lite/786/ (edit: green) |
Just noticed I misspelled "superfluous" in the commit message. May I ask: What is the recommended way of fixing this? |
@MarkTiedemann You can either try to change the commit message yourself (running |
Since v10.0.0, the `URL` class is available on the global object, so using a `require` statement to access it is no longer necessary.
53b0a37
to
707b5c9
Compare
@addaleax Thank you for the help! I fixed the typo and pushed with |
Landed in 6c6f313 |
Since v10.0.0, the `URL` class is available on the global object, so using a `require` statement to access it is no longer necessary. PR-URL: #20364 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Since v10.0.0, the `URL` class is available on the global object, so using a `require` statement to access it is no longer necessary. PR-URL: #20364 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Since v10.0.0, the
URL
class is available on the global object, sousing a
require
statement to access it is no longer necessary.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes