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

xcxspritesheet-templates

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xcxspritesheet-templates - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

12

lib/templates/css.template.js

@@ -27,8 +27,8 @@ // Load in local modules

//图片宽高补充2rpx避免图片压缩被裁剪到
if (data.is_sprite) {
sprite.width += 2;
sprite.height += 2;
sprite.offset_x += 1;
sprite.offset_y += 1;
}
// if (data.is_sprite) {
// sprite.width += 2;
// sprite.height += 2;
// sprite.offset_x += 1;
// sprite.offset_y += 1;
// }
data.spritesheet.width = sprite.total_width;

@@ -35,0 +35,0 @@ data.spritesheet.height = sprite.total_height;

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

@@ -70,4 +70,4 @@ "author": {

},
"_from": "xcxspritesheet-templates@1.0.0",
"_resolved": "http://registry.npm.taobao.org/xcxspritesheet-templates/download/xcxspritesheet-templates-1.0.0.tgz"
"_from": "xcxspritesheet-templates@1.0.3",
"_resolved": "http://registry.npm.taobao.org/xcxspritesheet-templates/download/xcxspritesheet-templates-1.0.3.tgz"
}

Sorry, the diff of this file is not supported yet

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