Comparing version 0.2.1 to 0.2.2
@@ -0,1 +1,6 @@ | ||
### [ [>](https://github.com/svg/svgo/tree/v0.2.2) ] 0.2.2 / 09.02.2013 | ||
* plugins/convertTransforms: wrong translate() shorthand (fix [#94](https://github.com/svg/svgo/issues/94)) | ||
* [yaml.js](https://github.com/jeremyfa/yaml.js) → [js-yaml](https://github.com/nodeca/js-yaml) | ||
* update outdated deps | ||
### [ [>](https://github.com/svg/svgo/tree/v0.2.1) ] 0.2.1 / 18.01.2013 | ||
@@ -2,0 +7,0 @@ * plugins/moveElemsAttrsToGroup + plugins/moveGroupAttrsToElems: move or just leave transform attr from Group to the inner Path Elems (close [#86](https://github.com/svg/svgo/issues/86)) |
@@ -5,3 +5,3 @@ 'use strict'; | ||
PATH = require('path'), | ||
YAML = require('yamljs'), | ||
YAML = require('js-yaml'), | ||
extend = require('./tools').extend, | ||
@@ -115,3 +115,3 @@ defaultConfigPath = PATH.resolve(__dirname, '../../.svgo.yml'); | ||
.then(function(data) { | ||
return YAML.parse(data.toString()); | ||
return YAML.load(data.toString()); | ||
}); | ||
@@ -118,0 +118,0 @@ |
{ | ||
"name": "svgo", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Nodejs-based tool for optimizing SVG vector graphics files", | ||
@@ -40,3 +40,3 @@ "keywords": [ "svgo", "svg", "optimize", "minify" ], | ||
"dependencies": { | ||
"sax": "~0.4.2", | ||
"sax": "~0.5.0", | ||
"q": "~0.8.10", | ||
@@ -47,9 +47,9 @@ "q-fs": "~0.1.0", | ||
"node.extend": "", | ||
"yamljs": "~0.1.3", | ||
"js-yaml": "", | ||
"colors": "~0.6.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.7.0", | ||
"mocha-as-promised": "~1.1.0", | ||
"chai": "~1.1.0", | ||
"mocha": "~1.8.0", | ||
"mocha-as-promised": "~1.2.0", | ||
"chai": "~1.5.0", | ||
"chai-as-promised": "~3.2.3", | ||
@@ -56,0 +56,0 @@ "istanbul": "~0.1.0", |
@@ -203,3 +203,3 @@ 'use strict'; | ||
// [1, 0, 0, 1, tx, ty] | ||
matrix = [1, 0, 0, 1, transform.data[0], transform.data[1] || transform.data[0]]; | ||
matrix = [1, 0, 0, 1, transform.data[0], transform.data[1] || 0]; | ||
break; | ||
@@ -206,0 +206,0 @@ case 'scale': |
@@ -6,3 +6,3 @@ **english** | [русский](https://github.com/svg/svgo/blob/master/README.ru.md) | ||
## SVGO v0.2.1 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/svg/svgo) | ||
## SVGO v0.2.2 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/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.2.1 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/svg/svgo) | ||
## SVGO v0.2.2 [![Build Status](https://secure.travis-ci.org/svg/svgo.png)](http://travis-ci.org/svg/svgo) | ||
@@ -9,0 +9,0 @@ **SVG** **O**ptimizer – это инструмент для оптимизации векторной графики в формате SVG, написанный на Node.js. |
@@ -37,4 +37,4 @@ 'use strict'; | ||
it('should eventually be an Object', function() { | ||
return defaultConfig.should.eventually.be.an('object'); | ||
it('should eventually be an instance of Object', function() { | ||
return defaultConfig.should.eventually.be.an.instanceOf(Object); | ||
}); | ||
@@ -41,0 +41,0 @@ |
@@ -43,4 +43,4 @@ 'use strict'; | ||
it('should eventually be an Object', function() { | ||
return root.should.eventually.be.an('object'); | ||
it('should eventually be an instance of Object', function() { | ||
return root.should.eventually.be.an.instanceOf(Object); | ||
}); | ||
@@ -64,8 +64,8 @@ | ||
it('should eventually be an Array', function() { | ||
return content.should.eventually.be.an('array'); | ||
it('should eventually be an instance of Array', function() { | ||
return content.should.eventually.be.an.instanceOf(Array); | ||
}); | ||
it('should eventually have length 4', function() { | ||
return content.should.eventually.have.length(4); | ||
return content.should.eventually.have.lengthOf(4); | ||
}); | ||
@@ -85,4 +85,4 @@ | ||
it('should eventually be an Object', function() { | ||
return processinginstruction.should.eventually.be.an('object'); | ||
it('should eventually be an instance of Object', function() { | ||
return processinginstruction.should.eventually.be.an.instanceOf(Object); | ||
}); | ||
@@ -166,4 +166,4 @@ | ||
it('should eventually be an Object', function() { | ||
return attrs.should.be.an('object'); | ||
it('should eventually be an instance of Object', function() { | ||
return attrs.should.be.an.instanceOf(Object); | ||
}); | ||
@@ -183,4 +183,4 @@ | ||
it('should eventually be an Object', function() { | ||
return version.should.eventually.be.an('object'); | ||
it('should eventually be an instance of Object', function() { | ||
return version.should.eventually.be.an.instanceOf(Object); | ||
}); | ||
@@ -218,8 +218,8 @@ | ||
it('should eventually be an Array', function() { | ||
return content.should.eventually.be.an('array'); | ||
it('should eventually be an instance of Array', function() { | ||
return content.should.eventually.be.an.instanceOf(Array); | ||
}); | ||
it('should eventually have length 3', function() { | ||
return content.should.eventually.have.length(3); | ||
return content.should.eventually.have.lengthOf(3); | ||
}); | ||
@@ -226,0 +226,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
305048
3
+ Addedjs-yaml@
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedsax@0.5.8(transitive)
- Removedyamljs@~0.1.3
- Removedargparse@0.1.16(transitive)
- Removedglob@3.1.21(transitive)
- Removedgraceful-fs@1.2.3(transitive)
- Removedinherits@1.0.2(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.2.14(transitive)
- Removedsax@0.4.3(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.4.0(transitive)
- Removedyamljs@0.1.6(transitive)
Updatedsax@~0.5.0