Socket
Socket
Sign inDemoInstall

svg-sprite

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-sprite - npm Package Versions

1
10

1.0.6

Diff

Changelog

Source

1.0.6 Feature release

  • Made shape ID namespacing configurable (grunt-svg-sprite #27)
  • Added extended alignment options (#33)
jkphl
published 1.0.5 •

Changelog

Source

1.0.5 Bufix release

  • Fixed regression bug with SVG stacks
  • Added support for ID generator templates in CLI version (#37)
jkphl
published 1.0.4 •

Changelog

Source

1.0.4 Bufix release

  • Fixed XML & doctype declaration bug with inline sprites (gulp-svg-sprite #2)
  • Added support for ID generator templates (#37)
jkphl
published 1.0.3 •

Changelog

Source

1.0.3 Bufix release

  • Fixed dependency error (#36)
jkphl
published 1.0.2 •

Changelog

Source

1.0.2 Maintenance release

  • Improved error handling
jkphl
published 1.0.1 •

Changelog

Source

1.0.1 Maintenance release

  • Updated module dependencies
jkphl
published 1.0.0 •

Changelog

Source

1.0.0 Next generation release

  • Rewritten from scratch (#23, #30)
  • Dropped libxmljs dependency for improving Windows support (e.g. grunt-svg-sprite #14)
  • Added support for view, symbol and stack modes (#27, #35, grunt-svg-sprite #24)
  • Strip off all file access methods, making the module a good basis for 3rd party tools (like Grunt & Gulp plugins) (#21, #25)
  • Improved command line version (#34)
  • Switched to relative positioning in CSS sprites (grunt-svg-sprite #23)
  • Made the configuration of Mustache templates and destinations more intuitive
  • Enabled customization of shape IDs
  • Enabled custom SVG transformations
  • Enhanced padding options (#24)
  • Added cache busting for css and view mode (enabled by default; #29)
  • Added support for meta data injection

For older release notes please see here.

The original svg-sprite was my first-ever Node.js module and featured CSS sprites only. The 1.0 release is rewritten from scratch and introduces a bunch of new features like less dependencies (for improved Mac OS and Windows compatibility), support for inline sprite formats and the removal of file-system access so that other libraries can build on top of it more easily. Derived libraries include:

iconizr, another project of mine, is based on svg-sprite and adds PNG fallbacks for the sprites so you can use them as universal icon systems for websites (Node.js module, Grunt plugin, PHP version and online service).

jkphl
published 0.3.2 •

jkphl
published 0.3.1 •

jkphl
published 0.3.0 •

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