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.6.4 to 0.6.5

lib/visitor/._evaluator.js

6

._History.md

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR��j��!�!com.macromates.caret{
column = 5;
line = 1;
Mac OS X  2��ATTR�{��"�"com.macromates.caret{
column = 25;
line = 4;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR��p��"�"com.macromates.caret{
Mac OS X  2��ATTR�{��"�"com.macromates.caret{
column = 21;
line = 2;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR��r��#�#com.macromates.caret{
Mac OS X  2��ATTR�{ ��#�#com.macromates.caret{
column = 62;
line = 82;
}
0.6.5 / 2011-02-24
==================
* Fixed parent ref `&` mid-selector bug. Closes #148 [reported by visnu]
0.6.4 / 2011-02-24

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

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR��z��$�$com.macromates.caret{
column = 21;
line = 740;
Mac OS X  2��ATTR�{(��#�#com.macromates.caret{
column = 0;
line = 876;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR��~��#�#com.macromates.caret{
Mac OS X  2��ATTR�{,��#�#com.macromates.caret{
column = 24;
line = 25;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR�����#�#com.macromates.caret{
Mac OS X  2��ATTR�{/��#�#com.macromates.caret{
column = 37;
line = 47;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR�����#�#com.macromates.caret{
Mac OS X  2��ATTR�{Y��#�#com.macromates.caret{
column = 0;
line = 566;
}

@@ -19,10 +19,8 @@

* @param {String} val
* @param {Boolean} parent
* @api public
*/
var Selector = module.exports = function Selector(val, parent){
var Selector = module.exports = function Selector(val){
Node.call(this);
this.val = val.replace(/ +$/, '');
this.parent = parent;
};

@@ -55,5 +53,5 @@

Selector.prototype.clone = function(){
var clone = new Selector(this.val, this.parent);
var clone = new Selector(this.val);
clone.lineno = this.lineno;
return clone;
};

@@ -849,5 +849,2 @@

// Parent ref
parent = !! this.accept('&');
// Selector candidates,

@@ -854,0 +851,0 @@ // stitched together to

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

exports.version = '0.6.4';
exports.version = '0.6.5';

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

@@ -1,4 +0,4 @@

Mac OS X  2��ATTR�����$�$com.macromates.caret{
column = 40;
line = 334;
Mac OS X  2��ATTR�{2��$�$com.macromates.caret{
column = 26;
line = 271;
}

@@ -272,10 +272,13 @@

arr[0].forEach(function(selector){
var str = buf.length
? buf.map(function(str){
return str.parent
? str.val
: ' ' + str;
}).join('')
: '';
selectors.push(self.indent + selector + str);
var str = selector;
if (buf.length) {
for (var i = 0, len = buf.length; i < len; ++i) {
if (~buf[i].indexOf('&')) {
str = buf[i].replace('&', str);
} else {
str += ' ' + buf[i];
}
}
}
selectors.push(self.indent + str);
});

@@ -282,0 +285,0 @@ }

{ "name": "stylus"
, "description": "Robust, expressive language which compiles to CSS"
, "version": "0.6.4"
, "version": "0.6.5"
, "author": "TJ Holowaychuk <tj@vision-media.ca>"

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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