Socket
Socket
Sign inDemoInstall

stylus

Package Overview
Dependencies
Maintainers
0
Versions
182
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.12.2 to 0.12.3

5

History.md
0.12.3 / 2011-05-08
==================
* Fixed `0%` in __@keyframes__ from becoming "0" when compressed. Closes #248
0.12.2 / 2011-05-03

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

2

lib/stylus.js

@@ -27,3 +27,3 @@

exports.version = '0.12.2';
exports.version = '0.12.3';

@@ -30,0 +30,0 @@ /**

@@ -229,4 +229,5 @@

if (this.compress) {
// Zero is always '0'
if (0 == n) return '0';
// Zero is always '0', unless when
// a percentage, this is required by keyframes
if ('%' != type && 0 == n) return '0';
// Omit leading '0' on floats

@@ -233,0 +234,0 @@ if (float && n < 1 && n > -1) {

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