svg-sprite
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -0,1 +1,6 @@ | ||
## 1.3.6 Bugfix release (2016-08-29) | ||
* Updated dependencies | ||
* Fixed LESS template mixin call ([#187](https://github.com/jkphl/svg-sprite/pull/187)) | ||
* Fixed broken keyframe animation support ([gulp-svg-sprite #63](https://github.com/jkphl/gulp-svg-sprite/issues/63)) | ||
## 1.3.5 Bugfix release (2016-08-15) | ||
@@ -2,0 +7,0 @@ * Fixed file name regression bug ([#186](https://github.com/jkphl/svg-sprite/issues/186)) |
@@ -782,3 +782,9 @@ 'use strict'; | ||
if (_.isUndefined(selText)) { | ||
if (_.isArray(rule.cssRules)) { | ||
// If there's a key text: Copy the CSS rule | ||
if (rule.keyText) { | ||
css += str.substr(rule.__starts, rule.__ends); | ||
// Else: Recursively process rule content | ||
} else if (_.isArray(rule.cssRules)) { | ||
css += str.substring(rule.__starts, rule.cssRules[0].__starts) + this._replaceIdAndClassnameReferencesInCssSelectors(str, rule.cssRules, substIds, substClassnames) + str.substring(rule.cssRules[rule.cssRules.length - 1].__ends, rule.__ends); | ||
@@ -785,0 +791,0 @@ } |
{ | ||
"name": "svg-sprite", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"author": "Joschi Kuphal <joschi@kuphal.net> (https://jkphl.is)", | ||
@@ -42,7 +42,7 @@ "description": "SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)", | ||
"lodash.pluck": "^3.1.2", | ||
"glob": "^7.0.5", | ||
"glob": "^7.0.6", | ||
"xmldom": "0.1.22", | ||
"xpath": "^0.0.23", | ||
"vinyl": "^1.2.0", | ||
"svgo": "0.6.6", | ||
"svgo": "0.7.0", | ||
"cssom": "^0.3.1", | ||
@@ -54,3 +54,3 @@ "css-selector-parser": "^1.1.0", | ||
"js-yaml": "^3.6.1", | ||
"yargs": "^4.8.1", | ||
"yargs": "^5.0.0", | ||
"winston": "^2.2.0", | ||
@@ -72,3 +72,3 @@ "prettysize": "^0.0.3" | ||
"stylus": "^0.54.5", | ||
"jshint": "^2.9.2", | ||
"jshint": "^2.9.3", | ||
"pn": "^1.0.0" | ||
@@ -75,0 +75,0 @@ }, |
Sorry, the diff of this file is not supported yet
273537
3419
+ Addedcsso@2.2.1(transitive)
+ Addedsvgo@0.7.0(transitive)
+ Addedyargs@5.0.0(transitive)
+ Addedyargs-parser@3.2.0(transitive)
- Removedcsso@2.0.0(transitive)
- Removedsvgo@0.6.6(transitive)
- Removedyargs@4.8.1(transitive)
- Removedyargs-parser@2.4.1(transitive)
Updatedglob@^7.0.6
Updatedsvgo@0.7.0
Updatedyargs@^5.0.0