postcss-modules
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -34,3 +34,5 @@ 'use strict'; | ||
function isValidBehaviour(behaviour) { | ||
return Object.values(behaviours).includes(behaviour); | ||
return Object.keys(behaviours).map(function (key) { | ||
return behaviours[key]; | ||
}).indexOf(behaviour) > -1; | ||
} |
@@ -0,1 +1,4 @@ | ||
## 0.6.3 | ||
* Fixed regression in `isValidBehaviour` function (https://github.com/css-modules/postcss-modules/issues/53) | ||
## 0.6.2 | ||
@@ -2,0 +5,0 @@ * Refactored `getDefaultPluginsList` function |
{ | ||
"name": "postcss-modules", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "PostCSS plugin to use CSS Modules everywhere", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
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
49900
114