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.4 to 1.0.5

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### 1.0.5 - 2016-04-19
Merge pull requests:
* Fix init cache position https://github.com/Pavliko/postcss-svg/pull/30
* Pin dependencies https://github.com/Pavliko/postcss-svg/pull/26
* fix deprecated func https://github.com/Pavliko/postcss-svg/pull/20
* pass strip:false to the template engine (really, this time!) https://github.com/Pavliko/postcss-svg/pull/16
### 1.0.4 - 2015-11-09

@@ -2,0 +10,0 @@

2

dist/index.js

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

}
SVGCache.init(options);
return function(style, result) {
SVGCache.init(options);
return style.walkDecls(/^background|^filter|^content|image$/, function(decl) {

@@ -27,0 +27,0 @@ var ___, error, matches, name, params, replace, svg;

@@ -106,3 +106,5 @@ (function() {

doc = new xmldom.XMLSerializer().serializeToString(doc);
return this.template = doT.template(doc);
return this.template = doT.template(doc, _.extend(doT.templateSettings, {
strip: false
}));
};

@@ -109,0 +111,0 @@

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

@@ -29,20 +29,20 @@ "main": "dist/index.js",

"dependencies": {
"color": "^0.10.1",
"dot": "^1.0.3",
"evil-icons": "^1.7.8",
"lodash": "^3.10.1",
"postcss": "^5.0.10",
"svgo": "^0.5.6",
"xmldom": "^0.1.19"
"color": "0.10.1",
"dot": "1.0.3",
"evil-icons": "1.7.8",
"lodash": "3.10.1",
"postcss": "5.0.10",
"svgo": "0.5.6",
"xmldom": "0.1.19"
},
"devDependencies": {
"autoprefixer-core": "^6.0.1",
"gulp": "^3.9.0",
"gulp-coffee": "^2.3.1",
"gulp-livereload": "^3.8.1",
"gulp-load-plugins": "^1.1.0",
"gulp-postcss": "^6.0.1",
"gulp-rename": "^1.2.2",
"autoprefixer-core": "6.0.1",
"gulp": "3.9.0",
"gulp-coffee": "2.3.1",
"gulp-livereload": "3.8.1",
"gulp-load-plugins": "1.1.0",
"gulp-postcss": "6.0.1",
"gulp-rename": "1.2.2",
"open": "0.0.5"
}
}

Sorry, the diff of this file is not supported yet

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