1
0
mirror of https://github.com/svg/svgo.git synced 2025-04-19 10:22:15 +03:00

8 Commits

Author SHA1 Message Date
Jon Dufresne
2442f74239
chore: convert project to us ECMAScript modules (preserving CJS compatibility) (#1905) 2024-01-03 16:17:37 +00:00
Seth Falco
a3da8b3a76
refactor: use set in _collections (#1899) 2023-12-24 01:54:17 +00:00
Seth Falco
1f766ac509
fix(convertPathData): skip if transform overridden in styles (#1830) 2023-11-12 14:54:55 +00:00
Seth Falco
a9df915d1d
fix: dont trim pre elements (#1796)
Includes pre in the array of text elements in _collections.js so that we don't trim whitespace on them, which effects rendering.
2023-11-12 11:56:39 +00:00
Seth Falco
1df2e0fa39
fix(cleanupIds): skip generated ids for malformed references (#1817)
I also had some chores pending which were trivial individually, I opted
to incorporate them here as well.

* In JSDocs, use the nullable syntax as it's more concise and familiar
from TypeScript usage.
* discord → Discord (proper nouns should match capitalization)
* Use actions/checkout v4 instead of v2
2023-11-04 12:56:20 +00:00
Bogdan Chadkin
5857816a5a Remove result.info.width and result.info.height 2022-10-10 01:32:12 +03:00
Bogdan Chadkin
65b6bf4c16
Refactor svg stringifier (#1593)
- rewrote prototype class with functions
- covered with tsdoc
- added a few TODOs for v3
2021-10-07 14:06:55 +03:00
Bogdan Chadkin
7601b17ab5 Rename js2svg to stringifier 2021-10-01 14:44:17 +03:00