@funboxteam/chronos
Advanced tools
Changelog
3.2.1 (10.06.2021)
Fixed several security vulnerabilities:
Prototype Pollution in ini. Updated from 1.3.5 to 1.3.8.
Prototype Pollution in y18n. Updated from 4.0.0 to 4.0.1.
Use of a Broken or Risky Cryptographic Algorithm in elliptic. Updated from 6.5.3 to 6.5.4.
Regular Expression Denial of Service in hosted-git-info. Updated from 2.8.8 to 2.8.9.
Command Injection in lodash. Updated from 4.17.20 to 4.17.21.
Regular Expression Denial of Service in glob-parent. Updated from 5.1.1 to 5.1.2. Also led to nodemon update from 1.19.4 to 2.0.7.
Changelog
3.2.0 (30.09.2020)
Removed @funboxteam/diamonds from the deps. Instead we inlined
the only one fn used — getPlural
in getRelativeDate
.
Changelog
3.1.0 (28.09.2020)
Rewrote subtract*
functions using add*
functions. It has led to decreasing
the total size of the lib.
Changelog
3.0.1 (21.09.2020)
Added types
field into package.json to fix tsc
errors and improve IDE's
autocomplete.
Changelog
3.0.0 (03.09.2020)
Breaking change: getTime
has been renamed to getUnixTimestamp
. The function's param type definition has been updated too.
Prepared the package for publishing on GitHub. Updated all the deps, added tests coverage & improved tests.
Fixed formatTimeString
hour formatting (H
).
Check out the migration guide.