Socket
Socket
Sign inDemoInstall

postcss-selector-parser

Package Overview
Dependencies
2
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.6 to 6.0.7

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 6.0.7
- Fixed: parse animation percents
# 6.0.6

@@ -2,0 +6,0 @@

@@ -35,2 +35,6 @@ "use strict";

t.deepEqual(tree.nodes[0].nodes[1].quoteMark, '"');
});
(0, _helpers.test)('keyframes animation tag selector', '0.00%', function (t, tree) {
t.deepEqual(tree.nodes[0].nodes[0].value, '0.00%');
t.deepEqual(tree.nodes[0].nodes[0].type, 'tag');
});

@@ -966,3 +966,7 @@ "use strict";

var hasClass = indexesOf(word, '.').filter(function (i) {
return word[i - 1] !== '\\';
// Allow escaped dot within class name
var escapedDot = word[i - 1] === '\\'; // Allow decimal numbers percent in @keyframes
var isKeyframesPercent = /^\d+\.\d+%$/.test(word);
return !escapedDot && !isKeyframesPercent;
});

@@ -969,0 +973,0 @@ var hasId = indexesOf(word, '#').filter(function (i) {

2

package.json
{
"name": "postcss-selector-parser",
"version": "6.0.6",
"version": "6.0.7",
"devDependencies": {

@@ -5,0 +5,0 @@ "@babel/cli": "^7.11.6",

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