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

stylus

Package Overview
Dependencies
Maintainers
0
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.11.9 to 0.11.10

5

History.md
0.11.10 / 2011-04-17
==================
* Fixed regression. Closes #229
0.11.9 / 2011-04-15

@@ -3,0 +8,0 @@ ==================

19

lib/parser.js

@@ -310,9 +310,16 @@

// Assume pseudo selectors are NOT properties
// as 'td:th-child(1)' may look like a property
// and function call to the parser otherwise
while (this.isSelectorToken(i)) {
// Skip tokens may form a selector
while (this.isSelectorToken(i)
|| ',' == this.lookahead(i).type) {
// Assume pseudo selectors are NOT properties
// as 'td:th-child(1)' may look like a property
// and function call to the parser otherwise
if (':' == this.lookahead(i++).type
&& this.isPseudoSelector(i))
return true;
if (',' == this.lookahead(i).type
&& 'newline' == this.lookahead(i + 1).type)
return true;
}

@@ -337,5 +344,2 @@

if ('newline' == this.lookahead(i).type)
return false;
// Trailing separators

@@ -345,2 +349,3 @@ while (!~[

, 'outdent'
, 'newline'
, 'for'

@@ -347,0 +352,0 @@ , 'if'

@@ -26,3 +26,3 @@

exports.version = '0.11.9';
exports.version = '0.11.10';

@@ -29,0 +29,0 @@ /**

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

@@ -5,0 +5,0 @@ , "keywords": ["css", "parser", "style", "stylesheets", "jade", "language"]

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