postcss-svg
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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 @@ |
@@ -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
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
56034
727
+ Addeddot@1.0.3(transitive)
+ Addedevil-icons@1.7.8(transitive)
+ Addedpostcss@5.0.10(transitive)
+ Addedxmldom@0.1.19(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removeddot@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedevil-icons@1.10.1(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedpostcss@5.2.18(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedxmldom@0.1.31(transitive)
Updatedcolor@0.10.1
Updateddot@1.0.3
Updatedevil-icons@1.7.8
Updatedlodash@3.10.1
Updatedpostcss@5.0.10
Updatedsvgo@0.5.6
Updatedxmldom@0.1.19