postcss-styl
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -69,2 +69,12 @@ "use strict" | ||
}, | ||
group(sourceCode, node) { | ||
const index = sourceCode.getIndexFromStylusNode(node) | ||
if (sourceCode.text[index] === "}") { | ||
if (node.nodes[0]) { | ||
return this.getStartIndex(sourceCode, node.nodes[0]) | ||
} | ||
} | ||
return index | ||
}, | ||
selector(sourceCode, node) { | ||
@@ -71,0 +81,0 @@ if (node.segments[0]) { |
{ | ||
"name": "postcss-styl", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "PostCSS parser plugin for converting Stylus syntax to PostCSS AST.", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
119050
3623