Socket
Socket
Sign inDemoInstall

svgo

Package Overview
Dependencies
4
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

Makefile

10

CHANGELOG.md

@@ -0,1 +1,11 @@

### [ [>](https://github.com/svg/svgo/tree/v0.3.2) ] 0.3.2 / 03.05.2013
* new plugin [plugins/sortAttrs](https://github.com/svg/svgo/blob/master/plugins/sortAttrs.js)
* plugins/transformsWithOnePath: buggy hcrop (fix [#111](https://github.com/svg/svgo/issues/111))
* Impossible to set output presision to 0 (no fractional part) (fix [#110](https://github.com/svg/svgo/issues/110))
* Istanbul + coveralls.io
* update README with NPM version from badge.fury.io
* update README with dependency status from gemnasium.com
* npmignore unneeded files
* reoptimized project logo
### [ [>](https://github.com/svg/svgo/tree/v0.3.1) ] 0.3.1 / 15.04.2013

@@ -2,0 +12,0 @@ * plugins/transformsWithOnePath: resize SVG and automatically rescale inner Path

9

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

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

"scripts": {
"test": "./node_modules/.bin/mocha",
"cover": "./node_modules/.bin/istanbul instrument --output lib-cov --no-compact --variable global.__coverage__ lib && ./node_modules/.bin/mocha --reporter mocha-istanbul --recursive",
"jshint": "jshint --show-non-errors ."
"test": "make test"
},

@@ -51,3 +49,4 @@ "dependencies": {

"istanbul": "~0.1.0",
"mocha-istanbul": ""
"mocha-istanbul": "",
"coveralls": ""
},

@@ -54,0 +53,0 @@ "engines": {

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

if (params.floatPrecision) {
if (params.floatPrecision !== false) {
data = roundData(data, params.floatPrecision);

@@ -264,0 +264,0 @@ }

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

// 12.754997 → 12.755
if (params.floatPrecision) {
if (params.floatPrecision !== false) {
transform.data = transform.data.map(function(num) {

@@ -125,0 +125,0 @@ return +num.toFixed(params.floatPrecision);

'use strict';
/*
* Thanks to http://fontello.com project for sponsoring this plugin
*/
exports.type = 'full';

@@ -64,3 +68,3 @@

// ML
if (pathItem.instruction === 'ML') {
if ('ML'.indexOf(pathItem.instruction) > -1) {

@@ -67,0 +71,0 @@ pathItem.data.forEach(function(d, i) {

@@ -6,3 +6,3 @@ **english** | [русский](https://github.com/svg/svgo/blob/master/README.ru.md)

## SVGO v0.3.1 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/svg/svgo)
## SVGO [![NPM version](https://badge.fury.io/js/svgo.png)](https://npmjs.org/package/svgo) [![Dependency Status](https://gemnasium.com/svg/svgo.png)](https://gemnasium.com/svg/svgo) [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](https://travis-ci.org/svg/svgo) [![Coverage Status](https://coveralls.io/repos/svg/svgo/badge.png?branch=master)](https://coveralls.io/r/svg/svgo)

@@ -9,0 +9,0 @@ **SVG O**ptimizer is a Nodejs-based tool for optimizing SVG vector graphics files.

@@ -6,3 +6,3 @@ [english](https://github.com/svg/svgo/blob/master/README.md) | **русский**

## SVGO v0.3.1 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/svg/svgo)
## SVGO [![NPM version](https://badge.fury.io/js/svgo.png)](https://npmjs.org/package/svgo) [![Dependency Status](https://gemnasium.com/svg/svgo.png)](https://gemnasium.com/svg/svgo) [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](https://travis-ci.org/svg/svgo) [![Coverage Status](https://coveralls.io/repos/svg/svgo/badge.png?branch=master)](https://coveralls.io/r/svg/svgo)

@@ -9,0 +9,0 @@ **SVG** **O**ptimizer – это инструмент для оптимизации векторной графики в формате SVG, написанный на Node.js.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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