All Versions
14
Latest Version
Avg Release Cycle
27 days
Latest Release
1609 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.4.4 Changes
August 25, 2020- โก๏ธ Update JSDOC for better DX.
- โก๏ธ Update devDependencies.
-
v2.4.3 Changes
July 09, 2020- โก๏ธ Update devDependencies
- ๐ Lint
- If
from
equalsto
, return 100% directly (#12)
-
v2.4.2 Changes
March 22, 2020- โก๏ธ Update devDependencies
- โก๏ธ Optimize regex
- ๐ Improve type safety
- โ
Test when
amount
equals 0
-
v2.4.1 Changes
March 10, 2020- Do not use named capture groups (they do not work in Firefox)
- โก๏ธ Update devDependencies
- ๐ Lint test files
-
v2.4.0 Changes
February 22, 2020- ๐ Parsing: allow different expression separating keywords (
in
andas
) - โก๏ธ Update parsing docs
- โ Add new parsing tests
- โก๏ธ Update devDependencies
- ๐ Fix previous tests (ava >=3.0.0)
- ๐ Parsing: allow different expression separating keywords (
-
v2.3.1 Changes
January 20, 2020- ๐ Export a
parse
function - ๐ Document the new
parse
function
- ๐ Export a
-
v2.3.0 Changes
January 19, 2020- ๐ Support full & basic parsing
- ๐ Make
to
argument optional - ๐ Change error message (when
from
and/orto
currency is missing) - โ Add additional tests for parsing
- ๐ Update documentation
- โก๏ธ Update devDependencies
-
v2.2.0 Changes
January 01, 2020- โ Add basic parsing (#8)
- โ Add new tests related to basic parsing
- โก๏ธ Update README (improve docs, add TOC & additional examples)
- โก๏ธ Update devDependencies
-
v2.1.1 Changes
December 20, 2019 -
v2.1.0 Changes
December 20, 2019- Modularisation
- Split functions into separate files for modularisation.
- Documented all functions for future readability.
- The Cashify class now accepts any of the 4 options as defaults and can be changed after initialisation.
- The Options interface has been documented directly to avoid code duplication.
- The convert function in the Cashify class proxies the non-constructor convert function to avoid code duplication.
- Correctly define typings for rates object.
- Since we're targeting Node.js v10+, we don't need to target ES5 in the tsconfig.json file. According to node.green, we can safely target ES2018 (ES7).
- Removed dom lib from the tsconfig.json since this code also works for Node which doesn't have those APIs.
- Since we're using Ava, import typescript files directly for tests to avoid issues with polyfills not being used and to increase iteration.
- Since there isn't a lockfile already in the repository, added a gitignore rule for this.
- Removed types in the param definitions since in Typescript, they are already specified.
- โก๏ธ Update devDependencies
Credits
Huge thanks to @Richienb for helping!
- Modularisation