update 'got' to v12; this requires switching to esm
modules and dropping support for node versions prior to Node v14 (which
are all out of maintenance status by now).
get the installed version, the author and the
license type from the node_modules directory instead of from
the package-lock.json file.