Socket
Socket
Sign inDemoInstall

postcss-minify-selectors

Package Overview
Dependencies
Maintainers
8
Versions
67
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 7.0.1 to 7.0.2

4

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

@@ -29,2 +29,3 @@ "main": "src/index.js",

"dependencies": {
"cssesc": "^3.0.0",
"postcss-selector-parser": "^6.1.0"

@@ -39,2 +40,3 @@ },

"devDependencies": {
"@types/cssesc": "^3.0.2",
"postcss": "^8.4.38"

@@ -41,0 +43,0 @@ },

'use strict';
const cssesc = require('cssesc');
/**

@@ -23,3 +25,7 @@ * Can unquote attribute detection from mothereff.in

return !(range.test(value) || /^(?:-?\d|--)/.test(value));
return (
!(range.test(value) || /^(?:-?\d|--)/.test(value)) &&
// Do not remove the quotes if escaping is required.
cssesc(value) === value
);
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc