Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/lumeland/svgo
Deno fork of SVGO
https://github.com/lumeland/svgo
d3f6d67146b69d5d12f95af533d16b9092253af0 authored over 3 years ago by Oscar Otero <[email protected]>
c7a049fec354a99a0569cdb5e5a65f2004be1406 authored over 3 years ago by Oscar Otero <[email protected]>
b3db919a97b4bd2a1d54cb0e5e194d8cc6b48397 authored over 3 years ago by Oscar Otero <[email protected]>
4f105383bb0908e9189faa29c71553fc6fe192a4 authored over 3 years ago by Oscar Otero <[email protected]>
a04f5de9c016ab566438115ceb026eb213a3c156 authored over 3 years ago by Oscar Otero <[email protected]>
f2ff3b748d10559cdc7c1aa102a6c15ecd423635 authored over 3 years ago by Oscar Otero <[email protected]>
faf1446921c47af06d3f30eff1d9ef0003005b0d authored over 3 years ago by Oscar Otero <[email protected]>
896cef2e9e09dacaf50c8f0f3a21bfd2b93b8315 authored over 3 years ago by Oscar Otero <[email protected]>
From svg/svgo@9e578b515a6b23e6ab4bd41f7b28e2655d3bd110
6e558d80e44392d2a03ca3b770d576578f39092c authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@179ca5c60f208017c1fd47cfccd004aecafe6029
b34ee50d47f4b5903386478426e89406a761eff6 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@efa518b23d94fb17bd82978f968b1762b4b606ec
86ffad22501d6d557bf55e1cdec75c3a70a0b763 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@454b4277a3634d5a9289d2cf8a24f43ce8f25a3b
3a9a6bd06bacb0cd95147cc4f10d30f5dfd388d8 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@9892e28a711349216dc080ff0930553c98e2e0c5
7c819700d6848499c882df8cf6cd686724692618 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@f00bd727b0378efd308dff31b0b02df71dd5f9a7
77451b687f43e2465d869e84136b9def216e1bf2 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@35b7356ff0c0f03e6ec5947e8a2eb30e126d11b9
3501f54f6a50dd6a8ce7935f6e259cd5bafbd438 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@2c0c3610747587a7731ccf6db2372983d6e5f643
1b27d78e7c645c75089e790e538aab77b272f988 authored over 3 years ago by Valtteri Laitinen <[email protected]>6ea02164ab54ffd5b50b0eb70fb0bffe7574c8f7 authored over 3 years ago by Valtteri Laitinen <[email protected]>
fc8952c6f1c8a7f532f0d281be10e7427db85abb authored over 3 years ago by Valtteri Laitinen <[email protected]>
From svg/svgo@25d0f87e3321684f5529831c6b7b105a25f92f4b
ffeaa8daa0eb5ab8ab5b9499caf2465e0092742d authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@3d79f57a10d7b3dba4bcd30d0b94e22410626cae
859bff1ed2929a4e0c4317694545dec64b6cc860 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@06110b4fc058e34cadacbf6eaba080468e892d31
97e50c32808652a9631a80cc7839add600878d4d authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@368a67b70fabcfc0c4e2c30b57ec788081c9e306
d06c4af19ee187980e07d9ae049bab8170f3cf20 authored over 3 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@17aaf3617f84667d4fb16e4616b2487c03ae3785
a2f81b7684faa886ce1589bc3c766898a7be7a88 authored over 3 years ago by Valtteri Laitinen <[email protected]>d92e2602d67db007280dc43269fab84581afab64 authored over 3 years ago by Oscar Otero <[email protected]>
Update to match svgo v2.3.0
9b0af6776feb8f0a2cbf2973db4bee1035405d88 authored over 3 years ago by Oscar Otero <[email protected]>From svg/svgo@27bef1a954d7a709e2d54d8d926d36aed8a79f5e
f7df2280e2b4a0035041ae7e5a51690ff7159115 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@19c77d23989739ee94d8bfa051646ad501f59278
d3eb088beaba0e3e1d418bfdf2a732f464a90340 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@7389bcddbfadc49de84203b048199b4a397d656a
45a44205008e2f8dd02b9413d27b0b234a3bafd5 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@d08815c1cd3ad087c536c24868fcd9299cb4da31
e2f325103c38898f30725c50c6dda284e19a9230 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@3d4adb6b044ff1361a970ea049f90d5626ea9888
5997e7ced77559b3132d88a72f3880ce56dfde26 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@316a002299ae6ec94749e1ff34c08575eccc9dce
9d3b9cdcff5f471042f6b5687c4cb25cc5c4cabf authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@447f82ca6bc8406f73328abecaf205bee309f73b
6803bbfad44622ba9824356dad49ddbcdf84cda7 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@bc5c4ea29c7f37a716ceefc82a127499d958aea6
e51eaa52d10941bfff2501d1c5ff7f2702ff93a8 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@3390df1186a102314600dc01f3b5f682b0c355a3
63b252abcdcbe653dc9b31f042444a530cb1f3dc authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@f44612e7a220e8d7de64eb2ee2c818f5222f82c5
7e6dbcfa4e3a8f33697a9249863b713fa647b65b authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@65c733a42a7cf1da54716ae9964b6e3534c83ed2
11a29a76c06f11459b6f63d046b27f48a531e495 authored almost 4 years ago by Valtteri Laitinen <[email protected]>From svg/svgo@21d24006fd1bc97e6a47723d983b0b428d50a7a9
2c36653fa69079dd194959328be2a15bd547a6e1 authored almost 4 years ago by Valtteri Laitinen <[email protected]>04290fbf269a546e67788d6371b6ff45afb7e4a6 authored almost 4 years ago by Oscar Otero <[email protected]>
7cc7ff300b5a56919c21d19115f7fe1b43988c3a authored almost 4 years ago by Oscar Otero <[email protected]>
f33ebd384f2efa3b46ab949dacba237b739c4c2a authored almost 4 years ago by Oscar Otero <[email protected]>
0331f4de4e8ac6c874c8e009bac045f01e634e0d authored almost 4 years ago by Oscar Otero <[email protected]>
f0ac4d852bdf779febc370a75b5c30bef523a1d3 authored almost 4 years ago by Oscar Otero <[email protected]>
e4ce31a2873078014d43624f506b1fe85ffc295c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Replaced JSAPI methods with new utilities
- querySelectorAll(node, selector)
- querySelector...
Got rid from `.attrs`, `.attr()` and `.addAttr()` usages
6f2f62c5ee8a841ca0793207e38ed82e939a8942 authored almost 4 years ago by Bogdan Chadkin <[email protected]>delete operator is more explicit and not much harder to use.
07928fc77e6a9da7c5e3cffc023e7115be1cc551 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
These iterators allows to directly manipulate passed value
which does not let us to get rid fro...
45d2b68a32ac4774c5bac1c2701ea78aae333862 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Refactor apply transforms
604a9c5cdbd3ce3e0ad217de08cfc404814f17d6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>c925e4da0aef6827fec53aae609f4927f8ff9e82 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
- handle each command separately
- handle both relative and absolute commands
- moved into _appl...
Refactor convertToRelative
c6254eb45d091b3e20849a16cbc31182449bbc81 authored almost 4 years ago by Bogdan Chadkin <[email protected]>92053c7ed8e58ab0263f695335ec3d6da70e93e3 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Slight code simplification. Each command is processed exclusively
without assumtions. Removed mo...
Convert element children to xast
d27961745af10a396e3e000f5fff2049c2fb2aa7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>Ref https://github.com/syntax-tree/xast
Renamed content to children to match xast spec.
5314c12c99a687209114bab386cb1f8019b1bfe7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>Convert attributes to xast with proxy fallback
b9a682443c8955a795a66f7d0e834f032b5cea36 authored almost 4 years ago by Bogdan Chadkin <[email protected]>bc87eea85e8138a132a0328f6537149718ed87c0 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
There is a lot of attributes manipulation which is hard to remove at
once. In this diff I added ...
Prepare root and element nodes for xast
cdcd265fb720cd6160915d39ee998e39e45746f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>685d9fa55e268ca21bec4d96cd47783037264a8d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ref https://github.com/syntax-tree/xast
- added type: root | element
- renamed elem to name
- r...
Convert cdata and text nodes to xast
54daf72d502d9e80b5b1c7b76836b7fae0eaab4c authored almost 4 years ago by Bogdan Chadkin <[email protected]>Remove whitespaces and comments from the browser bundle
f369f244345579bd766ac7c51171424522abad5f authored almost 4 years ago by Bogdan Chadkin <[email protected]>279962207e8c99ca8dd9f0ac093071aabafc8721 authored almost 4 years ago by Vlad Shilov <[email protected]>
73768cb65b9dfa9568dbf896efbf5cf9af04fb09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
194058b9ebc467fc91290b7498ca912a5daf99ef authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ref https://github.com/syntax-tree/xast
More consistent naming and distinction by type looks a ...
c50decb438a13a5a368fd88a0172ba1f5a53ddf5 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Here we add [xast](https://github.com/syntax-tree/xast) support
to three basic nodes: doctype, ...
51611564189ff3829df8e4da2a04b84408b16fed authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Here we add [xast](https://github.com/syntax-tree/xast) support
to three basic nodes: doctype, i...
These parts of element and attribute name are easy to extract.
Now we can easily replace attrs ...
2458b70f3126df67f928bcf857f6c8d5f97e431a authored almost 4 years ago by Bogdan Chadkin <[email protected]>
cfb7c28bf69b392cc4b0d353c6c1c1133d023cb8 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
00ec0f71fe29f963e80d8bbf232a97ce6a867651 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
1be0d0dba121ddfd18011817ca1b77ce88db01bd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ref https://github.com/svg/svgo/issues/1408
ddbd7046b2aed8133864b2d98feef6a80f665540 authored almost 4 years ago by Bogdan Chadkin <[email protected]>aa803bc88951d833767cf730bf652280dabaf912 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
28c01cfe65cd87796fb061fe3ede7c6f59d0e1f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
a2b0e737670a46955097a5b02fe3daa35c3f231b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
d3e3726ac42bf623572ff06405e12f4ee72873dd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
0e6b0c4a0182fb79775fb6af2f1df18c12f917d9 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
ba7e9bdc0d4ee677336f09b6fb24fd6cc866e97d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
21c04e4d8ae2765f3f00a87de7219d69c075bd22 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ref https://github.com/svg/svgo/issues/1217 https://github.com/svg/svgo/issues/958 https://githu...
de4fd79b5779a2e92f45dd06685cec5192067ecd authored almost 4 years ago by Bogdan Chadkin <[email protected]>Ref https://www.w3.org/TR/SVG11/filters.html
Spec says filter region is not always 100% 100% by...
555a9619dbc6273c665818a0ade27e5d4ab27a09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>c21fef54e1aede8cf9f4b4b73ab79d91b7907d2b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
d58a7e6089ccf15ecc3928427d55e6b9601094af authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Changed the TS config file to include all relevant folders and explicitly exclude those files th...
76c7719604ef37b84f24000d2a5363689a88599b authored almost 4 years ago by Sebastian Kreft <[email protected]>Ref https://github.com/svg/svgo/issues/1051
Note: review with hidden whitespaces
e2ec7e8bd2e706dcd29fccd81d7e2f9416a54c23 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Visual regressions tests will give us more confidence in SVGO stability.
Test cases are downloa...
Added Typescript support via JSDoc comments for some files.
The code has really outdated type...
6842b47cc719fbdc22eecb6306f09fe7a8c89cc7 authored almost 4 years ago by Sebastian Kreft <[email protected]>0e02fd9fdef0d031a8393a97af7207577cb86222 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ref https://github.com/svg/svgo/issues/777
Currently a lot of optimisations are attributes sp...
be28d65d78fbc5b9cf556d53d86d4e623b064d35 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Old example didn't work with `removeAttrs` plugin. This worked for me and also validated here:
...
This fixes one more case in regression tests.
Also I added support for description in test case...
66bb0fb2ad23aad5448e695d6b386de8e7348f2c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
This is necessary for better control while implementing new style
manager.
Note: review with hidden whitespaces
a896d5de1376e3d102dd33e662cc78573dd88513 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
* separate lint step to a new job and run it only once
* add caching