Socket
Socket
Sign inDemoInstall

gulp.spritesmith

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp.spritesmith - npm Package Compare versions

Comparing version 3.5.4 to 3.6.0

2

CHANGELOG.md
# gulp.spritesmith changelog
3.6.0 - Upgraded to `spritesheet-templates@9.4.0` and added handlebars helper registration
3.5.4 - Added `node@0.12` and `iojs` to CI tests

@@ -3,0 +5,0 @@

@@ -302,2 +302,10 @@ // Load our dependencies

// If we have handlebars helpers, register them
var handlebarsHelpers = params.cssHandlebarsHelpers;
if (handlebarsHelpers) {
Object.keys(handlebarsHelpers).forEach(function registerHelper (helperKey) {
templater.registerHandlebarsHelper(helperKey, handlebarsHelpers[helperKey]);
});
}
// If there is a custom template, use it

@@ -304,0 +312,0 @@ var cssFormat = 'spritesmith-custom';

4

package.json
{
"name": "gulp.spritesmith",
"description": "Convert a set of images into a spritesheet and CSS variables via gulp",
"version": "3.5.4",
"version": "3.6.0",
"homepage": "https://github.com/twolfson/gulp.spritesmith",

@@ -38,3 +38,3 @@ "author": {

"minimatch": "~2.0.4",
"spritesheet-templates": "~9.4.0",
"spritesheet-templates": "~9.5.0",
"spritesmith": "~1.3.0",

@@ -41,0 +41,0 @@ "through2": "~0.6.1",

@@ -138,2 +138,5 @@ # gulp.spritesmith [![Build status](https://travis-ci.org/twolfson/gulp.spritesmith.png?branch=master)](https://travis-ci.org/twolfson/gulp.spritesmith)

- For more templating information, see the [Templating section](#templating)
- cssHandlebarsHelpers `Object` - Container for helpers to register to [handlebars][] for our template
- Each key-value pair is the name of a [handlebars][] helper corresponding to its function
- For example, `{half: function (num) { return num/2; }` will add a [handlebars][] helper that halves numbers
- cssVarMap `Function` - Mapping function for each filename to CSS variable

@@ -140,0 +143,0 @@ - For more information, see [Variable mapping](#variable-mapping)

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