@cloudfour/simple-svg-placeholder
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,3 +12,3 @@ function simpleSvgPlaceholder({ | ||
dataUri = true, | ||
charset = 'utf8' | ||
charset = 'UTF-8' | ||
} = {}) { | ||
@@ -15,0 +15,0 @@ const str = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}"> |
{ | ||
"name": "@cloudfour/simple-svg-placeholder", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A very simple placeholder image generator with zero dependencies. Returns a data URI (or raw SVG source) as a string for use in templates.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -119,2 +119,2 @@ # Simple SVG Placeholder | ||
Defaults to `utf8`, but if your source HTML document's character set is different, you may want to update this to match. | ||
Defaults to `UTF-8`, but if your source HTML document's character set is different, you may want to update this to match. |
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
8306