Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js / Nextra Phoning Home? #8

Open
nelsonic opened this issue Jul 23, 2024 · 0 comments
Open

Next.js / Nextra Phoning Home? #8

nelsonic opened this issue Jul 23, 2024 · 0 comments

Comments

@nelsonic
Copy link
Member

While doing a routine update to the /docs I got the following compilation error in the Nextra project:

image

Note: the Nextra project is served on TCP: 3001
to avoid conflicts with another project on 3000
but otherwise it's "stock" Nextra.

Next.js (14.2.4) out of date (learn more)

This warning appearing in the error message may appear to be a "helpful" reminder to devs
but it is problematic in a high security environment because in order to know that there's a newer version of Next.js
needs to Phone Home either to NPM for the version number or to Vercel ... either way it's making an external network request. 💭

the is the page the "learn more" links to: https://nextjs.org/docs/messages/version-staleness
image

To be clear: I'm a proponent of keeping software/systems up-to-date in terms of security patches/updates. ⬆️
And to some people who aren't security conscious having Next.js making network requests might be convenient ...
But if you work in a high security environment and need to know what all outbound network requests are doing,
this is a no-go! 🙅

At the time of writing the version of Next.js in our Nextra project is 14.2.4 and the most recent version on NPM is 14.2.5:
https://www.npmjs.com/package/next?activeTab=versions
image

They have published 2,665 versions ... 😮
How maintainable is a project that has an update every day ...? 🤷‍♂️ dwyl/learn-nextjs#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant