Comparing version 0.0.23 to 0.0.24
@@ -5,3 +5,3 @@ { | ||
"description": "Port of YUI CSS Compressor to NodeJS", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "css", |
@@ -36,4 +36,2 @@ /** | ||
var pathResolve = PATH_SEP === "/" ? path.posix.resolve : path.win32.resolve; | ||
var defaultOptions = { | ||
@@ -124,3 +122,3 @@ maxLineLen: 0, | ||
token = token.split(SEP).join(PATH_SEP); // assuming urls in css use "/" | ||
url = pathResolve(options.source.join(PATH_SEP), token).split(PATH_SEP); | ||
url = path.resolve(options.source.join(PATH_SEP), token).split(PATH_SEP); | ||
@@ -800,3 +798,3 @@ file = url.pop(); | ||
if (options.convertUrls) { | ||
options.target = pathResolve(process.cwd(), options.convertUrls).split(PATH_SEP); | ||
options.target = path.resolve(process.cwd(), options.convertUrls).split(PATH_SEP); | ||
} | ||
@@ -811,3 +809,3 @@ | ||
if (options.convertUrls) { | ||
options.source = pathResolve(process.cwd(), filename).split(PATH_SEP); | ||
options.source = path.resolve(process.cwd(), filename).split(PATH_SEP); | ||
options.source.pop(); | ||
@@ -814,0 +812,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
36370
696