Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spritesheet-templates

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spritesheet-templates - npm Package Compare versions

Comparing version 9.3.0 to 9.3.1

2

CHANGELOG.md
# spritesheet-templates changelog
9.3.1 - Fixed regression with `data.spritesheet_info` fallback logic
9.3.0 - Relocated `options.spritesheetName` to `data.spritesheet_info` in preparation for retina conventions

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

6

lib/spritesheet-templates.js

@@ -54,6 +54,4 @@ // Load in our dependencies

// DEV: We have `spritesheet_info` which is the object replacement option for `spritesheetName`
var spritesheetInfo = _.extend({
name: options.spritesheetName || 'spritesheet'
}, data.spritesheet_info);
spritesheetInfo = JSON.parse(JSON.stringify(spritesheetInfo));
var spritesheetInfo = data.spritesheet_info ? JSON.parse(JSON.stringify(data.spritesheet_info)) : {};
spritesheetInfo.name = spritesheetInfo.name || options.spritesheetName || 'spritesheet';
// DEV: For deprecation purposes, backfill `name` onto `spritesheet`

@@ -60,0 +58,0 @@ spritesheet.name = spritesheetInfo.name;

{
"name": "spritesheet-templates",
"description": "Convert spritesheet data into CSS or CSS pre-processor data",
"version": "9.3.0",
"version": "9.3.1",
"homepage": "https://github.com/twolfson/spritesheet-templates",

@@ -6,0 +6,0 @@ "author": {

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