All notable changes to this project will be documented in this file.
The format is based on EZEZ Changelog and this project adheres to Semantic Versioning.
- (nothing yet)
- Changelog added to the docs
- dev deps update
timeLeft
property
restartOnly
methods supports updating timeout and instant first runstartOnly
methods supports updating instant first run
- JSDoc is invalid about return types
- big dev deps update
startOnly
methodrestartOnly
method
- got rid of default exports in internal files, if you (incorrectly) required internal files previously change your
require
/import
statements
- tutorial/readme update
- the instance is no longer returned from
start
/stop
methods, it was useless and possibly confusing
- dev dependencies bump
- support for pretty new node versions with common js code
- TypeScript typings
started
property that indicates if timer is started
- CommonJS compatibility
- better native ESM support
- library now works as real esmodule with commonjs fallback
- esmodule syntax not applied everywhere
- handling of incorrect time values
- handling of Infinity value as time
- dev deps upgraded, fixing audit warnings
- commonjs syntax to esmodule (commonjs available in
dist
folder) dist
is transpiled for modern js environment, please use own further transpilation if you need to support old stuff
- first version