postcss-url
Advanced tools
Comparing version 7.3.0 to 7.3.1
@@ -1,14 +0,18 @@ | ||
#7.3.0 - 2017-10-26 | ||
# 7.3.1 - 2018-02-25 | ||
Added: hash option - `append` (PR#114](https://github.com/postcss/postcss-url/pull/114)) | ||
Fixed: ignore urls which starts with `//` ([PR#117](https://github.com/postcss/postcss-url/pull/117)) | ||
# 7.3.0 - 2017-10-26 | ||
Added: hash option - `append` ([PR#114](https://github.com/postcss/postcss-url/pull/114)) | ||
#7.2.1 - 2017-10-19 | ||
# 7.2.1 - 2017-10-19 | ||
Fixed: dependency security ([#108](https://github.com/postcss/postcss-url/issues/108)) ([#109](https://github.com/postcss/postcss-url/issues/109)) | ||
#7.2.0 - 2017-10-17 | ||
# 7.2.0 - 2017-10-17 | ||
Added: `assetsPath` option for `rebase` | ||
#7.1.2 - 2017-08-11 | ||
# 7.1.2 - 2017-08-11 | ||
@@ -15,0 +19,0 @@ Fixed: wrap url by quotes for inlined svg ([#78](https://github.com/postcss/postcss-url/issues/78)) |
{ | ||
"name": "postcss-url", | ||
"version": "7.3.0", | ||
"version": "7.3.1", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -146,3 +146,3 @@ # postcss-url | ||
* `maxSize` - file size in kbytes | ||
* `fallback` - `copy` or custom function for files > `maxSize` | ||
* `fallback` - `copy`, `rebase` or custom function for files > `maxSize` | ||
* `ignoreFragmentWarning` - do not warn when an SVG URL with a fragment is inlined | ||
@@ -189,3 +189,2 @@ * `optimizeSvgEncode` - reduce size of inlined svg (IE9+, Android 3+) | ||
#### `maxSize` | ||
_(default: `14`)_ | ||
@@ -192,0 +191,0 @@ Specify the maximum file size to inline (in kbytes) |
@@ -26,3 +26,4 @@ 'use strict'; | ||
|| assetUrl.indexOf('data:') === 0 | ||
|| /^[a-z]+:\/\//.test(assetUrl); | ||
|| /^[a-z]+:\/\//.test(assetUrl) | ||
|| /^\/\//.test(assetUrl); | ||
}; | ||
@@ -29,0 +30,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
37096
654
265