postcss-scopify
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -76,7 +76,3 @@ 'use strict'; | ||
if (!rule.selectors){ | ||
return false; | ||
} | ||
else if(rule.parent.type !== 'root') { | ||
if(rule.parent.type !== 'root') { | ||
if (rule.parent.type === 'atrule' && conditionalGroupRules.indexOf(rule.parent.name) > -1){ | ||
@@ -83,0 +79,0 @@ return true; |
{ | ||
"name": "postcss-scopify", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "PostCSS plugin that adds a user input scope to each selector", | ||
@@ -27,10 +27,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"chai": "^3.0.0", | ||
"gulp": "^3.9.0", | ||
"gulp-eslint": "^0.14.0", | ||
"gulp-mocha": "^2.1.2" | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.0.2" | ||
}, | ||
"scripts": { | ||
"test": "gulp" | ||
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports test/*" | ||
} | ||
} |
@@ -1,3 +0,7 @@ | ||
# PostCSS Scopify [![Build Status][ci-img]][ci] | ||
# PostCSS Scopify | ||
[![Build status][travis-image]][travis-url] | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![Downloads][downloads-image]][downloads-url] | ||
[PostCSS] plugin that adds a user input scope to each selector. | ||
@@ -16,6 +20,11 @@ for a command line interface, see [scopify-cli]. | ||
[travis-image]: https://img.shields.io/travis/pazams/postcss-scopify.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/pazams/postcss-scopify | ||
[coveralls-image]: https://img.shields.io/coveralls/pazams/postcss-scopify.svg?style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/pazams/postcss-scopify | ||
[downloads-image]: https://img.shields.io/npm/dm/postcss-scopify.svg?style=flat-square | ||
[downloads-url]: https://npmjs.org/package/postcss-scopify | ||
[scopify-cli]: https://github.com/pazams/scopify-cli | ||
[PostCSS]: https://github.com/postcss/postcss | ||
[ci-img]: https://travis-ci.org/pazams/postcss-scopify.svg | ||
[ci]: https://travis-ci.org/pazams/postcss-scopify | ||
@@ -22,0 +31,0 @@ __Example input__ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
57481
2
17
488
90
1