deps: upgrade npm to v9.0.0-pre.2
This is a draft PR to do integration tests between the latest npm v9 release candidate and Node.js. Please feel free to leave any comments.
Please refer to https://github.com/npm/statusboard/issues/443 for the full list of intended breaking changes for v9
https://github.com/npm/cli/releases/tag/v9.0.0-pre.0 https://github.com/npm/cli/releases/tag/v9.0.0-pre.1 https://github.com/npm/cli/releases/tag/v9.0.0-pre.2
For the change logs of what has been implemented up until now.