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.6 to 0.11.7

6

History.md
0.11.7 / 2011-04-12
==================
* Added `Renderer#use(fn)`. Closes #224
* Improved `utils.assertType()` error message; include param name
0.11.6 / 2011-04-12

@@ -3,0 +9,0 @@ ==================

@@ -88,2 +88,18 @@

/**
* Use the given `fn`.
*
* This allows for plugins to alter the renderer in
* any way they wish, exposing paths etc.
*
* @param {Function}
* @return {Renderer} for chaining
* @api public
*/
Renderer.prototype.use = function(fn){
fn.call(this, this);
return this;
};
/**
* Define function with the given `name`. Optionally

@@ -90,0 +106,0 @@ * the function may accept full expressions, by setting `raw`

2

lib/stylus.js

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

exports.version = '0.11.6';
exports.version = '0.11.7';

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

@@ -106,3 +106,6 @@

var actual = node.nodeName
, msg = 'expected ' + type + ', but got ' + actual + ':' + node;
, msg = 'expected "'
+ param + '" to be a '
+ type + ', but got '
+ actual + ':' + node;
throw new Error('TypeError: ' + msg);

@@ -109,0 +112,0 @@ };

{ "name": "stylus"
, "description": "Robust, expressive, and feature-rich CSS superset"
, "version": "0.11.6"
, "version": "0.11.7"
, "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