Socket
Socket
Sign inDemoInstall

svg-sprite

Package Overview
Dependencies
194
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.5 to 1.3.6

5

CHANGELOG.md

@@ -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))

8

lib/svg-sprite/shape.js

@@ -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 @@ }

10

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc