Socket
Socket
Sign inDemoInstall

svgo

Package Overview
Dependencies
104
Maintainers
3
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### [ [>](https://github.com/svg/svgo/tree/v1.1.1) ] 1.1.1 / 17.09.2018
* Fixed crash in `SVGO.optimize()` when ‘info’ is absent.
* Removed extra space after `cleanupListOfValues` plugin.
### [ [>](https://github.com/svg/svgo/tree/v1.1.0) ] 1.1.0 / 16.09.2018

@@ -2,0 +6,0 @@ * Fixed `collapseGroups` plugin removing property with a child having `inherit` value.

2

lib/svgo.js

@@ -48,3 +48,3 @@ 'use strict';

}
if(info.path) {
if (info && info.path) {
svgjs.path = info.path;

@@ -51,0 +51,0 @@ }

{
"name": "svgo",
"version": "1.1.0",
"version": "1.1.1",
"description": "Nodejs-based tool for optimizing SVG vector graphics files",

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

@@ -128,3 +128,3 @@ 'use strict';

roundedListArr.push('new');
} else {
} else if (elem) {
roundedListArr.push(elem);

@@ -131,0 +131,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc