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

9 Commits

Author SHA1 Message Date
Seth Falco
747cc722d9 chore: revamp how we export types (#2118) 2025-05-04 17:39:44 +01:00
Seth Falco
a21dae62a1 chore: freeze plugin arrays (#2028) 2024-06-09 18:55:34 +01:00
Seth Falco
1e23f66e76 chore: rename removescriptelement to removescripts (#2021) 2024-06-07 09:58:21 +01:00
Jon Dufresne
59796a829b feat(removeDeprecatedAttrs): new removeDeprecatedAttrs plugin (#1869) 2024-01-15 21:48:14 +00:00
Jon Dufresne
2442f74239 chore: convert project to us ECMAScript modules (preserving CJS compatibility) (#1905) 2024-01-03 16:17:37 +00:00
Bogdan Chadkin
9fca7be551 feat(removeXlink): new plugin to map xlink attrs to svg 2 2023-11-18 16:29:20 +00:00
Seth Falco
6eac770ba5 feat: convert one stop gradients plugin (#1790)
Detects if a redundant linearGradient or radialGradient is used with
only a single stop, which effectively means a solid color.

If this is found, just remove the gradient and replace references to it
with the color of the first and only stop defined.
2023-10-22 13:53:39 +01:00
Bogdan Chadkin
6295c60fbf Rename cleanupIDs to cleanupIds for consistency with prefixIds 2022-10-23 11:54:48 +03:00
Bogdan Chadkin
075ab164f6 Store builtin plugins as an array 2022-10-02 22:58:02 +03:00