Socket
Socket
Sign inDemoInstall

postcss-minify-selectors

Package Overview
Dependencies
16
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

5

CHANGELOG.md

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

# 2.0.2
* Fixed a crash with Polymer mixins; now the module will pass through any
selector string with a trailing colon.
# 2.0.1

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

@@ -33,2 +33,7 @@ 'use strict';

var selector = rule.raws.selector && rule.raws.selector.raw || rule.selector;
// If the selector ends with a ':' it is likely a part of a custom mixin,
// so just pass through.
if (selector[selector.length - 1] === ':') {
return;
}
rule.selector = getParsed(selector, function (selectors) {

@@ -35,0 +40,0 @@ selectors.nodes = sort(selectors.nodes, {insensitive: true});

23

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

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

"scripts": {
"lint": "jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js",
"lint": "jshint index.js lib/*.js --reporter node_modules/jshint-stylish/index.js",
"test": "tape test.js | tap-spec"

@@ -27,6 +27,6 @@ },

"jshint": "^2.8.0",
"jshint-stylish": "^2.0.1",
"postcss-font-magician": "^1.3.0",
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
"jshint-stylish": "^2.1.0",
"postcss-font-magician": "^1.4.0",
"tap-spec": "^4.1.1",
"tape": "^4.4.0"
},

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

},
"repository": {
"type": "git",
"url": "git://github.com/ben-eb/postcss-minify-selectors.git"
},
"repository": "ben-eb/postcss-minify-selectors.git",
"dependencies": {
"alphanum-sort": "^1.0.1",
"postcss": "^5.0.4",
"postcss-selector-parser": "^1.1.4"
"alphanum-sort": "^1.0.2",
"postcss": "^5.0.14",
"postcss-selector-parser": "^1.3.0"
}
}

@@ -7,3 +7,3 @@ # [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]

With [npm](https://npmjs.org/package/postcss-minify-selectors) do:
With [npm](https://www.npmjs.com/package/postcss-minify-selectors) do:

@@ -10,0 +10,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc