doc: remove superfluous URL require statement#20364
doc: remove superfluous URL require statement#20364MarkTiedemann wants to merge 1 commit intonodejs:masterfrom
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
Since v10.0.0, the
URLclass is available on the global object, sousing a
requirestatement to access it is no longer necessary.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes