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

fis-spriter-csssprites

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-spriter-csssprites - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

2

index.js

@@ -62,3 +62,3 @@ /**

fis.util.map(ret.src, function (subpath, item) {
if (file.isImage()) {
if (item.isImage()) {
images[util.getUrl(item, file, opt)] = item;

@@ -65,0 +65,0 @@ }

@@ -16,3 +16,3 @@ /*

function Generator(file, index, list, images, ret, settings, opt) {
var default_settings = {

@@ -38,3 +38,3 @@ 'margin': 3,

//如果layout不支持的类型,默认为linear
var layouts = ['matrix', 'linear'];
var layouts = ['matrix', 'linear'];
if (layouts.indexOf(settings.layout) == -1) {

@@ -78,3 +78,3 @@ settings.layout = 'linear';

bg.image_ = image_;
var scale_ = bg.size[0] / image_.size().width;

@@ -133,3 +133,3 @@

this.ret.pkg[this.file.subpathNoExt + ext] = image_file;
function unique(arr) {

@@ -141,3 +141,3 @@ var map = {};

}
var imageUrl = util.getUrl(image_file, this.file, opt);
var imageUrl = util.getUrl(image_file, this.file, this.opt);
if (this.settings.ie_bug_fix) {

@@ -144,0 +144,0 @@ var MAX = this.settings.max_selectores || 30; //max 36

{
"name": "fis-spriter-csssprites",
"version": "0.3.4",
"version": "0.3.5",
"description": "基于fis的csssprite,支持repeat-x,repeat-x,background-position",

@@ -5,0 +5,0 @@ "main": "index.js",

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