postcss-image-inliner
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -11,2 +11,3 @@ 'use strict'; | ||
strict: false, | ||
filter: /^(mask(?:-image)?)|(list-style(?:-image)?)|(background(?:-image)?)|(content)|(cursor)/, | ||
largeFileCallback: undefined, | ||
@@ -35,3 +36,3 @@ svgoPlugins: [ | ||
const escapeRegExp = string => string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); | ||
const escapeRegExp = (string) => string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); | ||
@@ -49,3 +50,3 @@ module.exports = (options_ = {}) => { | ||
const urls = new Set([]); | ||
const filter = /^(background(?:-image)?)|(content)|(cursor)/; | ||
const {filter} = options; | ||
// Get urls | ||
@@ -52,0 +53,0 @@ root.walkDecls( |
{ | ||
"name": "postcss-image-inliner", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "PostCSS plugin to inline images into css", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
10053
152