3471d3405c99f66258cf115f68d204a3f54aa8290271b359d7b09f64f7f917db0270ff9e4588a776c814f4b8cc62373ec066f9c8ba83b358ac80537f9d1b85-exec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # 1.3.0 - 2016-08-26
  2. - Added: calc identifier from unresolved nested expressions are removed for
  3. better browser support
  4. ([#19](https://github.com/MoOx/reduce-css-calc/pull/19) - @ben-eb)
  5. # 1.2.8 - 2016-08-26
  6. - Fixed: regression from 1.2.5 on calc() with value without leading 0
  7. ([#17](https://github.com/MoOx/reduce-css-calc/pull/17) - @ben-eb)
  8. # 1.2.7 - 2016-08-22
  9. - Fixed: regression from 1.2.5 on calc() with value without leading 0
  10. (@MoOx)
  11. # 1.2.6 - 2016-08-22
  12. - Fixed: regression from 1.2.5 on calc() on multiple lines
  13. (@MoOx)
  14. # 1.2.5 - 2016-08-22
  15. - Fixed: security issue due to the usage of ``eval()``.
  16. This is to avoid an arbitrary code execution.
  17. Now operations are resolved using
  18. [``math-expression-evaluator``](https://github.com/redhivesoftware/math-expression-evaluator)
  19. # 1.2.4 - 2016-06-09
  20. - Fixed: zero values are not unitless anymore.
  21. Browsers do not calculate calc() with 0 unitless values.
  22. http://jsbin.com/punivivipo/edit?html,css,output
  23. ([#11](https://github.com/MoOx/reduce-css-calc/pull/11))

  24. # 1.2.3 - 2016-04-28
  25. - Fixed: wrong rouding in some edge cases
  26. ([#10](https://github.com/MoOx/reduce-css-calc/pull/10))
  27. # 1.2.2 - 2016-04-19
  28. - Fixed: Don't reduce expression containing CSS variables.
  29. ([#9](https://github.com/MoOx/reduce-css-calc/pull/9))
  30. # 1.2.1 - 2016-02-22
  31. - Fixed: uppercase letters in units are now supported
  32. ([#8](https://github.com/MoOx/reduce-css-calc/pull/8))
  33. # 1.2.0 - 2014-11-24
  34. - Decimal precision is now customisable as the `precision` option
  35. # 1.1.4 - 2014-11-12
  36. - 5 decimals rounding for everything
  37. # 1.1.3 - 2014-08-13
  38. - 5 decimals rounding for percentage
  39. # 1.1.2 - 2014-08-10
  40. - Prevent infinite loop by adding a `Call stack overflow`
  41. - Correctly ignore unrecognized values (safer evaluation for nested expressions,
  42. see [postcss/postcss-calc#2](https://github.com/postcss/postcss-calc/issues/2))
  43. - Handle rounding issues (eg: 10% * 20% now give 2%, not 2.0000000000000004%)
  44. # 1.1.1 - 2014-08-06
  45. - Fix issue when using mutiples differents prefixes in the same function
  46. # 1.1.0 - 2014-08-06
  47. - support more complex formulas
  48. - use `reduce-function-call`
  49. - better error message
  50. # 1.0.0 - 2014-08-04
  51. First release
  52. - based on [rework-calc](https://github.com/reworkcss/rework-calc) v1.1.0
  53. - add error if the calc() embed an empty calc() or empty ()
  54. - jscs + jshint added before tests