postcss-bem-linter
Advanced tools
Comparing version 2.5.1 to 2.6.0
@@ -0,1 +1,5 @@ | ||
=== 2.6.0 (September 26, 2016) | ||
* Allow component selector patterns without `{componentName}` interpolation. | ||
=== 2.5.1 (May 1, 2016) | ||
@@ -2,0 +6,0 @@ |
@@ -6,3 +6,3 @@ module.exports = function(source) { | ||
try { | ||
return new RegExp(splitSource[0] + componentName + splitSource[1]); | ||
return new RegExp(splitSource.length > 1 ? splitSource[0] + componentName + splitSource[1] : splitSource[0]); | ||
} catch (e) { | ||
@@ -9,0 +9,0 @@ throw new Error('"' + source + '" does not produce a valid regular expression'); |
{ | ||
"name": "postcss-bem-linter", | ||
"version": "2.5.1", | ||
"version": "2.6.0", | ||
"description": "A BEM linter for postcss", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
34382