Socket
Socket
Sign inDemoInstall

stylelint

Package Overview
Dependencies
Maintainers
6
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint - npm Package Compare versions

Comparing version 14.7.0 to 14.7.1

4

lib/reference/keywordSets.js

@@ -100,2 +100,6 @@ 'use strict';

'system-ui',
'ui-serif',
'ui-sans-serif',
'ui-monospace',
'ui-rounded',
]);

@@ -102,0 +106,0 @@

5

lib/utils/report.js

@@ -31,3 +31,3 @@ 'use strict';

const { start, end } = (node && node.rangeBy({ index, endIndex })) || {};
const { start } = (node && node.rangeBy({ index, endIndex })) || {};

@@ -37,3 +37,2 @@ // If a line is not passed, use the node.rangeBy method to get the

const startLine = line || (start && start.line);
const endLine = line || (end && end.line);

@@ -55,3 +54,3 @@ if (!startLine) {

range.start <= startLine &&
(range.end === undefined || range.end >= (endLine || startLine)) &&
(range.end === undefined || range.end >= startLine) &&
(!range.rules || range.rules.includes(ruleName))

@@ -58,0 +57,0 @@ ) {

{
"name": "stylelint",
"version": "14.7.0",
"version": "14.7.1",
"description": "A mighty, modern CSS linter.",

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

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