Socket
Socket
Sign inDemoInstall

svg-sprite

Package Overview
Dependencies
250
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

LICENSE

26

bin/svg-sprite.js

@@ -6,7 +6,7 @@ #!/usr/bin/env node

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -104,22 +104,2 @@

/**
* Recursively merge two config objects
*
* @param {Object} from Source configuration
* @param {Object} to Target configuration
*/
function mergeConfig(from, to) {
for (var f in from) {
if (_.isObject(from[f])) {
if (!_.isObject(to[f])) {
to[f] = from[f];
} else {
mergeConfig(from[f], to[f]);
}
} else {
to[f] = from[f];
}
}
}
/**
* Recursively write files to disc

@@ -195,3 +175,3 @@ *

mergeConfig(externalConfig, config);
_.merge(config, externalConfig);
} catch (e) {

@@ -198,0 +178,0 @@ console.error('[ERROR] Skipping --config file due to errors ("%s")', e.message.trim());

@@ -8,3 +8,3 @@ ## 1.5.0 Maintenance release (2018-09-18)

* Updated dependencies ([#276](https://github.com/jkphl/svg-sprite/pull/276), [#277](https://github.com/jkphl/svg-sprite/pull/277))
* Updated dependencies ([#276](https://github.com/svg-sprite/svg-sprite/pull/276), [#277](https://github.com/svg-sprite/svg-sprite/pull/277))

@@ -15,8 +15,8 @@ [Draft a new release.url](C:/Users/joschi/AppData/Local/Temp/Draft a new release.url)## 1.4.0 Maintenance release (2018-03-17)

* Updated dependencies
* Updated SVGO version & test fixture ([#258](https://github.com/jkphl/svg-sprite/pull/258), [#259](https://github.com/jkphl/svg-sprite/issues/259))
* Reformatted documentation code examples ([#236](https://github.com/jkphl/svg-sprite/pull/236))
* Fix JSHint errors ([#261](https://github.com/jkphl/svg-sprite/pull/261))
* Add support for simple shape ID generator ([#240](https://github.com/jkphl/svg-sprite/pull/240))
* Add failing CPU detection workaround ([#252](https://github.com/jkphl/svg-sprite/issues/252))
* Changed SVGO plugin defaults ([#249](https://github.com/jkphl/svg-sprite/issues/249))
* Updated SVGO version & test fixture ([#258](https://github.com/svg-sprite/svg-sprite/pull/258), [#259](https://github.com/svg-sprite/svg-sprite/issues/259))
* Reformatted documentation code examples ([#236](https://github.com/svg-sprite/svg-sprite/pull/236))
* Fix JSHint errors ([#261](https://github.com/svg-sprite/svg-sprite/pull/261))
* Add support for simple shape ID generator ([#240](https://github.com/svg-sprite/svg-sprite/pull/240))
* Add failing CPU detection workaround ([#252](https://github.com/svg-sprite/svg-sprite/issues/252))
* Changed SVGO plugin defaults ([#249](https://github.com/svg-sprite/svg-sprite/issues/249))

@@ -26,35 +26,35 @@ ## 1.3.7 Bugfix release (2017-06-01)

* Updated dependencies
* Fixed invalid markup in `<defs>` example html ([#229](https://github.com/jkphl/svg-sprite/issues/229))
* Fallback for failing CPU detection ([#217](https://github.com/jkphl/svg-sprite/pull/217))
* Fixed broken SVGO configuration in CLI ([#216](https://github.com/jkphl/svg-sprite/pull/216), [#199](https://github.com/jkphl/svg-sprite/issues/199))
* Added glob base directory option to CLI ([#220](https://github.com/jkphl/svg-sprite/issues/220))
* Fixed broken `rootAttributes` option in CLI ([#228](https://github.com/jkphl/svg-sprite/issues/228))
* Fixed invalid markup in `<defs>` example html ([#229](https://github.com/svg-sprite/svg-sprite/issues/229))
* Fallback for failing CPU detection ([#217](https://github.com/svg-sprite/svg-sprite/pull/217))
* Fixed broken SVGO configuration in CLI ([#216](https://github.com/svg-sprite/svg-sprite/pull/216), [#199](https://github.com/svg-sprite/svg-sprite/issues/199))
* Added glob base directory option to CLI ([#220](https://github.com/svg-sprite/svg-sprite/issues/220))
* Fixed broken `rootAttributes` option in CLI ([#228](https://github.com/svg-sprite/svg-sprite/issues/228))
## 1.3.6 Bugfix release (2016-08-29)
* Updated dependencies
* Fixed LESS template mixin call ([#187](https://github.com/jkphl/svg-sprite/pull/187))
* Fixed broken keyframe animation support ([gulp-svg-sprite #63](https://github.com/jkphl/gulp-svg-sprite/issues/63))
* Fixed LESS template mixin call ([#187](https://github.com/svg-sprite/svg-sprite/pull/187))
* Fixed broken keyframe animation support ([gulp-svg-sprite #63](https://github.com/svg-sprite/gulp-svg-sprite/issues/63))
## 1.3.5 Bugfix release (2016-08-15)
* Fixed file name regression bug ([#186](https://github.com/jkphl/svg-sprite/issues/186))
* Fixed file name regression bug ([#186](https://github.com/svg-sprite/svg-sprite/issues/186))
## 1.3.4 Bugfix release (2016-08-12)
* Updated dependencies
* Extended the ID generator callback signature ([#176](https://github.com/jkphl/svg-sprite/issues/176))
* Improved usage pattern example ([#177](https://github.com/jkphl/svg-sprite/issues/177))
* Added support for mode shorthand definitions in CLI mode ([#183](https://github.com/jkphl/svg-sprite/issues/183))
* Extended the ID generator callback signature ([#176](https://github.com/svg-sprite/svg-sprite/issues/176))
* Improved usage pattern example ([#177](https://github.com/svg-sprite/svg-sprite/issues/177))
* Added support for mode shorthand definitions in CLI mode ([#183](https://github.com/svg-sprite/svg-sprite/issues/183))
## 1.3.3 Bugfix release (2016-04-28)
* Fixed CLI regression bug ([#173](https://github.com/jkphl/svg-sprite/issues/173))
* Fixed CLI root attributes file handling ([#144](https://github.com/jkphl/svg-sprite/issues/144))
* Fixed CLI regression bug ([#173](https://github.com/svg-sprite/svg-sprite/issues/173))
* Fixed CLI root attributes file handling ([#144](https://github.com/svg-sprite/svg-sprite/issues/144))
## 1.3.2 Feature release (2016-04-27)
* Updated dependencies
* Restored documentation image ([#168](https://github.com/jkphl/svg-sprite/issues/168))
* Added CLI rendering options for defs/symbol/stack sprites ([#160](https://github.com/jkphl/svg-sprite/issues/160))
* Added CLI option for external JSON config file ([#160](https://github.com/jkphl/svg-sprite/issues/160), [#165](https://github.com/jkphl/svg-sprite/issues/165))
* Restored documentation image ([#168](https://github.com/svg-sprite/svg-sprite/issues/168))
* Added CLI rendering options for defs/symbol/stack sprites ([#160](https://github.com/svg-sprite/svg-sprite/issues/160))
* Added CLI option for external JSON config file ([#160](https://github.com/svg-sprite/svg-sprite/issues/160), [#165](https://github.com/svg-sprite/svg-sprite/issues/165))
## 1.3.1 Bugfix release (2016-04-17)
* Fixed modeless run ([#158](https://github.com/jkphl/svg-sprite/issues/158), [gulp-svg-sprite #42](https://github.com/jkphl/gulp-svg-sprite/issues/42))
* Fixed broken shape dimension attribute removal in symbol mode ([gulp-svg-sprite #51](https://github.com/jkphl/gulp-svg-sprite/issues/51))
* Fixed modeless run ([#158](https://github.com/svg-sprite/svg-sprite/issues/158), [gulp-svg-sprite #42](https://github.com/svg-sprite/gulp-svg-sprite/issues/42))
* Fixed broken shape dimension attribute removal in symbol mode ([gulp-svg-sprite #51](https://github.com/svg-sprite/gulp-svg-sprite/issues/51))

@@ -64,8 +64,8 @@ ## 1.3.0 Major maintenance release (2016-04-14)

* ~~Tweaked .gitignore to ignore symlinked test files (closes #140)~~ Reverted & made the files real copies
* Updated documentation ([grunt-svg-sprite #69](https://github.com/jkphl/grunt-svg-sprite/issues/69))
* Removed redundant require ([#156](https://github.com/jkphl/svg-sprite/issues/156))
* Updated documentation ([grunt-svg-sprite #69](https://github.com/svg-sprite/grunt-svg-sprite/issues/69))
* Removed redundant require ([#156](https://github.com/svg-sprite/svg-sprite/issues/156))
* Dropped support for Node.js < 4.0 and io.js
* Added explicit sprite size in example document ([#138](https://github.com/jkphl/svg-sprite/issues/138))
* Added XML entity resolution ([#118](https://github.com/jkphl/svg-sprite/issues/118))
* Allow multiple selectors for ID / class namespacing ([#109](https://github.com/jkphl/svg-sprite/issues/109))
* Added explicit sprite size in example document ([#138](https://github.com/svg-sprite/svg-sprite/issues/138))
* Added XML entity resolution ([#118](https://github.com/svg-sprite/svg-sprite/issues/118))
* Allow multiple selectors for ID / class namespacing ([#109](https://github.com/svg-sprite/svg-sprite/issues/109))
* Switched to [patched svg2png](https://github.com/domenic/svg2png/pull/45) until media queries are properly supported (devDependencies)

@@ -75,9 +75,9 @@

* Updated dependencies
* Temporarily fixed xmldom dependency problem ([#135](https://github.com/jkphl/svg-sprite/issues/135))
* Temporarily fixed xmldom dependency problem ([#135](https://github.com/svg-sprite/svg-sprite/issues/135))
## 1.2.18 Maintenance release (2016-01-05)
* Updated dependencies
* Fixed inline embedding link in example templates ([#130](https://github.com/jkphl/svg-sprite/issues/130))
* Fixed broken Less mixin support ([#133](https://github.com/jkphl/svg-sprite/issues/133))
* Introduced support for custom shape orders ([#131](https://github.com/jkphl/svg-sprite/issues/131))
* Fixed inline embedding link in example templates ([#130](https://github.com/svg-sprite/svg-sprite/issues/130))
* Fixed broken Less mixin support ([#133](https://github.com/svg-sprite/svg-sprite/issues/133))
* Introduced support for custom shape orders ([#131](https://github.com/svg-sprite/svg-sprite/issues/131))

@@ -89,4 +89,4 @@ ## 1.2.17 Maintenance release (2015-12-17)

* Updated dependencies
* Improved log level config handling ([#124](https://github.com/jkphl/svg-sprite/issues/124))
* Wrapped CSS url()s in quotes ([#125](https://github.com/jkphl/svg-sprite/issues/125))
* Improved log level config handling ([#124](https://github.com/svg-sprite/svg-sprite/issues/124))
* Wrapped CSS url()s in quotes ([#125](https://github.com/svg-sprite/svg-sprite/issues/125))

@@ -99,11 +99,11 @@ ## 1.2.15 Maintenance release (2015-11-24)

* Added Node.js versions 4 & 5 to Travis tests
* Fixed broken svg4everybody links ([#122](https://github.com/jkphl/svg-sprite/issues/122), [gulp-svg-sprite #39](https://github.com/jkphl/gulp-svg-sprite/issues/39))
* Fixed broken svg4everybody links ([#122](https://github.com/svg-sprite/svg-sprite/issues/122), [gulp-svg-sprite #39](https://github.com/svg-sprite/gulp-svg-sprite/issues/39))
## 1.2.13 Maintenance release (2015-11-06)
* Updated dependencies
* Support for source files outside the cwd ([grunt-svg-sprite #62](https://github.com/jkphl/grunt-svg-sprite/issues/62))
* Support for source files outside the cwd ([grunt-svg-sprite #62](https://github.com/svg-sprite/grunt-svg-sprite/issues/62))
## 1.2.12 Maintenance release (2015-10-24)
* Updated dependencies
* Dropped example file extension restriction ([#119](https://github.com/jkphl/svg-sprite/issues/119))
* Dropped example file extension restriction ([#119](https://github.com/svg-sprite/svg-sprite/issues/119))

@@ -115,35 +115,35 @@ ## 1.2.11 Maintenance release (2015-10-07)

* Updated dependencies
* Added browser compatibility hint ([#106](https://github.com/jkphl/svg-sprite/issues/106))
* Added accessibility features to symbol sprites ([#107](https://github.com/jkphl/svg-sprite/issues/107))
* Added browser compatibility hint ([#106](https://github.com/svg-sprite/svg-sprite/issues/106))
* Added accessibility features to symbol sprites ([#107](https://github.com/svg-sprite/svg-sprite/issues/107))
## 1.2.9 Bugfix release (2015-08-19)
* Updated dependencies
* Fixed broken `classname` rendering function ([#71](https://github.com/jkphl/svg-sprite/pull/71))
* Fixed broken `classname` rendering function ([#71](https://github.com/svg-sprite/svg-sprite/pull/71))
## 1.2.8 Feature release (2015-08-12)
* Updated dependencies
* Introduced CSS positioning values floating point precision ([#102](https://github.com/jkphl/svg-sprite/issues/102))
* Introduced CSS positioning values floating point precision ([#102](https://github.com/svg-sprite/svg-sprite/issues/102))
## 1.2.7 Maintenance release (2015-07-29)
* Updated dependencies
* Fixed error in symbol example template ([#99](https://github.com/jkphl/svg-sprite/pull/99))
* Fixed error in symbol example template ([#99](https://github.com/svg-sprite/svg-sprite/pull/99))
## 1.2.6 Feature release (2015-07-17)
* Updated dependencies
* Added CSS class namespacing ([#42](https://github.com/jkphl/svg-sprite/issues/42))
* Added CSS class namespacing ([#42](https://github.com/svg-sprite/svg-sprite/issues/42))
## 1.2.5 Maintenance release (2015-06-24)
* Updated dependencies
* Changed sprite file name handling ([#97](https://github.com/jkphl/svg-sprite/issues/97))
* Changed sprite file name handling ([#97](https://github.com/svg-sprite/svg-sprite/issues/97))
## 1.2.4 Bugfix release (2015-06-17)
* Updated dependencies
* Fixed invalid SVG validation regex ([#94](https://github.com/jkphl/svg-sprite/issues/94))
* Fixed invalid SVG validation regex ([#94](https://github.com/svg-sprite/svg-sprite/issues/94))
## 1.2.3 Bugfix release (2015-06-08)
* Fixed string conversion regression ([#89](https://github.com/jkphl/svg-sprite/issues/89))
* Fixed string conversion regression ([#89](https://github.com/svg-sprite/svg-sprite/issues/89))
* Updated dependencies
## 1.2.2 Feature release (2015-06-05)
* Introduced "icon" box sizing strategy ([#57](https://github.com/jkphl/svg-sprite/pull/57), [grunt-svg-sprite #35](https://github.com/jkphl/grunt-svg-sprite/issues/35#issuecomment-74232726))
* Introduced "icon" box sizing strategy ([#57](https://github.com/svg-sprite/svg-sprite/pull/57), [grunt-svg-sprite #35](https://github.com/svg-sprite/grunt-svg-sprite/issues/35#issuecomment-74232726))

@@ -154,24 +154,24 @@ ## 1.2.1 Bugfix release (2015-06-04)

## 1.2.0 Feature release (2015-06-04)
* Updated dependencies & development dependencies ([#67](https://github.com/jkphl/svg-sprite/pull/67), [#82](https://github.com/jkphl/svg-sprite/issues/82))
* Updated dependencies & development dependencies ([#67](https://github.com/svg-sprite/svg-sprite/pull/67), [#82](https://github.com/svg-sprite/svg-sprite/issues/82))
* Relocated the shape transformations list config option
* Added custom root attributes support ([#87](https://github.com/jkphl/svg-sprite/issues/87))
* Introduced a global post-processing transformation option ([#64](https://github.com/jkphl/svg-sprite/issues/64), [#87](https://github.com/jkphl/svg-sprite/issues/87))
* Added custom root attributes support ([#87](https://github.com/svg-sprite/svg-sprite/issues/87))
* Introduced a global post-processing transformation option ([#64](https://github.com/svg-sprite/svg-sprite/issues/64), [#87](https://github.com/svg-sprite/svg-sprite/issues/87))
## 1.1.2 Bugfix release (2015-04-22)
* Fixed symbol example template regression bug ([#70](https://github.com/jkphl/svg-sprite/issues/70#issuecomment-95307588))
* Fixed symbol example template regression bug ([#70](https://github.com/svg-sprite/svg-sprite/issues/70#issuecomment-95307588))
* Added mixin option to CLI arguments
* Fixed boolean CLI argument notation ([#76](https://github.com/jkphl/svg-sprite/issues/76))
* Added whitespace replacement for shape IDs ([#77](https://github.com/jkphl/svg-sprite/issues/77))
* Fixed boolean CLI argument notation ([#76](https://github.com/svg-sprite/svg-sprite/issues/76))
* Added whitespace replacement for shape IDs ([#77](https://github.com/svg-sprite/svg-sprite/issues/77))
## 1.1.1 Bugfix release (2015-04-19)
* Updated dependencies & development dependencies
* Added viewBox attribute to SVG stacks ([#73](https://github.com/jkphl/svg-sprite/issues/73))
* Fixed example document path resolution bug ([#70](https://github.com/jkphl/svg-sprite/issues/70))
* Allow negative viewBox values ([#72](https://github.com/jkphl/svg-sprite/pull/72))
* Fixed symbol example document ([#71](https://github.com/jkphl/svg-sprite/pull/71))
* Improved error log for invalid SVG files ([#69](https://github.com/jkphl/svg-sprite/issues/69))
* Added viewBox attribute to SVG stacks ([#73](https://github.com/svg-sprite/svg-sprite/issues/73))
* Fixed example document path resolution bug ([#70](https://github.com/svg-sprite/svg-sprite/issues/70))
* Allow negative viewBox values ([#72](https://github.com/svg-sprite/svg-sprite/pull/72))
* Fixed symbol example document ([#71](https://github.com/svg-sprite/svg-sprite/pull/71))
* Improved error log for invalid SVG files ([#69](https://github.com/svg-sprite/svg-sprite/issues/69))
## 1.1.0 Maintenance release (2015-04-04)
* Updated dependencies & development dependencies
* Added mixin option ([#66](https://github.com/jkphl/svg-sprite/issues/66); ATTENTION: May break custom templates!)
* Added mixin option ([#66](https://github.com/svg-sprite/svg-sprite/issues/66); ATTENTION: May break custom templates!)
* Node.js 0.12 compatibility

@@ -181,3 +181,3 @@

* Updated dependencies
* Fixed several CLI bugs ([#65](https://github.com/jkphl/svg-sprite/issues/65))
* Fixed several CLI bugs ([#65](https://github.com/svg-sprite/svg-sprite/issues/65))

@@ -197,3 +197,3 @@ ## 1.0.19 Maintenance release (2015-03-08)

* Updated dependencies
* Fixed incomplete dimension CSS selector suffix ([grunt-svg-sprite #31](https://github.com/jkphl/grunt-svg-sprite/issues/31))
* Fixed incomplete dimension CSS selector suffix ([grunt-svg-sprite #31](https://github.com/svg-sprite/grunt-svg-sprite/issues/31))

@@ -204,6 +204,6 @@ ## 1.0.16 Bugfix release (2015-02-11)

## 1.0.15 Bugfix release (2015-02-11)
* Fixed missing file extensions with CSS resources ([#54](https://github.com/jkphl/svg-sprite/issues/54))
* Fixed broken sprite URL in css/view example HTML documents ([#53](https://github.com/jkphl/svg-sprite/issues/53))
* Fixed missing file extensions with CSS resources ([#54](https://github.com/svg-sprite/svg-sprite/issues/54))
* Fixed broken sprite URL in css/view example HTML documents ([#53](https://github.com/svg-sprite/svg-sprite/issues/53))
* Fixed wrong base path for intermediate SVG shapes
* Removed the automatic dot prefix for CSS selectors ([#55](https://github.com/jkphl/svg-sprite/issues/55))
* Removed the automatic dot prefix for CSS selectors ([#55](https://github.com/svg-sprite/svg-sprite/issues/55))

@@ -213,15 +213,15 @@ ## 1.0.14 Maintenance release (2015-02-08)

* Updated dependencies
* Fixed error with falsy rendering configurations ([#52](https://github.com/jkphl/svg-sprite/issues/52))
* Fixed error with falsy rendering configurations ([#52](https://github.com/svg-sprite/svg-sprite/issues/52))
## 1.0.13 Maintenance release (2015-01-28)
* Fixed windows path separator bug ([gulp-svg-sprite #6](https://github.com/jkphl/gulp-svg-sprite/issues/6))
* Made dimension attributes (width & height) optional ([#45](https://github.com/jkphl/svg-sprite/issues/45))
* Added cache busting option for non-CSS sprites ([#48](https://github.com/jkphl/svg-sprite/issues/48))
* Fixed windows path separator bug ([gulp-svg-sprite #6](https://github.com/svg-sprite/gulp-svg-sprite/issues/6))
* Made dimension attributes (width & height) optional ([#45](https://github.com/svg-sprite/svg-sprite/issues/45))
* Added cache busting option for non-CSS sprites ([#48](https://github.com/svg-sprite/svg-sprite/issues/48))
## 1.0.12 Feature release (2015-01-27)
* Added dimension CSS output for non-CSS sprites ([#45](https://github.com/jkphl/svg-sprite/issues/45))
* Added dimension CSS output for non-CSS sprites ([#45](https://github.com/svg-sprite/svg-sprite/issues/45))
* Bumped lodash dependency version (#44)
## 1.0.11 Bugfix release
* Fixed coordinate distortion in CSS sprites ([#41](https://github.com/jkphl/svg-sprite/issues/41))
* Fixed coordinate distortion in CSS sprites ([#41](https://github.com/svg-sprite/svg-sprite/issues/41))

@@ -231,4 +231,4 @@ ## 1.0.10 Maintenance release

* Fixed external CLI transform configuration support
* Fixed typos in README example ([PR #39](https://github.com/jkphl/svg-sprite/pull/39))
* Added support for Windows file name globbing ([#40](https://github.com/jkphl/svg-sprite/issues/40))
* Fixed typos in README example ([PR #39](https://github.com/svg-sprite/svg-sprite/pull/39))
* Added support for Windows file name globbing ([#40](https://github.com/svg-sprite/svg-sprite/issues/40))

@@ -238,3 +238,3 @@ ## 1.0.9 Maintenance release

* Introduced `svg` getter in templating shape variables
* Fixed broken dimension argument in CLI version ([#38](https://github.com/jkphl/svg-sprite/issues/38))
* Fixed broken dimension argument in CLI version ([#38](https://github.com/svg-sprite/svg-sprite/issues/38))
* Fixed logging error in SVGO optimization

@@ -245,22 +245,22 @@ * Fixed missing XML namespaces in SVG stack

## 1.0.8 Bugfix release
* Fixed broken rendering template path resolution ([grunt-svg-sprite #29](https://github.com/jkphl/grunt-svg-sprite/issues/29))
* Fixed broken rendering template path resolution ([grunt-svg-sprite #29](https://github.com/svg-sprite/grunt-svg-sprite/issues/29))
## 1.0.7 Feature release
* Improved error handling
* Improved XML & DOCTYPE declaration handling and fixed ([grunt-svg-sprite #28](https://github.com/jkphl/grunt-svg-sprite/issues/28))
* Improved XML & DOCTYPE declaration handling and fixed ([grunt-svg-sprite #28](https://github.com/svg-sprite/grunt-svg-sprite/issues/28))
## 1.0.6 Feature release
* Made shape ID namespacing configurable ([grunt-svg-sprite #27](https://github.com/jkphl/grunt-svg-sprite/issues/27))
* Added extended alignment options ([#33](https://github.com/jkphl/svg-sprite/issues/33))
* Made shape ID namespacing configurable ([grunt-svg-sprite #27](https://github.com/svg-sprite/grunt-svg-sprite/issues/27))
* Added extended alignment options ([#33](https://github.com/svg-sprite/svg-sprite/issues/33))
## 1.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))
* Added support for ID generator templates in CLI version ([#37](https://github.com/svg-sprite/svg-sprite/issues/37))
## 1.0.4 Bufix release
* Fixed XML & doctype declaration bug with inline sprites ([gulp-svg-sprite #2](https://github.com/jkphl/gulp-svg-sprite/issues/2))
* Added support for ID generator templates ([#37](https://github.com/jkphl/svg-sprite/issues/37))
* Fixed XML & doctype declaration bug with inline sprites ([gulp-svg-sprite #2](https://github.com/svg-sprite/gulp-svg-sprite/issues/2))
* Added support for ID generator templates ([#37](https://github.com/svg-sprite/svg-sprite/issues/37))
## 1.0.3 Bufix release
* Fixed dependency error ([#36](https://github.com/jkphl/svg-sprite/issues/36))
* Fixed dependency error ([#36](https://github.com/svg-sprite/svg-sprite/issues/36))

@@ -274,16 +274,16 @@ ## 1.0.2 Maintenance release

## 1.0.0 Next generation release
* Rewritten from scratch ([#23](https://github.com/jkphl/svg-sprite/issues/23), [#30](https://github.com/jkphl/svg-sprite/issues/30))
* Dropped [libxmljs](https://github.com/polotek/libxmljs) dependency for improving Windows support (e.g. [grunt-svg-sprite #14](https://github.com/jkphl/grunt-svg-sprite/issues/14))
* Added support for `view`, `symbol` and `stack` modes ([#27](https://github.com/jkphl/svg-sprite/issues/27), [#35](https://github.com/jkphl/svg-sprite/issues/35), [grunt-svg-sprite #24](https://github.com/jkphl/grunt-svg-sprite/issues/24))
* Strip off all file access methods, making the module a good basis for 3rd party tools (like Grunt & Gulp plugins) ([#21](https://github.com/jkphl/svg-sprite/issues/21), [#25](https://github.com/jkphl/svg-sprite/issues/25))
* Improved command line version ([#34](https://github.com/jkphl/svg-sprite/issues/34))
* Switched to relative positioning in CSS sprites ([grunt-svg-sprite #23](https://github.com/jkphl/grunt-svg-sprite/issues/23))
* Rewritten from scratch ([#23](https://github.com/svg-sprite/svg-sprite/issues/23), [#30](https://github.com/svg-sprite/svg-sprite/issues/30))
* Dropped [libxmljs](https://github.com/polotek/libxmljs) dependency for improving Windows support (e.g. [grunt-svg-sprite #14](https://github.com/svg-sprite/grunt-svg-sprite/issues/14))
* Added support for `view`, `symbol` and `stack` modes ([#27](https://github.com/svg-sprite/svg-sprite/issues/27), [#35](https://github.com/svg-sprite/svg-sprite/issues/35), [grunt-svg-sprite #24](https://github.com/svg-sprite/grunt-svg-sprite/issues/24))
* Strip off all file access methods, making the module a good basis for 3rd party tools (like Grunt & Gulp plugins) ([#21](https://github.com/svg-sprite/svg-sprite/issues/21), [#25](https://github.com/svg-sprite/svg-sprite/issues/25))
* Improved command line version ([#34](https://github.com/svg-sprite/svg-sprite/issues/34))
* Switched to relative positioning in CSS sprites ([grunt-svg-sprite #23](https://github.com/svg-sprite/grunt-svg-sprite/issues/23))
* Made the configuration of Mustache templates and destinations more intuitive
* Enabled customization of shape IDs
* Enabled custom SVG transformations
* Enhanced `padding` options ([#24](https://github.com/jkphl/svg-sprite/issues/24))
* Added cache busting for `css` and `view` mode (enabled by default; [#29](https://github.com/jkphl/svg-sprite/pull/29))
* Enhanced `padding` options ([#24](https://github.com/svg-sprite/svg-sprite/issues/24))
* Added cache busting for `css` and `view` mode (enabled by default; [#29](https://github.com/svg-sprite/svg-sprite/pull/29))
* Added support for [meta data injection](#a1-meta-data-injection)
For older release notes please [see here](https://github.com/jkphl/svg-sprite/tree/bbd051e940e7b6373ed56277251a8affb03b1c10#release-history).
For older release notes please [see here](https://github.com/svg-sprite/svg-sprite/tree/bbd051e940e7b6373ed56277251a8affb03b1c10#release-history).

@@ -293,8 +293,8 @@ About

The [original svg-sprite](https://github.com/jkphl/svg-sprite/tree/bbd051e940e7b6373ed56277251a8affb03b1c10) 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:
The [original svg-sprite](https://github.com/svg-sprite/svg-sprite/tree/bbd051e940e7b6373ed56277251a8affb03b1c10) 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:
* [grunt-svg-sprite](https://github.com/jkphl/grunt-svg-sprite) (a [Grunt](http://gruntjs.com) wrapper around *svg-sprite*)
* [gulp-svg-sprite](https://github.com/jkphl/gulp-svg-sprite) (a [Gulp](http://gulpjs.com) wrapper around *svg-sprite*)
* [grunt-svg-sprite](https://github.com/svg-sprite/grunt-svg-sprite) (a [Grunt](http://gruntjs.com) wrapper around *svg-sprite*)
* [gulp-svg-sprite](https://github.com/svg-sprite/gulp-svg-sprite) (a [Gulp](http://gulpjs.com) wrapper around *svg-sprite*)
* [svg-sprite-data](https://github.com/shakyShane/svg-sprite-data) by [Shane Osbourne](https://github.com/shakyShane) (based on the original svg-sprite)
**_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](https://github.com/jkphl/node-iconizr), [Grunt plugin](https://github.com/jkphl/grunt-iconizr), [PHP version](https://github.com/jkphl/iconizr) and [online service](http://iconizr.com)).

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -84,3 +84,3 @@

**Registration of an SVG file** — Prior to compiliation, you'll need to register one or more SVG files for processing, obviously. As *svg-sprite* doesn't read the files from disk itself, you'll have to pass both the path and the file contents explicitly. Alternatively, you may pass a [vinyl](https://github.com/wearefractal/vinyl) file object as the first argument to `.add()`, which comes in handy when piping resources from one process to another (as you would do with the [Gulp wrapper](https://github.com/jkphl/gulp-svg-sprite) anyway). Please [see below](#example-using-glob-and-vinyl) for an example.
**Registration of an SVG file** — Prior to compiliation, you'll need to register one or more SVG files for processing, obviously. As *svg-sprite* doesn't read the files from disk itself, you'll have to pass both the path and the file contents explicitly. Alternatively, you may pass a [vinyl](https://github.com/wearefractal/vinyl) file object as the first argument to `.add()`, which comes in handy when piping resources from one process to another (as you would do with the [Gulp wrapper](https://github.com/svg-sprite/gulp-svg-sprite) anyway). Please [see below](#example-using-glob-and-vinyl) for an example.

@@ -215,13 +215,13 @@ It is important to know that the spriter **optimizes the SVG files as soon as you register them**, not just when you [compile your sprite](#svgspritercompile-config--callback-). This way it is possibly to call the `.compile()` method several time, possibly passing in different render configurations without the need of repeating the optimization steps.

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -195,3 +195,3 @@

Using config file (config.json in project base path) instead of command line options. Config file can be generated [with the online configurator](http://jkphl.github.io/svg-sprite/#json).
Using config file (config.json in project base path) instead of command line options. Config file can be generated [with the online configurator](https://svg-sprite.github.io/svg-sprite/#json).

@@ -229,13 +229,13 @@ ```bash

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -23,3 +23,3 @@

All of these properties are optional, so in fact even an empty object `{}` is a valid configuration for *svg-sprite*. What follows is a complete reference of all available configuration settings. For getting off the ground quickly, you may also use the [online configurator & kickstarter](http://jkphl.github.io/svg-sprite), which lets you create a custom configuration in seconds.
All of these properties are optional, so in fact even an empty object `{}` is a valid configuration for *svg-sprite*. What follows is a complete reference of all available configuration settings. For getting off the ground quickly, you may also use the [online configurator & kickstarter](https://svg-sprite.github.io/svg-sprite/), which lets you create a custom configuration in seconds.

@@ -400,3 +400,3 @@

The «stack» mode creates a single SVG file by combining the original shapes as nested `<svg>` elements. Instead of spreading the shapes using individual horizontal and / or vertical offsets, the stack contains a small CSS portion that hides all the shapes by default. Only the *active* shape as determined by the `:target` pseudo selector will be visible. For this technique to work, the client will have to <a href="http://caniuse.com/#feat=svg-fragment" target="_blank">support SVG fragment identifiers</a> or use a prolyfill like <a href="https://github.com/preciousforever/SVG-Stacker/blob/master/fixsvgstack.jquery.js" target="_blank">fixsvgstack.jquery.js</a>. Please see [this post by simurai](https://web.archive.org/web/20160120092300/http://simurai.com/blog/2012/04/02/svg-stacks/) for a further explanation of SVG stacks.
The «stack» mode creates a single SVG file by combining the original shapes as nested `<svg>` elements. Instead of spreading the shapes using individual horizontal and / or vertical offsets, the stack contains a small CSS portion that hides all the shapes by default. Only the *active* shape as determined by the `:target` pseudo selector will be visible. For this technique to work, the client will have to <a href="http://caniuse.com/#feat=svg-fragment" target="_blank" rel="noopener noreferrer">support SVG fragment identifiers</a> or use a prolyfill like <a href="https://github.com/preciousforever/SVG-Stacker/blob/master/fixsvgstack.jquery.js" target="_blank" rel="noopener noreferrer">fixsvgstack.jquery.js</a>. Please see [this post by simurai](https://web.archive.org/web/20160120092300/http://simurai.com/blog/2012/04/02/svg-stacks/) for a further explanation of SVG stacks.

@@ -468,13 +468,13 @@ «stack» sprites don't have any options in addition to the [common mode properties](#common-mode-properties).

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -28,3 +28,3 @@

## Grunt task (using [grunt-svg-sprite](https://github.com/jkphl/grunt-svg-sprite))
## Grunt task (using [grunt-svg-sprite](https://github.com/svg-sprite/grunt-svg-sprite))

@@ -45,3 +45,3 @@ ```javascript

## Gulp task (using [gulp-svg-sprite](https://github.com/jkphl/gulp-svg-sprite))
## Gulp task (using [gulp-svg-sprite](https://github.com/svg-sprite/gulp-svg-sprite))

@@ -58,13 +58,13 @@ ```javascript

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -47,13 +47,13 @@

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -69,13 +69,13 @@

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -1,5 +0,5 @@

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] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
==========
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/jkphl/svg-sprite).
This file is part of the documentation of *svg-sprite* — a free low-level Node.js module that **takes a bunch of SVG files**, optimizes them and creates **SVG sprites** of several types. The package is [hosted on GitHub](https://github.com/svg-sprite/svg-sprite).

@@ -226,13 +226,13 @@

[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.png
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.png
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE.txt
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -19,3 +19,2 @@

var _ = require('lodash');
var pluck = require('lodash.pluck');
var path = require('path');

@@ -136,3 +135,3 @@ var File = require('vinyl');

path: file,
contents: new Buffer(svg)
contents: Buffer.from(svg)
});

@@ -327,3 +326,3 @@ }

async.parallelLimit(tasks, this._limit, function (error, data) {
cb(error, files, _.zipObject(pluck(data, 'key'), data));
cb(error, files, _.zipObject(_.map(data, 'key'), data));
});

@@ -368,3 +367,3 @@ };

path: path.join(dest, shape.id + '.svg'),
contents: new Buffer(shape.getSVG(false))
contents: Buffer.from(shape.getSVG(false))
});

@@ -371,0 +370,0 @@ }, this);

@@ -6,11 +6,9 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/
var dateFormat = require('dateformat');
var _ = require('lodash'),

@@ -104,8 +102,12 @@ path = require('path'),

silent: !this.log.length,
colorize: true,
prettyPrint: true,
timestamp: function () {
var now = new Date();
return dateFormat(now, 'yyyy-mm-dd HH:MM:ss');
}
format: winston.format.combine(
winston.format.colorize(),
winston.format.timestamp({
format: 'YYYY-MM-DD HH:MM:ss'
}),
winston.format.splat(),
winston.format.printf(function (info) {
return info.timestamp + ' - ' + info.level + ': ' + info.message;
})
)
})]

@@ -112,0 +114,0 @@ });

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -170,3 +170,3 @@

path : renderConfig.dest,
contents : new Buffer(out)
contents : Buffer.from(out)
});

@@ -200,3 +200,3 @@ spriter.verbose('Created «%s» stylesheet resource', ext);

path : this.config.example.dest,
contents : new Buffer(out)
contents : Buffer.from(out)
});

@@ -203,0 +203,0 @@ this._spriter.verbose('Created «%s» HTML example file', this.key);

@@ -6,11 +6,10 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/
var _ = require('lodash');
var pluck = require('lodash.pluck');
var util = require('util');

@@ -436,3 +435,3 @@ var SVGSpriteBase = require('./base');

svg = new SVGSprite(this.declaration(this.config.svg.xmlDeclaration, xmlDeclaration), this.declaration(this.config.svg.doctypeDeclaration, doctypeDeclaration), rootAttributes, true, this.config.svg.transform);
svg.add(pluck(this.data.shapes, 'svg'));
svg.add(_.map(this.data.shapes, 'svg'));

@@ -439,0 +438,0 @@ return svg.toFile(this._spriter.config.dest, this._addCacheBusting(svg));

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -6,11 +6,10 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/
var _ = require('lodash');
var pluck = require('lodash.pluck');
var SVGSpriteStandalone = require('./standalone');

@@ -90,3 +89,3 @@ var SVGSprite = require('../sprite');

svg.add('<defs>');
svg.add(pluck(this.data.shapes, 'svg'));
svg.add(_.map(this.data.shapes, 'svg'));
svg.add('</defs>');

@@ -93,0 +92,0 @@

@@ -6,11 +6,10 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/
var _ = require('lodash');
var pluck = require('lodash.pluck');
var SVGSpriteStandalone = require('./standalone');

@@ -99,3 +98,3 @@ var SVGSprite = require('../sprite');

svg.add('<style>:root>svg{display:none}:root>svg:target{display:block}</style>');
svg.add(pluck(this.data.shapes, 'svg'));
svg.add(_.map(this.data.shapes, 'svg'));

@@ -102,0 +101,0 @@ return svg.toFile(this._spriter.config.dest, this._addCacheBusting(svg));

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -6,11 +6,10 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/
var _ = require('lodash');
var pluck = require('lodash.pluck');
var SVGSpriteStandalone = require('./standalone');

@@ -95,3 +94,3 @@ var SVGSprite = require('../sprite');

) : rootAttributes, !inline, this.config.svg.transform);
svg.add(pluck(this.data.shapes, 'svg'));
svg.add(_.map(this.data.shapes, 'svg'));

@@ -98,0 +97,0 @@ return svg.toFile(this._spriter.config.dest, this._addCacheBusting(svg));

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

@@ -8,7 +8,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -15,0 +15,0 @@

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -117,3 +117,3 @@

path : path,
contents : new Buffer(this.toString())
contents : Buffer.from(this.toString())
});

@@ -120,0 +120,0 @@ };

@@ -6,7 +6,7 @@ 'use strict';

*
* @see https://github.com/jkphl/svg-sprite
* @see https://github.com/svg-sprite/svg-sprite
*
* @author Joschi Kuphal <joschi@kuphal.net> (https://github.com/jkphl)
* @copyright © 2018 Joschi Kuphal
* @license MIT https://raw.github.com/jkphl/svg-sprite/master/LICENSE
* @license MIT https://github.com/svg-sprite/svg-sprite/blob/1.5.x/LICENSE
*/

