tools: minor `require` consistency changes
Move the system packages first and make sure require
is in the top level.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
This is untested, not sure if CI runs these scripts. Also, this was mostly nitpicking after I noticed the https
require inside getUrl()
in tools/doc/versions.js.