1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-09 02:22:08 +03:00
Commit Graph

1243 Commits

Author SHA1 Message Date
Bogdan Chadkin
5d1f146f7f Ignore lib-cov on npm publish 2015-11-08 20:59:57 +03:00
GreLI
93e54df436 v0.6.0 v0.6.0 2015-11-08 20:34:22 +03:00
GreLI
ce4446550c Always close polygons. Resolves #441 2015-11-08 19:13:45 +03:00
GreLI
7af242b611 Fixed transform moving around the clip. Fixes #446 2015-11-08 19:10:46 +03:00
GreLI
3a7f4ea070 New optimization in paths: curves to arcs 2015-11-08 18:23:45 +03:00
Lev Solntsev
6823de32a1 Merge pull request #451 from strarsis/minifyStyles
Add minifyStyles plugin, test and dependencies.
2015-11-02 21:52:33 +03:00
strarsis
01d003b024 Fix regression. 2015-11-02 16:10:45 +01:00
strarsis
e5c6cd42c5 Improve indentation. 2015-11-02 15:35:12 +01:00
strarsis
dbf30dd59f Add missing option argument to csso minify. 2015-11-02 00:40:36 +01:00
strarsis
16ea8c8057 Add minifyStyles plugin, test and dependencies. 2015-11-02 00:32:23 +01:00
GreLI
46e1d7b893 Test for the new sodipodi namespace 2015-10-20 18:43:16 +03:00
GreLI
6e712f1618 Added inkscape sodipodi namespace to remove. Fixes #442 2015-10-20 18:41:35 +03:00
Philipp Hagemeister
1ab81cea6f Add option --quiet
I trust that svgo works, and the output of my build process is overly long as it is. Add a -q/--quiet option to suppress all the chatter and only show important / error messages.
2015-10-19 08:10:30 +02:00
Lev Solntsev
81e2eb5fad Merge pull request #435 from thiakil/master
fix TypeError("Can't get property contents of undefined")
2015-10-09 13:12:01 +03:00
Xander Victory
948cf1bf59 Move defined guard to inside the element check, refactor slice conditional to allow removing elements which we have no idea about (an Unknown) inside the current element. 2015-10-08 21:50:20 +08:00
Xander Victory
c1cd2e9eea Add some permitted and not permitted elements to the unknown element test 2015-10-08 21:45:13 +08:00
Xander Victory
724e21889d add test for pull request #435 2015-10-08 09:06:18 +08:00
Xander Victory
bbf2028de8 fix TypeError("Can't get property contents of undefined") when element name is not in the collection. 2015-10-06 15:16:45 +08:00
GreLI
1bdee52393 Fixed config issues, better tests&docs. Closes #390 2015-09-21 14:23:55 +03:00
GreLI
97bbd21553 Simplified straight curve checking function 2015-09-18 19:16:44 +03:00
GreLI
40b57f3980 Fixed shortand curve distortion due to converted prev curve. Resolves #415 2015-09-18 18:50:17 +03:00
GreLI
c19511ef7a stop cleanupIDs if there is style or script 2015-09-13 15:29:32 +03:00
Bo Lopker
176d0329a4 Clean up cleanupID logic, use null prototype for maps
Reduce string creation

Add test for __proto__
2015-09-13 15:29:32 +03:00
Lev Solntsev
eada149cb6 Merge pull request #427 from itsjustluck/plugin-remove-style-element
New plugin: Remove style elements - disable by default.
2015-09-08 19:40:06 +03:00
Betsy Dupuis
1ede31e4f9 New plugin: Remove style elements - disable by default. 2015-09-07 17:55:40 -05:00
GreLI
db78402c8c Corrected mm/px ratio. Fixes #420 2015-09-02 15:53:08 +03:00
GreLI
614bc00d77 Fixed consecutive transforms precision handling. Fixes #421 2015-09-02 12:24:06 +03:00
GreLI
7102ed58cf Corrected path stringification 2015-08-26 11:06:29 +03:00
GreLI
66ae12f8ea Fixed error with no space before nubmers like ‘5e-5‘. Fixes #418 2015-08-26 11:00:58 +03:00
GreLI
e80121beb2 v0.5.6 v0.5.6 2015-08-13 19:22:47 +03:00
GreLI
a90ba46caf Fixed paths removing. Fixes #413 2015-08-13 19:19:45 +03:00
Lev Solntsev
89fa5d5c85 Merge pull request #412 from cy6erskunk/patch-1
Add description for removeAttrs plugin
2015-08-08 14:32:35 +03:00
cy6erskunk
492f12c02f Add description for removeAttrs plugin
Add description to eliminate ugly `undefined` in `--show-plugins` output
2015-08-07 15:39:26 +03:00
GreLI
23c2631c10 v0.5.5 v0.5.5 2015-08-05 17:13:20 +03:00
GreLI
a6fe310177 Removed debugging commands 2015-08-05 17:10:29 +03:00
GreLI
4527f7fddc v0.5.4 v0.5.4 2015-08-05 17:00:38 +03:00
GreLI
ece38e3758 Fixed correction of out-of-range radii. Resolves #407 2015-08-05 16:42:00 +03:00
GreLI
8ec45b7251 Don't remove path with exponent. Fixes #405 2015-07-18 20:37:48 +03:00
Lev Solntsev
a228a169fd Merge pull request #401 from jdforrester/patch-1
Fix URLs to new plugins in v0.5.3 notes
2015-07-11 13:44:27 +03:00
James Forrester
0556e4d2a7 Fix URLs to new plugins in v0.5.3 notes 2015-07-10 16:00:01 -07:00
GreLI
1253a0cc16 Corrected test passing after empty transform fix 2015-07-08 16:13:54 +03:00
Lev Solntsev
c18d8ea718 Merge pull request #396 from bradbarrow/short-tag-config
Allow config to specify use of self closing tags
2015-07-06 21:48:32 +03:00
bradbarrow
bd64cdeb26 Allow config to specify use of self closing tags
Allow config to specify `useShortTags` (default true).

When `useShortTags` is true, empty elements are terminated with />

When `useShortTags` is false, empty elements are closed with a full closing tag
e.g. </path>
2015-07-06 22:35:08 +10:00
GreLI
a0616b0b82 Don't fail on empty transform. Fixes #394 2015-07-05 13:11:31 +03:00
Lev Solntsev
4d74b492bc Merge pull request #391 from magnus-bergman/patch-1
Fix plugin name typo in README.md.
2015-06-23 22:25:46 +03:00
Magnus Bergman
023c61bd99 Fix plugin name typo in README.md. 2015-06-23 20:57:44 +02:00
GreLI
739a296621 v0.5.3 v0.5.3 2015-06-21 22:23:00 +03:00
GreLI
bd8eee3f8a Readme update 2015-06-21 22:22:51 +03:00
GreLI
55fd495564 Merge branch 'removeAttrsPlugin' of git://github.com/bennyschudel/svgo into removeAttrsPlugin 2015-06-21 21:48:38 +03:00
Lev Solntsev
1336ebf869 Merge pull request #381 from tcoopman/patch-1
Add image-webpack-loader that supports svgo
2015-06-21 20:46:58 +03:00