@@ -13,0 +13,0 @@

{
"name": "svg-sprite",
"version": "1.5.0",
"version": "1.5.1",
"author": "Joschi Kuphal <joschi@kuphal.net> (https://jkphl.is)",
"description": "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.)",
"homepage": "https://github.com/jkphl/svg-sprite",
"homepage": "https://github.com/svg-sprite/svg-sprite",
"repository": {
"type": "git",
"url": "https://github.com/jkphl/svg-sprite.git"
"url": "https://github.com/svg-sprite/svg-sprite.git"
},
"bugs": {
"url": "https://github.com/jkphl/svg-sprite/issues"
"url": "https://github.com/svg-sprite/svg-sprite/issues"
},
"license": "MIT",
"engines": {
"node": ">= 6.4.0"
"node": ">=6.4.0"
},

@@ -29,49 +29,44 @@ "main": "lib/svg-sprite.js",

"lib",
"tmpl",
"CHANGELOG.md"
"tmpl"
],
"mocha": {
"reporter": "spec"
},
"scripts": {
"pretest": "npm run lint",
"test": "istanbul test node_modules/mocha/bin/_mocha --report html -- test/svg-sprite.js --reporter spec",
"lint": "jshint bin && jshint lib && jshint test",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"test": "istanbul test node_modules/mocha/bin/_mocha --report html -- test/svg-sprite.js",
"lint": "jshint bin lib test",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly",
"example": "node example.js"
},
"dependencies": {
"async": "^2.6.1",
"css-selector-parser": "^1.3.0",
"async": "^3.2.0",
"css-selector-parser": "^1.4.1",
"cssmin": "^0.4.3",
"cssom": "^0.3.4",
"dateformat": "^3.0.3",
"glob": "^7.1.3",
"js-yaml": "^3.12.0",
"lodash": "^4.17.11",
"lodash.pluck": "^3.1.2",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
"mustache": "^3.0.0",
"cssom": "^0.4.4",
"glob": "^7.1.7",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21",
"mkdirp": "^0.5.5",
"mustache": "^4.2.0",
"phantomjs-prebuilt": "^2.1.16",
"prettysize": "^1.1.0",
"should": "^13.2.3",
"svgo": "^1.1.1",
"vinyl": "^2.2.0",
"winston": "^3.1.0",
"xmldom": "0.1.27",
"xpath": "^0.0.27",
"yargs": "^12.0.2"
"prettysize": "^2.0.0",
"svgo": "^1.3.2",
"vinyl": "^2.2.1",
"winston": "^3.3.3",
"xmldom": "0.6.0",
"xpath": "^0.0.32",
"yargs": "^15.4.1"
},
"devDependencies": {
"coveralls": "^3.0.2",
"image-diff": "^2.0.0",
"istanbul": "*",
"jshint": "^2.9.6",
"less": "^3.8.1",
"mocha": "",
"mocha-lcov-reporter": "*",
"node-sass": "^4.9.3",
"istanbul": "^0.4.5",
"jshint": "^2.13.0",
"less": "^3.13.1",
"mocha": "^7.2.0",
"node-sass": "^4.14.1",
"pn": "^1.1.0",
"rimraf": "",
"should": "",
"stylus": "^0.54.5",
"svg2png": "github:jkphl/svg2png",
"vinyl-fs": "^3.0.3"
"rimraf": "^3.0.2",
"should": "^13.2.3",
"stylus": "^0.54.8",
"svg2png": "^4.1.1"
},

