svg-sprite

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

MIT License

Downloads
563.2K
Stars
1.9K
Committers
54

Bot releases are hidden (Show)

svg-sprite - v1.5.3

Published by XhmikosR about 3 years ago

  • Fix lodash cloneDeep usage (#431)
  • Replace the deprecated image-diff with looks-same
  • Replace node-sass with sass. (#453)
  • CI: add Node.js 16
  • Update dependencies

https://github.com/svg-sprite/svg-sprite/compare/v1.5.2...v1.5.3

svg-sprite - v1.5.2

Published by XhmikosR about 3 years ago

  • logger: add milliseconds too
  • Update patch dependencies and regenerate package-lock.json
  • Backport #321: test: replace the zebra with a simple gene image
  • Update to @xmldom/xmldom 0.7.2

https://github.com/svg-sprite/svg-sprite/compare/v1.5.1...v1.5.2

svg-sprite -

Published by XhmikosR about 3 years ago

  • Move mocha and should to devDependencies
  • bin/svg-sprite.js: use _.merge instead of the custom function (#442)
  • fix(logger): use Winston v3 format configuration
  • refactor(logger): remove dateformat dependency
  • Links with "target=_blank" should prevent phishing attacks
  • Remove lodash.pluck dependency and use _.map (#388)
  • Switch to Buffer.from (#389)
  • Switch to GitHub Actions
  • Update minor and patch dependencies and regenerate package-lock.json
  • test: add a separate css.packed.12.png file for Node.js > 10
  • Remove the unused vinyl-fs and mocha-lcov-reporter devDependencies
  • Update dependencies
  • Drop Node.js 6.x support from CI.
  • Remove pretest script
  • CI: run example too
  • Rename LICENSE and fix links to repo

https://github.com/svg-sprite/svg-sprite/compare/v1.5.0...v1.5.1

svg-sprite - 1.6.0-alpha Maintenance pre-release (2020-01-18)

Published by jkphl over 4 years ago

Changed

  • Remove support for Node < 8.0
  • Update dependencies (#306, #310)
  • Update documentation to use updated SVGO plugin name (#275)
  • Move mocha and should dependencies back to devDependencies again (#297, #285)
  • Add built-in templating function to encode hash signs (#294)
  • Fix verbose logging output (#279, #291)
  • Add option to prefix auto-generated namespace IDs (#292, #293)
  • Update preview templates to use SVG checker image (#287)
svg-sprite - 1.5.0 Maintenance release (2018-09-18)

Published by jkphl about 6 years ago

Changes

  • Updated dependencies
  • Dropped support for Node.js < 6.4
svg-sprite - 1.4.1 Maintenance release

Published by jkphl about 6 years ago

Changes

svg-sprite - 1.4.0 Maintenance release (2018-03-17)

Published by jkphl over 6 years ago

Added / Fixed

  • Added more Node.js versions to Travis instructions
  • Updated dependencies
  • Updated SVGO version & test fixture (#258, #259)
  • Reformatted documentation code examples (#236)
  • Fix JSHint errors (#261)
  • Add support for simple shape ID generator (#240)
  • Add failing CPU detection workaround (#252)
  • Changed SVGO plugin defaults (#249)
svg-sprite - 1.3.7 (Final) bugfix release (2017-06-01)

Published by jkphl over 7 years ago

This is be the final release in the 1.x line (except someone encounters some severe issues).

Enhancements

  • Updated dependencies

Bugfixes

  • Fixed invalid markup in <defs> example html (#229)
  • Fallback for failing CPU detection (#217)
  • Fixed broken SVGO configuration in CLI (#216, #199)
  • Added glob base directory option to CLI (#220)
  • Fixed broken rootAttributes option in CLI (#228)
svg-sprite - 1.3.6 Bugfix release (2016-08-29)

Published by jkphl about 8 years ago

Enhancements

  • Updated dependencies

Bugfixes

svg-sprite - 1.3.5 Bugfix release (2016-08-15)

Published by jkphl about 8 years ago

Bugfixes

  • Fixed file name regression bug (#186)
svg-sprite - 1.3.4 Bugfix release (2016-08-12)

Published by jkphl about 8 years ago

Bugfixes

  • Extended the ID generator callback signature (#176)
  • Improved usage pattern example (#177)
  • Added support for mode shorthand definitions in CLI mode (#183)

Enhancements

  • Updated dependencies
svg-sprite - 1.3.3 Bugfix release (2016-04-28)

Published by jkphl over 8 years ago

Bugfixes

  • Fixed CLI regression bug (#173)
  • Fixed CLI root attributes file handling (#144)
svg-sprite - 1.3.2 Feature release (2016-04-27)

Published by jkphl over 8 years ago

Enhancements

  • Updated dependencies
  • Added CLI rendering options for defs/symbol/stack sprites (#160)
  • Added CLI option for external JSON config file (#160, #165)

Bugfixes

  • Restored documentation image (#168)
svg-sprite - 1.3.1 Bugfix release (2016-04-17)

Published by jkphl over 8 years ago

Bugfixes

svg-sprite - 1.3.0 Major maintenance release (2016-04-14)

Published by jkphl over 8 years ago

Enhancements / Changes

  • Updated dependencies
  • Dropped support for Node.js < 4.0 and io.js
  • Switched to patched svg2png until media queries are properly supported (devDependencies)

Bugfixes

  • Made some test files real copies (#156)
  • Updated documentation (grunt-svg-sprite #69)
  • Removed redundant require (#156)
  • Added explicit sprite size in example document (#138)
  • Added XML entity resolution (#118)
  • Allow multiple selectors for ID / class namespacing (#109)
svg-sprite - 1.2.19 Maintenance release (2016-01-11)

Published by jkphl almost 9 years ago

Enhancements

  • Updated dependencies

Bugfixes

  • Temporarily fixed xmldom dependency problem (#135)
svg-sprite - 1.2.18 Maintenance release (2016-01-05)

Published by jkphl almost 9 years ago

Enhancements

  • Updated dependencies
  • Introduced support for custom shape orders (#131)

Bugfixes

  • Fixed inline embedding link in example templates (#130)
  • Fixed broken Less mixin support (#133)
svg-sprite - 1.2.17 Maintenance release (2015-12-17)

Published by jkphl almost 9 years ago

Enhancements

  • Updated dependencies
svg-sprite - 1.2.16 Maintenance release (2015-12-01)

Published by jkphl almost 9 years ago

Enhancements

  • Updated dependencies
  • Improved log level config handling (#124)
  • Wrapped CSS url()s in quotes (#125)
svg-sprite - 1.2.15 Maintenance release (2015-11-24)

Published by jkphl almost 9 years ago

Enhancements

  • Updated dependencies