Socket
Socket
Sign inDemoInstall

css-sprite

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-sprite - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

19

bin/cli.js

@@ -5,3 +5,4 @@ #!/usr/bin/env node

var sprite = require('../index');
var gaze = require('gaze');
// var gaze = require('gaze');
var fs = require('vinyl-fs');
var opts = require('nomnom')

@@ -96,11 +97,9 @@ .option('out', {

if (opts.watch) {
gaze(opts.src, function () {
if (opts['no-sort']) {
opts.sort = false;
}
console.log('Watching for file changes ...');
this.on('all', function () {
sprite.create(opts, function () {
console.log('> Sprite created in ' + opts.out);
});
if (opts['no-sort']) {
opts.sort = false;
}
console.log('Watching for file changes ...');
fs.watch(opts.src, function () {
sprite.create(opts, function () {
console.log('> Sprite created in ' + opts.out);
});

@@ -107,0 +106,0 @@ });

{
"name": "css-sprite",
"version": "0.9.5",
"version": "0.9.6",
"description": "css sprite generator",

@@ -47,30 +47,29 @@ "license": "MIT",

"async": "^0.9.0",
"color": "^0.7.3",
"color": "^0.8.0",
"cssesc": "^0.1.0",
"gaze": "^0.6.4",
"graceful-fs": "^3.0.5",
"imageinfo": "^1.0.4",
"json2css": "^6.1.0",
"layout": "~2.1.0",
"lodash": "^3.1.0",
"layout": "~2.2.0",
"lodash": "^3.3.1",
"lwip": "0.0.6",
"mkdirp": "^0.5.0",
"mustache": "^1.0.0",
"mustache": "^1.1.0",
"nomnom": "^1.8.1",
"through2": "^0.6.3",
"vinyl": "^0.4.6",
"vinyl-fs": "0.3.13"
"vinyl-fs": "1.0.0"
},
"devDependencies": {
"mocha": "^2.1.0",
"mocha-lcov-reporter": "^0.0.1",
"mocha-lcov-reporter": "^0.0.2",
"coveralls": "^2.11.2",
"istanbul": "^0.3.5",
"should": "^4.6.3",
"istanbul": "^0.3.7",
"should": "^5.1.0",
"stylus": "^0.50.0",
"node-sass": "^0.9.6",
"less": "^2.3.1",
"clean-css": "^3.0.9",
"node-sass": "^2.0.1",
"less": "^2.4.0",
"clean-css": "^3.1.4",
"grunt": "^0.4.5"
}
}

@@ -25,15 +25,9 @@ 'use strict';

function () {
console.log('second');
async.series([
function (cb) {
sass.render({
var result = sass.renderSync({
file: path.join(__dirname, 'styles/style.scss'),
outputStyle: 'compressed',
success: function (css) {
cb(null, css);
},
error: function (err) {
cb(err, null);
}
outputStyle: 'compressed'
});
cb(null, result.css);
},

@@ -40,0 +34,0 @@ function (cb) {

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