postcss-url
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -0,2 +1,7 @@ | ||
# 6.0.4 - 2017-04-06 | ||
Fixed: prepare asset without file path in decl | ||
([#94](https://github.com/postcss/postcss-url/issues/94)) | ||
# 6.0.3 - 2017-04-04 | ||
Fixed: hash url error | ||
@@ -6,2 +11,3 @@ ([#89](https://github.com/postcss/postcss-url/issues/89)) | ||
# 6.0.2 - 2017-04-04 | ||
Fixed: match options before analyzing | ||
@@ -11,2 +17,3 @@ ([pull-88](https://github.com/postcss/postcss-url/pull/88)) | ||
# 6.0.1 - 2017-04-03 | ||
- Fixed: bug with empty options | ||
@@ -13,0 +20,0 @@ ([#87](https://github.com/postcss/postcss-url/issues/87)) |
{ | ||
"name": "postcss-url", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -111,3 +111,3 @@ 'use strict'; | ||
const absolutePath = pathname | ||
? path.join(dir.file, pathname) | ||
? path.resolve(path.join(dir.file, pathname)) | ||
: getPathDeclFile(decl); | ||
@@ -117,5 +117,5 @@ | ||
url: assetUrl, | ||
pathname: parsedUrl.pathname, | ||
absolutePath: path.resolve(absolutePath), | ||
relativePath: path.relative(dir.from, absolutePath), | ||
pathname, | ||
absolutePath: absolutePath || dir.from, | ||
relativePath: absolutePath ? path.relative(dir.from, absolutePath) : '.', | ||
search: (parsedUrl.search || ''), | ||
@@ -122,0 +122,0 @@ hash: (parsedUrl.hash || '') |
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
29912