postcss-url
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,4 +1,8 @@ | ||
# 1.1.3 - 2014-12-04 | ||
- Fix absolute urls being mangled ([#13](https://github.com/postcss/postcss-url/issues/13)) | ||
# 1.1.2 - 2014-11-08 | ||
- Fix MaxSize issue ([ref](https://github.com/postcss/postcss-url/issues/9)) | ||
- Fix MaxSize issue ([#9](https://github.com/postcss/postcss-url/issues/9)) | ||
@@ -19,3 +23,3 @@ # 1.1.1 - 2014-10-30 | ||
- Fix paths for Windows ([fix #3](https://github.com/postcss/postcss-url/issue/3) via [#4](https://github.com/postcss/postcss-url/pull/4)) | ||
- Fix paths for Windows ([#3](https://github.com/postcss/postcss-url/issue/3) via [#4](https://github.com/postcss/postcss-url/pull/4)) | ||
@@ -22,0 +26,0 @@ # 1.0.0 - 2014-08-24 |
@@ -52,4 +52,4 @@ /** | ||
// ignore absolute url | ||
if (value.indexOf("/") === 0) { | ||
return value | ||
if (/^(?:(http(s?)\:\/)?(\/){1,2})/.test(value)) { | ||
return createUrl(quote, value); | ||
} | ||
@@ -56,0 +56,0 @@ |
{ | ||
"name": "postcss-url", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -34,4 +34,4 @@ "keywords": [ | ||
"jshint": "^2.5.6", | ||
"postcss": "^2.2.5", | ||
"postcss-import": "^1.0.2", | ||
"postcss": "^3.0.0", | ||
"postcss-import": "^2.0.0", | ||
"tape": "^3.0.0" | ||
@@ -42,4 +42,4 @@ }, | ||
"jshint": "jshint . --exclude-path .gitignore", | ||
"test": "npm run jscs && npm run jshint && npm run standalone && tape test" | ||
"test": "npm run jscs && npm run jshint && tape test" | ||
} | ||
} |
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
8364