Socket
Socket
Sign inDemoInstall

stylelint-scss

Package Overview
Dependencies
Maintainers
0
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-scss - npm Package Compare versions

Comparing version 6.5.0 to 6.5.1

2

package.json
{
"name": "stylelint-scss",
"description": "A collection of SCSS-specific rules for Stylelint",
"version": "6.5.0",
"version": "6.5.1",
"author": "Krister Kari",

@@ -6,0 +6,0 @@ "repository": "stylelint-scss/stylelint-scss",

@@ -63,4 +63,3 @@ "use strict";

if (context.fix) {
const contents = decl.value.match(/quote\((.*)\)/);
decl.value = decl.value.replace(/quote\(.*\)/, contents[1]);
decl.value = decl.value.replace(/quote\((.*)\)/, "$1");
} else {

@@ -67,0 +66,0 @@ const index = declarationValueIndex(decl) + node.sourceIndex;

@@ -54,3 +54,3 @@ "use strict";

// Verify we're only looking at quote() calls.
// Verify we're only looking at unquote() calls.
if (node.value !== "unquote") {

@@ -67,5 +67,3 @@ return;

if (context.fix) {
const contents = /unquote\((.*)\)/.exec(decl.value);
decl.value = contents[1];
decl.value = decl.value.replace(/unquote\((.*)\)/, "$1");
} else {

@@ -72,0 +70,0 @@ const index = declarationValueIndex(decl) + node.sourceIndex;

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