Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylus-help

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylus-help - npm Package Compare versions

Comparing version 1.7.4 to 1.7.5

8

lib/stylus-help.js

@@ -168,3 +168,3 @@ // Generated by CoffeeScript 1.8.0

postJsonChecks = function() {
var att, attribute, attribute_info, check_1, check_2, comma_space, data, file, file_name, key, line, line_num, no_colon_semicolon, pair, s_ac, star_selector, style_attribute_check, stylus_stags, total_tags, _results;
var att, attribute, attribute_info, check_1, check_2, check_3, comma_space, data, file, file_name, key, line, line_num, no_colon_semicolon, pair, s_ac, star_selector, style_attribute_check, stylus_stags, total_tags, _results;
data = processData('convertStyleToJson', args);

@@ -213,3 +213,3 @@ stylus_stags = [];

if (no_colon_semicolon) {
if (/;|:/.test(attribute && !/url/.test(attribute))) {
if (/;|:/.test(attribute) && !/url/.test(attribute)) {
addError(no_colon_semicolon, attribute, line + key, file_name);

@@ -221,3 +221,7 @@ }

check_2 = attribute.match(/,\s/g);
check_3 = attribute.match(/content/g);
if ((check_1 != null ? check_1.length : void 0) !== (check_2 != null ? check_2.length : void 0)) {
if (check_3) {
continue;
}
addError(comma_space, attribute, line + key, file_name);

@@ -224,0 +228,0 @@ }

@@ -42,3 +42,3 @@ {

},
"version": "1.7.4"
"version": "1.7.5"
}

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