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 Versions

13

0.3.1

Diff

Changelog

Source

0.3.1

  • Fix removal of unreferenced IDs (See #46)
fweinb
published 0.3.0 •

Changelog

Source

0.3.0

  • Changed the way ID are collected; <del>unreferenced IDs are removed now in order to save space.</del> (#40)
  • Changed the behavior of the 'cleanup'-option (introduced in 0.2.6). Apart from true / false, the value of this property can now be an array of attributes. All attributes in the array are removed from all elements in the SVG. (#41)
  • Added an option 'cleanupdefs' (default: false). When set to false, no cleanup is performed on the <defs> element. (#41)
  • Empty <g> elements are removed since they have no effect in a document. (#42)

Thanks to Frank3K for the PRs

fweinb
published 0.2.7 •

Changelog

Source

0.2.7

  • Don't generate IDs that start with a number by prefixing them with svgstore. (Thanks to #38)
fweinb
published 0.2.6 •

Changelog

Source

0.2.6

  • Add options.clean to remove inline styles from source svgs. (Thanks to ain)
  • Reformat source to use 2 spaces for indentation (Fix #36)
fweinb
published 0.2.5 •

Changelog

Source

0.2.5

  • To generate the id from the filename is now used as a title. (Fix #33)
fweinb
published 0.2.4 •

Changelog

Source

0.2.4

  • Added options.symbol to add attributes to generated <symbol>s (#30)
  • To generate the id from the filename the name is now cut right before the first dot. name.min.svg becomes name. (Fixes #29)
fweinb
published 0.2.3 •

Changelog

Source

0.2.3

  • Fixed lower case viewBox in outputted svg (fix #26)
fweinb
published 0.2.2 •

Changelog

Source

0.2.2

  • Fixed a bug where self-closing elements where nested.
fweinb
published 0.2.1 •

Changelog

Source

0.2.1

  • Move <symbol>-tag out of <defs>-tag (see the spec)
  • Only create <defs>-tag if needed (e.g. <linearGradient> is used)
fweinb
published 0.2.0 •

Changelog

Source

0.2.0

  • Use a <symbol>-tag for representing icons (See TxHawks Comment.)
  • Write the viewBox attribute to the <symbol>-tag,
  • Include title and desc elements in the generated svg for each <symbol>
  • use 'filename' as a fallback for title
  • Fix issue #1
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