Remove dependency on timespan#1014
Conversation
| "prototypejs": false, | ||
| "mootools": false, | ||
| "dojo": false, | ||
| "esversion": 5, |
There was a problem hiding this comment.
Eventually we may want to bump it, better to be explicit. Almost used template literals in this PR :)
|
Any idea for a release date with this merge? |
|
@indexzero is currently ooo, I'll ping him when he is back. Can you depend on master for now? |
|
Any update on when this will be released to npm? |
* Execute tests in CI on newer Node.js versions (foreversd#1013) * Add example for referencing -l -o and -e parameters from within a JSON config file (foreversd#869) * [fix] use fs.unlinkSync (foreversd#979) Right now fs.unlink is used without a callback. This would throw from Node.js 10 on. Therefore switch to the sync version. That way errors are also going to be detected. * Remove dependency on timespan (foreversd#1014) * Remove dependency on timespan. Add test to ensure that uptime signature didn't change * Remove redundant description * Propagate error when failing to create directories on startup (foreversd#1017) * Update utile to get rid of security warning (foreversd#1022) * Update utile to get rid of security warning * Don't use external dependencies from utile * [doc] Update contributors. * [dist] Add package-lock.json * [dist] Version bump. 0.15.4 * [dist] Version bump. 1.0.0 * Update changelog for 1.0.0
|
guys, im using this to run a trading bot, so it listens to a port regularly for 24 hours, and send some http requests, so will there be any problem for me using this, coz the prog should not stop in between not even for a second. can i use this or?? any advice |
|
@kanish-111 Why not use nodemon? |
idk which is reliable for this case, which would you suggest, as it should not take much cpu tho, |
|
@kanish-111 All of them are pretty lightweight. Nodemon has the best support these days. |
And btw pm2?? |
|
@kanish-111 Matteo Collina doesn't recommend pm2 due to it monkey-patching lots of Node.js internals, and I trust his authority on this. |
Inspired by #956
Addresses https://nodesecurity.io/advisories/533
Implemented differently due to following concerns:
date-differenceis not a widely used library, so I am wary to include it as a dependency in a major project;This PR does not change the original signature of an uptime.