Remix.run Logo
thorum 6 days ago

> npm scripts make a http call to the npm registry each time they run, which means they are a terrible way to execute a health check.

Is this true? I couldn’t find another source discussing it. That would be insane behavior for a package manager.

jrasm91 6 days ago | parent | next [-]

https://docs.npmjs.com/cli/v6/using-npm/config#update-notifi...

https://github.com/npm/cli/blob/5d82d0b4a4bd1424031fb68b4df7...

dgoldstein0 6 days ago | parent | prev | next [-]

It might be referring to the check if whether npm is up to date so it can prompt you to update if it isn't?

skacekamen 6 days ago | parent | prev | next [-]

probably an update check? It definitely sometimes shows an update banner

6 days ago | parent | prev [-]
[deleted]