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

grunt-svgstore

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-svgstore - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "grunt-svgstore",
"description": "Merge SVGs from a folder.",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/FWeinb/grunt-svgstore",

@@ -6,0 +6,0 @@ "author": {

@@ -23,2 +23,7 @@ # grunt-svgstore [![NPM version](https://badge.fury.io/js/grunt-svgstore.svg)](http://badge.fury.io/js/grunt-svgstore) [![Build Status](https://travis-ci.org/FWeinb/grunt-svgstore.svg?branch=master)](https://travis-ci.org/FWeinb/grunt-svgstore)

## Screencast
Chris made a screencast, using `grunt-svgstore` in a real project, you can find it [here](http://css-tricks.com/video-screencasts/screencast-134-tour-site-progress-built-jekyll-grunt-sass-svg-system/).
## The "svgstore" task

@@ -147,2 +152,6 @@

#### 0.3.2
* Move `linearGradient`, `radialGradient` and `pattern` elements out of the `<symbol>` tag. (See [#49](https://github.com/FWeinb/grunt-svgstore/issues/49))
#### 0.3.1

@@ -149,0 +158,0 @@

@@ -203,2 +203,13 @@ /*

// Extract gradients and pattern
var addToDefs = function(){
var $elem = $res(this);
$resultDefs.append($elem.toString());
$elem.remove();
};
$res('linearGradient').each(addToDefs);
$res('radialGradient').each(addToDefs);
$res('pattern').each(addToDefs);
// Append <symbol> to resulting SVG

@@ -205,0 +216,0 @@ $resultSvg.append($res.html());

Sorry, the diff of this file is not supported yet

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