1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-31 07:44:22 +03:00
Commit Graph

1243 Commits

Author SHA1 Message Date
d3e91418aa Export config function to enable to use 2019-07-13 22:51:31 +03:00
5ee68c4808 Add options to prefixIds plugin for selectively prefixing IDs and/or classes. 2019-07-13 22:51:06 +03:00
3d6d8045d9 lib/config: load custom plugin defined via path in config 2019-07-13 22:48:35 +03:00
357de5f3ea lib/config: add setPluginActiveState function 2019-07-13 22:48:35 +03:00
b5330638e8 Add ‘convertEllipseToCircle‘ plugin to readme 2019-07-13 22:35:23 +03:00
7d0c471675 Add ‘convertEllipseToCircle‘ to default plugins list 2019-07-13 22:32:22 +03:00
8e45fa2d58 Add ‘ellipseToCircle’ plugin
Converts non-eccentric ellipse elements to circle elements.
Adobe Illustrator seems to be fond of using ellipses even if their rx === ry.
2019-07-13 22:31:22 +03:00
31e6a8cb65 Make removeDimensions add viewBox if it's missing 2019-07-13 22:27:47 +03:00
b9905aa5ec (Fix #800) Add option to the mergePaths plugin, forcing all path attributes to be combined (#1084)
Add  option to the mergePaths plugin, forcing all path attributes to be combined
2019-07-13 22:25:21 +03:00
269c47198b Update Node versions in Travis
Add Node 10
Remove Node 4 since it's not supported by latest mocha
2019-07-13 22:14:29 +03:00
9fe7c28a81 Bump dependencies 2019-07-13 22:10:10 +03:00
4dfbd76d59 Fix final sorting condition in ‘sortDefsChildren’ 2019-07-13 21:43:36 +03:00
8d0b9b8bf8 Fix typos 2019-07-13 16:22:33 +03:00
258fecfa6b Remove spaces after ‘arcto’ path command flags 2019-07-13 16:18:08 +03:00
95f7603983 Fix removeUnusedNS not counting usage in <svg> tag
Close #1107
2019-05-19 20:44:36 +03:00
5f70831868 Update package.json with new e-mail 2019-05-08 16:59:05 +00:00
c7058eb7ac Fixes svg/svgo#761. Sorting defs to improve compression. 2019-05-04 20:23:30 +03:00
d6e462b679 Update readme with Backers and Donations sections 2019-04-22 11:12:42 +00:00
fe0ecaf31e Updage changelog and documentation parts v1.2.2 2019-04-16 22:11:15 +03:00
71188f8fb4 Document multipass option 2019-04-16 22:05:42 +03:00
db45845e1c 🔧fix: update js-yaml for Code Injection warning
fix npm high Code Injection vulnerability warning patched in version 3.13.1
2019-04-16 21:50:12 +03:00
d9ae161e34 Update changelog [skip ci] 2019-04-04 21:54:25 +02:00
5969899855 v1.2.1 v1.2.1 2019-04-04 21:50:40 +02:00
593ea85828 Merge pull request #1089 from eugestarr/master
Bump up js-yaml version to fix DoS vulnerability
2019-04-04 21:44:42 +02:00
bfae92835b Bump up js-yaml version to fix DoS vulnerability 2019-03-22 14:30:19 +13:00
aa0df733a6 bump package-lock.json version 2019-02-24 22:36:15 +03:00
0cc1d0a3d6 v1.2.0 v1.2.0 1.2.0 2019-02-24 22:33:40 +03:00
3488f00a07 Bump dependencies, add package-lock 2019-02-24 22:33:23 +03:00
521ce0adf2 update readme 2019-02-24 22:25:00 +03:00
d23355e91a removeAttrs: add optional value filter (#977) 2019-02-24 22:01:01 +03:00
5d97108687 update namespace list (#1064) 2019-02-24 21:04:24 +03:00
eb0d66ab1b Replace colors dependency with chalk (#1061)
use 'chalk' for colors in console
2019-02-24 21:04:01 +03:00
7eeb5d064d Add config to preserve IDs based on prefix matching (#1060)
add parameter to preserve IDs based on prefix matching
2019-02-24 21:02:03 +03:00
dcd95d50ff Add prefixIds to readme (#1047)
add prefixIds to readme
2019-02-24 20:36:05 +03:00
f84bff3220 Support comma list of plugins for --disable, --enable options. (#1019)
support comma list of plugins for --disable, --enable options
2019-02-24 20:32:54 +03:00
416fcdfa9f SVGO: Add plugin "reusePaths". (#1005) 2019-02-24 20:28:56 +03:00
0fe5368e0e Add the preserveCurrentColor option to the removeAttrs plugin. (#1000)
Add the preserveCurrentColor option to the removeAttrs plugin.
2019-02-24 20:20:36 +03:00
32558b891f add removeOffCanvasPaths plugin (#979) 2019-02-24 20:13:12 +03:00
b4bd5d52e3 Add removeAttributesBySelector plugin (#929)
* Add removeAttributesBySelector plugin

Removes attributes of elements that match a css selector.
2019-02-24 20:07:38 +03:00
d911f0f4c7 Option recursive (#837)
Add -recursive (-r) option
2019-02-24 19:54:59 +03:00
ee065be5a8 Fix indentation 2018-10-28 19:36:58 +03:00
5718ef276c Make default config behave as immutable 2018-10-28 19:35:37 +03:00
02e0e416c8 v1.1.1 2018-09-17 12:38:44 +03:00
dfcc145d5a Fix crash when ‘info’ is absent
Fix #1030
2018-09-17 11:40:20 +03:00
ed75e56bde Fix and update cleanupListOfValues tests 2018-09-16 20:58:12 +03:00
e7bdce66ed v1.1.0 v1.1.0 2018-09-16 20:48:23 +03:00
37d4ca88ef Fix cleanupListOfValues to preserve non-numeric values
Fix #923
2018-09-16 20:38:01 +03:00
eeeb67d5a8 Fix convertTransform wrong rotate sign
Fix #986
2018-09-16 19:47:51 +03:00
7a07b8436d Fix collapseGroups plugin affecting switch and subgroups
Fix #1020
2018-09-16 17:38:34 +03:00
5800635226 Fix converting to large arcs from nearly straight lines curves
Fix #842
2018-09-16 17:12:06 +03:00