New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stylus

Package Overview
Dependencies
Maintainers
2
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylus - npm Package Compare versions

Comparing version 0.39.1 to 0.39.2

11

lib/parser.js

@@ -395,2 +395,5 @@

if ('=' == this.lookahead(i).type && '{' == this.lookahead(i + 1).type)
return false;
if (':' == this.lookahead(i).type && !this.isPseudoSelector(i + 1) && this.lineContains('.'))

@@ -931,3 +934,4 @@ return false;

var i = 2
, la = this.lookahead(i).type;
, la = this.lookahead(i).type
, isSelector;

@@ -951,6 +955,7 @@ while ('space' == la) la = this.lookahead(++i).type;

&& 'selector' != this.lookahead(i).type) ;
if ('=' == this.lookahead(i).type || '[' == this.lookahead(i).type) {
isSelector = this.looksLikeSelector() && this.stateAllowsSelector();
if ('=' == this.lookahead(i).type || ('[' == this.lookahead(i).type && !isSelector)) {
this._ident = this.peek();
return this.expression();
} else if (this.looksLikeSelector() && this.stateAllowsSelector()) {
} else if (isSelector) {
return this.selector();

@@ -957,0 +962,0 @@ }

{
"name": "stylus",
"description": "Robust, expressive, and feature-rich CSS superset",
"version": "0.39.1",
"version": "0.39.2",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,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