illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.91k stars 1.51k forks source link

Allow skipping new version check #467

Closed rpax closed 3 years ago

rpax commented 3 years ago

If the response returned by registry.npmjs.org is not json, the startup will fail (happened me twice). With this new flag, the original behavior is preseved, but allows skipping this new version check if the developer wants to.

Thanks!

illuspas commented 3 years ago

I looked at the recent submission records, A piece of code should be deleted by mistake, I will resubmit it later.

rpax commented 3 years ago

I looked at the recent submission records, A piece of code should be deleted by mistake, I will resubmit it later.

But this can be still valid right?

IMHO, there is no harm on that flag