Skip to content

Commit 0f3e021

Browse files
committed
1.2.1
1 parent 6efd3b5 commit 0f3e021

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

CHANGELOG.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
1+
# 1.2.1 - 2016-02-22
2+
3+
- Fixed: uppercase letters in units are now supported
4+
([#8](https://github.com/MoOx/reduce-css-calc/pull/8))
5+
16
# 1.2.0 - 2014-11-24
27

3-
* Decimal precision is now customisable as the `precision` option
8+
- Decimal precision is now customisable as the `precision` option
49

510
# 1.1.4 - 2014-11-12
611

7-
* 5 decimals rounding for everything
12+
- 5 decimals rounding for everything
813

914
# 1.1.3 - 2014-08-13
1015

11-
* 5 decimals rounding for percentage
16+
- 5 decimals rounding for percentage
1217

1318
# 1.1.2 - 2014-08-10
1419

15-
* Prevent infinite loop by adding a `Call stack overflow`
16-
* Correctly ignore unrecognized values (safer evaluation for nested expressions, see [postcss/postcss-calc#2](https://github.com/postcss/postcss-calc/issues/2))
17-
* Handle rounding issues (eg: 10% * 20% now give 2%, not 2.0000000000000004%)
20+
- Prevent infinite loop by adding a `Call stack overflow`
21+
- Correctly ignore unrecognized values (safer evaluation for nested expressions,
22+
see [postcss/postcss-calc#2](https://github.com/postcss/postcss-calc/issues/2))
23+
- Handle rounding issues (eg: 10% * 20% now give 2%, not 2.0000000000000004%)
1824

1925
# 1.1.1 - 2014-08-06
2026

21-
* Fix issue when using mutiples differents prefixes in the same function
27+
- Fix issue when using mutiples differents prefixes in the same function
2228

2329
# 1.1.0 - 2014-08-06
2430

25-
* support more complex formulas
26-
* use `reduce-function-call`
27-
* better error message
31+
- support more complex formulas
32+
- use `reduce-function-call`
33+
- better error message
2834

2935

3036
# 1.0.0 - 2014-08-04

package.json

100755100644
+5-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reduce-css-calc",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Reduce CSS calc() function to the maximum",
55
"keywords": [
66
"css",
@@ -9,13 +9,8 @@
99
],
1010
"author": "Maxime Thirouin",
1111
"license": "MIT",
12-
"repository": {
13-
"type": "git",
14-
"url": "https://github.com/MoOx/reduce-css-calc.git"
15-
},
12+
"repository": "https://github.com/MoOx/reduce-css-calc.git",
1613
"files": [
17-
"CHANGELOG.md",
18-
"LICENSE",
1914
"index.js"
2015
],
2116
"dependencies": {
@@ -25,11 +20,13 @@
2520
"devDependencies": {
2621
"jscs": "^1.5.9",
2722
"jshint": "^2.5.2",
23+
"npmpub": "^3.0.3",
2824
"tape": "^2.13.4"
2925
},
3026
"scripts": {
3127
"jscs": "jscs *.js **/*.js",
3228
"jshint": "jshint . --exclude node_modules",
33-
"test": "npm run jscs && npm run jshint && tape test"
29+
"test": "npm run jscs && npm run jshint && tape test",
30+
"release": "npmpub"
3431
}
3532
}

0 commit comments

Comments
 (0)