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
1
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

to
0.0.6

6

libs/image.js

@@ -8,3 +8,3 @@ /*

var Image = require('node-images');
var PngCrush = require('node-pngcrush');
var Pngquant = require('node-pngquant-native');

@@ -56,5 +56,5 @@ module.exports = function(file, list, ret, settings, opt) {

if (this.opt.optimize) {
var compress_conf = fis.config.get('settings.optimizer.pngcrush') || {};
var compress_conf = fis.config.get('settings.optimizer.pngquant') || {};
image_file.setContent(
PngCrush.option(compress_conf)
Pngquant.option(compress_conf)
.compress(image.encode('png'))

@@ -61,0 +61,0 @@ );

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

@@ -18,3 +18,3 @@ "main": "index.js",

"node-images": "1.5.1",
"node-pngcrush": "0.0.7"
"node-pngquant-native": "0.0.2"
},

@@ -21,0 +21,0 @@ "keywords": [