Socket
Socket
Sign inDemoInstall

gulp-svgmin

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-svgmin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

index.js

@@ -8,4 +8,4 @@ var es = require('event-stream');

svgo.optimize(String(file.contents), function(result) {
// If SVGO throws an error, pipe the original stream instead
file.contents = (result.error) ? String(file.contents) : result.data;
if (result.error) return cb(result.error);
file.contents = new Buffer(result.data);
cb(null, file);

@@ -12,0 +12,0 @@ });

{
"name": "gulp-svgmin",
"version": "0.1.0",
"version": "0.1.1",
"description": "Minify SVG files with gulp.",

@@ -5,0 +5,0 @@ "license": "MIT",

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