@@ -78,0 +73,0 @@ "keywords": [

@@ -1,2 +0,2 @@

svg-sprite [![NPM version][npm-image]][npm-url] [![NPM downloads][npm-downloads]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
svg-sprite [![NPM version][npm-image]][npm-url] [![NPM downloads][npm-downloads]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] [![Development Dependency Status][devdepstat-image]][devdepstat-url]
====================================================================================================================================================================================================================================================================================================================================================================================================

@@ -19,3 +19,3 @@

Being a low-level library with support for [Node.js streams](https://github.com/substack/stream-handbook), *svg-sprite* doesn't take on the part of accessing the file system (i.e. reading the source SVGs from and writing the sprites and CSS files to disk). If you don't want to take care of this stuff yourself, you might rather have a look at the available wrappers for **Grunt** ([grunt-svg-sprite](https://github.com/jkphl/grunt-svg-sprite)) and **Gulp** ([gulp-svg-sprite](https://github.com/jkphl/gulp-svg-sprite)). *svg-sprite* is also the foundation of the **[iconizr](https://github.com/jkphl/node-iconizr)** project, which serves high-quality SVG based **CSS icon kits with PNG fallbacks**.
Being a low-level library with support for [Node.js streams](https://github.com/substack/stream-handbook), *svg-sprite* doesn't take on the part of accessing the file system (i.e. reading the source SVGs from and writing the sprites and CSS files to disk). If you don't want to take care of this stuff yourself, you might rather have a look at the available wrappers for **Grunt** ([grunt-svg-sprite](https://github.com/svg-sprite/grunt-svg-sprite)) and **Gulp** ([gulp-svg-sprite](https://github.com/svg-sprite/gulp-svg-sprite)). *svg-sprite* is also the foundation of the **[iconizr](https://github.com/jkphl/node-iconizr)** project, which serves high-quality SVG based **CSS icon kits with PNG fallbacks**.

@@ -38,3 +38,3 @@

* [Full configuration documentation](docs/configuration.md)
* [Online configurator & project kickstarter](http://jkphl.github.io/svg-sprite)
* [Online configurator & project kickstarter](https://svg-sprite.github.io/svg-sprite/)
* [Advanced techniques](#advanced-techniques)

@@ -341,3 +341,3 @@ * [Meta data injection](docs/meta-data.md)

To get you quickly off the ground, I made a simple [online configurator](http://jkphl.github.io/svg-sprite) that lets you create a custom *svg-sprite* configuration in seconds. You may download the results as plain JSON, Node.js project, Gruntfile or Gulpfile. Please visit the configurator at http://jkphl.github.io/svg-sprite.
To get you quickly off the ground, I made a simple [online configurator](https://svg-sprite.github.io/svg-sprite/) that lets you create a custom *svg-sprite* configuration in seconds. You may download the results as plain JSON, Node.js project, Gruntfile or Gulpfile. Please visit the configurator at https://svg-sprite.github.io/svg-sprite/.

@@ -390,18 +390,18 @@

-----
Copyright © 2018 Joschi Kuphal <joschi@kuphal.net> / [@jkphl](https://twitter.com/jkphl). *svg-sprite* is licensed under the terms of the [MIT license](LICENSE.txt). The contained example SVG icons are part of the [Tango Icon Library](http://tango.freedesktop.org/Tango_Icon_Library) and belong to the Public Domain.
Copyright © 2018 Joschi Kuphal <joschi@kuphal.net> / [@jkphl](https://twitter.com/jkphl). *svg-sprite* is licensed under the terms of the [MIT license](LICENSE). The contained example SVG icons are part of the [Tango Icon Library](http://tango.freedesktop.org/Tango_Icon_Library) and belong to the Public Domain.
[npm-url]: https://npmjs.org/package/svg-sprite
[npm-image]: https://badge.fury.io/js/svg-sprite.svg
[npm-image]: https://img.shields.io/npm/v/svg-sprite
[npm-downloads]: https://img.shields.io/npm/dm/svg-sprite.svg
[travis-url]: http://travis-ci.org/jkphl/svg-sprite
[travis-image]: https://secure.travis-ci.org/jkphl/svg-sprite.svg
[ci-url]: https://github.com/svg-sprite/svg-sprite/actions?query=workflow%3ATests+branch%3A1.5.x
[ci-image]: https://github.com/svg-sprite/svg-sprite/workflows/Tests/badge.svg?branch=1.5.x
[coveralls-url]: https://coveralls.io/r/jkphl/svg-sprite
[coveralls-image]: https://img.shields.io/coveralls/jkphl/svg-sprite.svg
[coveralls-url]: https://coveralls.io/github/svg-sprite/svg-sprite?branch=1.5.x
[coveralls-image]: https://img.shields.io/coveralls/github/svg-sprite/svg-sprite/1.5.x
[depstat-url]: https://david-dm.org/jkphl/svg-sprite#info=dependencies
[depstat-image]: https://david-dm.org/jkphl/svg-sprite.svg
[devdepstat-url]: https://david-dm.org/jkphl/svg-sprite#info=devDependencies
[devdepstat-image]: https://david-dm.org/jkphl/svg-sprite/dev-status.svg
[depstat-url]: https://david-dm.org/svg-sprite/svg-sprite
[depstat-image]: https://img.shields.io/david/svg-sprite/svg-sprite
[devdepstat-url]: https://david-dm.org/svg-sprite/svg-sprite?type=dev
[devdepstat-image]: https://img.shields.io/david/dev/svg-sprite/svg-sprite

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc