Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-css-spritus

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-css-spritus - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

23

index.js

@@ -8,2 +8,3 @@ var

, fs = require('fs')
, pathPlugin = require('path')
, prettyBytes = require('pretty-bytes')

@@ -120,14 +121,20 @@ , imageminPngquant = require('imagemin-pngquant')

fs.unlink(filepath, function (err) {
if (err) {}
var dirPath = pathPlugin.dirname(filepath);
fs.writeFile(filepath, file.contents, function (err) {
if (err) throw err;
mkdirp(dirPath, function (err) {
if (!fromImagemin) {
console.log('spritus[save file]: ' + path + file.path);
}
fs.unlink(filepath, function (err) {
if (err) {}
fs.writeFile(filepath, file.contents, function (err) {
if (err) throw err;
if (!fromImagemin) {
console.log('spritus[save file]: ' + path + file.path);
}
});
});
});
});
};

@@ -134,0 +141,0 @@

{
"name": "gulp-css-spritus",
"version": "1.6.0",
"version": "1.7.0",
"description": "Parses your styles to find the sprites and then creates, saves and compresses",

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

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