Socket
Socket
Sign inDemoInstall

svgo

Package Overview
Dependencies
11
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.4 to 0.5.5

3

CHANGELOG.md

@@ -0,1 +1,4 @@

### [ [>](https://github.com/svg/svgo/tree/v0.5.5) ] 0.5.5 / 05.08.2015
* Reverted debugging changes.
### [ [>](https://github.com/svg/svgo/tree/v0.5.4) ] 0.5.4 / 05.08.2015

@@ -2,0 +5,0 @@ * New parameter `useShortTags` by @bradbarrow. Now svgo can produce correct non-selfclosing tags (useful in HTML in old browsers).

2

package.json
{
"name": "svgo",
"version": "0.5.4",
"version": "0.5.5",
"description": "Nodejs-based tool for optimizing SVG vector graphics files",

@@ -5,0 +5,0 @@ "keywords": [ "svgo", "svg", "optimize", "minify" ],

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

exports.active = !false;
exports.active = false;

@@ -16,4 +16,4 @@ exports.description = 'performs a set of operations on SVG with one path inside (disabled by default)';

// width and height to resize SVG and rescale inner Path
width: 32,
height: 32,
width: false,
height: false,

@@ -301,4 +301,2 @@ // scale inner Path without resizing SVG

if (transform) {
console.log(transform)
pathElem.addAttr({

@@ -313,3 +311,2 @@ name: 'transform',

console.log(path)
// transformed data rounding

@@ -316,0 +313,0 @@ path.forEach(function(pathItem) {

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