Skip to content
This repository was archived by the owner on Jan 22, 2020. It is now read-only.

Releases: zlatanvasovic/percent

v2.0.0

01 Oct 14:20

Choose a tag to compare

ES7 version of percent. Completely rewritten.

v1.2.0

27 Sep 17:37

Choose a tag to compare

🪲 Bug fixes

  • Add support for decimal numbers with comma
  • #1: Add support for percents with both comma and dot (e.g. 1,104.536%)

🌟 Enhancements

  • Simplify percent valid checks
  • Replace JSHint and JSCS completely with ESLint

v1.1.1

29 Mar 21:06

Choose a tag to compare

🌟 Enhancements

  • Add possibility to customize .calc() sign.
  • Merge if checks to improve performances.

v1.1.0

19 Mar 20:09

Choose a tag to compare

🌟 Enhancements

  • Rewrite code for better readability and performances.
  • Add .re API option as supreme percent regexp.
  • Add new functions: .clean(), .convert(), .satisfies().

v1.0.3

24 Feb 09:29

Choose a tag to compare

🌟 Enhancements

  • Rewrite readme.
  • Improve .editorconfig
  • Optimize regex tests ⌚

v1.0.2

01 Feb 19:14

Choose a tag to compare

🪲 Bug fixes

  • Avoid wrong value errors in percent.calc

🌟 Enhancements

  • Improve API docs
  • Set default sign value for percent.calc
  • Improve coding style

v1.0.1

17 Jan 11:14

Choose a tag to compare

🪲 Bug fixes

  • Rename ,gitignore to .gitignore

📀 Development fixes

  • Quote node version in .travis.yml so it isn't parsed as a float

🌟 Enhancements

  • Add comparision functions: percent.lt, percent.gt, percent.eq and percent.neq
  • Improve README
  • Add LICENSE.md to package.json files array
  • Improve percent.unsign, so it doesn't perform .match() on numbers anymore.
  • Improve return values
  • Reorder functions
  • Improve tests overall

v1.0.0

07 Jan 19:01

Choose a tag to compare

Initial release of Percent.