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

stylus

Package Overview
Dependencies
Maintainers
3
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.54.2 to 0.54.3

9

History.md

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

0.54.1 / 2016-03-11
0.54.3 / 2016-04-26
===================
* Fix: Proper embedurl encoding for svg files with a hash.
* Fix: Validate this.dest before using path.extname.
* Fix: Update node-glob version.
0.54.2 / 2016-03-11
===================
* Fix: False-positive import loop with empty imported file.

@@ -5,0 +12,0 @@

5

lib/functions/url.js

@@ -124,3 +124,6 @@

encoding = encodingTypes.UTF8;
result = encodeURI(buf.toString('utf8'));
result = buf.toString('utf8').replace(/\s+/g, ' ')
.replace(/[{}\|\\\^~\[\]`"<>#%]/g, function(match) {
return '%' + match[0].charCodeAt(0).toString(16).toUpperCase();
}).trim();
} else {

@@ -127,0 +130,0 @@ result = buf.toString(encoding) + hash;

@@ -41,3 +41,3 @@ /*!

this.comment = sourcemap.comment;
if (extname(this.dest) === '.css') {
if (this.dest && extname(this.dest) === '.css') {
this.basename = basename(this.dest);

@@ -44,0 +44,0 @@ this.dest = dirname(this.dest);

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

@@ -36,3 +36,3 @@ "keywords": [

"sax": "0.5.x",
"glob": "3.2.x",
"glob": "7.0.x",
"source-map": "0.1.x"

@@ -39,0 +39,0 @@ },

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