postcss-prefix
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -36,2 +36,8 @@ const postcss = require('postcss') | ||
selector.replaceWith(replacement) | ||
} else if (selector.type === 'pseudo' && selector.value === ':host-context') { | ||
const prefixNode = getPrefixNode(prefix) | ||
const replacement = Selector.selector() | ||
const prevNodes = selector.clone().nodes | ||
replacement.nodes = prevNodes.concat(' ', prefixNode, ', ', prefixNode, prevNodes) | ||
selector.replaceWith(replacement) | ||
} | ||
@@ -38,0 +44,0 @@ }) |
{ | ||
"name": "postcss-prefix", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "postcss": "^5.0.8", |
Sorry, the diff of this file is not supported yet
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
5770
144