postcss-modules-local-by-default
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.0.3] - 2018-12-21 | ||
### Fixed | ||
- Don't modify inappropriate animation keywords | ||
## [2.0.2] - 2018-12-05 | ||
@@ -7,0 +11,0 @@ ### Fixed |
@@ -246,4 +246,8 @@ 'use strict'; | ||
const didParseAnimationName = false; | ||
const parsedAnimationKeywords = {}; | ||
let parsedAnimationKeywords = {}; | ||
const valueNodes = valueParser(decl.value).walk((node) => { | ||
/* If div-token appeared (represents as comma ','), a possibility of an animation-keywords should be reflesh. */ | ||
if (node.type === 'div') { | ||
parsedAnimationKeywords = {}; | ||
} | ||
const value = | ||
@@ -250,0 +254,0 @@ node.type === 'word' ? node.value.toLowerCase() : null; |
{ | ||
"name": "postcss-modules-local-by-default", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A CSS Modules transform to make local scope the default", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19165
373