🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

postcss-minify-selectors

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-selectors - npm Package Compare versions

Comparing version

to
1.4.2

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 1.4.2
* Bump dependencies.
* Fixes for PostCSS plugin guidelines.
# 1.4.1

@@ -2,0 +7,0 @@

20

package.json
{
"name": "postcss-minify-selectors",
"version": "1.4.1",
"version": "1.4.2",
"description": "Minify selectors with PostCSS.",

@@ -12,12 +12,14 @@ "main": "index.js",

"css",
"comments",
"minify",
"optimise",
"postcss",
"postcss-plugins"
"postcss-plugin",
"selectors"
],
"license": "MIT",
"devDependencies": {
"jshint": "^2.6.3",
"jshint-stylish": "^1.0.1",
"tap-spec": "^2.2.2",
"tape": "^3.5.0"
"jshint": "^2.8.0",
"jshint-stylish": "^2.0.1",
"tap-spec": "^4.0.2",
"tape": "^4.0.0"
},

@@ -37,6 +39,6 @@ "homepage": "https://github.com/ben-eb/postcss-minify-selectors",

"normalize-selector": "0.0.3-a",
"postcss": "^4.1.11",
"postcss-selector-parser": "0.0.5",
"postcss": "^4.1.13",
"postcss-selector-parser": "1.1.1",
"uniqs": "^2.0.0"
}
}

@@ -5,4 +5,6 @@ # [postcss][postcss]-minify-selectors [![Build Status](https://travis-ci.org/ben-eb/postcss-minify-selectors.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-minify-selectors.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/postcss-minify-selectors.svg)][deps]

Install via [npm](https://npmjs.org/package/postcss-minify-selectors):
## Install
With [npm](https://npmjs.org/package/postcss-minify-selectors) do:
```

@@ -14,10 +16,12 @@ npm install postcss-minify-selectors --save

```js
var postcss = require('postcss')
var selectors = require('postcss-minify-selectors');
### Input
var css = 'h1 + p, h2, h3, h2{color:blue}';
console.log(postcss(selectors()).process(css).css);
```css
h1 + p, h2, h3, h2{color:blue}
```
// => 'h1+p,h2,h3{color:blue}'
### Output
```css
h1+p,h2,h3{color:blue}
```

@@ -27,2 +31,7 @@

## Usage
See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
examples for your environment.
## Contributing

@@ -35,3 +44,3 @@

MIT © Ben Briggs
MIT © [Ben Briggs](http://beneb.info)

@@ -38,0 +47,0 @@ [ci]: https://travis-ci.org/ben-eb/postcss-minify-selectors

Sorry, the diff of this file is not supported yet