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

svg-sprite

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-sprite - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

lib/svg-sprite/mode/stack.js

@@ -64,3 +64,3 @@ 'use strict';

SVGSpriteStack.prototype._buildSVG = function(xmlDeclaration, doctypeDeclaration) {
svg = new SVGSprite(xmlDeclaration, doctypeDeclaration);
var svg = new SVGSprite(xmlDeclaration, doctypeDeclaration);
svg.add('<style>:root>svg{display:none}:root>svg:target{display:block}</style>');

@@ -67,0 +67,0 @@ svg.add(_.pluck(this.data.shapes, 'svg'));

{
"name": "svg-sprite",
"version": "1.0.4",
"version": "1.0.5",
"author": {

@@ -5,0 +5,0 @@ "name": "Joschi Kuphal",

@@ -64,3 +64,3 @@ svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]

--shape-id-separator Separator for traversing a directory structure into a shape ID [default: "--"]
--shape-id-generator ID generation callback [not available via command line] [default: null]
--shape-id-generator ID generation callback [via CLI only template strings] [default: "%s"]
--shape-id-pseudo Separator for CSS pseudo classes [default: "~"]

@@ -911,2 +911,6 @@ -w, --shape-dim-width Maximum shape width in pixels [default: 2000]

#### v1.0.5 Bufix release
* Fixed regression bug with SVG stacks
* Added support for ID generator templates in CLI version ([#37](https://github.com/jkphl/svg-sprite/issues/37))
#### v1.0.4 Bufix release

@@ -913,0 +917,0 @@ * Fixed XML & doctype declaration bug with inline sprites ([gulp-svg-sprite #2](https://github.com/jkphl/gulp-svg-sprite/issues/2))

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