New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spritesmith

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spritesmith - npm Package Compare versions

Comparing version 0.17.4 to 0.17.5

2

CHANGELOG.md
# spritesmith changelog
0.17.5 - Upgraded doubleshot to latest for proper exit codes
0.17.4 - Fixed bad name for pngsmith in fallback chain

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

4

package.json
{
"name": "spritesmith",
"version": "0.17.4",
"version": "0.17.5",
"description": "Utility that takes images and creates a spritesheet with JSON sprite data",

@@ -22,3 +22,3 @@ "main": "src/smith.js",

"devDependencies": {
"doubleshot": "~1.0.1",
"doubleshot": "~2.13.1",
"underscore": "~1.4.4"

@@ -25,0 +25,0 @@ },

// Generate basic outlines
var outlines = [{
"An array of sprites": {
"when processed via spritesmith": {
"renders a top-down spritesheet": true,
"has the proper coordinates": true,
"has the proper properties": true
},
"when converted from left to right": {
"renders a left-right spritesheet": true,
"has the proper coordinates": true,
"has the proper properties": true
},
"when provided with a padding parameter": {
"renders a padded spritesheet": true,
"has the proper coordinates": true,
"has the proper properties": true
}
}
'An array of sprites': [{
'when processed via spritesmith': [
'renders a top-down spritesheet',
'has the proper coordinates',
'has the proper properties'
]
}, {
'when converted from left to right': [
'renders a left-right spritesheet',
'has the proper coordinates',
'has the proper properties'
]
}, {
'when provided with a padding parameter': [
'renders a padded spritesheet',
'has the proper coordinates',
'has the proper properties'
]
}]
}, {
"An empty array": {
"when processed via spritesmith": {
"renders an empty spritesheet": true,
"returns an empty coordinate mapping": true,
"has the proper properties": true
}
}
'An empty array': [{
'when processed via spritesmith': [
'renders an empty spritesheet',
'returns an empty coordinate mapping',
'has the proper properties'
]
}]
}];

@@ -38,7 +40,7 @@

var outline = {};
outline[engine] = {
'when processed via spritesmith': {
'returns an image': true
}
};
outline[engine] = [{
'when processed via spritesmith': [
'returns an image'
]
}];

@@ -45,0 +47,0 @@ // Add it to our list

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