Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit dcc69ad

Browse files
committed
3.1.1
1 parent 8b41822 commit dcc69ad

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Lab Function
22

3+
### 3.1.1 (April 25, 2020)
4+
5+
- Updated: Using `walkType` to evade walker bug in `postcss-values-parser`
6+
37
### 3.1.0 (April 25, 2020)
48

59
- Updated: `postcss-values-parser` to 3.2.0 (minor).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-lab-function",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Use lab() and lch() color functions in CSS",
55
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
66
"license": "CC0-1.0",

src/onCSSDeclaration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const onCSSDeclaration = decl => {
99
if (hasAnyColorFunction(originalValue)) {
1010
const valueAST = parse(originalValue)
1111

12-
valueAST.walkFuncs(onCSSFunction)
12+
valueAST.walkType('func', onCSSFunction)
1313

1414
const modifiedValue = String(valueAST)
1515

0 commit comments

Comments
 (0)