Socket
Socket
Sign inDemoInstall

postcss-selector-not

Package Overview
Dependencies
6
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

6

CHANGELOG.md

@@ -1,3 +0,7 @@

# 1.2.0 - 2015-06-13
# 1.2.1 - 2015-06-16
- Fixed: selector was updated as an array, which is wrong.
# 1.2.0 - 2015-06-16
- Fixed: spec has been previously misinterpreted and now transform correctly

@@ -4,0 +8,0 @@ `:not()` level 4 to collapsed level 3

5

dist/index.js

@@ -26,3 +26,2 @@ "use strict";

var matches = (0, _balancedMatch2["default"])("(", ")", selector.slice(position));
var selectors = [];
var bodySelectors = matches.body ? _postcssLibList2["default"].comma(matches.body).map(function (s) {

@@ -32,4 +31,4 @@ return explodeSelector(pseudoClass, s);

var postSelectors = matches.post ? explodeSelector(pseudoClass, matches.post) : "";
selectors.push("" + pre + "" + pseudoClass + "(" + bodySelectors + ")" + postSelectors);
return selectors;
return "" + pre + "" + pseudoClass + "(" + bodySelectors + ")" + postSelectors;
}

@@ -36,0 +35,0 @@ return selector;

{
"name": "postcss-selector-not",
"version": "1.2.0",
"version": "1.2.1",
"description": "PostCSS plugin to transform :not() W3C CSS leve 4 pseudo class to :not() CSS level 3 selectors",

@@ -5,0 +5,0 @@ "keywords": [

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