GreLI
a4fb3a4a7e
Prevent removeUnknownsAndDefaults removing attributes from elements with id
...
Fix #959
2018-09-16 16:24:53 +03:00
GreLI
831f95fccc
Fix empty path segments removing with stroke-linecap
...
Fix #1017
2018-09-16 15:36:41 +03:00
GreLI
a165206632
Update presentation attribute collection for removeNonInheritableGroupAttrs plugin
2018-09-16 11:07:43 +03:00
GreLI
36db31adcf
Fix removeNonInheritableGroupAttrs not working as intended
2018-09-15 22:48:09 +03:00
GreLI
f3bcbcc6a6
Fix viewBox value parsing
...
Fix #1024
2018-09-15 18:52:35 +03:00
GreLI
3c82fd7287
Correct parsing of arc flags without following comma/spaces
...
Fix #822
2018-09-15 16:38:34 +03:00
GreLI
86ecd372e7
Handle !important keyword in convertStyleToAttrs
...
Fix #749
2018-09-15 15:15:11 +03:00
GreLI
72fa7d335f
Sync readme and tty help
...
Fix #597
2018-09-15 15:02:02 +03:00
Rouven Weßling
32e9e415ee
Update css-select to version 2
2018-09-15 14:52:19 +03:00
Rouven Weßling
aa99c6fcc1
Update js-yaml to version 3.12
2018-09-15 14:52:05 +03:00
Rasmus Porsager
7fd5bde808
Add rollup-plugin-svgo to list of usage
2018-09-15 14:50:48 +03:00
dabutvin
8a43a5c140
adds jshint to devDependencies
...
This enables 'npm i && npm run lint' to work with no globals required
2018-09-15 14:49:21 +03:00
Mike Morici
f92629fc54
Add keepRoleAttr option for removeUnknownsAndDefaults ( #1002 )
2018-09-15 14:48:15 +03:00
Benedek Gagyi
62f67dee29
Return the path, so it can be used to overwrite the file with the optimized version
2018-09-15 14:46:45 +03:00
Sasha Joseph
b2b9acb23e
tweak: do not collapse group properties to children if they contain filters.
2018-09-15 14:45:46 +03:00
Bradley Ayers
3e2fd44a17
feat: offer ES module interop default export ( #934 )
2018-09-15 14:44:17 +03:00
Stephanie Miller
e7b8a6ce7d
Upgrade css-tree from alpha25 to alpha.28
...
API changed walkFoo(ast, fun) to walk(ast,{visit: 'Rule',enter: fun)
csstree.translate renamed to csstree.generate
csstree.generate throws an error on invalid style where translate silently ignored it - update style processing to catch and ignore instead
Updated tests - csstree now omits more whitespace
2018-09-15 14:43:28 +03:00
Mikuláš Sychra
e928c1f050
Update convertPathData.js ( #906 )
...
Added parameter forceAbsolutePath to get absolute SVG path (even when the relative path is shorter).
2018-09-15 14:40:34 +03:00
Alex Lockwood
50f4fed02b
dont transform stroke width for non-scaling-strokes ( #857 )
2018-09-15 14:39:36 +03:00
Alex Lockwood
5e376a4b65
Fix missing return in JSAPI#removeAttr method ( #855 )
2018-09-15 13:58:59 +03:00
Alex Lockwood
828a72a896
fix broken jsapi clone method ( #854 )
2018-09-15 13:57:47 +03:00
GreLI
dd2a21fcd2
Fix default plugins initializing
...
Fixe #852 , close #853
2018-09-15 13:52:16 +03:00
Taylor Hunt
ba07843565
Don’t round version
attribute ( #1028 )
...
Fixes #1003
2018-09-14 13:18:38 +03:00
GreLI
174c372080
Remove dependency status badge since Gemnasium.com is closed
2018-08-01 18:44:40 +03:00
GreLI
c40d80c174
Syncronize and slightly improve russian readme
2018-08-01 18:37:48 +03:00
Jan Pöschko
d214760b61
Add doc entry for inlineStyles plugin ( #1009 )
2018-08-01 18:25:51 +03:00
dale tan
54f92ce2de
[plugin] sortAttrs: add xmlns order option ( #984 )
2018-06-15 11:28:59 +03:00
Ilya Kolebayev
0835859766
Update README.ru.md ( #981 )
...
SVGO plugin for Sketch added to "Другие способы использования SVGO"
2018-06-12 21:02:20 +03:00
MeteorPlus
83548977ea
fix for references nonexistent transformsWithOnePath plugin ( #980 )
...
Update test.js (which incorrectly references nonexistent transformsWithOnePath plugin)
2018-06-11 13:04:52 +03:00
Adam Demasi
102a7210a7
Add Microsoft Visio XMLNS to removeEditorsNSData. ( #974 )
2018-06-02 14:10:26 +03:00
kudohamu
974c224d4c
fix typo in examples ( #973 )
2018-06-01 21:41:02 +03:00
Eric Fung
6b97aef008
Add link to Sketch plugin ( #953 )
2018-05-01 23:40:09 +03:00
Vitali Zaidman
9dd1802a0d
fixed #948 - adds prefixes to each class individually ( #950 )
2018-04-24 15:39:59 +03:00
Stefan Schulz-Lauterbach
a63f7a7253
Add image shrinker
2018-04-04 13:06:45 +03:00
Patryk Mikołajczyk
dd65b54019
fix
2018-03-23 21:39:46 +03:00
Chris Cesare
3801d08d91
Minor edits to the opening paragraph of the README
2018-03-22 22:46:23 +03:00
Benjamin Gruenbaum
73436be45c
Update tools.js
2018-03-21 23:02:42 +03:00
Vitali Zaidman
0a142f3ca0
Prefix ids plugin don't add prefix if prefix is false ( #907 )
...
Add to 'prefixIds' the option to pass prefix as false or as a function that returns false
2018-03-16 20:39:21 +03:00
강석재
ece039ed8a
Update ko.md
2018-03-08 18:37:18 +03:00
paroblow
162bb48184
Fix typo en.md
2018-03-08 18:37:18 +03:00
Roman Gusev
793a5aa371
Update README.md
...
Use dashes everywhere in the `other ways to use` section
2018-03-07 10:23:13 +03:00
Yehonatan Daniv
878b3892cd
Fixed attribution of CSS Color Module 4 fix
...
Actually, I did that :P
2018-03-07 09:50:20 +03:00
Dan Burzo
d968d45a25
Fixes #915 for collapseGroups ( #916 )
...
Fix #915 for collapseGroups: overwrite value with parent value
When the inner element has the value, don't remove the parent groups that defines what that value is
2018-03-02 21:34:21 +03:00
GreLI
5daa89dc1c
Update changelog to v1.0.5
v1.0.5
2018-02-26 22:01:04 +03:00
caub
cd36e14c30
v1.0.5
2018-02-26 09:02:49 +01:00
Cyril Auburtin
4dbd257207
Merge pull request #908 from harrisjose/master
...
Fix issue with prefixIDs plugin not replacing url() refs correctly
2018-02-19 17:36:53 +01:00
Harris P Jose
40987c9643
Fix issue with prefixIDs plugin not replacing url() values correctly
...
Global regexs must be reseted after every exec call since they preserve the last matched index. Since we use `css-url-regex`, creating a new regex before `exec`ing fixes this.
2018-02-19 10:56:57 +05:30
Harris P Jose
2ce1066671
Add failing test case for prefixIDs plugin
...
When using the prefixIDs plugin on an svg with multiple linearGradients, url() values are not replaced correctly
2018-02-19 10:54:43 +05:30
Volker E
6a9bc56864
Clarify how to enable/disable multiple plugins ( #904 )
...
Clarify how to enable/disable multiple plugins. Fix #900
2018-02-08 19:44:11 +03:00
Volker E
e0a8367e60
Fix enable-background
attribute
2018-02-07 22:08:18 +03:00