Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-svg

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-svg - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 1.0.4 - 2015-11-09
PostCSS 5 compatibility (https://github.com/Pavliko/postcss-svg/issues/13)
### 1.0.3 - 2015-11-08

@@ -2,0 +6,0 @@

6

dist/index.js

@@ -23,5 +23,5 @@ (function() {

}
return function(style) {
return function(style, result) {
SVGCache.init(options);
return style.eachDecl(/^background|^filter|^content|image$/, function(decl) {
return style.walkDecls(/^background|^filter|^content|image$/, function(decl) {
var ___, error, matches, name, params, replace, svg;

@@ -41,3 +41,3 @@ if (!decl.value) {

if (silent) {
console.info("postcss-svg: " + error);
decl.warn(result, "postcss-svg: " + error);
} else {

@@ -44,0 +44,0 @@ throw decl.error(error);

{
"name": "postcss-svg",
"version": "1.0.3",
"version": "1.0.4",
"description": "Postcss plugin for insert inline SVG to CSS",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc