Keep require('next/package.json').version in getVersionInfo()
This function checks the installed version against npm registry for staleness detection. It must read from disk at runtime so that the version-staleness test can mock it by patching node_modules/next/package.json.
Showing
Please
register
or
sign in
to comment