styledocco
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -44,3 +44,3 @@ 'use strict'; | ||
path = path.indexOf('/', path.length -1) > -1? path : path + '/'; | ||
var regex = /(url\(["']?)([^/'"][\w/.]*)/gm; | ||
var regex = /(url\(["']?)(?!data:)([^/'"][\w/.]*)/gm; | ||
return css.replace(regex, "$1" + path + "$2"); | ||
@@ -47,0 +47,0 @@ } else { |
@@ -7,3 +7,3 @@ { | ||
"contributors": ["David Marrs <david@marrsbytes.com>"], | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"homepage": "http://jacobrask.github.com/styledocco/", | ||
@@ -10,0 +10,0 @@ "licenses": [ { "type": "MIT", "url": "http://github.com/jacobrask/styledocco/raw/master/LICENSE" } ], |
@@ -79,2 +79,7 @@ StyleDocco | ||
v0.6.3 - July 09, 2013 | ||
---------------------- | ||
* Do not add relative paths to data URLs | ||
v0.6.2 - June 30, 2013 | ||
@@ -81,0 +86,0 @@ ---------------------- |
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
58352
119
1