Comparing version 0.54.2 to 0.54.3
@@ -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 @@ |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
408282
13627
3
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.0.6(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedglob@3.2.11(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.3.0(transitive)
- Removedsigmund@1.0.1(transitive)
Updatedglob@7.0.x